| 1 |
// http://tj.github.io/nib/ |
| 2 |
@import 'nib'; |
| 3 |
|
| 4 |
// theme mixins and functions |
| 5 |
@import 'mixins'; |
| 6 |
|
| 7 |
@import 'variables_material_colors'; |
| 8 |
|
| 9 |
// theme name |
| 10 |
// easily copy flat theme, adjust variables and compile new theme |
| 11 |
$theme-name = flat; |
| 12 |
|
| 13 |
// colors |
| 14 |
// base color of the theme |
| 15 |
// default TextBox & CheckBox borders, Menu hover, AccordionPane/TtilePane header, etc |
| 16 |
$theme-base = $blue-500; |
| 17 |
// base color for default Button, text on $theme-base, ContentPane background, etc |
| 18 |
$theme-base-color = $white; |
| 19 |
|
| 20 |
// gray colors |
| 21 |
$white = $white; |
| 22 |
$black = $black; |
| 23 |
$grey-dark = $grey-800; |
| 24 |
$grey = $grey-500; |
| 25 |
$grey-light = $grey-300; |
| 26 |
$grey-lighter = $grey-100; |
| 27 |
|
| 28 |
// misc colors |
| 29 |
$error = $deep-orange-a700; |
| 30 |
|
| 31 |
// alternate colors |
| 32 |
$primary = $blue-600; |
| 33 |
$success = $green-600; |
| 34 |
$info = $light-blue-500; |
| 35 |
$warning = $orange-600; |
| 36 |
$danger = $red-600; |
| 37 |
$inverse = $grey-700; |
| 38 |
|
| 39 |
// !! should not be using transparency for disabled !! |
| 40 |
$disabled-opacity = 0.65; |
| 41 |
|
| 42 |
// default disabled colors |
| 43 |
$disabled-color = $grey; |
| 44 |
$disabled-background-color = $grey-lighter; |
| 45 |
$disabled-border-color = lighten($grey-light, 10%); |
| 46 |
|
| 47 |
// typography |
| 48 |
$line-height = 20px; |
| 49 |
|
| 50 |
// box |
| 51 |
$border-color = $grey; |
| 52 |
$border-radius = 3px; |
| 53 |
$padding = 4px; |
| 54 |
$margin = 4px; |
| 55 |
|
| 56 |
// box shadows |
| 57 |
$shadow-depth1 = 0 1px .5px rgba(0,0,0,0.3), 0 2px 2px rgba(0,0,0,.2); |
| 58 |
$shadow-depth1_5 = 0 4px 2px -2px rgba(0,0,0,0.3), 0 4px 6px rgba(0,0,0,0.2); |
| 59 |
$shadow-depth2 = 0 7px 3px -4px rgba(0,0,0,0.3), 0 8px 8px rgba(0,0,0,.2); |
| 60 |
$shadow-depth3 = 0 12px 8px -4px rgba(0,0,0,0.3), 0 15px 20px rgba(0,0,0,.2); |
| 61 |
$shadow-inset = inset 0 3px 5px rgba(0,0,0,0.05); |
| 62 |
|
| 63 |
// icons |
| 64 |
$icon-font-family = "flat-icon"; |
| 65 |
$icon-size = 16px; |
| 66 |
// common icon vars |
| 67 |
$icon-drop-down = "\f002"; // drop down icons |
| 68 |
$icon-drop-up = "\f003"; |
| 69 |
$icon-drop-right = "\f001"; |
| 70 |
$icon-drop-left = "\f000"; |
| 71 |
$icon-expand = "\f006"; // accordion and title panes |
| 72 |
$icon-collapse = "\f007"; |
| 73 |
$icon-expand-collapse-size = 18px; |
| 74 |
$icon-error = "\f017"; // validation error |