_bootstrap-variables.scss 27.4 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
2
3
// When true, asset path helpers are used, otherwise the regular CSS `url()` is used.
// When there no function is defined, `fn('')` is parsed as string that equals the right hand side
// NB: in Sass 3.3 there is a native function: function-exists(twbs-font-path)
4
$bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")'));
Naomi Guyer's avatar
Naomi Guyer committed
5
6
7
8
9

//
// Variables
// --------------------------------------------------

10
// @import 'brand';
Naomi Guyer's avatar
Naomi Guyer committed
11
12
13
14
//== Colors
//
//## Gray and brand colors for use across Bootstrap.

15
16
17
18
19
20
$gray-base:              #000;
$gray-darker:            lighten($gray-base, 13.5%); // #222
$gray-dark:              lighten($gray-base, 20%);   // #333
$gray:                   lighten($gray-base, 33.5%); // #555
$gray-light:             lighten($gray-base, 46.7%); // #777
$gray-lighter:           lighten($gray-base, 93.5%); // #eee
Naomi Guyer's avatar
Naomi Guyer committed
21

22
23

$brand-default:         #ECECEC;
24
$brand-primary:         $theme-primary-color;
25
26
27
28
$brand-success:         #449D44;
$brand-info:            #5bc0de;
$brand-warning:         #f0ad4e;
$brand-danger:          #F04F50;
Naomi Guyer's avatar
Naomi Guyer committed
29

30
31
32
33
//== Form states and alerts
//
//## Define colors for form feedback states and, by default, alerts.

34
35
36
$state-success-text:             $brand-success;
$state-success-bg:               lighten($brand-success, 50%);
$state-success-border:           darken(adjust-hue($state-success-bg, -10), 10%);
37

38
39
40
$state-info-text:                #31708f;
$state-info-bg:                  #d9edf7;
$state-info-border:              darken(adjust-hue($state-info-bg, -10), 7%);
41

42
43
44
$state-warning-text:             #8a6d3b;
$state-warning-bg:               #fcf8e3;
$state-warning-border:           darken(adjust-hue($state-warning-bg, -10), 5%);
45

46
47
48
$state-danger-text:              darken($brand-danger, 10%);
$state-danger-bg:                lighten($brand-danger, 30%);
$state-danger-border:            darken(adjust-hue($state-danger-bg, -10), 5%);
49

Naomi Guyer's avatar
Naomi Guyer committed
50
51
52
53
54
55

//== Scaffolding
//
//## Settings for some of the most global styles.

//** Background color for `<body>`.
56
$body-bg:               #fff;
Naomi Guyer's avatar
Naomi Guyer committed
57
//** Global text color on `<body>`.
58
$text-color:            $theme-text-color;
Naomi Guyer's avatar
Naomi Guyer committed
59
60

//** Global textual link color.
61
$link-color:            $theme-primary-color;
62
//** Link hover color set via `darken()` or `lighten()` function.
63
$link-hover-color:      lighten($link-color, 5%);
Naomi Guyer's avatar
Naomi Guyer committed
64
//** Link hover decoration.
65
$link-hover-decoration: underline;
Naomi Guyer's avatar
Naomi Guyer committed
66
67
68
69
70
71


//== Typography
//
//## Font, line-height, and color for body text, headings, and more.

72
$font-family-sans-serif:  'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
73
// $font-family-sans-serif:  Arial,"Nimbus Sans L", Helvetica,sans-serif;
74
$font-family-serif:       'Roboto Slab', Georgia, "Times New Roman", Times, serif !default;
Naomi Guyer's avatar
Naomi Guyer committed
75
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
76
77
$font-family-monospace:   Menlo, Monaco, Consolas, "Courier New", monospace;
$font-family-base:        $font-family-sans-serif;
Naomi Guyer's avatar
Naomi Guyer committed
78

79
80
81
$font-size-base:          14px;
$font-size-large:         ceil(($font-size-base * 1.25)); // ~18px
$font-size-small:         ceil(($font-size-base * 0.85)); // ~12px
Naomi Guyer's avatar
Naomi Guyer committed
82

83
84
85
86
87
88
$font-size-h1:            floor(($font-size-base * 2.15)); // ~36px
$font-size-h2:            floor(($font-size-base * 1.7)); // ~30px
$font-size-h3:            ceil(($font-size-base * 1.5)); // ~24px
$font-size-h4:            ceil(($font-size-base * 1.25)); // ~18px
$font-size-h5:            $font-size-base;
$font-size-h6:            ceil(($font-size-base * 0.85)); // ~12px
Naomi Guyer's avatar
Naomi Guyer committed
89
90

//** Unit-less `line-height` for use in components like buttons.
91
$line-height-base:        1.5; // 20/14
Naomi Guyer's avatar
Naomi Guyer committed
92
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
93
$line-height-computed:    floor(($font-size-base * $line-height-base)); // ~20px
Naomi Guyer's avatar
Naomi Guyer committed
94
95

//** By default, this inherits from the `<body>`.
96
$headings-font-family:    $font-family-sans-serif;
97
98
$headings-font-weight:    300;
$headings-line-height:    1.3;
99
$headings-color:          #333333;
Naomi Guyer's avatar
Naomi Guyer committed
100
101
102
103
104
105
106
107
108


//== Iconography
//
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.

//** Load fonts from this directory.

