unignore bower_components
[bootswatch] / bower_components / font-awesome / src / assets / less / variables.less
1 //
2 // Variables
3 // --------------------------------------------------
4
5
6 // Global values
7 // --------------------------------------------------
8
9
10 // Grays
11 // -------------------------
12 @black:                 #000;
13 @grayDarker:            #222;
14 @grayDark:              #333;
15 @gray:                  #555;
16 @grayLight:             #999;
17 @grayLighter:           #eee;
18 @white:                 #fff;
19
20 // Blues
21 // -------------------------
22 @blueDarker:            #003366;
23 @blueDark:              #005f9b; // Pantone 3015 C;
24 @blue:                  #009add; // Pantone 2925 C;
25 @blueLight:             #b8dcf2;
26 @blueLighter:           #f0f9ff;
27
28 // Greens
29 // -------------------------
30 @greenDarker:           #41683b;
31 @greenDark:             #678943;
32 @green:                 #95bf52;
33 @greenLight:            #ddefbd;
34 @greenLighter:          #f3f9e8;
35
36 // Reds
37 // -------------------------
38 @redDarker:             #702222;
39 @redDark:               #ba4a4a;
40 @red:                   #dd7373;
41 @redLight:              #f2adb1;
42 @redLighter:            #fff0f0;
43
44 // Yellows
45 // -------------------------
46 @yellowDarker:          #5b4411;
47 @yellowDark:            #cc9600;
48 @yellow:                #f9e27d;
49 @yellowLight:           #fff5bd;
50 @yellowLighter:         #fffcee;
51
52 // Oranges
53 // -------------------------
54 @orangeDarker:          #8c3900;
55 @orangeDark:            #cc5d11;
56 @orange:                #f4914e;
57 @orangeLight:           #ffd0a6;
58 @orangeLighter:         #fff4e6;
59
60 // Purples
61 // -------------------------
62 @purpleDarker:          #4a226d;
63 @purpleDark:            #7457ad;
64 @purple:                #9780d6;
65 @purpleLight:           #c3b8f4;
66 @purpleLighter:         #fbf5ff;
67
68
69 // Accent colors
70 // -------------------------
71 @red:                   #9d261d;
72 @redDark:               darken(@red, 10%);
73
74
75 // Scaffolding
76 // -------------------------
77 @bodyBackground:        @white;
78 @textColor:             @grayDark;
79
80
81 // Links
82 // -------------------------
83 @linkColor:             lighten(@red, 10%);
84 @linkColorHover:        @red;
85
86
87 // Typography
88 // -------------------------
89 @sansFontFamily:        proxima-nova, "Helvetica Neue", Helvetica, Arial, sans-serif;
90 @serifFontFamily:       museo-slab, "Helvetica Neue", Helvetica, Arial, sans-serif;
91 @monoFontFamily:        Menlo, Monaco, Consolas, "Courier New", monospace;
92
93 @baseFontSize:          14px;
94 @baseFontFamily:        @sansFontFamily;
95 @baseLineHeight:        20px;
96 @altFontFamily:         @serifFontFamily;
97
98 @headingsFontFamily:    inherit; // empty to use BS default, @baseFontFamily
99 @headingsFontWeight:    500;    // instead of browser default, bold
100 @headingsColor:         inherit; // empty to use BS default, @textColor
101
102
103 // Component sizing
104 // -------------------------
105 // Based on 14px font-size and 20px line-height
106
107 @fontSizeLarge:         @baseFontSize * 1.25; // ~18px
108 @fontSizeSmall:         @baseFontSize * 0.85; // ~12px
109 @fontSizeMini:          @baseFontSize * 0.75; // ~11px
110
111 @paddingLarge:          11px 19px; // 44px
112 @paddingSmall:          2px 10px;  // 26px
113 @paddingMini:           0 6px;   // 22px
114
115 @baseBorderRadius:      4px;
116 @borderRadiusLarge:     6px;
117 @borderRadiusSmall:     3px;
118
119
120 // Tables
121 // -------------------------
122 @tableBackground:                   transparent; // overall background-color
123 @tableBackgroundAccent:             #f9f9f9; // for striping
124 @tableBackgroundHover:              #f5f5f5; // for hover
125 @tableBorder:                       #ddd; // table and cell border
126
127 // Buttons
128 // -------------------------
129 @btnBackground:                     @white;
130 @btnBackgroundHighlight:            darken(@white, 10%);
131 @btnBorder:                         #bbb;
132
133 @btnPrimaryBackground:              #fffeb8;
134 @btnPrimaryBackgroundHighlight:     #c49c38;
135
136 @btnInfoBackground:                 @blue;
137 @btnInfoBackgroundHighlight:        mix(@blue, @blueDark, 50%);
138
139 @btnSuccessBackground:              @green;
140 @btnSuccessBackgroundHighlight:     @greenDark;
141
142 @btnWarningBackground:              @yellow;
143 @btnWarningBackgroundHighlight:     @yellowDark;
144
145 @btnDangerBackground:               lighten(@red, 20%);
146 @btnDangerBackgroundHighlight:      lighten(@red, 5%);
147
148 @btnInverseBackground:              #444;
149 @btnInverseBackgroundHighlight:     @grayDarker;
150
151
152 // Forms
153 // -------------------------
154 @inputBackground:               @white;
155 @inputBorder:                   #ccc;
156 @inputBorderRadius:             @baseBorderRadius;
157 @inputDisabledBackground:       @grayLighter;
158 @formActionsBackground:         #f5f5f5;
159 @inputHeight:                   @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
160
161
162 // Dropdowns
163 // -------------------------
164 @dropdownBackground:            @white;
165 @dropdownBorder:                rgba(0,0,0,.2);
166 @dropdownDividerTop:            #e5e5e5;
167 @dropdownDividerBottom:         @white;
168
169 @dropdownLinkColor:             @grayDark;
170 @dropdownLinkColorHover:        @white;
171 @dropdownLinkColorActive:       @white;
172
173 @dropdownLinkBackgroundActive:  @linkColor;
174 @dropdownLinkBackgroundHover:   @dropdownLinkBackgroundActive;
175
176
177
178 // COMPONENT VARIABLES
179 // --------------------------------------------------
180
181
182 // Z-index master list
183 // -------------------------
184 // Used for a bird's eye view of components dependent on the z-axis
185 // Try to avoid customizing these :)
186 @zindexDropdown:          1000;
187 @zindexPopover:           1010;
188 @zindexTooltip:           1030;
189 @zindexFixedNavbar:       1030;
190 @zindexModalBackdrop:     1040;
191 @zindexModal:             1050;
192
193
194 // Sprite icons path
195 // -------------------------
196 @iconSpritePath:          "../img/glyphicons-halflings.png";
197 @iconWhiteSpritePath:     "../img/glyphicons-halflings-white.png";
198
199
200 // Input placeholder text color
201 // -------------------------
202 @placeholderText:         @grayLight;
203
204
205 // Hr border color
206 // -------------------------
207 @hrBorder:                @grayLighter;
208
209
210 // Horizontal forms & lists
211 // -------------------------
212 @horizontalComponentOffset:       180px;
213
214
215 // Wells
216 // -------------------------
217 @wellBackground:                  #f5f5f5;
218
219
220 // Navbar
221 // -------------------------
222 @navbarCollapseWidth:             767px;
223 @navbarCollapseDesktopWidth:      @navbarCollapseWidth + 1;
224
225 @navbarHeight:                    40px;
226 @navbarBackgroundHighlight:       #ffffff;
227 @navbarBackground:                darken(@navbarBackgroundHighlight, 5%);
228 @navbarBorder:                    darken(@navbarBackground, 12%);
229
230 @navbarText:                      #777;
231 @navbarLinkColor:                 #777;
232 @navbarLinkColorHover:            @grayDark;
233 @navbarLinkColorActive:           @gray;
234 @navbarLinkBackgroundHover:       transparent;
235 @navbarLinkBackgroundActive:      darken(@navbarBackground, 5%);
236
237 @navbarBrandColor:                @navbarLinkColor;
238
239 // Inverted navbar
240 @navbarInverseBackground:                #111111;
241 @navbarInverseBackgroundHighlight:       #222222;
242 @navbarInverseBorder:                    #252525;
243
244 @navbarInverseText:                      @grayLight;
245 @navbarInverseLinkColor:                 @grayLight;
246 @navbarInverseLinkColorHover:            @white;
247 @navbarInverseLinkColorActive:           @navbarInverseLinkColorHover;
248 @navbarInverseLinkBackgroundHover:       transparent;
249 @navbarInverseLinkBackgroundActive:      @navbarInverseBackground;
250
251 @navbarInverseSearchBackground:          lighten(@navbarInverseBackground, 25%);
252 @navbarInverseSearchBackgroundFocus:     @white;
253 @navbarInverseSearchBorder:              @navbarInverseBackground;
254 @navbarInverseSearchPlaceholderColor:    #ccc;
255
256 @navbarInverseBrandColor:                @navbarInverseLinkColor;
257
258
259 // Pagination
260 // -------------------------
261 @paginationBackground:                #fff;
262 @paginationBorder:                    #ddd;
263 @paginationActiveBackground:          #f5f5f5;
264
265
266 // Hero unit
267 // -------------------------
268 @heroUnitBackground:              @grayLighter;
269 @heroUnitHeadingColor:            inherit;
270 @heroUnitLeadColor:               inherit;
271
272
273 // Form states and alerts
274 // -------------------------
275 @warningText:             mix(@yellowDark, @yellowDarker, 80%);
276 @warningBackground:       @yellowLighter;
277 @warningBorder:           darken(spin(@warningBackground, -10), 7%);
278
279 @errorText:               @red;
280 @errorBackground:         @redLighter;
281 @errorBorder:             darken(spin(@errorBackground, -10), 4%);
282
283 @successText:             mix(@greenDarker, @greenDark, 30%);
284 @successBackground:       @greenLighter;
285 @successBorder:           darken(spin(@successBackground, -10), 13%);
286
287 @infoText:                mix(@blueDark, @blue, 50%);
288 @infoBackground:          @blueLighter;
289 @infoBorder:              darken(spin(@infoBackground, -10), 7%);
290
291 @inverseText:             @white;
292 @inverseBackground:       @gray;
293 @inverseBorder:           darken(spin(@inverseBackground, -10), 7%);
294
295
296 // Tooltips and popovers
297 // -------------------------
298 @tooltipColor:            #fff;
299 @tooltipBackground:       #000;
300 @tooltipArrowWidth:       5px;
301 @tooltipArrowColor:       @tooltipBackground;
302
303 @popoverBackground:       #fff;
304 @popoverArrowWidth:       10px;
305 @popoverArrowColor:       #fff;
306 @popoverTitleBackground:  darken(@popoverBackground, 3%);
307
308 // Special enhancement for popovers
309 @popoverArrowOuterWidth:  @popoverArrowWidth + 1;
310 @popoverArrowOuterColor:  rgba(0,0,0,.25);
311
312
313
314 // GRID
315 // --------------------------------------------------
316
317
318 // Default 940px grid
319 // -------------------------
320 @gridColumns:             12;
321 @gridColumnWidth:         60px;
322 @gridGutterWidth:         20px;
323 @gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
324
325 // 1200px min
326 @gridColumnWidth1200:     70px;
327 @gridGutterWidth1200:     30px;
328 @gridRowWidth1200:        (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
329
330 // 768px-979px
331 @gridColumnWidth768:      42px;
332 @gridGutterWidth768:      20px;
333 @gridRowWidth768:         (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
334
335
336 // Fluid grid
337 // -------------------------
338 @fluidGridColumnWidth:    percentage(@gridColumnWidth/@gridRowWidth);
339 @fluidGridGutterWidth:    percentage(@gridGutterWidth/@gridRowWidth);
340
341 // 1200px min
342 @fluidGridColumnWidth1200:     percentage(@gridColumnWidth1200/@gridRowWidth1200);
343 @fluidGridGutterWidth1200:     percentage(@gridGutterWidth1200/@gridRowWidth1200);
344
345 // 768px-979px
346 @fluidGridColumnWidth768:      percentage(@gridColumnWidth768/@gridRowWidth768);
347 @fluidGridGutterWidth768:      percentage(@gridGutterWidth768/@gridRowWidth768);