Merge "InvalidRoleException-junits"
[portal.git] / portal-FE-common / src / styles / bootstrap / _variables.scss
1 // import font
2 @import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600);
3 // Variables
4 //
5 // Variables should follow the `$component-state-property-size` formula for
6 // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
7
8
9 //
10 // Color system
11 //
12
13 // stylelint-disable
14 $white:    #fff !default;
15 $gray-100: #f8f9fa !default;
16 $gray-200: #e9ecef !default;
17 $gray-300: #dee2e6 !default;
18 $gray-400: #ced4da !default;
19 $gray-500: #adb5bd !default;
20 $gray-600: #868e96 !default;
21 $gray-700: #495057 !default;
22 $gray-800: #343a40 !default;
23 $gray-900: #212529 !default;
24 $black:    #000 !default;
25
26 $grays: () !default;
27 $grays: map-merge((
28   "100": $gray-100,
29   "200": $gray-200,
30   "300": $gray-300,
31   "400": $gray-400,
32   "500": $gray-500,
33   "600": $gray-600,
34   "700": $gray-700,
35   "800": $gray-800,
36   "900": $gray-900
37 ), $grays);
38
39 $blue:    #007bff !default;
40 $indigo:  #6610f2 !default;
41 $purple:  #6f42c1 !default;
42 $pink:    #e83e8c !default;
43 $red:     #dc3545 !default;
44 $orange:  #fd7e14 !default;
45 $yellow:  #ffc107 !default;
46 $green:   #28a745 !default;
47 $teal:    #20c997 !default;
48 $cyan:    #17a2b8 !default;
49
50 $colors: () !default;
51 $colors: map-merge((
52   "blue":       $blue,
53   "indigo":     $indigo,
54   "purple":     $purple,
55   "pink":       $pink,
56   "red":        $red,
57   "orange":     $orange,
58   "yellow":     $yellow,
59   "green":      $green,
60   "teal":       $teal,
61   "cyan":       $cyan,
62   "white":      $white,
63   "gray":       $gray-600,
64   "gray-dark":  $gray-800
65 ), $colors);
66
67 $primary:       $blue !default;
68 $secondary:     $gray-600 !default;
69 $success:       $green !default;
70 $info:          $cyan !default;
71 $warning:       $yellow !default;
72 $danger:        $red !default;
73 $light:         $gray-100 !default;
74 $dark:          $gray-800 !default;
75
76 $theme-colors: () !default;
77 $theme-colors: map-merge((
78   "primary":    $primary,
79   "secondary":  $secondary,
80   "success":    $success,
81   "info":       $info,
82   "warning":    $warning,
83   "danger":     $danger,
84   "light":      $light,
85   "dark":       $dark
86 ), $theme-colors);
87 // stylelint-enable
88
89 // Set a specific jump point for requesting color jumps
90 $theme-color-interval:      8% !default;
91
92 // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
93 $yiq-contrasted-threshold: 150 !default;
94
95 // Customize the light and dark text colors for use in our YIQ color contrast function.
96 $yiq-text-dark: $gray-900 !default;
97 $yiq-text-light: $white !default;
98
99 // Options
100 //
101 // Quickly modify global styling by enabling or disabling optional features.
102
103 $enable-caret:              true !default;
104 $enable-rounded:            true !default;
105 $enable-shadows:            false !default;
106 $enable-gradients:          false !default;
107 $enable-transitions:        true !default;
108 $enable-hover-media-query:  false !default;
109 $enable-grid-classes:       true !default;
110 $enable-print-styles:       true !default;
111
112
113 // Spacing
114 //
115 // Control the default styling of most Bootstrap elements by modifying these
116 // variables. Mostly focused on spacing.
117 // You can add more entries to the $spacers map, should you need more variation.
118
119 $spacer: 1rem !default;
120 $spacers: (
121   0: 0,
122   1: ($spacer * .25),
123   2: ($spacer * .5),
124   3: $spacer,
125   4: ($spacer * 1.5),
126   5: ($spacer * 3)
127 ) !default;
128
129 // This variable affects the `.h-*` and `.w-*` classes.
130 $sizes: (
131   25: 25%,
132   50: 50%,
133   75: 75%,
134   100: 100%
135 ) !default;
136
137 // Body
138 //
139 // Settings for the `<body>` element.
140
141 $body-bg:                   $white !default;
142 $body-color:                $gray-900 !default;
143
144 // Links
145 //
146 // Style anchor elements.
147
148 $link-color:                theme-color("primary") !default;
149 $link-decoration:           none !default;
150 $link-hover-color:          darken($link-color, 15%) !default;
151 $link-hover-decoration:     underline !default;
152
153 // Paragraphs
154 //
155 // Style p element.
156
157 $paragraph-margin-bottom:   1rem !default;
158
159
160 // Grid breakpoints
161 //
162 // Define the minimum dimensions at which your layout will change,
163 // adapting to different screen sizes, for use in media queries.
164
165 $grid-breakpoints: (
166   xs: 0,
167   sm: 576px,
168   md: 768px,
169   lg: 992px,
170   xl: 1200px
171 ) !default;
172
173 @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
174 @include _assert-starts-at-zero($grid-breakpoints);
175
176
177 // Grid containers
178 //
179 // Define the maximum width of `.container` for different screen sizes.
180
181 $container-max-widths: (
182   sm: 540px,
183   md: 720px,
184   lg: 960px,
185   xl: 1140px
186 ) !default;
187
188 @include _assert-ascending($container-max-widths, "$container-max-widths");
189
190
191 // Grid columns
192 //
193 // Set the number of columns and specify the width of the gutters.
194
195 $grid-columns:                12 !default;
196 $grid-gutter-width:           30px !default;
197
198 // Components
199 //
200 // Define common padding and border radius sizes and more.
201
202 $line-height-lg:              1.5 !default;
203 $line-height-sm:              1.5 !default;
204
205 $border-width:                1px !default;
206 $border-color:                $gray-200 !default;
207
208 $border-radius:               .25rem !default;
209 $border-radius-lg:            .3rem !default;
210 $border-radius-sm:            .2rem !default;
211
212 $component-active-color:      $white !default;
213 $component-active-bg:         theme-color("primary") !default;
214
215 $caret-width:                 .3em !default;
216
217 $transition-base:             all .2s ease-in-out !default;
218 $transition-fade:             opacity .15s linear !default;
219 $transition-collapse:         height .35s ease !default;
220
221
222 // Fonts
223 //
224 // Font, line-height, and color for body text, headings, and more.
225
226 // stylelint-disable value-keyword-case
227 $font-family-sans-serif:      "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
228 $font-family-monospace:       "Open Sans", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
229 $font-family-base:            $font-family-sans-serif !default;
230 // stylelint-enable value-keyword-case
231
232 $font-size-base:              1rem !default; // Assumes the browser default, typically `16px`
233 $font-size-lg:                ($font-size-base * 1.25) !default;
234 $font-size-sm:                ($font-size-base * .875) !default;
235
236 $font-weight-light:           300 !default;
237 $font-weight-normal:          400 !default;
238 $font-weight-bold:            700 !default;
239
240 $font-weight-base:            $font-weight-normal !default;
241 $line-height-base:            1.5 !default;
242
243 $h1-font-size:                $font-size-base * 2.5 !default;
244 $h2-font-size:                $font-size-base * 2 !default;
245 $h3-font-size:                $font-size-base * 1.75 !default;
246 $h4-font-size:                $font-size-base * 1.5 !default;
247 $h5-font-size:                $font-size-base * 1.25 !default;
248 $h6-font-size:                $font-size-base !default;
249
250 $headings-margin-bottom:      ($spacer / 2) !default;
251 $headings-font-family:        inherit !default;
252 $headings-font-weight:        500 !default;
253 $headings-line-height:        1.2 !default;
254 $headings-color:              inherit !default;
255
256 $display1-size:               6rem !default;
257 $display2-size:               5.5rem !default;
258 $display3-size:               4.5rem !default;
259 $display4-size:               3.5rem !default;
260
261 $display1-weight:             300 !default;
262 $display2-weight:             300 !default;
263 $display3-weight:             300 !default;
264 $display4-weight:             300 !default;
265 $display-line-height:         $headings-line-height !default;
266
267 $lead-font-size:              ($font-size-base * 1.25) !default;
268 $lead-font-weight:            300 !default;
269
270 $small-font-size:             80% !default;
271
272 $text-muted:                  $gray-600 !default;
273
274 $blockquote-small-color:      $gray-600 !default;
275 $blockquote-font-size:        ($font-size-base * 1.25) !default;
276
277 $hr-border-color:             rgba($black, .1) !default;
278 $hr-border-width:             $border-width !default;
279
280 $mark-padding:                .2em !default;
281
282 $dt-font-weight:              $font-weight-bold !default;
283
284 $kbd-box-shadow:              inset 0 -.1rem 0 rgba($black, .25) !default;
285 $nested-kbd-font-weight:      $font-weight-bold !default;
286
287 $list-inline-padding:         .5rem !default;
288
289 $mark-bg:                     #fcf8e3 !default;
290
291 $hr-margin-y:                 $spacer !default;
292
293
294 // Tables
295 //
296 // Customizes the `.table` component with basic values, each used across all table variations.
297
298 $table-cell-padding:          .75rem !default;
299 $table-cell-padding-sm:       .3rem !default;
300
301 $table-bg:                    transparent !default;
302 $table-accent-bg:             rgba($black, .05) !default;
303 $table-hover-bg:              rgba($black, .075) !default;
304 $table-active-bg:             $table-hover-bg !default;
305
306 $table-border-width:          $border-width !default;
307 $table-border-color:          $gray-300 !default;
308
309 $table-head-bg:               $gray-200 !default;
310 $table-head-color:            $gray-700 !default;
311
312 $table-dark-bg:               $gray-900 !default;
313 $table-dark-accent-bg:        rgba($white, .05) !default;
314 $table-dark-hover-bg:         rgba($white, .075) !default;
315 $table-dark-border-color:     lighten($gray-900, 7.5%) !default;
316 $table-dark-color:            $body-bg !default;
317
318
319 // Buttons + Forms
320 //
321 // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
322
323 $input-btn-padding-y:         .375rem !default;
324 $input-btn-padding-x:         .75rem !default;
325 $input-btn-line-height:       $line-height-base !default;
326
327 $input-btn-focus-width:       .2rem !default;
328 $input-btn-focus-color:       rgba(theme-color("primary"), .25) !default;
329 $input-btn-focus-box-shadow:  0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
330
331 $input-btn-padding-y-sm:      .25rem !default;
332 $input-btn-padding-x-sm:      .5rem !default;
333 $input-btn-line-height-sm:    $line-height-sm !default;
334
335 $input-btn-padding-y-lg:      .5rem !default;
336 $input-btn-padding-x-lg:      1rem !default;
337 $input-btn-line-height-lg:    $line-height-lg !default;
338
339 $input-btn-border-width:      $border-width !default;
340
341
342 // Buttons
343 //
344 // For each of Bootstrap's buttons, define text, background, and border color.
345
346 $btn-padding-y:               $input-btn-padding-y !default;
347 $btn-padding-x:               $input-btn-padding-x !default;
348 $btn-line-height:             $input-btn-line-height !default;
349
350 $btn-padding-y-sm:            $input-btn-padding-y-sm !default;
351 $btn-padding-x-sm:            $input-btn-padding-x-sm !default;
352 $btn-line-height-sm:          $input-btn-line-height-sm !default;
353
354 $btn-padding-y-lg:            $input-btn-padding-y-lg !default;
355 $btn-padding-x-lg:            $input-btn-padding-x-lg !default;
356 $btn-line-height-lg:          $input-btn-line-height-lg !default;
357
358 $btn-border-width:            $input-btn-border-width !default;
359
360 $btn-font-weight:             $font-weight-normal !default;
361 $btn-box-shadow:              inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
362 $btn-focus-width:             $input-btn-focus-width !default;
363 $btn-focus-box-shadow:        $input-btn-focus-box-shadow !default;
364 $btn-disabled-opacity:        .65 !default;
365 $btn-active-box-shadow:       inset 0 3px 5px rgba($black, .125) !default;
366
367 $btn-link-disabled-color:     $gray-600 !default;
368
369 $btn-block-spacing-y:         .5rem !default;
370
371 // Allows for customizing button radius independently from global border radius
372 $btn-border-radius:           $border-radius !default;
373 $btn-border-radius-lg:        $border-radius-lg !default;
374 $btn-border-radius-sm:        $border-radius-sm !default;
375
376 $btn-transition:              color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
377
378
379 // Forms
380
381 $input-padding-y:                       $input-btn-padding-y !default;
382 $input-padding-x:                       $input-btn-padding-x !default;
383 $input-line-height:                     $input-btn-line-height !default;
384
385 $input-padding-y-sm:                    $input-btn-padding-y-sm !default;
386 $input-padding-x-sm:                    $input-btn-padding-x-sm !default;
387 $input-line-height-sm:                  $input-btn-line-height-sm !default;
388
389 $input-padding-y-lg:                    $input-btn-padding-y-lg !default;
390 $input-padding-x-lg:                    $input-btn-padding-x-lg !default;
391 $input-line-height-lg:                  $input-btn-line-height-lg !default;
392
393 $input-bg:                              $white !default;
394 $input-disabled-bg:                     $gray-200 !default;
395
396 $input-color:                           $gray-700 !default;
397 $input-border-color:                    $gray-400 !default;
398 $input-border-width:                    $input-btn-border-width !default;
399 $input-box-shadow:                      inset 0 1px 1px rgba($black, .075) !default;
400
401 $input-border-radius:                   $border-radius !default;
402 $input-border-radius-lg:                $border-radius-lg !default;
403 $input-border-radius-sm:                $border-radius-sm !default;
404
405 $input-focus-bg:                        $input-bg !default;
406 $input-focus-border-color:              lighten(theme-color("primary"), 25%) !default;
407 $input-focus-color:                     $input-color !default;
408 $input-focus-width:                     $input-btn-focus-width !default;
409 $input-focus-box-shadow:                $input-btn-focus-box-shadow !default;
410
411 $input-placeholder-color:               $gray-600 !default;
412
413 $input-height-border:                   $input-btn-border-width * 2 !default;
414
415 $input-height-inner:                    ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
416 $input-height:                          calc(#{$input-height-inner} + #{$input-height-border}) !default;
417
418 $input-height-inner-sm:                 ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
419 $input-height-sm:                       calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
420
421 $input-height-inner-lg:                 ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
422 $input-height-lg:                       calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
423
424 $input-transition:                      border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
425
426 $form-text-margin-top:                  .25rem !default;
427
428 $form-check-input-gutter:               1.25rem !default;
429 $form-check-input-margin-y:             .3rem !default;
430 $form-check-input-margin-x:             .25rem !default;
431
432 $form-check-inline-margin-x:            .75rem !default;
433 $form-check-inline-input-margin-x:      .3125rem !default;
434
435 $form-group-margin-bottom:              1rem !default;
436
437 $input-group-addon-color:               $input-color !default;
438 $input-group-addon-bg:                  $gray-200 !default;
439 $input-group-addon-border-color:        $input-border-color !default;
440
441 $custom-control-gutter:                 1.5rem !default;
442 $custom-control-spacer-x:               1rem !default;
443
444 $custom-control-indicator-size:         1rem !default;
445 $custom-control-indicator-bg:           $gray-300 !default;
446 $custom-control-indicator-bg-size:      50% 50% !default;
447 $custom-control-indicator-box-shadow:   inset 0 .25rem .25rem rgba($black, .1) !default;
448
449 $custom-control-indicator-disabled-bg:          $gray-200 !default;
450 $custom-control-label-disabled-color:     $gray-600 !default;
451
452 $custom-control-indicator-checked-color:        $white !default;
453 $custom-control-indicator-checked-bg:           theme-color("primary") !default;
454 $custom-control-indicator-checked-box-shadow:   none !default;
455
456 $custom-control-indicator-focus-box-shadow:     0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
457
458 $custom-control-indicator-active-color:         $white !default;
459 $custom-control-indicator-active-bg:            lighten(theme-color("primary"), 35%) !default;
460 $custom-control-indicator-active-box-shadow:    none !default;
461
462 $custom-checkbox-indicator-border-radius:       $border-radius !default;
463 $custom-checkbox-indicator-icon-checked:        str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
464
465 $custom-checkbox-indicator-indeterminate-bg:    theme-color("primary") !default;
466 $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
467 $custom-checkbox-indicator-icon-indeterminate:  str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
468 $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
469
470 $custom-radio-indicator-border-radius:          50% !default;
471 $custom-radio-indicator-icon-checked:           str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
472
473 $custom-select-padding-y:           .375rem !default;
474 $custom-select-padding-x:          .75rem !default;
475 $custom-select-height:              $input-height !default;
476 $custom-select-indicator-padding:   1rem !default; // Extra padding to account for the presence of the background-image based indicator
477 $custom-select-line-height:         $input-btn-line-height !default;
478 $custom-select-color:               $input-color !default;
479 $custom-select-disabled-color:      $gray-600 !default;
480 $custom-select-bg:                  $white !default;
481 $custom-select-disabled-bg:         $gray-200 !default;
482 $custom-select-bg-size:             8px 10px !default; // In pixels because image dimensions
483 $custom-select-indicator-color:     $gray-800 !default;
484 $custom-select-indicator:           str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default;
485 $custom-select-border-width:        $input-btn-border-width !default;
486 $custom-select-border-color:        $input-border-color !default;
487 $custom-select-border-radius:       $border-radius !default;
488
489 $custom-select-focus-border-color:  $input-focus-border-color !default;
490 $custom-select-focus-box-shadow:    inset 0 1px 2px rgba($black, .075), $input-btn-focus-box-shadow !default;
491
492 $custom-select-font-size-sm:        75% !default;
493 $custom-select-height-sm:           $input-height-sm !default;
494
495 $custom-select-font-size-lg:        125% !default;
496 $custom-select-height-lg:           $input-height-lg !default;
497
498 $custom-file-height:                $input-height !default;
499 $custom-file-focus-border-color:    $input-focus-border-color !default;
500 $custom-file-focus-box-shadow:      $input-btn-focus-box-shadow !default;
501
502 $custom-file-padding-y:             $input-btn-padding-y !default;
503 $custom-file-padding-x:             $input-btn-padding-x !default;
504 $custom-file-line-height:           $input-btn-line-height !default;
505 $custom-file-color:                 $input-color !default;
506 $custom-file-bg:                    $input-bg !default;
507 $custom-file-border-width:          $input-btn-border-width !default;
508 $custom-file-border-color:          $input-border-color !default;
509 $custom-file-border-radius:         $input-border-radius !default;
510 $custom-file-box-shadow:            $input-box-shadow !default;
511 $custom-file-button-color:          $custom-file-color !default;
512 $custom-file-button-bg:             $input-group-addon-bg !default;
513 $custom-file-text: (
514   en: "Browse"
515 ) !default;
516
517
518 // Form validation
519 $form-feedback-margin-top:          $form-text-margin-top !default;
520 $form-feedback-font-size:           $small-font-size !default;
521 $form-feedback-valid-color:         theme-color("success") !default;
522 $form-feedback-invalid-color:       theme-color("danger") !default;
523
524
525 // Dropdowns
526 //
527 // Dropdown menu container and contents.
528
529 $dropdown-min-width:                10rem !default;
530 $dropdown-padding-y:                .5rem !default;
531 $dropdown-spacer:                   .125rem !default;
532 $dropdown-bg:                       $white !default;
533 $dropdown-border-color:             rgba($black, .15) !default;
534 $dropdown-border-radius:            $border-radius !default;
535 $dropdown-border-width:             $border-width !default;
536 $dropdown-divider-bg:               $gray-200 !default;
537 $dropdown-box-shadow:               0 .5rem 1rem rgba($black, .175) !default;
538
539 $dropdown-link-color:               $gray-900 !default;
540 $dropdown-link-hover-color:         darken($gray-900, 5%) !default;
541 $dropdown-link-hover-bg:            $gray-100 !default;
542
543 $dropdown-link-active-color:        $component-active-color !default;
544 $dropdown-link-active-bg:           $component-active-bg !default;
545
546 $dropdown-link-disabled-color:      $gray-600 !default;
547
548 $dropdown-item-padding-y:           .25rem !default;
549 $dropdown-item-padding-x:           1.5rem !default;
550
551 $dropdown-header-color:             $gray-600 !default;
552
553
554 // Z-index master list
555 //
556 // Warning: Avoid customizing these values. They're used for a bird's eye view
557 // of components dependent on the z-axis and are designed to all work together.
558
559 $zindex-dropdown:                   1000 !default;
560 $zindex-sticky:                     1020 !default;
561 $zindex-fixed:                      1030 !default;
562 $zindex-modal-backdrop:             1040 !default;
563 $zindex-modal:                      1050 !default;
564 $zindex-popover:                    1060 !default;
565 $zindex-tooltip:                    1070 !default;
566
567 // Navs
568
569 $nav-link-padding-y:                .5rem !default;
570 $nav-link-padding-x:                1rem !default;
571 $nav-link-disabled-color:           $gray-600 !default;
572
573 $nav-tabs-border-color:             $gray-300 !default;
574 $nav-tabs-border-width:             $border-width !default;
575 $nav-tabs-border-radius:            $border-radius !default;
576 $nav-tabs-link-hover-border-color:  $gray-200 $gray-200 $nav-tabs-border-color !default;
577 $nav-tabs-link-active-color:        $gray-700 !default;
578 $nav-tabs-link-active-bg:           $body-bg !default;
579 $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
580
581 $nav-pills-border-radius:           $border-radius !default;
582 $nav-pills-link-active-color:       $component-active-color !default;
583 $nav-pills-link-active-bg:          $component-active-bg !default;
584
585 // Navbar
586
587 $navbar-padding-y:                  ($spacer / 2) !default;
588 $navbar-padding-x:                  $spacer !default;
589
590 $navbar-brand-font-size:            $font-size-lg !default;
591 // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
592 $nav-link-height:                   ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
593 $navbar-brand-height:               $navbar-brand-font-size * $line-height-base !default;
594 $navbar-brand-padding-y:            ($nav-link-height - $navbar-brand-height) / 2 !default;
595
596 $navbar-toggler-padding-y:          .25rem !default;
597 $navbar-toggler-padding-x:          .75rem !default;
598 $navbar-toggler-font-size:          $font-size-lg !default;
599 $navbar-toggler-border-radius:      $btn-border-radius !default;
600
601 $navbar-dark-color:                 rgba($white, .5) !default;
602 $navbar-dark-hover-color:           rgba($white, .75) !default;
603 $navbar-dark-active-color:          $white !default;
604 $navbar-dark-disabled-color:        rgba($white, .25) !default;
605 $navbar-dark-toggler-icon-bg:       str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
606 $navbar-dark-toggler-border-color:  rgba($white, .1) !default;
607
608 $navbar-light-color:                rgba($black, .5) !default;
609 $navbar-light-hover-color:          rgba($black, .7) !default;
610 $navbar-light-active-color:         rgba($black, .9) !default;
611 $navbar-light-disabled-color:       rgba($black, .3) !default;
612 $navbar-light-toggler-icon-bg:      str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
613 $navbar-light-toggler-border-color: rgba($black, .1) !default;
614
615 // Pagination
616
617 $pagination-padding-y:              .5rem !default;
618 $pagination-padding-x:              .75rem !default;
619 $pagination-padding-y-sm:           .25rem !default;
620 $pagination-padding-x-sm:           .5rem !default;
621 $pagination-padding-y-lg:           .75rem !default;
622 $pagination-padding-x-lg:           1.5rem !default;
623 $pagination-line-height:            1.25 !default;
624
625 $pagination-color:                  $link-color !default;
626 $pagination-bg:                     $white !default;
627 $pagination-border-width:           $border-width !default;
628 $pagination-border-color:           $gray-300 !default;
629
630 $pagination-hover-color:            $link-hover-color !default;
631 $pagination-hover-bg:               $gray-200 !default;
632 $pagination-hover-border-color:     $gray-300 !default;
633
634 $pagination-active-color:           $white !default;
635 $pagination-active-bg:              theme-color("primary") !default;
636 $pagination-active-border-color:    theme-color("primary") !default;
637
638 $pagination-disabled-color:         $gray-600 !default;
639 $pagination-disabled-bg:            $white !default;
640 $pagination-disabled-border-color:  $gray-300 !default;
641
642
643 // Jumbotron
644
645 $jumbotron-padding:                 2rem !default;
646 $jumbotron-bg:                      $gray-200 !default;
647
648
649 // Cards
650
651 $card-spacer-y:                     .75rem !default;
652 $card-spacer-x:                     1.25rem !default;
653 $card-border-width:                 $border-width !default;
654 $card-border-radius:                $border-radius !default;
655 $card-border-color:                 rgba($black, .125) !default;
656 $card-inner-border-radius:          calc(#{$card-border-radius} - #{$card-border-width}) !default;
657 $card-cap-bg:                       rgba($black, .03) !default;
658 $card-bg:                           $white !default;
659
660 $card-img-overlay-padding:          1.25rem !default;
661
662 $card-group-margin:                 ($grid-gutter-width / 2) !default;
663 $card-deck-margin:                  $card-group-margin !default;
664
665 $card-columns-count:                3 !default;
666 $card-columns-gap:                  1.25rem !default;
667 $card-columns-margin:               $card-spacer-y !default;
668
669
670 // Tooltips
671
672 $tooltip-max-width:           200px !default;
673 $tooltip-color:               $white !default;
674 $tooltip-bg:                  $black !default;
675 $tooltip-opacity:             .9 !default;
676 $tooltip-padding-y:           .25rem !default;
677 $tooltip-padding-x:           .5rem !default;
678 $tooltip-margin:              0 !default;
679
680 $tooltip-arrow-width:         .8rem !default;
681 $tooltip-arrow-height:        .4rem !default;
682 $tooltip-arrow-color:         $tooltip-bg !default;
683
684
685 // Popovers
686
687 $popover-bg:                        $white !default;
688 $popover-max-width:                 276px !default;
689 $popover-border-width:              $border-width !default;
690 $popover-border-color:              rgba($black, .2) !default;
691 $popover-box-shadow:                0 .25rem .5rem rgba($black, .2) !default;
692
693 $popover-header-bg:                 darken($popover-bg, 3%) !default;
694 $popover-header-color:              $headings-color !default;
695 $popover-header-padding-y:          .5rem !default;
696 $popover-header-padding-x:          .75rem !default;
697
698 $popover-body-color:                $body-color !default;
699 $popover-body-padding-y:            $popover-header-padding-y !default;
700 $popover-body-padding-x:            $popover-header-padding-x !default;
701
702 $popover-arrow-width:               1rem !default;
703 $popover-arrow-height:              .5rem !default;
704 $popover-arrow-color:               $popover-bg !default;
705
706 $popover-arrow-outer-color:         fade-in($popover-border-color, .05) !default;
707
708
709 // Badges
710
711 $badge-font-size:                   75% !default;
712 $badge-font-weight:                 $font-weight-bold !default;
713 $badge-padding-y:                   .25em !default;
714 $badge-padding-x:                   .4em !default;
715 $badge-border-radius:               $border-radius !default;
716
717 $badge-pill-padding-x:              .6em !default;
718 // Use a higher than normal value to ensure completely rounded edges when
719 // customizing padding or font-size on labels.
720 $badge-pill-border-radius:          10rem !default;
721
722
723 // Modals
724
725 // Padding applied to the modal body
726 $modal-inner-padding:         1rem !default;
727
728 $modal-dialog-margin:         .5rem !default;
729 $modal-dialog-margin-y-sm-up: 1.75rem !default;
730
731 $modal-title-line-height:           $line-height-base !default;
732
733 $modal-content-bg:               $white !default;
734 $modal-content-border-color:     rgba($black, .2) !default;
735 $modal-content-border-width:     $border-width !default;
736 $modal-content-box-shadow-xs:    0 .25rem .5rem rgba($black, .5) !default;
737 $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
738
739 $modal-backdrop-bg:           $black !default;
740 $modal-backdrop-opacity:      .5 !default;
741 $modal-header-border-color:   $gray-200 !default;
742 $modal-footer-border-color:   $modal-header-border-color !default;
743 $modal-header-border-width:   $modal-content-border-width !default;
744 $modal-footer-border-width:   $modal-header-border-width !default;
745 $modal-header-padding:        1rem !default;
746
747 $modal-lg:                          800px !default;
748 $modal-md:                          500px !default;
749 $modal-sm:                          300px !default;
750
751 $modal-transition:                  transform .3s ease-out !default;
752
753
754 // Alerts
755 //
756 // Define alert colors, border radius, and padding.
757
758 $alert-padding-y:                   .75rem !default;
759 $alert-padding-x:                   1.25rem !default;
760 $alert-margin-bottom:               1rem !default;
761 $alert-border-radius:               $border-radius !default;
762 $alert-link-font-weight:            $font-weight-bold !default;
763 $alert-border-width:                $border-width !default;
764
765
766 // Progress bars
767
768 $progress-height:                   1rem !default;
769 $progress-font-size:                ($font-size-base * .75) !default;
770 $progress-bg:                       $gray-200 !default;
771 $progress-border-radius:            $border-radius !default;
772 $progress-box-shadow:               inset 0 .1rem .1rem rgba($black, .1) !default;
773 $progress-bar-color:                $white !default;
774 $progress-bar-bg:                   theme-color("primary") !default;
775 $progress-bar-animation-timing:     1s linear infinite !default;
776 $progress-bar-transition:           width .6s ease !default;
777
778 // List group
779
780 $list-group-bg:                     $white !default;
781 $list-group-border-color:           rgba($black, .125) !default;
782 $list-group-border-width:           $border-width !default;
783 $list-group-border-radius:          $border-radius !default;
784
785 $list-group-item-padding-y:         .75rem !default;
786 $list-group-item-padding-x:         1.25rem !default;
787
788 $list-group-hover-bg:               $gray-100 !default;
789 $list-group-active-color:           $component-active-color !default;
790 $list-group-active-bg:              $component-active-bg !default;
791 $list-group-active-border-color:    $list-group-active-bg !default;
792
793 $list-group-disabled-color:         $gray-600 !default;
794 $list-group-disabled-bg:            $list-group-bg !default;
795
796 $list-group-action-color:           $gray-700 !default;
797 $list-group-action-hover-color:     $list-group-action-color !default;
798
799 $list-group-action-active-color:    $body-color !default;
800 $list-group-action-active-bg:       $gray-200 !default;
801
802
803 // Image thumbnails
804
805 $thumbnail-padding:                 .25rem !default;
806 $thumbnail-bg:                      $body-bg !default;
807 $thumbnail-border-width:            $border-width !default;
808 $thumbnail-border-color:            $gray-300 !default;
809 $thumbnail-border-radius:           $border-radius !default;
810 $thumbnail-box-shadow:              0 1px 2px rgba($black, .075) !default;
811
812
813 // Figures
814
815 $figure-caption-font-size:          90% !default;
816 $figure-caption-color:              $gray-600 !default;
817
818
819 // Breadcrumbs
820
821 $breadcrumb-padding-y:              .75rem !default;
822 $breadcrumb-padding-x:              1rem !default;
823 $breadcrumb-item-padding:           .5rem !default;
824
825 $breadcrumb-margin-bottom:          1rem !default;
826
827 $breadcrumb-bg:                     $gray-200 !default;
828 $breadcrumb-divider-color:          $gray-600 !default;
829 $breadcrumb-active-color:           $gray-600 !default;
830 $breadcrumb-divider:                "/" !default;
831
832
833 // Carousel
834
835 $carousel-control-color:            $white !default;
836 $carousel-control-width:            15% !default;
837 $carousel-control-opacity:          .5 !default;
838
839 $carousel-indicator-width:          30px !default;
840 $carousel-indicator-height:         3px !default;
841 $carousel-indicator-spacer:         3px !default;
842 $carousel-indicator-active-bg:      $white !default;
843
844 $carousel-caption-width:            70% !default;
845 $carousel-caption-color:            $white !default;
846
847 $carousel-control-icon-width:       20px !default;
848
849 $carousel-control-prev-icon-bg:     str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default;
850 $carousel-control-next-icon-bg:     str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;
851
852 $carousel-transition:               transform .6s ease !default;
853
854
855 // Close
856
857 $close-font-size:                   $font-size-base * 1.5 !default;
858 $close-font-weight:                 $font-weight-bold !default;
859 $close-color:                       $black !default;
860 $close-text-shadow:                 0 1px 0 $white !default;
861
862 // Code
863
864 $code-font-size:                    87.5% !default;
865 $code-color:                        $pink !default;
866
867 $kbd-padding-y:                     .2rem !default;
868 $kbd-padding-x:                     .4rem !default;
869 $kbd-font-size:                     $code-font-size !default;
870 $kbd-color:                         $white !default;
871 $kbd-bg:                            $gray-900 !default;
872
873 $pre-color:                         $gray-900 !default;
874 $pre-scrollable-max-height:         340px !default;