// [converter] Asset helpers such as Sprockets and Node.js Mincer do not resolve relative paths
109
$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/");
Naomi Guyer's avatar
Naomi Guyer committed
110
111

//** File name for all font files.
112
$icon-font-name:          "glyphicons-halflings-regular";
Naomi Guyer's avatar
Naomi Guyer committed
113
//** Element ID within SVG icon file.
114
$icon-font-svg-id:        "glyphicons_halflingsregular";
Naomi Guyer's avatar
Naomi Guyer committed
115
116
117
118
119
120


//== Components
//
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).

121
122
$padding-base-vertical:     6px;
$padding-base-horizontal:   12px;
Naomi Guyer's avatar
Naomi Guyer committed
123

124
125
$padding-large-vertical:    10px;
$padding-large-horizontal:  16px;
Naomi Guyer's avatar
Naomi Guyer committed
126

127
128
$padding-small-vertical:    2.3px;
$padding-small-horizontal:  10px;
Naomi Guyer's avatar
Naomi Guyer committed
129

130
131
$padding-xs-vertical:       1px;
$padding-xs-horizontal:     7px;
Naomi Guyer's avatar
Naomi Guyer committed
132

133
134
$line-height-large:         1.33;
$line-height-small:         1.5;
Naomi Guyer's avatar
Naomi Guyer committed
135

136
137
138
$border-radius-base:        3px;
$border-radius-large:       4px;
$border-radius-small:       3px;
Naomi Guyer's avatar
Naomi Guyer committed
139
140

//** Global color for active items (e.g., navs or dropdowns).
141
$component-active-color:    #fff;
Naomi Guyer's avatar
Naomi Guyer committed
142
//** Global background color for active items (e.g., navs or dropdowns).
143
$component-active-bg:       $brand-primary;
Naomi Guyer's avatar
Naomi Guyer committed
144
145

//** Width of the `border` for generating carets that indicator dropdowns.
146
$caret-width-base:          4px;
Naomi Guyer's avatar
Naomi Guyer committed
147
//** Carets increase slightly in size for larger components.
148
$caret-width-large:         5px;
Naomi Guyer's avatar
Naomi Guyer committed
149
150
151
152
153
154
155


//== Tables
//
//## Customizes the `.table` component with basic values, each used across all table variations.

//** Padding for `<th>`s and `<td>`s.
156
$table-cell-padding:            8px;
Naomi Guyer's avatar
Naomi Guyer committed
157
//** Padding for cells in `.table-condensed`.
158
$table-condensed-cell-padding:  5px;
Naomi Guyer's avatar
Naomi Guyer committed
159
160

//** Default background color used for all tables.
161
$table-bg:                      transparent;
Naomi Guyer's avatar
Naomi Guyer committed
162
//** Background color used for `.table-striped`.
163
$table-bg-accent:               #f9f9f9;
Naomi Guyer's avatar
Naomi Guyer committed
164
//** Background color used for `.table-hover`.
165
166
$table-bg-hover:                #f5f5f5;
$table-bg-active:               $table-bg-hover;
Naomi Guyer's avatar
Naomi Guyer committed
167
168

//** Border color for table and cell borders.
169
$table-border-color:            #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
170
171
172
173
174
175


//== Buttons
//
//## For each of Bootstrap's buttons, define text, background and border color.

176
$btn-font-weight:                normal;
Naomi Guyer's avatar
Naomi Guyer committed
177

178
179
180
$btn-default-color:              #333333;
$btn-default-bg:                 #F3F3F3;
$btn-default-border:             #CCCCCC;
Naomi Guyer's avatar
Naomi Guyer committed
181

182
183
184
$btn-primary-color:              #FFFFFF;
$btn-primary-bg:                 #556d32;
$btn-primary-border:             #556d32;
Naomi Guyer's avatar
Naomi Guyer committed
185

186
187
188
$btn-success-color:              #fff;
$btn-success-bg:                 $theme-primary-color;
$btn-success-border:             darken($theme-primary-color, 5%);
Naomi Guyer's avatar
Naomi Guyer committed
189

190
191
192
$btn-info-color:                 $state-info-text;
$btn-info-bg:                    $state-info-bg;
$btn-info-border:                darken($btn-info-bg, 5%);
Naomi Guyer's avatar
Naomi Guyer committed
193

194
195
196
$btn-warning-color:              $state-warning-text;
$btn-warning-bg:                 $state-warning-bg;
$btn-warning-border:             darken($btn-warning-bg, 15%);
Naomi Guyer's avatar
Naomi Guyer committed
197

198
199
200
$btn-danger-color:               #fff;
$btn-danger-bg:                  $brand-danger;
$btn-danger-border:              darken($btn-danger-bg, 5%);
Naomi Guyer's avatar
Naomi Guyer committed
201

202
$btn-link-disabled-color:        $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
203
204
205
206
207
208
209


//== Forms
//
//##

//** `<input>` background color
210
$input-bg:                       #fff;
Naomi Guyer's avatar
Naomi Guyer committed
211
//** `<input disabled>` background color
212
$input-bg-disabled:              $gray-lighter;
Naomi Guyer's avatar
Naomi Guyer committed
213
214

//** Text color for `<input>`s
215
$input-color:                    $gray;
Naomi Guyer's avatar
Naomi Guyer committed
216
//** `<input>` border color
217
$input-border:                   #ccc;
Naomi Guyer's avatar
Naomi Guyer committed
218
219
220

// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
//** Default `.form-control` border radius
221
$input-border-radius:            $border-radius-base;
Naomi Guyer's avatar
Naomi Guyer committed
222
//** Large `.form-control` border radius
223
$input-border-radius-large:      $border-radius-large;
Naomi Guyer's avatar
Naomi Guyer committed
224
//** Small `.form-control` border radius
225
$input-border-radius-small:      $border-radius-small;
Naomi Guyer's avatar
Naomi Guyer committed
226
227

//** Border color for inputs on focus
228
$input-border-focus:             #666;
Naomi Guyer's avatar
Naomi Guyer committed
229
230

//** Placeholder text color
231
$input-color-placeholder:        #999;
Naomi Guyer's avatar
Naomi Guyer committed
232
233

//** Default `.form-control` height
234
$input-height-base:              ($line-height-computed + ($padding-base-vertical * 2) + 2);
Naomi Guyer's avatar
Naomi Guyer committed
235
//** Large `.form-control` height
236
$input-height-large:             (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) - 4);
Naomi Guyer's avatar
Naomi Guyer committed
237
//** Small `.form-control` height
238
$input-height-small:             (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 5);
Naomi Guyer's avatar
Naomi Guyer committed
239

240
241
$legend-color:                   $gray-dark;
$legend-border-color:            #e5e5e5;
Naomi Guyer's avatar
Naomi Guyer committed
242
243

//** Background color for textual input addons
244
$input-group-addon-bg:           $gray-lighter;
Naomi Guyer's avatar
Naomi Guyer committed
245
//** Border color for textual input addons
246
$input-group-addon-border-color: $input-border;
Naomi Guyer's avatar
Naomi Guyer committed
247
248

//** Disabled cursor for form controls and buttons.
249
$cursor-disabled:                not-allowed;
Naomi Guyer's avatar
Naomi Guyer committed
250
251
252
253
254
255
256


//== Dropdowns
//
//## Dropdown menu container and contents.

//** Background for the dropdown menu.
257
$dropdown-bg:                    #fff;
Naomi Guyer's avatar
Naomi Guyer committed
258
//** Dropdown menu `border-color`.
259
$dropdown-border:                rgba(0,0,0,.15);
Naomi Guyer's avatar
Naomi Guyer committed
260
//** Dropdown menu `border-color` **for IE8**.
261
$dropdown-fallback-border:       #ccc;
Naomi Guyer's avatar
Naomi Guyer committed
262
//** Divider color for between dropdown items.
263
$dropdown-divider-bg:            #e5e5e5;
Naomi Guyer's avatar
Naomi Guyer committed
264
265

//** Dropdown link text color.
266
$dropdown-link-color:            $gray-dark;
Naomi Guyer's avatar
Naomi Guyer committed
267
//** Hover color for dropdown links.
268
$dropdown-link-hover-color:      darken($gray-dark, 5%);
Naomi Guyer's avatar
Naomi Guyer committed
269
//** Hover background for dropdown links.
270
$dropdown-link-hover-bg:         #f5f5f5;
Naomi Guyer's avatar
Naomi Guyer committed
271
272

//** Active dropdown menu item text color.
273
$dropdown-link-active-color:     $component-active-color;
Naomi Guyer's avatar
Naomi Guyer committed
274
//** Active dropdown menu item background color.
275
$dropdown-link-active-bg:        $component-active-bg;
Naomi Guyer's avatar
Naomi Guyer committed
276
277

//** Disabled dropdown menu item background color.
278
$dropdown-link-disabled-color:   $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
279
280

//** Text color for headers within dropdown menus.
281
$dropdown-header-color:          $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
282
283

//** Deprecated `$dropdown-caret-color` as of v3.1.0
284
$dropdown-caret-color:           #000;
Naomi Guyer's avatar
Naomi Guyer committed
285
286
287
288
289
290
291
292
293


//-- Z-index master list
//
// Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together.
//
// Note: These variables are not generated into the Customizer.

294
295
296
297
298
299
$zindex-navbar:            1000;
$zindex-dropdown:          1000;
$zindex-popover:           1060;
$zindex-tooltip:           1070;
$zindex-navbar-fixed:      1030;
$zindex-modal:             1040;
Naomi Guyer's avatar
Naomi Guyer committed
300
301
302
303
304
305
306
307


//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.

// Extra small screen / phone
//** Deprecated `$screen-xs` as of v3.0.1
308
$screen-xs:                  480px;
Naomi Guyer's avatar
Naomi Guyer committed
309
//** Deprecated `$screen-xs-min` as of v3.2.0
310
$screen-xs-min:              $screen-xs;
Naomi Guyer's avatar
Naomi Guyer committed
311
//** Deprecated `$screen-phone` as of v3.0.1
312
$screen-phone:               $screen-xs-min;
Naomi Guyer's avatar
Naomi Guyer committed
313
314
315

// Small screen / tablet
//** Deprecated `$screen-sm` as of v3.0.1
316
317
$screen-sm:                  768px;
$screen-sm-min:              $screen-sm;
Naomi Guyer's avatar
Naomi Guyer committed
318
//** Deprecated `$screen-tablet` as of v3.0.1
319
$screen-tablet:              $screen-sm-min;
Naomi Guyer's avatar
Naomi Guyer committed
320
321
322

