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