2.0.3 -> 2.0.4 closes #24
[bootswatch] / amelia / variables.less
1 // Variables.less
2 // Variables to customize the look and feel of Bootstrap
3 // Swatch: Amelia
4 // Version: 2.0.4
5 // -----------------------------------------------------
6
7 // GLOBAL VALUES
8 // --------------------------------------------------
9
10
11 // Grays
12 // -------------------------
13 @black:                 #000;
14 @grayDarker:            #111;
15 @grayDark:              #333;
16 @gray:                  #555;
17 @grayLight:             #aaa;
18 @grayLighter:           #ddd;
19 @white:                 #fff;
20
21
22 // Accent colors
23 // -------------------------
24 @blue:                  #00BCE1;
25 @blueDark:              #1269B0;
26 @green:                 #48CA3B;
27 @red:                   #E51925;
28 @yellow:                #DEBB27;
29 @orange:                #DF6E1E;
30 @pink:                  #FFBCB9;
31 @purple:                #4D3A7D;
32
33
34 // Scaffolding
35 // -------------------------
36 @bodyBackground:        #003F4D;
37 @textColor:             rgba(255, 255, 255, 0.9);
38
39
40 // Links
41 // -------------------------
42 @linkColor:             lighten(@yellow, 15%);
43 @linkColorHover:        @linkColor;
44
45
46 // Typography
47 // -------------------------
48 @sansFontFamily:        'Cabin', Verdana, sans-serif;
49 @serifFontFamily:       Georgia, "Times New Roman", Times, serif;
50 @monoFontFamily:        Menlo, Monaco, Consolas, "Courier New", monospace;
51
52 @baseFontSize:          14px;
53 @baseFontFamily:        @sansFontFamily;
54 @baseLineHeight:        20px;
55 @altFontFamily:         @serifFontFamily;
56
57 @headingsFontFamily:    'Lobster', cursive; // empty to use BS default, @baseFontFamily
58 @headingsFontWeight:    normal;    // instead of browser default, bold
59 @headingsColor:         inherit; // empty to use BS default, @textColor
60
61
62 // Tables
63 // -------------------------
64 @tableBackground:                   lighten(#147E88, 10%); // overall background-color
65 @tableBackgroundAccent:             lighten(#147E88, 15%); // for striping
66 @tableBackgroundHover:              rgba(255, 255, 255, 0.4); // for hover
67 @tableBorder:                       lighten(#147E88, 12%); // table and cell border
68
69
70 // Buttons
71 // -------------------------
72 @btnBackground:                     @grayLighter;
73 @btnBackgroundHighlight:            @grayLighter;
74 @btnBorder:                         rgba(0, 0, 0, 0);
75
76 @btnPrimaryBackground:              @navbarBackground;
77 @btnPrimaryBackgroundHighlight:     spin(@btnPrimaryBackground, 15%);
78
79 @btnInfoBackground:                 @purple;
80 @btnInfoBackgroundHighlight:        @purple;
81
82 @btnSuccessBackground:              @green;
83 @btnSuccessBackgroundHighlight:     @green;
84
85 @btnWarningBackground:              @orange;
86 @btnWarningBackgroundHighlight:     @orange;
87
88 @btnDangerBackground:               @yellow;
89 @btnDangerBackgroundHighlight:      @yellow;
90
91 @btnInverseBackground:              #27666D;
92 @btnInverseBackgroundHighlight:     #27666D;
93
94
95 // Forms
96 // -------------------------
97 @inputBackground:               @white;
98 @inputBorder:                   transparent;
99 @inputBorderRadius:             0;
100 @inputDisabledBackground:       @grayLighter;
101 @formActionsBackground:         transparent;
102
103 // Dropdowns
104 // -------------------------
105 @dropdownBackground:            @white;
106 @dropdownBorder:                rgba(0,0,0,.2);
107 @dropdownLinkColor:             @bodyBackground;
108 @dropdownLinkColorHover:        @white;
109 @dropdownLinkBackgroundHover:   rgba(0, 57, 59, 0.9);
110 @dropdownDividerTop:            #e5e5e5;
111 @dropdownDividerBottom:         @white;
112
113
114
115 // COMPONENT VARIABLES
116 // --------------------------------------------------
117
118 // Z-index master list
119 // -------------------------
120 // Used for a bird's eye view of components dependent on the z-axis
121 // Try to avoid customizing these :)
122 @zindexDropdown:          1000;
123 @zindexPopover:           1010;
124 @zindexTooltip:           1020;
125 @zindexFixedNavbar:       1030;
126 @zindexModalBackdrop:     1040;
127 @zindexModal:             1050;
128
129
130 // Sprite icons path
131 // -------------------------
132 @iconSpritePath:          "../img/glyphicons-halflings.png";
133 @iconWhiteSpritePath:     "../img/glyphicons-halflings-white.png";
134
135
136 // Input placeholder text color
137 // -------------------------
138 @placeholderText:         @grayLight;
139
140
141 // Hr border color
142 // -------------------------
143 @hrBorder:                transparent;
144
145
146 // Navbar
147 // -------------------------
148 @navbarHeight:                    50px;
149 @navbarBackground:                #AD1D28;
150 @navbarBackgroundHighlight:       #AD1D28;
151
152 @navbarText:                      @white;
153 @navbarLinkColor:                 @white;
154 @navbarLinkColorHover:            @white;
155 @navbarLinkColorActive:           @navbarLinkColorHover;
156 @navbarLinkBackgroundHover:       lighten(@navbarBackground, 10%);
157 @navbarLinkBackgroundActive:      lighten(@navbarBackground, 10%);
158
159 @navbarSearchBackground:          rgba(0, 0, 0, 0);
160 @navbarSearchBackgroundFocus:     lighten(@navbarBackground, 25%);
161 @navbarSearchBorder:              darken(@navbarSearchBackground, 30%);
162 @navbarSearchPlaceholderColor:    @textColor;
163 @navbarBrandColor:                @navbarLinkColor;
164
165
166 // Hero unit
167 // -------------------------
168 @heroUnitBackground:              #3CB9C6;
169 @heroUnitHeadingColor:            inherit;
170 @heroUnitLeadColor:               inherit;
171
172
173 // Form states and alerts
174 // -------------------------
175 @warningText:             #c09853;
176 @warningBackground:       #fcf8e3;
177 @warningBorder:           darken(spin(@warningBackground, -10), 3%);
178
179 @errorText:               #b94a48;
180 @errorBackground:         #f2dede;
181 @errorBorder:             darken(spin(@errorBackground, -10), 3%);
182
183 @successText:             #468847;
184 @successBackground:       #dff0d8;
185 @successBorder:           darken(spin(@successBackground, -10), 5%);
186
187 @infoText:                #3a87ad;
188 @infoBackground:          #d9edf7;
189 @infoBorder:              darken(spin(@infoBackground, -10), 7%);
190
191
192
193 // GRID
194 // --------------------------------------------------
195
196 // Default 940px grid
197 // -------------------------
198 @gridColumns:             12;
199 @gridColumnWidth:         60px;
200 @gridGutterWidth:         20px;
201 @gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
202
203 // Fluid grid
204 // -------------------------
205 @fluidGridColumnWidth:    6.382978723%;
206 @fluidGridGutterWidth:    2.127659574%;