// Medium screen / desktop
//** Deprecated `$screen-md` as of v3.0.1
323
324
$screen-md:                  992px;
$screen-md-min:              $screen-md;
Naomi Guyer's avatar
Naomi Guyer committed
325
//** Deprecated `$screen-desktop` as of v3.0.1
326
$screen-desktop:             $screen-md-min;
Naomi Guyer's avatar
Naomi Guyer committed
327
328
329

// Large screen / wide desktop
//** Deprecated `$screen-lg` as of v3.0.1
330
331
$screen-lg:                  1200px;
$screen-lg-min:              $screen-lg;
Naomi Guyer's avatar
Naomi Guyer committed
332
//** Deprecated `$screen-lg-desktop` as of v3.0.1
333
$screen-lg-desktop:          $screen-lg-min;
Naomi Guyer's avatar
Naomi Guyer committed
334
335

// So media queries don't overlap when required, provide a maximum
336
337
338
$screen-xs-max:              ($screen-sm-min - 1);
$screen-sm-max:              ($screen-md-min - 1);
$screen-md-max:              ($screen-lg-min - 1);
Naomi Guyer's avatar
Naomi Guyer committed
339
340
341
342
343
344
345


//== Grid system
//
//## Define your custom responsive grid.

//** Number of columns in the grid.
346
$grid-columns:              12;
Naomi Guyer's avatar
Naomi Guyer committed
347
//** Padding between columns. Gets divided in half for the left and right.
348
$grid-gutter-width:         30px;
Naomi Guyer's avatar
Naomi Guyer committed
349
350
// Navbar collapse
//** Point at which the navbar becomes uncollapsed.
351
$grid-float-breakpoint:     100000px;
Naomi Guyer's avatar
Naomi Guyer committed
352
//** Point at which the navbar begins collapsing.
353
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
Naomi Guyer's avatar
Naomi Guyer committed
354
355
356
357
358
359
360


//== Container sizes
//
//## Define the maximum width of `.container` for different screen sizes.

// Small screen / tablet
361
$container-tablet:             (720px + $grid-gutter-width);
Naomi Guyer's avatar
Naomi Guyer committed
362
//** For `$screen-sm-min` and up.
363
$container-sm:                 $container-tablet;
Naomi Guyer's avatar
Naomi Guyer committed
364
365

// Medium screen / desktop
366
$container-desktop:            (940px + $grid-gutter-width);
Naomi Guyer's avatar
Naomi Guyer committed
367
//** For `$screen-md-min` and up.
368
$container-md:                 $container-desktop;
Naomi Guyer's avatar
Naomi Guyer committed
369
370

// Large screen / wide desktop
371
$container-large-desktop:      (1140px + $grid-gutter-width);
Naomi Guyer's avatar
Naomi Guyer committed
372
//** For `$screen-lg-min` and up.
373
$container-lg:                 $container-large-desktop;
Naomi Guyer's avatar
Naomi Guyer committed
374
375
376
377
378
379
380


//== Navbar
//
//##

// Basics of a navbar
381
$navbar-height:                    60px;
382
383
384
385
386
$navbar-margin-bottom:             $line-height-computed;
$navbar-border-radius:             $border-radius-base;
$navbar-padding-horizontal:        floor(($grid-gutter-width / 2));
$navbar-padding-vertical:          (($navbar-height - $line-height-computed) / 2);
$navbar-collapse-max-height:       340px;
Naomi Guyer's avatar
Naomi Guyer committed
387

388
$navbar-default-color:             #777;
389
$navbar-default-bg:                #FFFFFF;
390
$navbar-default-border:            transparent;
Naomi Guyer's avatar
Naomi Guyer committed
391
392

// Navbar links
393
394
395
396
397
$navbar-default-link-color:                $link-color;
$navbar-default-link-hover-color:          #FFFFFF;
$navbar-default-link-hover-bg:             $link-hover-color;
$navbar-default-link-active-color:         #FFFFFF;
$navbar-default-link-active-bg:            darken($link-color, 10%);
398
399
$navbar-default-link-disabled-color:       #ccc;
$navbar-default-link-disabled-bg:          transparent;
Naomi Guyer's avatar
Naomi Guyer committed
400
401

// Navbar brand label
402
403
404
$navbar-default-brand-color:               $navbar-default-link-color;
$navbar-default-brand-hover-color:         darken($navbar-default-brand-color, 10%);
$navbar-default-brand-hover-bg:            transparent;
Naomi Guyer's avatar
Naomi Guyer committed
405
406

// Navbar toggle
407
408
409
$navbar-default-toggle-hover-bg:           #f1f6eb;
$navbar-default-toggle-icon-bar-bg:        $link-color;
$navbar-default-toggle-border-color:       transparent;
Naomi Guyer's avatar
Naomi Guyer committed
410
411
412
413


// Inverted navbar
// Reset inverted navbar basics
414
415
416
$navbar-inverse-color:                      #FFFFFF;
$navbar-inverse-bg:                         $link-hover-color;
$navbar-inverse-border:                     $link-hover-color;
Naomi Guyer's avatar
Naomi Guyer committed
417
418

// Inverted navbar links
419
$navbar-inverse-link-color:                 #FFFFFF;
420
$navbar-inverse-link-hover-color:           #FFFFFF;
421
$navbar-inverse-link-hover-bg:              lighten($link-hover-color, 5%);
422
$navbar-inverse-link-active-color:          #FFFFFF;
423
$navbar-inverse-link-active-bg:             $link-hover-color;
424
425
$navbar-inverse-link-disabled-color:        #444;
$navbar-inverse-link-disabled-bg:           transparent;
Naomi Guyer's avatar
Naomi Guyer committed
426
427

