github.com/mithrandie/csvq@v1.18.1/docs/_sass/components/_variables.scss (about) 1 // ========================================================================== 2 // Materialize variables 3 // ========================================================================== 4 // 5 // Table of Contents: 6 // 7 // 1. Colors 8 // 2. Badges 9 // 3. Buttons 10 // 4. Cards 11 // 5. Collapsible 12 // 6. Chips 13 // 7. Date Picker 14 // 8. Dropdown 15 // 10. Forms 16 // 11. Global 17 // 12. Grid 18 // 13. Navigation Bar 19 // 14. Side Navigation 20 // 15. Photo Slider 21 // 16. Spinners | Loaders 22 // 17. Tabs 23 // 18. Tables 24 // 19. Toasts 25 // 20. Typography 26 // 21. Footer 27 // 22. Flow Text 28 // 23. Collections 29 // 24. Progress Bar 30 31 32 33 // 1. Colors 34 // ========================================================================== 35 36 $primary-color: color("pink", "accent-2") !default; 37 $primary-color-light: lighten($primary-color, 15%) !default; 38 $primary-color-dark: darken($primary-color, 15%) !default; 39 40 $secondary-color: color("blue-grey", "lighten-2") !default; 41 $success-color: color("green", "base") !default; 42 $error-color: color("red", "base") !default; 43 $link-color: color("teal", "lighten-1") !default; 44 45 46 // 2. Badges 47 // ========================================================================== 48 49 $badge-bg-color: $secondary-color !default; 50 $badge-height: 22px !default; 51 52 53 // 3. Buttons 54 // ========================================================================== 55 56 // Shared styles 57 $button-border: none !default; 58 $button-background-focus: lighten($secondary-color, 4%) !default; 59 $button-font-size: 1rem !default; 60 $button-icon-font-size: 1.3rem !default; 61 $button-height: 36px !default; 62 $button-padding: 0 2rem !default; 63 $button-radius: 2px !default; 64 65 // Disabled styles 66 $button-disabled-background: #DFDFDF !default; 67 $button-disabled-color: #9F9F9F !default; 68 69 // Raised buttons 70 $button-raised-background: $secondary-color !default; 71 $button-raised-background-hover: lighten($button-raised-background, 5%) !default; 72 $button-raised-color: #fff !default; 73 74 // Large buttons 75 $button-large-icon-font-size: 1.6rem !default; 76 $button-large-height: $button-height * 1.5 !default; 77 78 // Flat buttons 79 $button-flat-color: #343434 !default; 80 $button-flat-disabled-color: lighten(#999, 10%) !default; 81 82 // Floating buttons 83 $button-floating-background: $secondary-color !default; 84 $button-floating-background-hover: $button-floating-background !default; 85 $button-floating-color: #fff !default; 86 $button-floating-size: 40px !default; 87 $button-floating-large-size: 56px !default; 88 $button-floating-radius: 50% !default; 89 90 91 // 4. Cards 92 // ========================================================================== 93 94 $card-padding: 24px !default; 95 $card-bg-color: #fff !default; 96 $card-link-color: color("orange", "accent-2") !default; 97 $card-link-color-light: lighten($card-link-color, 20%) !default; 98 99 100 // 5. Collapsible 101 // ========================================================================== 102 103 $collapsible-height: 3rem !default; 104 $collapsible-line-height: $collapsible-height !default; 105 $collapsible-header-color: #fff !default; 106 $collapsible-border-color: #ddd !default; 107 108 109 // 6. Chips 110 // ========================================================================== 111 112 $chip-bg-color: #e4e4e4 !default; 113 $chip-border-color: #9e9e9e !default; 114 $chip-selected-color: #26a69a !default; 115 $chip-margin: 5px !default; 116 117 118 // 7. Date Picker 119 // ========================================================================== 120 121 $datepicker-weekday-bg: darken($secondary-color, 7%) !default; 122 $datepicker-date-bg: $secondary-color !default; 123 $datepicker-year: rgba(255, 255, 255, .4) !default; 124 $datepicker-focus: rgba(0,0,0, .05) !default; 125 $datepicker-selected: $secondary-color !default; 126 $datepicker-selected-outfocus: desaturate(lighten($secondary-color, 35%), 15%) !default; 127 128 129 // 8. Dropdown 130 // ========================================================================== 131 132 $dropdown-bg-color: #fff !default; 133 $dropdown-hover-bg-color: #eee !default; 134 $dropdown-color: $secondary-color !default; 135 $dropdown-item-height: 50px !default; 136 137 138 // 9. Fonts 139 // ========================================================================== 140 141 $roboto-font-path: "../fonts/roboto/" !default; 142 143 144 // 10. Forms 145 // ========================================================================== 146 147 // Text Inputs + Textarea 148 $input-height: 3rem !default; 149 $input-border-color: color("grey", "base") !default; 150 $input-border: 1px solid $input-border-color !default; 151 $input-background: #fff !default; 152 $input-error-color: $error-color !default; 153 $input-success-color: $success-color !default; 154 $input-focus-color: $secondary-color !default; 155 $input-font-size: 1rem !default; 156 $input-margin-bottom: 20px; 157 $input-margin: 0 0 $input-margin-bottom 0 !default; 158 $input-padding: 0 !default; 159 $input-transition: all .3s !default; 160 $label-font-size: .8rem !default; 161 $input-disabled-color: rgba(0,0,0, .26) !default; 162 $input-disabled-solid-color: #BDBDBD !default; 163 $input-disabled-border: 1px dotted $input-disabled-color !default; 164 $input-invalid-border: 1px solid $input-error-color !default; 165 $placeholder-text-color: lighten($input-border-color, 20%) !default; 166 167 // Radio Buttons 168 $radio-fill-color: $secondary-color !default; 169 $radio-empty-color: #5a5a5a !default; 170 $radio-border: 2px solid $radio-fill-color !default; 171 172 // Range 173 $range-height: 14px !default; 174 $range-width: 14px !default; 175 $track-height: 3px !default; 176 177 // Select 178 $select-border: 1px solid #f2f2f2 !default; 179 $select-background: rgba(255, 255, 255, 0.90) !default; 180 $select-focus: 1px solid lighten($secondary-color, 47%) !default; 181 $select-padding: 5px !default; 182 $select-radius: 2px !default; 183 $select-disabled-color: rgba(0,0,0,.3) !default; 184 185 // Switches 186 $switch-bg-color: $secondary-color !default; 187 $switch-checked-lever-bg: desaturate(lighten($secondary-color, 25%), 25%) !default; 188 $switch-unchecked-bg: #F1F1F1 !default; 189 $switch-unchecked-lever-bg: #818181 !default; 190 $switch-radius: 15px !default; 191 192 193 // 11. Global 194 // ========================================================================== 195 196 // Media Query Ranges 197 $small-screen-up: 601px !default; 198 $medium-screen-up: 993px !default; 199 $large-screen-up: 1201px !default; 200 $small-screen: 600px !default; 201 $medium-screen: 992px !default; 202 $large-screen: 1200px !default; 203 204 $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default; 205 $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default; 206 $extra-large-and-up: "only screen and (min-width : #{$large-screen-up})" !default; 207 $small-and-down: "only screen and (max-width : #{$small-screen})" !default; 208 $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default; 209 $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default; 210 211 212 // 12. Grid 213 // ========================================================================== 214 215 $num-cols: 12 !default; 216 $gutter-width: 1.5rem !default; 217 $element-top-margin: $gutter-width/3 !default; 218 $element-bottom-margin: ($gutter-width*2)/3 !default; 219 220 221 // 13. Navigation Bar 222 // ========================================================================== 223 224 $navbar-height: 64px !default; 225 $navbar-line-height: $navbar-height !default; 226 $navbar-height-mobile: 56px !default; 227 $navbar-line-height-mobile: $navbar-height-mobile !default; 228 $navbar-font-size: 1rem !default; 229 $navbar-font-color: #fff !default; 230 $navbar-brand-font-size: 2.1rem !default; 231 232 // 14. Side Navigation 233 // ========================================================================== 234 235 $sidenav-font-size: 14px !default; 236 $sidenav-font-color: rgba(0,0,0,.87) !default; 237 $sidenav-bg-color: #fff !default; 238 $sidenav-padding: 16px !default; 239 $sidenav-item-height: 40px !default; 240 $sidenav-line-height: $sidenav-item-height !default; 241 242 243 // 15. Photo Slider 244 // ========================================================================== 245 246 $slider-bg-color: color('grey', 'base') !default; 247 $slider-bg-color-light: color('grey', 'lighten-2') !default; 248 $slider-indicator-color: color('green', 'base') !default; 249 250 251 // 16. Spinners | Loaders 252 // ========================================================================== 253 254 $spinner-default-color: $secondary-color !default; 255 256 257 // 17. Tabs 258 // ========================================================================== 259 260 $tabs-underline-color: $primary-color-light !default; 261 $tabs-text-color: $primary-color !default; 262 $tabs-bg-color: #fff !default; 263 264 265 // 18. Tables 266 // ========================================================================== 267 268 $table-border-color: #d0d0d0 !default; 269 $table-striped-color: #f2f2f2 !default; 270 271 272 // 19. Toasts 273 // ========================================================================== 274 275 $toast-height: 48px !default; 276 $toast-color: #323232 !default; 277 $toast-text-color: #fff !default; 278 279 280 // 20. Typography 281 // ========================================================================== 282 283 $off-black: rgba(0, 0, 0, 0.87) !default; 284 // Header Styles 285 $h1-fontsize: 4.2rem !default; 286 $h2-fontsize: 3.56rem !default; 287 $h3-fontsize: 2.92rem !default; 288 $h4-fontsize: 2.28rem !default; 289 $h5-fontsize: 1.64rem !default; 290 $h6-fontsize: 1rem !default; 291 292 293 // 21. Footer 294 // ========================================================================== 295 296 $footer-bg-color: $primary-color !default; 297 298 299 // 22. Flow Text 300 // ========================================================================== 301 302 $range : $large-screen - $small-screen !default; 303 $intervals: 20 !default; 304 $interval-size: $range / $intervals !default; 305 306 307 // 23. Collections 308 // ========================================================================== 309 310 $collection-border-color: #e0e0e0 !default; 311 $collection-bg-color: #fff !default; 312 $collection-active-bg-color: $secondary-color !default; 313 $collection-active-color: lighten($secondary-color, 55%) !default; 314 $collection-hover-bg-color: #ddd !default; 315 $collection-link-color: $secondary-color !default; 316 $collection-line-height: 1.5rem !default; 317 318 319 // 24. Progress Bar 320 // ========================================================================== 321 322 $progress-bar-color: $secondary-color !default;