1 // |
|
2 // Variables |
|
3 // -------------------------------------------------- |
|
4 |
|
5 |
|
6 //== Colors |
|
7 // |
|
8 //## Gray and brand colors for use across Bootstrap. |
|
9 |
|
10 @gray-base: #000; |
|
11 @gray-darker: lighten(@gray-base, 13.5%); // #222 |
|
12 @gray-dark: lighten(@gray-base, 20%); // #333 |
|
13 @gray: lighten(@gray-base, 33.5%); // #555 |
|
14 @gray-light: lighten(@gray-base, 46.7%); // #777 |
|
15 @gray-lighter: lighten(@gray-base, 93.5%); // #eee |
|
16 |
|
17 @brand-primary: darken(#428bca, 6.5%); |
|
18 @brand-success: #5cb85c; |
|
19 @brand-info: #5bc0de; |
|
20 @brand-warning: #f0ad4e; |
|
21 @brand-danger: #d9534f; |
|
22 |
|
23 |
|
24 //== Scaffolding |
|
25 // |
|
26 //## Settings for some of the most global styles. |
|
27 |
|
28 //** Background color for `<body>`. |
|
29 @body-bg: #fff; |
|
30 //** Global text color on `<body>`. |
|
31 @text-color: @gray-dark; |
|
32 |
|
33 //** Global textual link color. |
|
34 @link-color: @brand-primary; |
|
35 //** Link hover color set via `darken()` function. |
|
36 @link-hover-color: darken(@link-color, 15%); |
|
37 //** Link hover decoration. |
|
38 @link-hover-decoration: underline; |
|
39 |
|
40 |
|
41 //== Typography |
|
42 // |
|
43 //## Font, line-height, and color for body text, headings, and more. |
|
44 |
|
45 @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
46 @font-family-serif: Georgia, "Times New Roman", Times, serif; |
|
47 //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`. |
|
48 @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace; |
|
49 @font-family-base: @font-family-sans-serif; |
|
50 |
|
51 @font-size-base: 14px; |
|
52 @font-size-large: ceil((@font-size-base * 1.25)); // ~18px |
|
53 @font-size-small: ceil((@font-size-base * 0.85)); // ~12px |
|
54 |
|
55 @font-size-h1: floor((@font-size-base * 2.6)); // ~36px |
|
56 @font-size-h2: floor((@font-size-base * 2.15)); // ~30px |
|
57 @font-size-h3: ceil((@font-size-base * 1.7)); // ~24px |
|
58 @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px |
|
59 @font-size-h5: @font-size-base; |
|
60 @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px |
|
61 |
|
62 //** Unit-less `line-height` for use in components like buttons. |
|
63 @line-height-base: 1.428571429; // 20/14 |
|
64 //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc. |
|
65 @line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px |
|
66 |
|
67 //** By default, this inherits from the `<body>`. |
|
68 @headings-font-family: inherit; |
|
69 @headings-font-weight: 500; |
|
70 @headings-line-height: 1.1; |
|
71 @headings-color: inherit; |
|
72 |
|
73 |
|
74 //== Iconography |
|
75 // |
|
76 //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower. |
|
77 |
|
78 //** Load fonts from this directory. |
|
79 @icon-font-path: "../fonts/"; |
|
80 //** File name for all font files. |
|
81 @icon-font-name: "glyphicons-halflings-regular"; |
|
82 //** Element ID within SVG icon file. |
|
83 @icon-font-svg-id: "glyphicons_halflingsregular"; |
|
84 |
|
85 |
|
86 //== Components |
|
87 // |
|
88 //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start). |
|
89 |
|
90 @padding-base-vertical: 6px; |
|
91 @padding-base-horizontal: 12px; |
|
92 |
|
93 @padding-large-vertical: 10px; |
|
94 @padding-large-horizontal: 16px; |
|
95 |
|
96 @padding-small-vertical: 5px; |
|
97 @padding-small-horizontal: 10px; |
|
98 |
|
99 @padding-xs-vertical: 1px; |
|
100 @padding-xs-horizontal: 5px; |
|
101 |
|
102 @line-height-large: 1.33; |
|
103 @line-height-small: 1.5; |
|
104 |
|
105 @border-radius-base: 4px; |
|
106 @border-radius-large: 6px; |
|
107 @border-radius-small: 3px; |
|
108 |
|
109 //** Global color for active items (e.g., navs or dropdowns). |
|
110 @component-active-color: #fff; |
|
111 //** Global background color for active items (e.g., navs or dropdowns). |
|
112 @component-active-bg: @brand-primary; |
|
113 |
|
114 //** Width of the `border` for generating carets that indicator dropdowns. |
|
115 @caret-width-base: 4px; |
|
116 //** Carets increase slightly in size for larger components. |
|
117 @caret-width-large: 5px; |
|
118 |
|
119 |
|
120 //== Tables |
|
121 // |
|
122 //## Customizes the `.table` component with basic values, each used across all table variations. |
|
123 |
|
124 //** Padding for `<th>`s and `<td>`s. |
|
125 @table-cell-padding: 8px; |
|
126 //** Padding for cells in `.table-condensed`. |
|
127 @table-condensed-cell-padding: 5px; |
|
128 |
|
129 //** Default background color used for all tables. |
|
130 @table-bg: transparent; |
|
131 //** Background color used for `.table-striped`. |
|
132 @table-bg-accent: #f9f9f9; |
|
133 //** Background color used for `.table-hover`. |
|
134 @table-bg-hover: #f5f5f5; |
|
135 @table-bg-active: @table-bg-hover; |
|
136 |
|
137 //** Border color for table and cell borders. |
|
138 @table-border-color: #ddd; |
|
139 |
|
140 |
|
141 //== Buttons |
|
142 // |
|
143 //## For each of Bootstrap's buttons, define text, background and border color. |
|
144 |
|
145 @btn-font-weight: normal; |
|
146 |
|
147 @btn-default-color: #333; |
|
148 @btn-default-bg: #fff; |
|
149 @btn-default-border: #ccc; |
|
150 |
|
151 @btn-primary-color: #fff; |
|
152 @btn-primary-bg: @brand-primary; |
|
153 @btn-primary-border: darken(@btn-primary-bg, 5%); |
|
154 |
|
155 @btn-success-color: #fff; |
|
156 @btn-success-bg: @brand-success; |
|
157 @btn-success-border: darken(@btn-success-bg, 5%); |
|
158 |
|
159 @btn-info-color: #fff; |
|
160 @btn-info-bg: @brand-info; |
|
161 @btn-info-border: darken(@btn-info-bg, 5%); |
|
162 |
|
163 @btn-warning-color: #fff; |
|
164 @btn-warning-bg: @brand-warning; |
|
165 @btn-warning-border: darken(@btn-warning-bg, 5%); |
|
166 |
|
167 @btn-danger-color: #fff; |
|
168 @btn-danger-bg: @brand-danger; |
|
169 @btn-danger-border: darken(@btn-danger-bg, 5%); |
|
170 |
|
171 @btn-link-disabled-color: @gray-light; |
|
172 |
|
173 |
|
174 //== Forms |
|
175 // |
|
176 //## |
|
177 |
|
178 //** `<input>` background color |
|
179 @input-bg: #fff; |
|
180 //** `<input disabled>` background color |
|
181 @input-bg-disabled: @gray-lighter; |
|
182 |
|
183 //** Text color for `<input>`s |
|
184 @input-color: @gray; |
|
185 //** `<input>` border color |
|
186 @input-border: #ccc; |
|
187 |
|
188 // TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4 |
|
189 //** Default `.form-control` border radius |
|
190 @input-border-radius: @border-radius-base; |
|
191 //** Large `.form-control` border radius |
|
192 @input-border-radius-large: @border-radius-large; |
|
193 //** Small `.form-control` border radius |
|
194 @input-border-radius-small: @border-radius-small; |
|
195 |
|
196 //** Border color for inputs on focus |
|
197 @input-border-focus: #66afe9; |
|
198 |
|
199 //** Placeholder text color |
|
200 @input-color-placeholder: #999; |
|
201 |
|
202 //** Default `.form-control` height |
|
203 @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2); |
|
204 //** Large `.form-control` height |
|
205 @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2); |
|
206 //** Small `.form-control` height |
|
207 @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2); |
|
208 |
|
209 @legend-color: @gray-dark; |
|
210 @legend-border-color: #e5e5e5; |
|
211 |
|
212 //** Background color for textual input addons |
|
213 @input-group-addon-bg: @gray-lighter; |
|
214 //** Border color for textual input addons |
|
215 @input-group-addon-border-color: @input-border; |
|
216 |
|
217 //** Disabled cursor for form controls and buttons. |
|
218 @cursor-disabled: not-allowed; |
|
219 |
|
220 |
|
221 //== Dropdowns |
|
222 // |
|
223 //## Dropdown menu container and contents. |
|
224 |
|
225 //** Background for the dropdown menu. |
|
226 @dropdown-bg: #fff; |
|
227 //** Dropdown menu `border-color`. |
|
228 @dropdown-border: rgba(0,0,0,.15); |
|
229 //** Dropdown menu `border-color` **for IE8**. |
|
230 @dropdown-fallback-border: #ccc; |
|
231 //** Divider color for between dropdown items. |
|
232 @dropdown-divider-bg: #e5e5e5; |
|
233 |
|
234 //** Dropdown link text color. |
|
235 @dropdown-link-color: @gray-dark; |
|
236 //** Hover color for dropdown links. |
|
237 @dropdown-link-hover-color: darken(@gray-dark, 5%); |
|
238 //** Hover background for dropdown links. |
|
239 @dropdown-link-hover-bg: #f5f5f5; |
|
240 |
|
241 //** Active dropdown menu item text color. |
|
242 @dropdown-link-active-color: @component-active-color; |
|
243 //** Active dropdown menu item background color. |
|
244 @dropdown-link-active-bg: @component-active-bg; |
|
245 |
|
246 //** Disabled dropdown menu item background color. |
|
247 @dropdown-link-disabled-color: @gray-light; |
|
248 |
|
249 //** Text color for headers within dropdown menus. |
|
250 @dropdown-header-color: @gray-light; |
|
251 |
|
252 //** Deprecated `@dropdown-caret-color` as of v3.1.0 |
|
253 @dropdown-caret-color: #000; |
|
254 |
|
255 |
|
256 //-- Z-index master list |
|
257 // |
|
258 // Warning: Avoid customizing these values. They're used for a bird's eye view |
|
259 // of components dependent on the z-axis and are designed to all work together. |
|
260 // |
|
261 // Note: These variables are not generated into the Customizer. |
|
262 |
|
263 @zindex-navbar: 1000; |
|
264 @zindex-dropdown: 1000; |
|
265 @zindex-popover: 1060; |
|
266 @zindex-tooltip: 1070; |
|
267 @zindex-navbar-fixed: 1030; |
|
268 @zindex-modal: 1040; |
|
269 |
|
270 |
|
271 //== Media queries breakpoints |
|
272 // |
|
273 //## Define the breakpoints at which your layout will change, adapting to different screen sizes. |
|
274 |
|
275 // Extra small screen / phone |
|
276 //** Deprecated `@screen-xs` as of v3.0.1 |
|
277 @screen-xs: 480px; |
|
278 //** Deprecated `@screen-xs-min` as of v3.2.0 |
|
279 @screen-xs-min: @screen-xs; |
|
280 //** Deprecated `@screen-phone` as of v3.0.1 |
|
281 @screen-phone: @screen-xs-min; |
|
282 |
|
283 // Small screen / tablet |
|
284 //** Deprecated `@screen-sm` as of v3.0.1 |
|
285 @screen-sm: 768px; |
|
286 @screen-sm-min: @screen-sm; |
|
287 //** Deprecated `@screen-tablet` as of v3.0.1 |
|
288 @screen-tablet: @screen-sm-min; |
|
289 |
|
290 // Medium screen / desktop |
|
291 //** Deprecated `@screen-md` as of v3.0.1 |
|
292 @screen-md: 992px; |
|
293 @screen-md-min: @screen-md; |
|
294 //** Deprecated `@screen-desktop` as of v3.0.1 |
|
295 @screen-desktop: @screen-md-min; |
|
296 |
|
297 // Large screen / wide desktop |
|
298 //** Deprecated `@screen-lg` as of v3.0.1 |
|
299 @screen-lg: 1200px; |
|
300 @screen-lg-min: @screen-lg; |
|
301 //** Deprecated `@screen-lg-desktop` as of v3.0.1 |
|
302 @screen-lg-desktop: @screen-lg-min; |
|
303 |
|
304 // So media queries don't overlap when required, provide a maximum |
|
305 @screen-xs-max: (@screen-sm-min - 1); |
|
306 @screen-sm-max: (@screen-md-min - 1); |
|
307 @screen-md-max: (@screen-lg-min - 1); |
|
308 |
|
309 |
|
310 //== Grid system |
|
311 // |
|
312 //## Define your custom responsive grid. |
|
313 |
|
314 //** Number of columns in the grid. |
|
315 @grid-columns: 12; |
|
316 //** Padding between columns. Gets divided in half for the left and right. |
|
317 @grid-gutter-width: 30px; |
|
318 // Navbar collapse |
|
319 //** Point at which the navbar becomes uncollapsed. |
|
320 @grid-float-breakpoint: @screen-sm-min; |
|
321 //** Point at which the navbar begins collapsing. |
|
322 @grid-float-breakpoint-max: (@grid-float-breakpoint - 1); |
|
323 |
|
324 |
|
325 //== Container sizes |
|
326 // |
|
327 //## Define the maximum width of `.container` for different screen sizes. |
|
328 |
|
329 // Small screen / tablet |
|
330 @container-tablet: (720px + @grid-gutter-width); |
|
331 //** For `@screen-sm-min` and up. |
|
332 @container-sm: @container-tablet; |
|
333 |
|
334 // Medium screen / desktop |
|
335 @container-desktop: (940px + @grid-gutter-width); |
|
336 //** For `@screen-md-min` and up. |
|
337 @container-md: @container-desktop; |
|
338 |
|
339 // Large screen / wide desktop |
|
340 @container-large-desktop: (1140px + @grid-gutter-width); |
|
341 //** For `@screen-lg-min` and up. |
|
342 @container-lg: @container-large-desktop; |
|
343 |
|
344 |
|
345 //== Navbar |
|
346 // |
|
347 //## |
|
348 |
|
349 // Basics of a navbar |
|
350 @navbar-height: 50px; |
|
351 @navbar-margin-bottom: @line-height-computed; |
|
352 @navbar-border-radius: @border-radius-base; |
|
353 @navbar-padding-horizontal: floor((@grid-gutter-width / 2)); |
|
354 @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2); |
|
355 @navbar-collapse-max-height: 340px; |
|
356 |
|
357 @navbar-default-color: #777; |
|
358 @navbar-default-bg: #f8f8f8; |
|
359 @navbar-default-border: darken(@navbar-default-bg, 6.5%); |
|
360 |
|
361 // Navbar links |
|
362 @navbar-default-link-color: #777; |
|
363 @navbar-default-link-hover-color: #333; |
|
364 @navbar-default-link-hover-bg: transparent; |
|
365 @navbar-default-link-active-color: #555; |
|
366 @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%); |
|
367 @navbar-default-link-disabled-color: #ccc; |
|
368 @navbar-default-link-disabled-bg: transparent; |
|
369 |
|
370 // Navbar brand label |
|
371 @navbar-default-brand-color: @navbar-default-link-color; |
|
372 @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%); |
|
373 @navbar-default-brand-hover-bg: transparent; |
|
374 |
|
375 // Navbar toggle |
|
376 @navbar-default-toggle-hover-bg: #ddd; |
|
377 @navbar-default-toggle-icon-bar-bg: #888; |
|
378 @navbar-default-toggle-border-color: #ddd; |
|
379 |
|
380 |
|
381 // Inverted navbar |
|
382 // Reset inverted navbar basics |
|
383 @navbar-inverse-color: lighten(@gray-light, 15%); |
|
384 @navbar-inverse-bg: #222; |
|
385 @navbar-inverse-border: darken(@navbar-inverse-bg, 10%); |
|
386 |
|
387 // Inverted navbar links |
|
388 @navbar-inverse-link-color: lighten(@gray-light, 15%); |
|
389 @navbar-inverse-link-hover-color: #fff; |
|
390 @navbar-inverse-link-hover-bg: transparent; |
|
391 @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color; |
|
392 @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%); |
|
393 @navbar-inverse-link-disabled-color: #444; |
|
394 @navbar-inverse-link-disabled-bg: transparent; |
|
395 |
|
396 // Inverted navbar brand label |
|
397 @navbar-inverse-brand-color: @navbar-inverse-link-color; |
|
398 @navbar-inverse-brand-hover-color: #fff; |
|
399 @navbar-inverse-brand-hover-bg: transparent; |
|
400 |
|
401 // Inverted navbar toggle |
|
402 @navbar-inverse-toggle-hover-bg: #333; |
|
403 @navbar-inverse-toggle-icon-bar-bg: #fff; |
|
404 @navbar-inverse-toggle-border-color: #333; |
|
405 |
|
406 |
|
407 //== Navs |
|
408 // |
|
409 //## |
|
410 |
|
411 //=== Shared nav styles |
|
412 @nav-link-padding: 10px 15px; |
|
413 @nav-link-hover-bg: @gray-lighter; |
|
414 |
|
415 @nav-disabled-link-color: @gray-light; |
|
416 @nav-disabled-link-hover-color: @gray-light; |
|
417 |
|
418 //== Tabs |
|
419 @nav-tabs-border-color: #ddd; |
|
420 |
|
421 @nav-tabs-link-hover-border-color: @gray-lighter; |
|
422 |
|
423 @nav-tabs-active-link-hover-bg: @body-bg; |
|
424 @nav-tabs-active-link-hover-color: @gray; |
|
425 @nav-tabs-active-link-hover-border-color: #ddd; |
|
426 |
|
427 @nav-tabs-justified-link-border-color: #ddd; |
|
428 @nav-tabs-justified-active-link-border-color: @body-bg; |
|
429 |
|
430 //== Pills |
|
431 @nav-pills-border-radius: @border-radius-base; |
|
432 @nav-pills-active-link-hover-bg: @component-active-bg; |
|
433 @nav-pills-active-link-hover-color: @component-active-color; |
|
434 |
|
435 |
|
436 //== Pagination |
|
437 // |
|
438 //## |
|
439 |
|
440 @pagination-color: @link-color; |
|
441 @pagination-bg: #fff; |
|
442 @pagination-border: #ddd; |
|
443 |
|
444 @pagination-hover-color: @link-hover-color; |
|
445 @pagination-hover-bg: @gray-lighter; |
|
446 @pagination-hover-border: #ddd; |
|
447 |
|
448 @pagination-active-color: #fff; |
|
449 @pagination-active-bg: @brand-primary; |
|
450 @pagination-active-border: @brand-primary; |
|
451 |
|
452 @pagination-disabled-color: @gray-light; |
|
453 @pagination-disabled-bg: #fff; |
|
454 @pagination-disabled-border: #ddd; |
|
455 |
|
456 |
|
457 //== Pager |
|
458 // |
|
459 //## |
|
460 |
|
461 @pager-bg: @pagination-bg; |
|
462 @pager-border: @pagination-border; |
|
463 @pager-border-radius: 15px; |
|
464 |
|
465 @pager-hover-bg: @pagination-hover-bg; |
|
466 |
|
467 @pager-active-bg: @pagination-active-bg; |
|
468 @pager-active-color: @pagination-active-color; |
|
469 |
|
470 @pager-disabled-color: @pagination-disabled-color; |
|
471 |
|
472 |
|
473 //== Jumbotron |
|
474 // |
|
475 //## |
|
476 |
|
477 @jumbotron-padding: 30px; |
|
478 @jumbotron-color: inherit; |
|
479 @jumbotron-bg: @gray-lighter; |
|
480 @jumbotron-heading-color: inherit; |
|
481 @jumbotron-font-size: ceil((@font-size-base * 1.5)); |
|
482 |
|
483 |
|
484 //== Form states and alerts |
|
485 // |
|
486 //## Define colors for form feedback states and, by default, alerts. |
|
487 |
|
488 @state-success-text: #3c763d; |
|
489 @state-success-bg: #dff0d8; |
|
490 @state-success-border: darken(spin(@state-success-bg, -10), 5%); |
|
491 |
|
492 @state-info-text: #31708f; |
|
493 @state-info-bg: #d9edf7; |
|
494 @state-info-border: darken(spin(@state-info-bg, -10), 7%); |
|
495 |
|
496 @state-warning-text: #8a6d3b; |
|
497 @state-warning-bg: #fcf8e3; |
|
498 @state-warning-border: darken(spin(@state-warning-bg, -10), 5%); |
|
499 |
|
500 @state-danger-text: #a94442; |
|
501 @state-danger-bg: #f2dede; |
|
502 @state-danger-border: darken(spin(@state-danger-bg, -10), 5%); |
|
503 |
|
504 |
|
505 //== Tooltips |
|
506 // |
|
507 //## |
|
508 |
|
509 //** Tooltip max width |
|
510 @tooltip-max-width: 200px; |
|
511 //** Tooltip text color |
|
512 @tooltip-color: #fff; |
|
513 //** Tooltip background color |
|
514 @tooltip-bg: #000; |
|
515 @tooltip-opacity: .9; |
|
516 |
|
517 //** Tooltip arrow width |
|
518 @tooltip-arrow-width: 5px; |
|
519 //** Tooltip arrow color |
|
520 @tooltip-arrow-color: @tooltip-bg; |
|
521 |
|
522 |
|
523 //== Popovers |
|
524 // |
|
525 //## |
|
526 |
|
527 //** Popover body background color |
|
528 @popover-bg: #fff; |
|
529 //** Popover maximum width |
|
530 @popover-max-width: 276px; |
|
531 //** Popover border color |
|
532 @popover-border-color: rgba(0,0,0,.2); |
|
533 //** Popover fallback border color |
|
534 @popover-fallback-border-color: #ccc; |
|
535 |
|
536 //** Popover title background color |
|
537 @popover-title-bg: darken(@popover-bg, 3%); |
|
538 |
|
539 //** Popover arrow width |
|
540 @popover-arrow-width: 10px; |
|
541 //** Popover arrow color |
|
542 @popover-arrow-color: @popover-bg; |
|
543 |
|
544 //** Popover outer arrow width |
|
545 @popover-arrow-outer-width: (@popover-arrow-width + 1); |
|
546 //** Popover outer arrow color |
|
547 @popover-arrow-outer-color: fadein(@popover-border-color, 5%); |
|
548 //** Popover outer arrow fallback color |
|
549 @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%); |
|
550 |
|
551 |
|
552 //== Labels |
|
553 // |
|
554 //## |
|
555 |
|
556 //** Default label background color |
|
557 @label-default-bg: @gray-light; |
|
558 //** Primary label background color |
|
559 @label-primary-bg: @brand-primary; |
|
560 //** Success label background color |
|
561 @label-success-bg: @brand-success; |
|
562 //** Info label background color |
|
563 @label-info-bg: @brand-info; |
|
564 //** Warning label background color |
|
565 @label-warning-bg: @brand-warning; |
|
566 //** Danger label background color |
|
567 @label-danger-bg: @brand-danger; |
|
568 |
|
569 //** Default label text color |
|
570 @label-color: #fff; |
|
571 //** Default text color of a linked label |
|
572 @label-link-hover-color: #fff; |
|
573 |
|
574 |
|
575 //== Modals |
|
576 // |
|
577 //## |
|
578 |
|
579 //** Padding applied to the modal body |
|
580 @modal-inner-padding: 15px; |
|
581 |
|
582 //** Padding applied to the modal title |
|
583 @modal-title-padding: 15px; |
|
584 //** Modal title line-height |
|
585 @modal-title-line-height: @line-height-base; |
|
586 |
|
587 //** Background color of modal content area |
|
588 @modal-content-bg: #fff; |
|
589 //** Modal content border color |
|
590 @modal-content-border-color: rgba(0,0,0,.2); |
|
591 //** Modal content border color **for IE8** |
|
592 @modal-content-fallback-border-color: #999; |
|
593 |
|
594 //** Modal backdrop background color |
|
595 @modal-backdrop-bg: #000; |
|
596 //** Modal backdrop opacity |
|
597 @modal-backdrop-opacity: .5; |
|
598 //** Modal header border color |
|
599 @modal-header-border-color: #e5e5e5; |
|
600 //** Modal footer border color |
|
601 @modal-footer-border-color: @modal-header-border-color; |
|
602 |
|
603 @modal-lg: 900px; |
|
604 @modal-md: 600px; |
|
605 @modal-sm: 300px; |
|
606 |
|
607 |
|
608 //== Alerts |
|
609 // |
|
610 //## Define alert colors, border radius, and padding. |
|
611 |
|
612 @alert-padding: 15px; |
|
613 @alert-border-radius: @border-radius-base; |
|
614 @alert-link-font-weight: bold; |
|
615 |
|
616 @alert-success-bg: @state-success-bg; |
|
617 @alert-success-text: @state-success-text; |
|
618 @alert-success-border: @state-success-border; |
|
619 |
|
620 @alert-info-bg: @state-info-bg; |
|
621 @alert-info-text: @state-info-text; |
|
622 @alert-info-border: @state-info-border; |
|
623 |
|
624 @alert-warning-bg: @state-warning-bg; |
|
625 @alert-warning-text: @state-warning-text; |
|
626 @alert-warning-border: @state-warning-border; |
|
627 |
|
628 @alert-danger-bg: @state-danger-bg; |
|
629 @alert-danger-text: @state-danger-text; |
|
630 @alert-danger-border: @state-danger-border; |
|
631 |
|
632 |
|
633 //== Progress bars |
|
634 // |
|
635 //## |
|
636 |
|
637 //** Background color of the whole progress component |
|
638 @progress-bg: #f5f5f5; |
|
639 //** Progress bar text color |
|
640 @progress-bar-color: #fff; |
|
641 //** Variable for setting rounded corners on progress bar. |
|
642 @progress-border-radius: @border-radius-base; |
|
643 |
|
644 //** Default progress bar color |
|
645 @progress-bar-bg: @brand-primary; |
|
646 //** Success progress bar color |
|
647 @progress-bar-success-bg: @brand-success; |
|
648 //** Warning progress bar color |
|
649 @progress-bar-warning-bg: @brand-warning; |
|
650 //** Danger progress bar color |
|
651 @progress-bar-danger-bg: @brand-danger; |
|
652 //** Info progress bar color |
|
653 @progress-bar-info-bg: @brand-info; |
|
654 |
|
655 |
|
656 //== List group |
|
657 // |
|
658 //## |
|
659 |
|
660 //** Background color on `.list-group-item` |
|
661 @list-group-bg: #fff; |
|
662 //** `.list-group-item` border color |
|
663 @list-group-border: #ddd; |
|
664 //** List group border radius |
|
665 @list-group-border-radius: @border-radius-base; |
|
666 |
|
667 //** Background color of single list items on hover |
|
668 @list-group-hover-bg: #f5f5f5; |
|
669 //** Text color of active list items |
|
670 @list-group-active-color: @component-active-color; |
|
671 //** Background color of active list items |
|
672 @list-group-active-bg: @component-active-bg; |
|
673 //** Border color of active list elements |
|
674 @list-group-active-border: @list-group-active-bg; |
|
675 //** Text color for content within active list items |
|
676 @list-group-active-text-color: lighten(@list-group-active-bg, 40%); |
|
677 |
|
678 //** Text color of disabled list items |
|
679 @list-group-disabled-color: @gray-light; |
|
680 //** Background color of disabled list items |
|
681 @list-group-disabled-bg: @gray-lighter; |
|
682 //** Text color for content within disabled list items |
|
683 @list-group-disabled-text-color: @list-group-disabled-color; |
|
684 |
|
685 @list-group-link-color: #555; |
|
686 @list-group-link-hover-color: @list-group-link-color; |
|
687 @list-group-link-heading-color: #333; |
|
688 |
|
689 |
|
690 //== Panels |
|
691 // |
|
692 //## |
|
693 |
|
694 @panel-bg: #fff; |
|
695 @panel-body-padding: 15px; |
|
696 @panel-heading-padding: 10px 15px; |
|
697 @panel-footer-padding: @panel-heading-padding; |
|
698 @panel-border-radius: @border-radius-base; |
|
699 |
|
700 //** Border color for elements within panels |
|
701 @panel-inner-border: #ddd; |
|
702 @panel-footer-bg: #f5f5f5; |
|
703 |
|
704 @panel-default-text: @gray-dark; |
|
705 @panel-default-border: #ddd; |
|
706 @panel-default-heading-bg: #f5f5f5; |
|
707 |
|
708 @panel-primary-text: #fff; |
|
709 @panel-primary-border: @brand-primary; |
|
710 @panel-primary-heading-bg: @brand-primary; |
|
711 |
|
712 @panel-success-text: @state-success-text; |
|
713 @panel-success-border: @state-success-border; |
|
714 @panel-success-heading-bg: @state-success-bg; |
|
715 |
|
716 @panel-info-text: @state-info-text; |
|
717 @panel-info-border: @state-info-border; |
|
718 @panel-info-heading-bg: @state-info-bg; |
|
719 |
|
720 @panel-warning-text: @state-warning-text; |
|
721 @panel-warning-border: @state-warning-border; |
|
722 @panel-warning-heading-bg: @state-warning-bg; |
|
723 |
|
724 @panel-danger-text: @state-danger-text; |
|
725 @panel-danger-border: @state-danger-border; |
|
726 @panel-danger-heading-bg: @state-danger-bg; |
|
727 |
|
728 |
|
729 //== Thumbnails |
|
730 // |
|
731 //## |
|
732 |
|
733 //** Padding around the thumbnail image |
|
734 @thumbnail-padding: 4px; |
|
735 //** Thumbnail background color |
|
736 @thumbnail-bg: @body-bg; |
|
737 //** Thumbnail border color |
|
738 @thumbnail-border: #ddd; |
|
739 //** Thumbnail border radius |
|
740 @thumbnail-border-radius: @border-radius-base; |
|
741 |
|
742 //** Custom text color for thumbnail captions |
|
743 @thumbnail-caption-color: @text-color; |
|
744 //** Padding around the thumbnail caption |
|
745 @thumbnail-caption-padding: 9px; |
|
746 |
|
747 |
|
748 //== Wells |
|
749 // |
|
750 //## |
|
751 |
|
752 @well-bg: #f5f5f5; |
|
753 @well-border: darken(@well-bg, 7%); |
|
754 |
|
755 |
|
756 //== Badges |
|
757 // |
|
758 //## |
|
759 |
|
760 @badge-color: #fff; |
|
761 //** Linked badge text color on hover |
|
762 @badge-link-hover-color: #fff; |
|
763 @badge-bg: @gray-light; |
|
764 |
|
765 //** Badge text color in active nav link |
|
766 @badge-active-color: @link-color; |
|
767 //** Badge background color in active nav link |
|
768 @badge-active-bg: #fff; |
|
769 |
|
770 @badge-font-weight: bold; |
|
771 @badge-line-height: 1; |
|
772 @badge-border-radius: 10px; |
|
773 |
|
774 |
|
775 //== Breadcrumbs |
|
776 // |
|
777 //## |
|
778 |
|
779 @breadcrumb-padding-vertical: 8px; |
|
780 @breadcrumb-padding-horizontal: 15px; |
|
781 //** Breadcrumb background color |
|
782 @breadcrumb-bg: #f5f5f5; |
|
783 //** Breadcrumb text color |
|
784 @breadcrumb-color: #ccc; |
|
785 //** Text color of current page in the breadcrumb |
|
786 @breadcrumb-active-color: @gray-light; |
|
787 //** Textual separator for between breadcrumb elements |
|
788 @breadcrumb-separator: "/"; |
|
789 |
|
790 |
|
791 //== Carousel |
|
792 // |
|
793 //## |
|
794 |
|
795 @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6); |
|
796 |
|
797 @carousel-control-color: #fff; |
|
798 @carousel-control-width: 15%; |
|
799 @carousel-control-opacity: .5; |
|
800 @carousel-control-font-size: 20px; |
|
801 |
|
802 @carousel-indicator-active-bg: #fff; |
|
803 @carousel-indicator-border-color: #fff; |
|
804 |
|
805 @carousel-caption-color: #fff; |
|
806 |
|
807 |
|
808 //== Close |
|
809 // |
|
810 //## |
|
811 |
|
812 @close-font-weight: bold; |
|
813 @close-color: #000; |
|
814 @close-text-shadow: 0 1px 0 #fff; |
|
815 |
|
816 |
|
817 //== Code |
|
818 // |
|
819 //## |
|
820 |
|
821 @code-color: #c7254e; |
|
822 @code-bg: #f9f2f4; |
|
823 |
|
824 @kbd-color: #fff; |
|
825 @kbd-bg: #333; |
|
826 |
|
827 @pre-bg: #f5f5f5; |
|
828 @pre-color: @gray-dark; |
|
829 @pre-border-color: #ccc; |
|
830 @pre-scrollable-max-height: 340px; |
|
831 |
|
832 |
|
833 //== Type |
|
834 // |
|
835 //## |
|
836 |
|
837 //** Horizontal offset for forms and lists. |
|
838 @component-offset-horizontal: 180px; |
|
839 //** Text muted color |
|
840 @text-muted: @gray-light; |
|
841 //** Abbreviations and acronyms border color |
|
842 @abbr-border-color: @gray-light; |
|
843 //** Headings small color |
|
844 @headings-small-color: @gray-light; |
|
845 //** Blockquote small color |
|
846 @blockquote-small-color: @gray-light; |
|
847 //** Blockquote font size |
|
848 @blockquote-font-size: (@font-size-base * 1.25); |
|
849 //** Blockquote border color |
|
850 @blockquote-border-color: @gray-lighter; |
|
851 //** Page header border color |
|
852 @page-header-border-color: @gray-lighter; |
|
853 //** Width of horizontal description list titles |
|
854 @dl-horizontal-offset: @component-offset-horizontal; |
|
855 //** Horizontal line color. |
|
856 @hr-border: @gray-lighter; |
|