// Inverted navbar brand label
428
429
430
$navbar-inverse-brand-color:                $navbar-inverse-link-color;
$navbar-inverse-brand-hover-color:          $navbar-inverse-link-hover-color;
$navbar-inverse-brand-hover-bg:             transparent;
Naomi Guyer's avatar
Naomi Guyer committed
431
432

// Inverted navbar toggle
433
$navbar-inverse-toggle-hover-bg:            #fff;
434
$navbar-inverse-toggle-icon-bar-bg:         $link-hover-color;
435
$navbar-inverse-toggle-border-color:        #fff;
Naomi Guyer's avatar
Naomi Guyer committed
436
437
438
439
440
441
442


//== Navs
//
//##

//=== Shared nav styles
443
444
$nav-link-padding:                          10px 15px;
$nav-link-hover-bg:                         #f0f5ea;
Naomi Guyer's avatar
Naomi Guyer committed
445

446
447
$nav-disabled-link-color:                   $gray-light;
$nav-disabled-link-hover-color:             $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
448
449

//== Tabs
450
$nav-tabs-border-color:                     #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
451

452
$nav-tabs-link-hover-border-color:          $gray-lighter;
Naomi Guyer's avatar
Naomi Guyer committed
453

454
455
456
$nav-tabs-active-link-hover-bg:             $body-bg;
$nav-tabs-active-link-hover-color:          $gray;
$nav-tabs-active-link-hover-border-color:   #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
457

458
459
$nav-tabs-justified-link-border-color:            #ddd;
$nav-tabs-justified-active-link-border-color:     $body-bg;
Naomi Guyer's avatar
Naomi Guyer committed
460
461

//== Pills
462
463
464
$nav-pills-border-radius:                   $border-radius-base;
$nav-pills-active-link-hover-bg:            $component-active-bg;
$nav-pills-active-link-hover-color:         $component-active-color;
Naomi Guyer's avatar
Naomi Guyer committed
465
466
467
468
469
470


//== Pagination
//
//##

471
472
473
$pagination-color:                     $link-color;
$pagination-bg:                        #fff;
$pagination-border:                    #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
474

475
476
477
$pagination-hover-color:               $link-hover-color;
$pagination-hover-bg:                  $gray-lighter;
$pagination-hover-border:              #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
478

479
480
481
$pagination-active-color:              #fff;
$pagination-active-bg:                 $brand-primary;
$pagination-active-border:             $brand-primary;
Naomi Guyer's avatar
Naomi Guyer committed
482

483
484
485
$pagination-disabled-color:            $gray-light;
$pagination-disabled-bg:               #fff;
$pagination-disabled-border:           #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
486
487
488
489
490
491


//== Pager
//
//##

492
493
494
$pager-bg:                             $pagination-bg;
$pager-border:                         $pagination-border;
$pager-border-radius:                  15px;
Naomi Guyer's avatar
Naomi Guyer committed
495

496
$pager-hover-bg:                       $pagination-hover-bg;
Naomi Guyer's avatar
Naomi Guyer committed
497

498
499
$pager-active-bg:                      $pagination-active-bg;
$pager-active-color:                   $pagination-active-color;
Naomi Guyer's avatar
Naomi Guyer committed
500

501
$pager-disabled-color:                 $pagination-disabled-color;
Naomi Guyer's avatar
Naomi Guyer committed
502
503
504
505
506
507


//== Jumbotron
//
//##

508
509
510
511
512
$jumbotron-padding:              30px;
$jumbotron-color:                inherit;
$jumbotron-bg:                   $gray-lighter;
$jumbotron-heading-color:        inherit;
$jumbotron-font-size:            ceil(($font-size-base * 1.5));
Naomi Guyer's avatar
Naomi Guyer committed
513
514
515
516
517
518
519
520
521




//== Tooltips
//
//##

//** Tooltip max width
522
$tooltip-max-width:           200px;
Naomi Guyer's avatar
Naomi Guyer committed
523
//** Tooltip text color
524
$tooltip-color:               #fff;
Naomi Guyer's avatar
Naomi Guyer committed
525
//** Tooltip background color
526
527
$tooltip-bg:                  #000;
$tooltip-opacity:             .9;
Naomi Guyer's avatar
Naomi Guyer committed
528
529

//** Tooltip arrow width
530
$tooltip-arrow-width:         5px;
Naomi Guyer's avatar
Naomi Guyer committed
531
//** Tooltip arrow color
532
$tooltip-arrow-color:         $tooltip-bg;
Naomi Guyer's avatar
Naomi Guyer committed
533
534
535
536
537
538
539


//== Popovers
//
//##

//** Popover body background color
540
$popover-bg:                          #fff;
Naomi Guyer's avatar
Naomi Guyer committed
541
//** Popover maximum width
542
$popover-max-width:                   280px;
Naomi Guyer's avatar
Naomi Guyer committed
543
//** Popover border color
544
$popover-border-color:                rgba(0,0,0,.2);
Naomi Guyer's avatar
Naomi Guyer committed
545
//** Popover fallback border color
546
$popover-fallback-border-color:       #ccc;
Naomi Guyer's avatar
Naomi Guyer committed
547
548

//** Popover title background color
Pat Kira's avatar
Pat Kira committed
549
$popover-title-bg:                    darken($popover-bg, 5%);
Naomi Guyer's avatar
Naomi Guyer committed
550
551

//** Popover arrow width
552
$popover-arrow-width:                 10px;
Naomi Guyer's avatar
Naomi Guyer committed
553
//** Popover arrow color
554
$popover-arrow-color:                 $popover-bg;
Naomi Guyer's avatar
Naomi Guyer committed
555
556

//** Popover outer arrow width
557
$popover-arrow-outer-width:           ($popover-arrow-width + 1);
Naomi Guyer's avatar
Naomi Guyer committed
558
//** Popover outer arrow color
559
$popover-arrow-outer-color:           fade_in($popover-border-color, 0.05);
Naomi Guyer's avatar
Naomi Guyer committed
560
//** Popover outer arrow fallback color
561
$popover-arrow-outer-fallback-color:  darken($popover-fallback-border-color, 20%);
Naomi Guyer's avatar
Naomi Guyer committed
562
563
564
565
566
567
568


//== Labels
//
//##

//** Default label background color
569
$label-default-bg:            $brand-default;
Naomi Guyer's avatar
Naomi Guyer committed
570
//** Primary label background color
571
$label-primary-bg:            $brand-primary;
Naomi Guyer's avatar
Naomi Guyer committed
572
//** Success label background color
573
$label-success-bg:            $brand-success;
Naomi Guyer's avatar
Naomi Guyer committed
574
//** Info label background color
575
$label-info-bg:               $brand-info;
Naomi Guyer's avatar
Naomi Guyer committed
576
//** Warning label background color
577
$label-warning-bg:            $brand-warning;
Naomi Guyer's avatar
Naomi Guyer committed
578
//** Danger label background color
579
$label-danger-bg:             $brand-danger;
Naomi Guyer's avatar
Naomi Guyer committed
580
581

//** Default label text color
582
$label-color:                 #fff;
Naomi Guyer's avatar
Naomi Guyer committed
583
//** Default text color of a linked label
584
$label-link-hover-color:      #fff;
Naomi Guyer's avatar
Naomi Guyer committed
585
586
587
588
589
590
591


//== Modals
//
//##

//** Padding applied to the modal body
592
$modal-inner-padding:         15px;
Naomi Guyer's avatar
Naomi Guyer committed
593
594

//** Padding applied to the modal title
595
$modal-title-padding:         15px;
Naomi Guyer's avatar
Naomi Guyer committed
596
//** Modal title line-height
597
$modal-title-line-height:     $line-height-base;
Naomi Guyer's avatar
Naomi Guyer committed
598
599

//** Background color of modal content area
600
$modal-content-bg:                             #fff;
Naomi Guyer's avatar
Naomi Guyer committed
601
//** Modal content border color
602
$modal-content-border-color:                   rgba(0,0,0,.2);
Naomi Guyer's avatar
Naomi Guyer committed
603
//** Modal content border color **for IE8**
604
$modal-content-fallback-border-color:          #999;
Naomi Guyer's avatar
Naomi Guyer committed
605
606

//** Modal backdrop background color
607
$modal-backdrop-bg:           #000;
Naomi Guyer's avatar
Naomi Guyer committed
608
//** Modal backdrop opacity
609
$modal-backdrop-opacity:      .5;
Naomi Guyer's avatar
Naomi Guyer committed
610
//** Modal header border color
611
$modal-header-border-color:   #e5e5e5;
Naomi Guyer's avatar
Naomi Guyer committed
612
//** Modal footer border color
613
$modal-footer-border-color:   $modal-header-border-color;
Naomi Guyer's avatar
Naomi Guyer committed
614

615
616
617
$modal-lg:                    900px;
$modal-md:                    600px;
$modal-sm:                    300px;
Naomi Guyer's avatar
Naomi Guyer committed
618
619
620
621
622
623


//== Alerts
//
//## Define alert colors, border radius, and padding.

624
625
626
$alert-padding:               15px;
$alert-border-radius:         $border-radius-base;
$alert-link-font-weight:      bold;
Naomi Guyer's avatar
Naomi Guyer committed
627

628
629
630
$alert-success-bg:            $state-success-bg;
$alert-success-text:          $state-success-text;
$alert-success-border:        $state-success-border;
Naomi Guyer's avatar
Naomi Guyer committed
631

632
633
634
$alert-info-bg:               $state-info-bg;
$alert-info-text:             $state-info-text;
$alert-info-border:           $state-info-border;
Naomi Guyer's avatar
Naomi Guyer committed
635

636
637
638
$alert-warning-bg:            $state-warning-bg;
$alert-warning-text:          $state-warning-text;
$alert-warning-border:        $state-warning-border;
Naomi Guyer's avatar
Naomi Guyer committed
639

640
641
642
$alert-danger-bg:             $state-danger-bg;
$alert-danger-text:           $state-danger-text;
$alert-danger-border:         $state-danger-border;
Naomi Guyer's avatar
Naomi Guyer committed
643
644
645
646
647
648
649


//== Progress bars
//
//##

//** Background color of the whole progress component
650
$progress-bg:                 #f5f5f5;
Naomi Guyer's avatar
Naomi Guyer committed
651
//** Progress bar text color
652
$progress-bar-color:          #333333;
Naomi Guyer's avatar
Naomi Guyer committed
653
//** Variable for setting rounded corners on progress bar.
654
$progress-border-radius:      $border-radius-base;
Naomi Guyer's avatar
Naomi Guyer committed
655
656

//** Default progress bar color
657
$progress-bar-bg:             #bc9f54;
Naomi Guyer's avatar
Naomi Guyer committed
658
//** Success progress bar color
659
$progress-bar-success-bg:     $brand-success;
Naomi Guyer's avatar
Naomi Guyer committed
660
//** Warning progress bar color
661
$progress-bar-warning-bg:     $brand-warning;
Naomi Guyer's avatar
Naomi Guyer committed
662
//** Danger progress bar color
663
$progress-bar-danger-bg:      $brand-danger;
Naomi Guyer's avatar
Naomi Guyer committed
664
//** Info progress bar color
665
$progress-bar-info-bg:        $brand-info;
Naomi Guyer's avatar
Naomi Guyer committed
666
667
668
669
670
671
672


//== List group
//
//##

//** Background color on `.list-group-item`
673
$list-group-bg:                 #fff;
Naomi Guyer's avatar
Naomi Guyer committed
674
//** `.list-group-item` border color
675
$list-group-border:             #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
676
//** List group border radius
677
$list-group-border-radius:      $border-radius-base;
Naomi Guyer's avatar
Naomi Guyer committed
678
679

//** Background color of single list items on hover
680
$list-group-hover-bg:           #f5f5f5;
Naomi Guyer's avatar
Naomi Guyer committed
681
//** Text color of active list items
682
$list-group-active-color:       $component-active-color;
Naomi Guyer's avatar
Naomi Guyer committed
683
//** Background color of active list items
684
$list-group-active-bg:          $component-active-bg;
Naomi Guyer's avatar
Naomi Guyer committed
685
//** Border color of active list elements
686
$list-group-active-border:      $list-group-active-bg;
Naomi Guyer's avatar
Naomi Guyer committed
687
//** Text color for content within active list items
688
$list-group-active-text-color:  lighten($list-group-active-bg, 40%);
Naomi Guyer's avatar
Naomi Guyer committed
689
690

//** Text color of disabled list items
691
$list-group-disabled-color:      $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
692
//** Background color of disabled list items
693
$list-group-disabled-bg:         $gray-lighter;
Naomi Guyer's avatar
Naomi Guyer committed
694
//** Text color for content within disabled list items
695
$list-group-disabled-text-color: $list-group-disabled-color;
Naomi Guyer's avatar
Naomi Guyer committed
696

697
698
699
$list-group-link-color:         #555;
$list-group-link-hover-color:   $list-group-link-color;
$list-group-link-heading-color: #333;
Naomi Guyer's avatar
Naomi Guyer committed
700
701
702
703
704
705


//== Panels
//
//##

706
707
708
709
710
$panel-bg:                    #fff;
$panel-body-padding:          15px;
$panel-heading-padding:       10px 15px;
$panel-footer-padding:        $panel-heading-padding;
$panel-border-radius:         $border-radius-base;
Naomi Guyer's avatar
Naomi Guyer committed
711
712

//** Border color for elements within panels
713
$panel-inner-border:          transparent;
714
$panel-footer-bg:             #f0f5ea;
Naomi Guyer's avatar
Naomi Guyer committed
715

716
$panel-default-text:          $gray-dark;
717
718
$panel-default-border:        #d9d9d9;
$panel-default-heading-bg:    #FFFFFF;
719
720

// Our primary panel has a white header
721
722
723
$panel-primary-text:          $gray-dark;
$panel-primary-border:        #ddd;
$panel-primary-heading-bg:    #fff;
Naomi Guyer's avatar
Naomi Guyer committed
724

725
726
727
$panel-secondary-text:         $gray-dark;
$panel-secondary-border:       $brand-primary;
$panel-secondary-heading-bg:   darken($panel-default-heading-bg, 2%);
Naomi Guyer's avatar
Naomi Guyer committed
728

729
730
731
$panel-success-text:          $state-success-text;
$panel-success-border:        $state-success-border;
$panel-success-heading-bg:    $state-success-bg;
Naomi Guyer's avatar
Naomi Guyer committed
732

733
734
735
$panel-info-text:             $state-info-text;
$panel-info-border:           $state-info-border;
$panel-info-heading-bg:       $state-info-bg;
Naomi Guyer's avatar
Naomi Guyer committed
736

737
738
739
$panel-warning-text:          $state-warning-text;
$panel-warning-border:        $state-warning-border;
$panel-warning-heading-bg:    $state-warning-bg;
Naomi Guyer's avatar
Naomi Guyer committed
740

741
742
743
$panel-danger-text:           $state-danger-text;
$panel-danger-border:         $state-danger-border;
$panel-danger-heading-bg:     $state-danger-bg;
Naomi Guyer's avatar
Naomi Guyer committed
744
745


746
747
748
749
750
751
752
753
$panel-background: (
    danger: $panel-danger-heading-bg,
    info: $panel-info-heading-bg,
    success: $panel-success-heading-bg,
    primary: $panel-primary-heading-bg,
    warning : $panel-warning-heading-bg // should be last so we can use it as a highlight by adding a class
);

Naomi Guyer's avatar
Naomi Guyer committed
754
755
756
757
758
//== Thumbnails
//
//##

//** Padding around the thumbnail image
759
$thumbnail-padding:           4px;
Naomi Guyer's avatar
Naomi Guyer committed
760
//** Thumbnail background color
761
$thumbnail-bg:                $body-bg;
Naomi Guyer's avatar
Naomi Guyer committed
762
//** Thumbnail border color
763
$thumbnail-border:            #ddd;
Naomi Guyer's avatar
Naomi Guyer committed
764
//** Thumbnail border radius
765
$thumbnail-border-radius:     $border-radius-base;
Naomi Guyer's avatar
Naomi Guyer committed
766
767

//** Custom text color for thumbnail captions
768
$thumbnail-caption-color:     $text-color;
Naomi Guyer's avatar
Naomi Guyer committed
769
//** Padding around the thumbnail caption
770
$thumbnail-caption-padding:   9px;
Naomi Guyer's avatar
Naomi Guyer committed
771
772
773
774
775
776


//== Wells
//
//##

777
778
$well-bg:                     #f5f5f5;
$well-border:                 darken($well-bg, 7%);
Naomi Guyer's avatar
Naomi Guyer committed
779
780
781
782
783
784


//== Badges
//
//##

785
$badge-color:                 #fff;
Naomi Guyer's avatar
Naomi Guyer committed
786
//** Linked badge text color on hover
787
788
$badge-link-hover-color:      #fff;
$badge-bg:                    $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
789
790

//** Badge text color in active nav link
791
$badge-active-color:          $link-color;
Naomi Guyer's avatar
Naomi Guyer committed
792
//** Badge background color in active nav link
793
$badge-active-bg:             #fff;
Naomi Guyer's avatar
Naomi Guyer committed
794

795
796
797
$badge-font-weight:           bold;
$badge-line-height:           1;
$badge-border-radius:         10px;
Naomi Guyer's avatar
Naomi Guyer committed
798
799
800
801
802
803


//== Breadcrumbs
//
//##

804
805
$breadcrumb-padding-vertical:   8px;
$breadcrumb-padding-horizontal: 15px;
Naomi Guyer's avatar
Naomi Guyer committed
806
//** Breadcrumb background color
807
$breadcrumb-bg:                 #f5f5f5;
Naomi Guyer's avatar
Naomi Guyer committed
808
//** Breadcrumb text color
809
$breadcrumb-color:              #ccc;
Naomi Guyer's avatar
Naomi Guyer committed
810
//** Text color of current page in the breadcrumb
811
$breadcrumb-active-color:       $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
812
//** Textual separator for between breadcrumb elements
813
$breadcrumb-separator:          "/";
Naomi Guyer's avatar
Naomi Guyer committed
814
815
816
817
818
819


//== Carousel
//
//##

820
$carousel-text-shadow:                        0 1px 2px rgba(0,0,0,.6);
Naomi Guyer's avatar
Naomi Guyer committed
821

822
823
824
825
$carousel-control-color:                      #fff;
$carousel-control-width:                      15%;
$carousel-control-opacity:                    .5;
$carousel-control-font-size:                  20px;
Naomi Guyer's avatar
Naomi Guyer committed
826

827
828
$carousel-indicator-active-bg:                #fff;
$carousel-indicator-border-color:             #fff;
Naomi Guyer's avatar
Naomi Guyer committed
829

830
$carousel-caption-color:                      #fff;
Naomi Guyer's avatar
Naomi Guyer committed
831
832
833
834
835
836


//== Close
//
//##

837
838
839
$close-font-weight:           bold;
$close-color:                 #000;
$close-text-shadow:           0 1px 0 #fff;
Naomi Guyer's avatar
Naomi Guyer committed
840
841
842
843
844
845


//== Code
//
//##

846
847
$code-color:                  #c7254e;
$code-bg:                     #f9f2f4;
Naomi Guyer's avatar
Naomi Guyer committed
848

849
850
$kbd-color:                   #fff;
$kbd-bg:                      #333;
Naomi Guyer's avatar
Naomi Guyer committed
851

852
853
854
855
$pre-bg:                      #f5f5f5;
$pre-color:                   $gray-dark;
$pre-border-color:            #ccc;
$pre-scrollable-max-height:   340px;
Naomi Guyer's avatar
Naomi Guyer committed
856
857
858
859
860
861
862


//== Type
//
//##

//** Horizontal offset for forms and lists.
863
$component-offset-horizontal: 180px;
Naomi Guyer's avatar
Naomi Guyer committed
864
//** Text muted color
865
$text-muted:                  $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
866
//** Abbreviations and acronyms border color
867
$abbr-border-color:           $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
868
//** Headings small color
869
$headings-small-color:        $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
870
//** Blockquote small color
871
$blockquote-small-color:      $gray-light;
Naomi Guyer's avatar
Naomi Guyer committed
872
//** Blockquote font size
873
$blockquote-font-size:        ($font-size-base * 1.25);
Naomi Guyer's avatar
Naomi Guyer committed
874
//** Blockquote border color
875
$blockquote-border-color:     $brand-primary;
Naomi Guyer's avatar
Naomi Guyer committed
876
//** Page header border color
877
$page-header-border-color:    $btn-default-border;
Naomi Guyer's avatar
Naomi Guyer committed
878
//** Width of horizontal description list titles
879
$dl-horizontal-offset:        $component-offset-horizontal;
Naomi Guyer's avatar
Naomi Guyer committed
880
//** Horizontal line color.
881
$hr-border:                   $gray-lighter;