flipper-ui 0.12.2 → 0.13.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/docs/ui/README.md +21 -3
  3. data/docs/ui/images/configured-ui.png +0 -0
  4. data/docs/ui/images/environment-banner.png +0 -0
  5. data/docs/ui/images/feature.png +0 -0
  6. data/docs/ui/images/features.png +0 -0
  7. data/lib/flipper/ui/assets/javascripts/application.coffee +3 -0
  8. data/lib/flipper/ui/assets/stylesheets/.DS_Store +0 -0
  9. data/lib/flipper/ui/assets/stylesheets/application.scss +9 -48
  10. data/lib/flipper/ui/assets/stylesheets/bootstrap/_alert.scss +51 -0
  11. data/lib/flipper/ui/assets/stylesheets/bootstrap/_badge.scss +47 -0
  12. data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumb.scss +38 -0
  13. data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-group.scss +166 -0
  14. data/lib/flipper/ui/assets/stylesheets/bootstrap/_buttons.scss +78 -95
  15. data/lib/flipper/ui/assets/stylesheets/bootstrap/_card.scss +270 -0
  16. data/lib/flipper/ui/assets/stylesheets/bootstrap/_carousel.scss +122 -200
  17. data/lib/flipper/ui/assets/stylesheets/bootstrap/_close.scss +12 -14
  18. data/lib/flipper/ui/assets/stylesheets/bootstrap/_code.scss +15 -28
  19. data/lib/flipper/ui/assets/stylesheets/bootstrap/_custom-forms.scss +297 -0
  20. data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdown.scss +131 -0
  21. data/lib/flipper/ui/assets/stylesheets/bootstrap/_forms.scss +210 -455
  22. data/lib/flipper/ui/assets/stylesheets/bootstrap/_functions.scss +86 -0
  23. data/lib/flipper/ui/assets/stylesheets/bootstrap/_grid.scss +29 -61
  24. data/lib/flipper/ui/assets/stylesheets/bootstrap/_images.scss +42 -0
  25. data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-group.scss +159 -0
  26. data/lib/flipper/ui/assets/stylesheets/bootstrap/_jumbotron.scss +8 -42
  27. data/lib/flipper/ui/assets/stylesheets/bootstrap/_list-group.scss +64 -73
  28. data/lib/flipper/ui/assets/stylesheets/bootstrap/_media.scss +3 -56
  29. data/lib/flipper/ui/assets/stylesheets/bootstrap/_mixins.scss +21 -18
  30. data/lib/flipper/ui/assets/stylesheets/bootstrap/_modal.scss +168 -0
  31. data/lib/flipper/ui/assets/stylesheets/bootstrap/_nav.scss +118 -0
  32. data/lib/flipper/ui/assets/stylesheets/bootstrap/_navbar.scss +203 -554
  33. data/lib/flipper/ui/assets/stylesheets/bootstrap/_pagination.scss +58 -69
  34. data/lib/flipper/ui/assets/stylesheets/bootstrap/_popover.scss +183 -0
  35. data/lib/flipper/ui/assets/stylesheets/bootstrap/_print.scss +71 -54
  36. data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress.scss +33 -0
  37. data/lib/flipper/ui/assets/stylesheets/bootstrap/_reboot.scss +482 -0
  38. data/lib/flipper/ui/assets/stylesheets/bootstrap/_root.scss +19 -0
  39. data/lib/flipper/ui/assets/stylesheets/bootstrap/_tables.scss +109 -163
  40. data/lib/flipper/ui/assets/stylesheets/bootstrap/_tooltip.scss +97 -84
  41. data/lib/flipper/ui/assets/stylesheets/bootstrap/_transitions.scss +36 -0
  42. data/lib/flipper/ui/assets/stylesheets/bootstrap/_type.scss +66 -239
  43. data/lib/flipper/ui/assets/stylesheets/bootstrap/_utilities.scss +14 -55
  44. data/lib/flipper/ui/assets/stylesheets/bootstrap/_variables.scss +726 -698
  45. data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap-grid.scss +32 -0
  46. data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap-reboot.scss +12 -0
  47. data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap.scss +42 -0
  48. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alert.scss +13 -0
  49. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_background-variant.scss +14 -4
  50. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_badge.scss +12 -0
  51. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_border-radius.scss +25 -8
  52. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +5 -0
  53. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +123 -0
  54. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_buttons.scss +89 -32
  55. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_caret.scss +65 -0
  56. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_clearfix.scss +3 -18
  57. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_float.scss +11 -0
  58. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_forms.scss +115 -66
  59. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_gradients.scss +14 -27
  60. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +52 -66
  61. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid.scss +37 -107
  62. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hover.scss +39 -0
  63. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_image.scss +18 -15
  64. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_list-group.scss +10 -20
  65. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_lists.scss +7 -0
  66. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +3 -3
  67. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +10 -0
  68. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_pagination.scss +10 -11
  69. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-text.scss +17 -0
  70. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
  71. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +35 -0
  72. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_size.scss +1 -5
  73. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_table-row.scss +16 -14
  74. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +7 -4
  75. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-hide.scss +9 -0
  76. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
  77. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_transition.scss +9 -0
  78. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_visibility.scss +7 -0
  79. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_align.scss +8 -0
  80. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_background.scss +19 -0
  81. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_borders.scss +59 -0
  82. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_clearfix.scss +3 -0
  83. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_display.scss +38 -0
  84. data/lib/flipper/ui/assets/stylesheets/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +26 -9
  85. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_flex.scss +46 -0
  86. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_float.scss +9 -0
  87. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_position.scss +36 -0
  88. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +11 -0
  89. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_sizing.scss +12 -0
  90. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_spacing.scss +51 -0
  91. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_text.scss +52 -0
  92. data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_visibility.scss +11 -0
  93. data/lib/flipper/ui/configuration.rb +24 -0
  94. data/lib/flipper/ui/decorators/feature.rb +3 -3
  95. data/lib/flipper/ui/public/css/application.css +6237 -2339
  96. data/lib/flipper/ui/public/js/application.js +3 -2
  97. data/lib/flipper/ui/views/add_actor.erb +7 -9
  98. data/lib/flipper/ui/views/add_feature.erb +8 -10
  99. data/lib/flipper/ui/views/add_group.erb +7 -9
  100. data/lib/flipper/ui/views/feature.erb +181 -141
  101. data/lib/flipper/ui/views/feature_creation_disabled.erb +1 -1
  102. data/lib/flipper/ui/views/feature_removal_disabled.erb +1 -1
  103. data/lib/flipper/ui/views/features.erb +12 -15
  104. data/lib/flipper/ui/views/layout.erb +25 -15
  105. data/lib/flipper/version.rb +1 -1
  106. data/spec/flipper/ui/actions/actors_gate_spec.rb +2 -1
  107. data/spec/flipper/ui/actions/add_feature_spec.rb +2 -1
  108. data/spec/flipper/ui/actions/groups_gate_spec.rb +2 -1
  109. data/spec/flipper/ui/configuration_spec.rb +27 -0
  110. data/spec/flipper/ui_spec.rb +24 -0
  111. metadata +58 -64
  112. data/lib/flipper/ui/assets/stylesheets/_bootstrap-compass.scss +0 -9
  113. data/lib/flipper/ui/assets/stylesheets/_bootstrap-mincer.scss +0 -19
  114. data/lib/flipper/ui/assets/stylesheets/_bootstrap-sprockets.scss +0 -9
  115. data/lib/flipper/ui/assets/stylesheets/_bootstrap.scss +0 -50
  116. data/lib/flipper/ui/assets/stylesheets/bootstrap/_alerts.scss +0 -73
  117. data/lib/flipper/ui/assets/stylesheets/bootstrap/_badges.scss +0 -68
  118. data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -26
  119. data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-groups.scss +0 -243
  120. data/lib/flipper/ui/assets/stylesheets/bootstrap/_component-animations.scss +0 -37
  121. data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdowns.scss +0 -214
  122. data/lib/flipper/ui/assets/stylesheets/bootstrap/_glyphicons.scss +0 -305
  123. data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-groups.scss +0 -166
  124. data/lib/flipper/ui/assets/stylesheets/bootstrap/_labels.scss +0 -66
  125. data/lib/flipper/ui/assets/stylesheets/bootstrap/_modals.scss +0 -150
  126. data/lib/flipper/ui/assets/stylesheets/bootstrap/_navs.scss +0 -242
  127. data/lib/flipper/ui/assets/stylesheets/bootstrap/_normalize.scss +0 -427
  128. data/lib/flipper/ui/assets/stylesheets/bootstrap/_pager.scss +0 -54
  129. data/lib/flipper/ui/assets/stylesheets/bootstrap/_panels.scss +0 -265
  130. data/lib/flipper/ui/assets/stylesheets/bootstrap/_popovers.scss +0 -135
  131. data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress-bars.scss +0 -87
  132. data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -177
  133. data/lib/flipper/ui/assets/stylesheets/bootstrap/_scaffolding.scss +0 -162
  134. data/lib/flipper/ui/assets/stylesheets/bootstrap/_theme.scss +0 -273
  135. data/lib/flipper/ui/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
  136. data/lib/flipper/ui/assets/stylesheets/bootstrap/_wells.scss +0 -29
  137. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alerts.scss +0 -14
  138. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
  139. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hide-text.scss +0 -21
  140. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_labels.scss +0 -12
  141. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  142. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_opacity.scss +0 -8
  143. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_panels.scss +0 -24
  144. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +0 -10
  145. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
  146. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -21
  147. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
  148. data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  149. data/lib/flipper/ui/public/css/primer.css +0 -1
  150. data/lib/flipper/ui/public/css/primer/primer.css +0 -1933
  151. data/lib/flipper/ui/public/css/scss/primer.css +0 -1933
  152. data/lib/flipper/ui/public/js/bootstrap-sprockets.js +0 -12
  153. data/lib/flipper/ui/public/js/bootstrap.js +0 -2317
  154. data/lib/flipper/ui/public/js/bootstrap.min.js +0 -7
  155. data/lib/flipper/ui/public/js/bootstrap/affix.js +0 -162
  156. data/lib/flipper/ui/public/js/bootstrap/alert.js +0 -94
  157. data/lib/flipper/ui/public/js/bootstrap/button.js +0 -116
  158. data/lib/flipper/ui/public/js/bootstrap/carousel.js +0 -237
  159. data/lib/flipper/ui/public/js/bootstrap/collapse.js +0 -211
  160. data/lib/flipper/ui/public/js/bootstrap/dropdown.js +0 -161
  161. data/lib/flipper/ui/public/js/bootstrap/modal.js +0 -339
  162. data/lib/flipper/ui/public/js/bootstrap/popover.js +0 -108
  163. data/lib/flipper/ui/public/js/bootstrap/scrollspy.js +0 -172
  164. data/lib/flipper/ui/public/js/bootstrap/tab.js +0 -153
  165. data/lib/flipper/ui/public/js/bootstrap/tooltip.js +0 -476
  166. data/lib/flipper/ui/public/js/bootstrap/transition.js +0 -59
@@ -1,866 +1,894 @@
1
- $bootstrap-sass-asset-helper: false !default;
2
- //
3
1
  // Variables
4
- // --------------------------------------------------
2
+ //
3
+ // Variables should follow the `$component-state-property-size` formula for
4
+ // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
5
+
6
+
7
+ //
8
+ // Color system
9
+ //
10
+
11
+ // stylelint-disable
12
+ $white: #fff !default;
13
+ $gray-100: #f8f9fa !default;
14
+ $gray-200: #e9ecef !default;
15
+ $gray-300: #dee2e6 !default;
16
+ $gray-400: #ced4da !default;
17
+ $gray-500: #adb5bd !default;
18
+ $gray-600: #6c757d !default;
19
+ $gray-700: #495057 !default;
20
+ $gray-800: #343a40 !default;
21
+ $gray-900: #212529 !default;
22
+ $black: #000 !default;
23
+
24
+ $grays: () !default;
25
+ $grays: map-merge((
26
+ "100": $gray-100,
27
+ "200": $gray-200,
28
+ "300": $gray-300,
29
+ "400": $gray-400,
30
+ "500": $gray-500,
31
+ "600": $gray-600,
32
+ "700": $gray-700,
33
+ "800": $gray-800,
34
+ "900": $gray-900
35
+ ), $grays);
36
+
37
+ $blue: #007bff !default;
38
+ $indigo: #6610f2 !default;
39
+ $purple: #6f42c1 !default;
40
+ $pink: #e83e8c !default;
41
+ $red: #dc3545 !default;
42
+ $orange: #fd7e14 !default;
43
+ $yellow: #ffc107 !default;
44
+ $green: #28a745 !default;
45
+ $teal: #20c997 !default;
46
+ $cyan: #17a2b8 !default;
47
+
48
+ $colors: () !default;
49
+ $colors: map-merge((
50
+ "blue": $blue,
51
+ "indigo": $indigo,
52
+ "purple": $purple,
53
+ "pink": $pink,
54
+ "red": $red,
55
+ "orange": $orange,
56
+ "yellow": $yellow,
57
+ "green": $green,
58
+ "teal": $teal,
59
+ "cyan": $cyan,
60
+ "white": $white,
61
+ "gray": $gray-600,
62
+ "gray-dark": $gray-800
63
+ ), $colors);
64
+
65
+ $primary: $blue !default;
66
+ $secondary: $gray-600 !default;
67
+ $success: $green !default;
68
+ $info: $cyan !default;
69
+ $warning: $yellow !default;
70
+ $danger: $red !default;
71
+ $light: $gray-100 !default;
72
+ $dark: $gray-800 !default;
73
+
74
+ $theme-colors: () !default;
75
+ $theme-colors: map-merge((
76
+ "primary": $primary,
77
+ "secondary": $secondary,
78
+ "success": $success,
79
+ "info": $info,
80
+ "warning": $warning,
81
+ "danger": $danger,
82
+ "light": $light,
83
+ "dark": $dark
84
+ ), $theme-colors);
85
+ // stylelint-enable
86
+
87
+ // Set a specific jump point for requesting color jumps
88
+ $theme-color-interval: 8% !default;
89
+
90
+ // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
91
+ $yiq-contrasted-threshold: 150 !default;
92
+
93
+ // Customize the light and dark text colors for use in our YIQ color contrast function.
94
+ $yiq-text-dark: $gray-900 !default;
95
+ $yiq-text-light: $white !default;
96
+
97
+ // Options
98
+ //
99
+ // Quickly modify global styling by enabling or disabling optional features.
100
+
101
+ $enable-caret: true !default;
102
+ $enable-rounded: true !default;
103
+ $enable-shadows: false !default;
104
+ $enable-gradients: false !default;
105
+ $enable-transitions: true !default;
106
+ $enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
107
+ $enable-grid-classes: true !default;
108
+ $enable-print-styles: true !default;
109
+
110
+
111
+ // Spacing
112
+ //
113
+ // Control the default styling of most Bootstrap elements by modifying these
114
+ // variables. Mostly focused on spacing.
115
+ // You can add more entries to the $spacers map, should you need more variation.
116
+
117
+ // stylelint-disable
118
+ $spacer: 1rem !default;
119
+ $spacers: () !default;
120
+ $spacers: map-merge((
121
+ 0: 0,
122
+ 1: ($spacer * .25),
123
+ 2: ($spacer * .5),
124
+ 3: $spacer,
125
+ 4: ($spacer * 1.5),
126
+ 5: ($spacer * 3)
127
+ ), $spacers);
5
128
 
129
+ // This variable affects the `.h-*` and `.w-*` classes.
130
+ $sizes: () !default;
131
+ $sizes: map-merge((
132
+ 25: 25%,
133
+ 50: 50%,
134
+ 75: 75%,
135
+ 100: 100%
136
+ ), $sizes);
137
+ // stylelint-enable
6
138
 
7
- //== Colors
139
+ // Body
8
140
  //
9
- //## Gray and brand colors for use across Bootstrap.
141
+ // Settings for the `<body>` element.
10
142
 
11
- $gray-base: #000 !default;
12
- $gray-darker: lighten($gray-base, 13.5%) !default; // #222
13
- $gray-dark: lighten($gray-base, 20%) !default; // #333
14
- $gray: lighten($gray-base, 33.5%) !default; // #555
15
- $gray-light: lighten($gray-base, 46.7%) !default; // #777
16
- $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
143
+ $body-bg: $white !default;
144
+ $body-color: $gray-900 !default;
145
+
146
+ // Links
147
+ //
148
+ // Style anchor elements.
149
+
150
+ $link-color: theme-color("primary") !default;
151
+ $link-decoration: none !default;
152
+ $link-hover-color: darken($link-color, 15%) !default;
153
+ $link-hover-decoration: underline !default;
154
+
155
+ // Paragraphs
156
+ //
157
+ // Style p element.
17
158
 
18
- $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
19
- $brand-success: #5cb85c !default;
20
- $brand-info: #5bc0de !default;
21
- $brand-warning: #f0ad4e !default;
22
- $brand-danger: #d9534f !default;
159
+ $paragraph-margin-bottom: 1rem !default;
23
160
 
24
161
 
25
- //== Scaffolding
162
+ // Grid breakpoints
26
163
  //
27
- //## Settings for some of the most global styles.
164
+ // Define the minimum dimensions at which your layout will change,
165
+ // adapting to different screen sizes, for use in media queries.
28
166
 
29
- //** Background color for `<body>`.
30
- $body-bg: #fff !default;
31
- //** Global text color on `<body>`.
32
- $text-color: $gray-dark !default;
167
+ $grid-breakpoints: (
168
+ xs: 0,
169
+ sm: 576px,
170
+ md: 768px,
171
+ lg: 992px,
172
+ xl: 1200px
173
+ ) !default;
33
174
 
34
- //** Global textual link color.
35
- $link-color: $brand-primary !default;
36
- //** Link hover color set via `darken()` function.
37
- $link-hover-color: darken($link-color, 15%) !default;
38
- //** Link hover decoration.
39
- $link-hover-decoration: underline !default;
175
+ @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
176
+ @include _assert-starts-at-zero($grid-breakpoints);
40
177
 
41
178
 
42
- //== Typography
179
+ // Grid containers
43
180
  //
44
- //## Font, line-height, and color for body text, headings, and more.
45
-
46
- $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
47
- $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
48
- //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
49
- $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
50
- $font-family-base: $font-family-sans-serif !default;
51
-
52
- $font-size-base: 14px !default;
53
- $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
54
- $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
55
-
56
- $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
57
- $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
58
- $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
59
- $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
60
- $font-size-h5: $font-size-base !default;
61
- $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
62
-
63
- //** Unit-less `line-height` for use in components like buttons.
64
- $line-height-base: 1.428571429 !default; // 20/14
65
- //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
66
- $line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
67
-
68
- //** By default, this inherits from the `<body>`.
69
- $headings-font-family: inherit !default;
70
- $headings-font-weight: 500 !default;
71
- $headings-line-height: 1.1 !default;
72
- $headings-color: inherit !default;
73
-
74
-
75
- //== Iconography
181
+ // Define the maximum width of `.container` for different screen sizes.
182
+
183
+ $container-max-widths: (
184
+ sm: 540px,
185
+ md: 720px,
186
+ lg: 960px,
187
+ xl: 1140px
188
+ ) !default;
189
+
190
+ @include _assert-ascending($container-max-widths, "$container-max-widths");
191
+
192
+
193
+ // Grid columns
76
194
  //
77
- //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
195
+ // Set the number of columns and specify the width of the gutters.
196
+
197
+ $grid-columns: 12 !default;
198
+ $grid-gutter-width: 30px !default;
78
199
 
79
- //** Load fonts from this directory.
200
+ // Components
201
+ //
202
+ // Define common padding and border radius sizes and more.
80
203
 
81
- // [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
82
- // [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
83
- $icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;
204
+ $line-height-lg: 1.5 !default;
205
+ $line-height-sm: 1.5 !default;
84
206
 
85
- //** File name for all font files.
86
- $icon-font-name: "glyphicons-halflings-regular" !default;
87
- //** Element ID within SVG icon file.
88
- $icon-font-svg-id: "glyphicons_halflingsregular" !default;
207
+ $border-width: 1px !default;
208
+ $border-color: $gray-300 !default;
89
209
 
210
+ $border-radius: .25rem !default;
211
+ $border-radius-lg: .3rem !default;
212
+ $border-radius-sm: .2rem !default;
90
213
 
91
- //== Components
214
+ $component-active-color: $white !default;
215
+ $component-active-bg: theme-color("primary") !default;
216
+
217
+ $caret-width: .3em !default;
218
+
219
+ $transition-base: all .2s ease-in-out !default;
220
+ $transition-fade: opacity .15s linear !default;
221
+ $transition-collapse: height .35s ease !default;
222
+
223
+
224
+ // Fonts
92
225
  //
93
- //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
226
+ // Font, line-height, and color for body text, headings, and more.
94
227
 
95
- $padding-base-vertical: 6px !default;
96
- $padding-base-horizontal: 12px !default;
228
+ // stylelint-disable value-keyword-case
229
+ $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
230
+ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
231
+ $font-family-base: $font-family-sans-serif !default;
232
+ // stylelint-enable value-keyword-case
97
233
 
98
- $padding-large-vertical: 10px !default;
99
- $padding-large-horizontal: 16px !default;
234
+ $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
235
+ $font-size-lg: ($font-size-base * 1.25) !default;
236
+ $font-size-sm: ($font-size-base * .875) !default;
100
237
 
101
- $padding-small-vertical: 5px !default;
102
- $padding-small-horizontal: 10px !default;
238
+ $font-weight-light: 300 !default;
239
+ $font-weight-normal: 400 !default;
240
+ $font-weight-bold: 700 !default;
103
241
 
104
- $padding-xs-vertical: 1px !default;
105
- $padding-xs-horizontal: 5px !default;
242
+ $font-weight-base: $font-weight-normal !default;
243
+ $line-height-base: 1.5 !default;
106
244
 
107
- $line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
108
- $line-height-small: 1.5 !default;
245
+ $h1-font-size: $font-size-base * 2.5 !default;
246
+ $h2-font-size: $font-size-base * 2 !default;
247
+ $h3-font-size: $font-size-base * 1.75 !default;
248
+ $h4-font-size: $font-size-base * 1.5 !default;
249
+ $h5-font-size: $font-size-base * 1.25 !default;
250
+ $h6-font-size: $font-size-base !default;
109
251
 
110
- $border-radius-base: 4px !default;
111
- $border-radius-large: 6px !default;
112
- $border-radius-small: 3px !default;
252
+ $headings-margin-bottom: ($spacer / 2) !default;
253
+ $headings-font-family: inherit !default;
254
+ $headings-font-weight: 500 !default;
255
+ $headings-line-height: 1.2 !default;
256
+ $headings-color: inherit !default;
113
257
 
114
- //** Global color for active items (e.g., navs or dropdowns).
115
- $component-active-color: #fff !default;
116
- //** Global background color for active items (e.g., navs or dropdowns).
117
- $component-active-bg: $brand-primary !default;
258
+ $display1-size: 6rem !default;
259
+ $display2-size: 5.5rem !default;
260
+ $display3-size: 4.5rem !default;
261
+ $display4-size: 3.5rem !default;
118
262
 
119
- //** Width of the `border` for generating carets that indicator dropdowns.
120
- $caret-width-base: 4px !default;
121
- //** Carets increase slightly in size for larger components.
122
- $caret-width-large: 5px !default;
263
+ $display1-weight: 300 !default;
264
+ $display2-weight: 300 !default;
265
+ $display3-weight: 300 !default;
266
+ $display4-weight: 300 !default;
267
+ $display-line-height: $headings-line-height !default;
123
268
 
269
+ $lead-font-size: ($font-size-base * 1.25) !default;
270
+ $lead-font-weight: 300 !default;
124
271
 
125
- //== Tables
126
- //
127
- //## Customizes the `.table` component with basic values, each used across all table variations.
272
+ $small-font-size: 80% !default;
273
+
274
+ $text-muted: $gray-600 !default;
275
+
276
+ $blockquote-small-color: $gray-600 !default;
277
+ $blockquote-font-size: ($font-size-base * 1.25) !default;
278
+
279
+ $hr-border-color: rgba($black, .1) !default;
280
+ $hr-border-width: $border-width !default;
281
+
282
+ $mark-padding: .2em !default;
283
+
284
+ $dt-font-weight: $font-weight-bold !default;
285
+
286
+ $kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
287
+ $nested-kbd-font-weight: $font-weight-bold !default;
128
288
 
129
- //** Padding for `<th>`s and `<td>`s.
130
- $table-cell-padding: 8px !default;
131
- //** Padding for cells in `.table-condensed`.
132
- $table-condensed-cell-padding: 5px !default;
289
+ $list-inline-padding: .5rem !default;
133
290
 
134
- //** Default background color used for all tables.
135
- $table-bg: transparent !default;
136
- //** Background color used for `.table-striped`.
137
- $table-bg-accent: #f9f9f9 !default;
138
- //** Background color used for `.table-hover`.
139
- $table-bg-hover: #f5f5f5 !default;
140
- $table-bg-active: $table-bg-hover !default;
291
+ $mark-bg: #fcf8e3 !default;
141
292
 
142
- //** Border color for table and cell borders.
143
- $table-border-color: #ddd !default;
293
+ $hr-margin-y: $spacer !default;
144
294
 
145
295
 
146
- //== Buttons
296
+ // Tables
147
297
  //
148
- //## For each of Bootstrap's buttons, define text, background and border color.
298
+ // Customizes the `.table` component with basic values, each used across all table variations.
149
299
 
150
- $btn-font-weight: normal !default;
300
+ $table-cell-padding: .75rem !default;
301
+ $table-cell-padding-sm: .3rem !default;
151
302
 
152
- $btn-default-color: #333 !default;
153
- $btn-default-bg: #fff !default;
154
- $btn-default-border: #ccc !default;
303
+ $table-bg: transparent !default;
304
+ $table-accent-bg: rgba($black, .05) !default;
305
+ $table-hover-bg: rgba($black, .075) !default;
306
+ $table-active-bg: $table-hover-bg !default;
155
307
 
156
- $btn-primary-color: #fff !default;
157
- $btn-primary-bg: $brand-primary !default;
158
- $btn-primary-border: darken($btn-primary-bg, 5%) !default;
308
+ $table-border-width: $border-width !default;
309
+ $table-border-color: $gray-300 !default;
159
310
 
160
- $btn-success-color: #fff !default;
161
- $btn-success-bg: $brand-success !default;
162
- $btn-success-border: darken($btn-success-bg, 5%) !default;
311
+ $table-head-bg: $gray-200 !default;
312
+ $table-head-color: $gray-700 !default;
163
313
 
164
- $btn-info-color: #fff !default;
165
- $btn-info-bg: $brand-info !default;
166
- $btn-info-border: darken($btn-info-bg, 5%) !default;
314
+ $table-dark-bg: $gray-900 !default;
315
+ $table-dark-accent-bg: rgba($white, .05) !default;
316
+ $table-dark-hover-bg: rgba($white, .075) !default;
317
+ $table-dark-border-color: lighten($gray-900, 7.5%) !default;
318
+ $table-dark-color: $body-bg !default;
167
319
 
168
- $btn-warning-color: #fff !default;
169
- $btn-warning-bg: $brand-warning !default;
170
- $btn-warning-border: darken($btn-warning-bg, 5%) !default;
171
320
 
172
- $btn-danger-color: #fff !default;
173
- $btn-danger-bg: $brand-danger !default;
174
- $btn-danger-border: darken($btn-danger-bg, 5%) !default;
321
+ // Buttons + Forms
322
+ //
323
+ // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
324
+
325
+ $input-btn-padding-y: .375rem !default;
326
+ $input-btn-padding-x: .75rem !default;
327
+ $input-btn-line-height: $line-height-base !default;
328
+
329
+ $input-btn-focus-width: .2rem !default;
330
+ $input-btn-focus-color: rgba($component-active-bg, .25) !default;
331
+ $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
332
+
333
+ $input-btn-padding-y-sm: .25rem !default;
334
+ $input-btn-padding-x-sm: .5rem !default;
335
+ $input-btn-line-height-sm: $line-height-sm !default;
175
336
 
176
- $btn-link-disabled-color: $gray-light !default;
337
+ $input-btn-padding-y-lg: .5rem !default;
338
+ $input-btn-padding-x-lg: 1rem !default;
339
+ $input-btn-line-height-lg: $line-height-lg !default;
177
340
 
341
+ $input-btn-border-width: $border-width !default;
178
342
 
179
- //== Forms
343
+
344
+ // Buttons
180
345
  //
181
- //##
346
+ // For each of Bootstrap's buttons, define text, background, and border color.
182
347
 
183
- //** `<input>` background color
184
- $input-bg: #fff !default;
185
- //** `<input disabled>` background color
186
- $input-bg-disabled: $gray-lighter !default;
348
+ $btn-padding-y: $input-btn-padding-y !default;
349
+ $btn-padding-x: $input-btn-padding-x !default;
350
+ $btn-line-height: $input-btn-line-height !default;
187
351
 
188
- //** Text color for `<input>`s
189
- $input-color: $gray !default;
190
- //** `<input>` border color
191
- $input-border: #ccc !default;
352
+ $btn-padding-y-sm: $input-btn-padding-y-sm !default;
353
+ $btn-padding-x-sm: $input-btn-padding-x-sm !default;
354
+ $btn-line-height-sm: $input-btn-line-height-sm !default;
192
355
 
193
- // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
194
- //** Default `.form-control` border radius
195
- // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
196
- $input-border-radius: $border-radius-base !default;
197
- //** Large `.form-control` border radius
198
- $input-border-radius-large: $border-radius-large !default;
199
- //** Small `.form-control` border radius
200
- $input-border-radius-small: $border-radius-small !default;
356
+ $btn-padding-y-lg: $input-btn-padding-y-lg !default;
357
+ $btn-padding-x-lg: $input-btn-padding-x-lg !default;
358
+ $btn-line-height-lg: $input-btn-line-height-lg !default;
201
359
 
202
- //** Border color for inputs on focus
203
- $input-border-focus: #66afe9 !default;
360
+ $btn-border-width: $input-btn-border-width !default;
204
361
 
205
- //** Placeholder text color
206
- $input-color-placeholder: #999 !default;
362
+ $btn-font-weight: $font-weight-normal !default;
363
+ $btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
364
+ $btn-focus-width: $input-btn-focus-width !default;
365
+ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
366
+ $btn-disabled-opacity: .65 !default;
367
+ $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
207
368
 
208
- //** Default `.form-control` height
209
- $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
210
- //** Large `.form-control` height
211
- $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
212
- //** Small `.form-control` height
213
- $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
369
+ $btn-link-disabled-color: $gray-600 !default;
214
370
 
215
- //** `.form-group` margin
216
- $form-group-margin-bottom: 15px !default;
371
+ $btn-block-spacing-y: .5rem !default;
217
372
 
218
- $legend-color: $gray-dark !default;
219
- $legend-border-color: #e5e5e5 !default;
373
+ // Allows for customizing button radius independently from global border radius
374
+ $btn-border-radius: $border-radius !default;
375
+ $btn-border-radius-lg: $border-radius-lg !default;
376
+ $btn-border-radius-sm: $border-radius-sm !default;
220
377
 
221
- //** Background color for textual input addons
222
- $input-group-addon-bg: $gray-lighter !default;
223
- //** Border color for textual input addons
224
- $input-group-addon-border-color: $input-border !default;
378
+ $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;
225
379
 
226
- //** Disabled cursor for form controls and buttons.
227
- $cursor-disabled: not-allowed !default;
228
380
 
381
+ // Forms
229
382
 
230
- //== Dropdowns
231
- //
232
- //## Dropdown menu container and contents.
383
+ $input-padding-y: $input-btn-padding-y !default;
384
+ $input-padding-x: $input-btn-padding-x !default;
385
+ $input-line-height: $input-btn-line-height !default;
233
386
 
234
- //** Background for the dropdown menu.
235
- $dropdown-bg: #fff !default;
236
- //** Dropdown menu `border-color`.
237
- $dropdown-border: rgba(0,0,0,.15) !default;
238
- //** Dropdown menu `border-color` **for IE8**.
239
- $dropdown-fallback-border: #ccc !default;
240
- //** Divider color for between dropdown items.
241
- $dropdown-divider-bg: #e5e5e5 !default;
387
+ $input-padding-y-sm: $input-btn-padding-y-sm !default;
388
+ $input-padding-x-sm: $input-btn-padding-x-sm !default;
389
+ $input-line-height-sm: $input-btn-line-height-sm !default;
242
390
 
243
- //** Dropdown link text color.
244
- $dropdown-link-color: $gray-dark !default;
245
- //** Hover color for dropdown links.
246
- $dropdown-link-hover-color: darken($gray-dark, 5%) !default;
247
- //** Hover background for dropdown links.
248
- $dropdown-link-hover-bg: #f5f5f5 !default;
391
+ $input-padding-y-lg: $input-btn-padding-y-lg !default;
392
+ $input-padding-x-lg: $input-btn-padding-x-lg !default;
393
+ $input-line-height-lg: $input-btn-line-height-lg !default;
249
394
 
250
- //** Active dropdown menu item text color.
251
- $dropdown-link-active-color: $component-active-color !default;
252
- //** Active dropdown menu item background color.
253
- $dropdown-link-active-bg: $component-active-bg !default;
395
+ $input-bg: $white !default;
396
+ $input-disabled-bg: $gray-200 !default;
254
397
 
255
- //** Disabled dropdown menu item background color.
256
- $dropdown-link-disabled-color: $gray-light !default;
398
+ $input-color: $gray-700 !default;
399
+ $input-border-color: $gray-400 !default;
400
+ $input-border-width: $input-btn-border-width !default;
401
+ $input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;
257
402
 
258
- //** Text color for headers within dropdown menus.
259
- $dropdown-header-color: $gray-light !default;
403
+ $input-border-radius: $border-radius !default;
404
+ $input-border-radius-lg: $border-radius-lg !default;
405
+ $input-border-radius-sm: $border-radius-sm !default;
260
406
 
261
- //** Deprecated `$dropdown-caret-color` as of v3.1.0
262
- $dropdown-caret-color: #000 !default;
407
+ $input-focus-bg: $input-bg !default;
408
+ $input-focus-border-color: lighten($component-active-bg, 25%) !default;
409
+ $input-focus-color: $input-color !default;
410
+ $input-focus-width: $input-btn-focus-width !default;
411
+ $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
263
412
 
413
+ $input-placeholder-color: $gray-600 !default;
264
414
 
265
- //-- Z-index master list
266
- //
267
- // Warning: Avoid customizing these values. They're used for a bird's eye view
268
- // of components dependent on the z-axis and are designed to all work together.
269
- //
270
- // Note: These variables are not generated into the Customizer.
415
+ $input-height-border: $input-border-width * 2 !default;
271
416
 
272
- $zindex-navbar: 1000 !default;
273
- $zindex-dropdown: 1000 !default;
274
- $zindex-popover: 1060 !default;
275
- $zindex-tooltip: 1070 !default;
276
- $zindex-navbar-fixed: 1030 !default;
277
- $zindex-modal-background: 1040 !default;
278
- $zindex-modal: 1050 !default;
417
+ $input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
418
+ $input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
279
419
 
420
+ $input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
421
+ $input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
280
422
 
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 !default;
288
- //** Deprecated `$screen-xs-min` as of v3.2.0
289
- $screen-xs-min: $screen-xs !default;
290
- //** Deprecated `$screen-phone` as of v3.0.1
291
- $screen-phone: $screen-xs-min !default;
292
-
293
- // Small screen / tablet
294
- //** Deprecated `$screen-sm` as of v3.0.1
295
- $screen-sm: 768px !default;
296
- $screen-sm-min: $screen-sm !default;
297
- //** Deprecated `$screen-tablet` as of v3.0.1
298
- $screen-tablet: $screen-sm-min !default;
299
-
300
- // Medium screen / desktop
301
- //** Deprecated `$screen-md` as of v3.0.1
302
- $screen-md: 992px !default;
303
- $screen-md-min: $screen-md !default;
304
- //** Deprecated `$screen-desktop` as of v3.0.1
305
- $screen-desktop: $screen-md-min !default;
306
-
307
- // Large screen / wide desktop
308
- //** Deprecated `$screen-lg` as of v3.0.1
309
- $screen-lg: 1200px !default;
310
- $screen-lg-min: $screen-lg !default;
311
- //** Deprecated `$screen-lg-desktop` as of v3.0.1
312
- $screen-lg-desktop: $screen-lg-min !default;
313
-
314
- // So media queries don't overlap when required, provide a maximum
315
- $screen-xs-max: ($screen-sm-min - 1) !default;
316
- $screen-sm-max: ($screen-md-min - 1) !default;
317
- $screen-md-max: ($screen-lg-min - 1) !default;
318
-
319
-
320
- //== Grid system
321
- //
322
- //## Define your custom responsive grid.
423
+ $input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
424
+ $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
323
425
 
324
- //** Number of columns in the grid.
325
- $grid-columns: 12 !default;
326
- //** Padding between columns. Gets divided in half for the left and right.
327
- $grid-gutter-width: 30px !default;
328
- // Navbar collapse
329
- //** Point at which the navbar becomes uncollapsed.
330
- $grid-float-breakpoint: $screen-sm-min !default;
331
- //** Point at which the navbar begins collapsing.
332
- $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
426
+ $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
333
427
 
428
+ $form-text-margin-top: .25rem !default;
334
429
 
335
- //== Container sizes
336
- //
337
- //## Define the maximum width of `.container` for different screen sizes.
430
+ $form-check-input-gutter: 1.25rem !default;
431
+ $form-check-input-margin-y: .3rem !default;
432
+ $form-check-input-margin-x: .25rem !default;
338
433
 
339
- // Small screen / tablet
340
- $container-tablet: (720px + $grid-gutter-width) !default;
341
- //** For `$screen-sm-min` and up.
342
- $container-sm: $container-tablet !default;
434
+ $form-check-inline-margin-x: .75rem !default;
435
+ $form-check-inline-input-margin-x: .3125rem !default;
343
436
 
344
- // Medium screen / desktop
345
- $container-desktop: (940px + $grid-gutter-width) !default;
346
- //** For `$screen-md-min` and up.
347
- $container-md: $container-desktop !default;
437
+ $form-group-margin-bottom: 1rem !default;
348
438
 
349
- // Large screen / wide desktop
350
- $container-large-desktop: (1140px + $grid-gutter-width) !default;
351
- //** For `$screen-lg-min` and up.
352
- $container-lg: $container-large-desktop !default;
439
+ $input-group-addon-color: $input-color !default;
440
+ $input-group-addon-bg: $gray-200 !default;
441
+ $input-group-addon-border-color: $input-border-color !default;
353
442
 
443
+ $custom-control-gutter: 1.5rem !default;
444
+ $custom-control-spacer-x: 1rem !default;
354
445
 
355
- //== Navbar
356
- //
357
- //##
358
-
359
- // Basics of a navbar
360
- $navbar-height: 50px !default;
361
- $navbar-margin-bottom: $line-height-computed !default;
362
- $navbar-border-radius: $border-radius-base !default;
363
- $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
364
- $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
365
- $navbar-collapse-max-height: 340px !default;
366
-
367
- $navbar-default-color: #777 !default;
368
- $navbar-default-bg: #f8f8f8 !default;
369
- $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
370
-
371
- // Navbar links
372
- $navbar-default-link-color: #777 !default;
373
- $navbar-default-link-hover-color: #333 !default;
374
- $navbar-default-link-hover-bg: transparent !default;
375
- $navbar-default-link-active-color: #555 !default;
376
- $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
377
- $navbar-default-link-disabled-color: #ccc !default;
378
- $navbar-default-link-disabled-bg: transparent !default;
379
-
380
- // Navbar brand label
381
- $navbar-default-brand-color: $navbar-default-link-color !default;
382
- $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
383
- $navbar-default-brand-hover-bg: transparent !default;
384
-
385
- // Navbar toggle
386
- $navbar-default-toggle-hover-bg: #ddd !default;
387
- $navbar-default-toggle-icon-bar-bg: #888 !default;
388
- $navbar-default-toggle-border-color: #ddd !default;
389
-
390
-
391
- // Inverted navbar
392
- // Reset inverted navbar basics
393
- $navbar-inverse-color: lighten($gray-light, 15%) !default;
394
- $navbar-inverse-bg: #222 !default;
395
- $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
396
-
397
- // Inverted navbar links
398
- $navbar-inverse-link-color: lighten($gray-light, 15%) !default;
399
- $navbar-inverse-link-hover-color: #fff !default;
400
- $navbar-inverse-link-hover-bg: transparent !default;
401
- $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
402
- $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
403
- $navbar-inverse-link-disabled-color: #444 !default;
404
- $navbar-inverse-link-disabled-bg: transparent !default;
405
-
406
- // Inverted navbar brand label
407
- $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
408
- $navbar-inverse-brand-hover-color: #fff !default;
409
- $navbar-inverse-brand-hover-bg: transparent !default;
410
-
411
- // Inverted navbar toggle
412
- $navbar-inverse-toggle-hover-bg: #333 !default;
413
- $navbar-inverse-toggle-icon-bar-bg: #fff !default;
414
- $navbar-inverse-toggle-border-color: #333 !default;
415
-
416
-
417
- //== Navs
418
- //
419
- //##
446
+ $custom-control-indicator-size: 1rem !default;
447
+ $custom-control-indicator-bg: $gray-300 !default;
448
+ $custom-control-indicator-bg-size: 50% 50% !default;
449
+ $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
420
450
 
421
- //=== Shared nav styles
422
- $nav-link-padding: 10px 15px !default;
423
- $nav-link-hover-bg: $gray-lighter !default;
451
+ $custom-control-indicator-disabled-bg: $gray-200 !default;
452
+ $custom-control-label-disabled-color: $gray-600 !default;
424
453
 
425
- $nav-disabled-link-color: $gray-light !default;
426
- $nav-disabled-link-hover-color: $gray-light !default;
454
+ $custom-control-indicator-checked-color: $component-active-color !default;
455
+ $custom-control-indicator-checked-bg: $component-active-bg !default;
456
+ $custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
457
+ $custom-control-indicator-checked-box-shadow: none !default;
427
458
 
428
- //== Tabs
429
- $nav-tabs-border-color: #ddd !default;
459
+ $custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
430
460
 
431
- $nav-tabs-link-hover-border-color: $gray-lighter !default;
461
+ $custom-control-indicator-active-color: $component-active-color !default;
462
+ $custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default;
463
+ $custom-control-indicator-active-box-shadow: none !default;
432
464
 
433
- $nav-tabs-active-link-hover-bg: $body-bg !default;
434
- $nav-tabs-active-link-hover-color: $gray !default;
435
- $nav-tabs-active-link-hover-border-color: #ddd !default;
465
+ $custom-checkbox-indicator-border-radius: $border-radius !default;
466
+ $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;
436
467
 
437
- $nav-tabs-justified-link-border-color: #ddd !default;
438
- $nav-tabs-justified-active-link-border-color: $body-bg !default;
468
+ $custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
469
+ $custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
470
+ $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;
471
+ $custom-checkbox-indicator-indeterminate-box-shadow: none !default;
439
472
 
440
- //== Pills
441
- $nav-pills-border-radius: $border-radius-base !default;
442
- $nav-pills-active-link-hover-bg: $component-active-bg !default;
443
- $nav-pills-active-link-hover-color: $component-active-color !default;
473
+ $custom-radio-indicator-border-radius: 50% !default;
474
+ $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;
444
475
 
476
+ $custom-select-padding-y: .375rem !default;
477
+ $custom-select-padding-x: .75rem !default;
478
+ $custom-select-height: $input-height !default;
479
+ $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
480
+ $custom-select-line-height: $input-btn-line-height !default;
481
+ $custom-select-color: $input-color !default;
482
+ $custom-select-disabled-color: $gray-600 !default;
483
+ $custom-select-bg: $white !default;
484
+ $custom-select-disabled-bg: $gray-200 !default;
485
+ $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
486
+ $custom-select-indicator-color: $gray-800 !default;
487
+ $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;
488
+ $custom-select-border-width: $input-btn-border-width !default;
489
+ $custom-select-border-color: $input-border-color !default;
490
+ $custom-select-border-radius: $border-radius !default;
445
491
 
446
- //== Pagination
447
- //
448
- //##
492
+ $custom-select-focus-border-color: $input-focus-border-color !default;
493
+ $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
449
494
 
450
- $pagination-color: $link-color !default;
451
- $pagination-bg: #fff !default;
452
- $pagination-border: #ddd !default;
495
+ $custom-select-font-size-sm: 75% !default;
496
+ $custom-select-height-sm: $input-height-sm !default;
453
497
 
454
- $pagination-hover-color: $link-hover-color !default;
455
- $pagination-hover-bg: $gray-lighter !default;
456
- $pagination-hover-border: #ddd !default;
498
+ $custom-select-font-size-lg: 125% !default;
499
+ $custom-select-height-lg: $input-height-lg !default;
457
500
 
458
- $pagination-active-color: #fff !default;
459
- $pagination-active-bg: $brand-primary !default;
460
- $pagination-active-border: $brand-primary !default;
501
+ $custom-file-height: $input-height !default;
502
+ $custom-file-focus-border-color: $input-focus-border-color !default;
503
+ $custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;
461
504
 
462
- $pagination-disabled-color: $gray-light !default;
463
- $pagination-disabled-bg: #fff !default;
464
- $pagination-disabled-border: #ddd !default;
505
+ $custom-file-padding-y: $input-btn-padding-y !default;
506
+ $custom-file-padding-x: $input-btn-padding-x !default;
507
+ $custom-file-line-height: $input-btn-line-height !default;
508
+ $custom-file-color: $input-color !default;
509
+ $custom-file-bg: $input-bg !default;
510
+ $custom-file-border-width: $input-btn-border-width !default;
511
+ $custom-file-border-color: $input-border-color !default;
512
+ $custom-file-border-radius: $input-border-radius !default;
513
+ $custom-file-box-shadow: $input-box-shadow !default;
514
+ $custom-file-button-color: $custom-file-color !default;
515
+ $custom-file-button-bg: $input-group-addon-bg !default;
516
+ $custom-file-text: (
517
+ en: "Browse"
518
+ ) !default;
465
519
 
466
520
 
467
- //== Pager
521
+ // Form validation
522
+ $form-feedback-margin-top: $form-text-margin-top !default;
523
+ $form-feedback-font-size: $small-font-size !default;
524
+ $form-feedback-valid-color: theme-color("success") !default;
525
+ $form-feedback-invalid-color: theme-color("danger") !default;
526
+
527
+
528
+ // Dropdowns
468
529
  //
469
- //##
530
+ // Dropdown menu container and contents.
531
+
532
+ $dropdown-min-width: 10rem !default;
533
+ $dropdown-padding-y: .5rem !default;
534
+ $dropdown-spacer: .125rem !default;
535
+ $dropdown-bg: $white !default;
536
+ $dropdown-border-color: rgba($black, .15) !default;
537
+ $dropdown-border-radius: $border-radius !default;
538
+ $dropdown-border-width: $border-width !default;
539
+ $dropdown-divider-bg: $gray-200 !default;
540
+ $dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;
470
541
 
471
- $pager-bg: $pagination-bg !default;
472
- $pager-border: $pagination-border !default;
473
- $pager-border-radius: 15px !default;
542
+ $dropdown-link-color: $gray-900 !default;
543
+ $dropdown-link-hover-color: darken($gray-900, 5%) !default;
544
+ $dropdown-link-hover-bg: $gray-100 !default;
474
545
 
475
- $pager-hover-bg: $pagination-hover-bg !default;
546
+ $dropdown-link-active-color: $component-active-color !default;
547
+ $dropdown-link-active-bg: $component-active-bg !default;
476
548
 
477
- $pager-active-bg: $pagination-active-bg !default;
478
- $pager-active-color: $pagination-active-color !default;
549
+ $dropdown-link-disabled-color: $gray-600 !default;
479
550
 
480
- $pager-disabled-color: $pagination-disabled-color !default;
551
+ $dropdown-item-padding-y: .25rem !default;
552
+ $dropdown-item-padding-x: 1.5rem !default;
553
+
554
+ $dropdown-header-color: $gray-600 !default;
481
555
 
482
556
 
483
- //== Jumbotron
557
+ // Z-index master list
484
558
  //
485
- //##
559
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
560
+ // of components dependent on the z-axis and are designed to all work together.
486
561
 
487
- $jumbotron-padding: 30px !default;
488
- $jumbotron-color: inherit !default;
489
- $jumbotron-bg: $gray-lighter !default;
490
- $jumbotron-heading-color: inherit !default;
491
- $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
562
+ $zindex-dropdown: 1000 !default;
563
+ $zindex-sticky: 1020 !default;
564
+ $zindex-fixed: 1030 !default;
565
+ $zindex-modal-backdrop: 1040 !default;
566
+ $zindex-modal: 1050 !default;
567
+ $zindex-popover: 1060 !default;
568
+ $zindex-tooltip: 1070 !default;
492
569
 
570
+ // Navs
493
571
 
494
- //== Form states and alerts
495
- //
496
- //## Define colors for form feedback states and, by default, alerts.
572
+ $nav-link-padding-y: .5rem !default;
573
+ $nav-link-padding-x: 1rem !default;
574
+ $nav-link-disabled-color: $gray-600 !default;
497
575
 
498
- $state-success-text: #3c763d !default;
499
- $state-success-bg: #dff0d8 !default;
500
- $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
576
+ $nav-tabs-border-color: $gray-300 !default;
577
+ $nav-tabs-border-width: $border-width !default;
578
+ $nav-tabs-border-radius: $border-radius !default;
579
+ $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
580
+ $nav-tabs-link-active-color: $gray-700 !default;
581
+ $nav-tabs-link-active-bg: $body-bg !default;
582
+ $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
501
583
 
502
- $state-info-text: #31708f !default;
503
- $state-info-bg: #d9edf7 !default;
504
- $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
584
+ $nav-pills-border-radius: $border-radius !default;
585
+ $nav-pills-link-active-color: $component-active-color !default;
586
+ $nav-pills-link-active-bg: $component-active-bg !default;
505
587
 
506
- $state-warning-text: #8a6d3b !default;
507
- $state-warning-bg: #fcf8e3 !default;
508
- $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
588
+ // Navbar
509
589
 
510
- $state-danger-text: #a94442 !default;
511
- $state-danger-bg: #f2dede !default;
512
- $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
590
+ $navbar-padding-y: ($spacer / 2) !default;
591
+ $navbar-padding-x: $spacer !default;
513
592
 
593
+ $navbar-nav-link-padding-x: .5rem !default;
514
594
 
515
- //== Tooltips
516
- //
517
- //##
595
+ $navbar-brand-font-size: $font-size-lg !default;
596
+ // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
597
+ $nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
598
+ $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
599
+ $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
600
+
601
+ $navbar-toggler-padding-y: .25rem !default;
602
+ $navbar-toggler-padding-x: .75rem !default;
603
+ $navbar-toggler-font-size: $font-size-lg !default;
604
+ $navbar-toggler-border-radius: $btn-border-radius !default;
605
+
606
+ $navbar-dark-color: rgba($white, .5) !default;
607
+ $navbar-dark-hover-color: rgba($white, .75) !default;
608
+ $navbar-dark-active-color: $white !default;
609
+ $navbar-dark-disabled-color: rgba($white, .25) !default;
610
+ $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;
611
+ $navbar-dark-toggler-border-color: rgba($white, .1) !default;
518
612
 
519
- //** Tooltip max width
613
+ $navbar-light-color: rgba($black, .5) !default;
614
+ $navbar-light-hover-color: rgba($black, .7) !default;
615
+ $navbar-light-active-color: rgba($black, .9) !default;
616
+ $navbar-light-disabled-color: rgba($black, .3) !default;
617
+ $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;
618
+ $navbar-light-toggler-border-color: rgba($black, .1) !default;
619
+
620
+ // Pagination
621
+
622
+ $pagination-padding-y: .5rem !default;
623
+ $pagination-padding-x: .75rem !default;
624
+ $pagination-padding-y-sm: .25rem !default;
625
+ $pagination-padding-x-sm: .5rem !default;
626
+ $pagination-padding-y-lg: .75rem !default;
627
+ $pagination-padding-x-lg: 1.5rem !default;
628
+ $pagination-line-height: 1.25 !default;
629
+
630
+ $pagination-color: $link-color !default;
631
+ $pagination-bg: $white !default;
632
+ $pagination-border-width: $border-width !default;
633
+ $pagination-border-color: $gray-300 !default;
634
+
635
+ $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
636
+
637
+ $pagination-hover-color: $link-hover-color !default;
638
+ $pagination-hover-bg: $gray-200 !default;
639
+ $pagination-hover-border-color: $gray-300 !default;
640
+
641
+ $pagination-active-color: $component-active-color !default;
642
+ $pagination-active-bg: $component-active-bg !default;
643
+ $pagination-active-border-color: $pagination-active-bg !default;
644
+
645
+ $pagination-disabled-color: $gray-600 !default;
646
+ $pagination-disabled-bg: $white !default;
647
+ $pagination-disabled-border-color: $gray-300 !default;
648
+
649
+
650
+ // Jumbotron
651
+
652
+ $jumbotron-padding: 2rem !default;
653
+ $jumbotron-bg: $gray-200 !default;
654
+
655
+
656
+ // Cards
657
+
658
+ $card-spacer-y: .75rem !default;
659
+ $card-spacer-x: 1.25rem !default;
660
+ $card-border-width: $border-width !default;
661
+ $card-border-radius: $border-radius !default;
662
+ $card-border-color: rgba($black, .125) !default;
663
+ $card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
664
+ $card-cap-bg: rgba($black, .03) !default;
665
+ $card-bg: $white !default;
666
+
667
+ $card-img-overlay-padding: 1.25rem !default;
668
+
669
+ $card-group-margin: ($grid-gutter-width / 2) !default;
670
+ $card-deck-margin: $card-group-margin !default;
671
+
672
+ $card-columns-count: 3 !default;
673
+ $card-columns-gap: 1.25rem !default;
674
+ $card-columns-margin: $card-spacer-y !default;
675
+
676
+
677
+ // Tooltips
678
+
679
+ $tooltip-font-size: $font-size-sm !default;
520
680
  $tooltip-max-width: 200px !default;
521
- //** Tooltip text color
522
- $tooltip-color: #fff !default;
523
- //** Tooltip background color
524
- $tooltip-bg: #000 !default;
681
+ $tooltip-color: $white !default;
682
+ $tooltip-bg: $black !default;
683
+ $tooltip-border-radius: $border-radius !default;
525
684
  $tooltip-opacity: .9 !default;
685
+ $tooltip-padding-y: .25rem !default;
686
+ $tooltip-padding-x: .5rem !default;
687
+ $tooltip-margin: 0 !default;
526
688
 
527
- //** Tooltip arrow width
528
- $tooltip-arrow-width: 5px !default;
529
- //** Tooltip arrow color
689
+ $tooltip-arrow-width: .8rem !default;
690
+ $tooltip-arrow-height: .4rem !default;
530
691
  $tooltip-arrow-color: $tooltip-bg !default;
531
692
 
532
693
 
533
- //== Popovers
534
- //
535
- //##
536
-
537
- //** Popover body background color
538
- $popover-bg: #fff !default;
539
- //** Popover maximum width
540
- $popover-max-width: 276px !default;
541
- //** Popover border color
542
- $popover-border-color: rgba(0,0,0,.2) !default;
543
- //** Popover fallback border color
544
- $popover-fallback-border-color: #ccc !default;
545
-
546
- //** Popover title background color
547
- $popover-title-bg: darken($popover-bg, 3%) !default;
548
-
549
- //** Popover arrow width
550
- $popover-arrow-width: 10px !default;
551
- //** Popover arrow color
552
- $popover-arrow-color: $popover-bg !default;
553
-
554
- //** Popover outer arrow width
555
- $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
556
- //** Popover outer arrow color
557
- $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
558
- //** Popover outer arrow fallback color
559
- $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
560
-
561
-
562
- //== Labels
563
- //
564
- //##
565
-
566
- //** Default label background color
567
- $label-default-bg: $gray-light !default;
568
- //** Primary label background color
569
- $label-primary-bg: $brand-primary !default;
570
- //** Success label background color
571
- $label-success-bg: $brand-success !default;
572
- //** Info label background color
573
- $label-info-bg: $brand-info !default;
574
- //** Warning label background color
575
- $label-warning-bg: $brand-warning !default;
576
- //** Danger label background color
577
- $label-danger-bg: $brand-danger !default;
578
-
579
- //** Default label text color
580
- $label-color: #fff !default;
581
- //** Default text color of a linked label
582
- $label-link-hover-color: #fff !default;
583
-
584
-
585
- //== Modals
586
- //
587
- //##
588
-
589
- //** Padding applied to the modal body
590
- $modal-inner-padding: 15px !default;
591
-
592
- //** Padding applied to the modal title
593
- $modal-title-padding: 15px !default;
594
- //** Modal title line-height
595
- $modal-title-line-height: $line-height-base !default;
596
-
597
- //** Background color of modal content area
598
- $modal-content-bg: #fff !default;
599
- //** Modal content border color
600
- $modal-content-border-color: rgba(0,0,0,.2) !default;
601
- //** Modal content border color **for IE8**
602
- $modal-content-fallback-border-color: #999 !default;
603
-
604
- //** Modal backdrop background color
605
- $modal-backdrop-bg: #000 !default;
606
- //** Modal backdrop opacity
607
- $modal-backdrop-opacity: .5 !default;
608
- //** Modal header border color
609
- $modal-header-border-color: #e5e5e5 !default;
610
- //** Modal footer border color
611
- $modal-footer-border-color: $modal-header-border-color !default;
694
+ // Popovers
612
695
 
613
- $modal-lg: 900px !default;
614
- $modal-md: 600px !default;
615
- $modal-sm: 300px !default;
696
+ $popover-font-size: $font-size-sm !default;
697
+ $popover-bg: $white !default;
698
+ $popover-max-width: 276px !default;
699
+ $popover-border-width: $border-width !default;
700
+ $popover-border-color: rgba($black, .2) !default;
701
+ $popover-border-radius: $border-radius-lg !default;
702
+ $popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;
616
703
 
704
+ $popover-header-bg: darken($popover-bg, 3%) !default;
705
+ $popover-header-color: $headings-color !default;
706
+ $popover-header-padding-y: .5rem !default;
707
+ $popover-header-padding-x: .75rem !default;
617
708
 
618
- //== Alerts
619
- //
620
- //## Define alert colors, border radius, and padding.
709
+ $popover-body-color: $body-color !default;
710
+ $popover-body-padding-y: $popover-header-padding-y !default;
711
+ $popover-body-padding-x: $popover-header-padding-x !default;
621
712
 
622
- $alert-padding: 15px !default;
623
- $alert-border-radius: $border-radius-base !default;
624
- $alert-link-font-weight: bold !default;
713
+ $popover-arrow-width: 1rem !default;
714
+ $popover-arrow-height: .5rem !default;
715
+ $popover-arrow-color: $popover-bg !default;
625
716
 
626
- $alert-success-bg: $state-success-bg !default;
627
- $alert-success-text: $state-success-text !default;
628
- $alert-success-border: $state-success-border !default;
717
+ $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
629
718
 
630
- $alert-info-bg: $state-info-bg !default;
631
- $alert-info-text: $state-info-text !default;
632
- $alert-info-border: $state-info-border !default;
633
719
 
634
- $alert-warning-bg: $state-warning-bg !default;
635
- $alert-warning-text: $state-warning-text !default;
636
- $alert-warning-border: $state-warning-border !default;
720
+ // Badges
637
721
 
638
- $alert-danger-bg: $state-danger-bg !default;
639
- $alert-danger-text: $state-danger-text !default;
640
- $alert-danger-border: $state-danger-border !default;
722
+ $badge-font-size: 75% !default;
723
+ $badge-font-weight: $font-weight-bold !default;
724
+ $badge-padding-y: .25em !default;
725
+ $badge-padding-x: .4em !default;
726
+ $badge-border-radius: $border-radius !default;
641
727
 
728
+ $badge-pill-padding-x: .6em !default;
729
+ // Use a higher than normal value to ensure completely rounded edges when
730
+ // customizing padding or font-size on labels.
731
+ $badge-pill-border-radius: 10rem !default;
642
732
 
643
- //== Progress bars
644
- //
645
- //##
646
-
647
- //** Background color of the whole progress component
648
- $progress-bg: #f5f5f5 !default;
649
- //** Progress bar text color
650
- $progress-bar-color: #fff !default;
651
- //** Variable for setting rounded corners on progress bar.
652
- $progress-border-radius: $border-radius-base !default;
653
-
654
- //** Default progress bar color
655
- $progress-bar-bg: $brand-primary !default;
656
- //** Success progress bar color
657
- $progress-bar-success-bg: $brand-success !default;
658
- //** Warning progress bar color
659
- $progress-bar-warning-bg: $brand-warning !default;
660
- //** Danger progress bar color
661
- $progress-bar-danger-bg: $brand-danger !default;
662
- //** Info progress bar color
663
- $progress-bar-info-bg: $brand-info !default;
664
-
665
-
666
- //== List group
667
- //
668
- //##
669
-
670
- //** Background color on `.list-group-item`
671
- $list-group-bg: #fff !default;
672
- //** `.list-group-item` border color
673
- $list-group-border: #ddd !default;
674
- //** List group border radius
675
- $list-group-border-radius: $border-radius-base !default;
676
-
677
- //** Background color of single list items on hover
678
- $list-group-hover-bg: #f5f5f5 !default;
679
- //** Text color of active list items
680
- $list-group-active-color: $component-active-color !default;
681
- //** Background color of active list items
682
- $list-group-active-bg: $component-active-bg !default;
683
- //** Border color of active list elements
684
- $list-group-active-border: $list-group-active-bg !default;
685
- //** Text color for content within active list items
686
- $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
687
-
688
- //** Text color of disabled list items
689
- $list-group-disabled-color: $gray-light !default;
690
- //** Background color of disabled list items
691
- $list-group-disabled-bg: $gray-lighter !default;
692
- //** Text color for content within disabled list items
693
- $list-group-disabled-text-color: $list-group-disabled-color !default;
694
-
695
- $list-group-link-color: #555 !default;
696
- $list-group-link-hover-color: $list-group-link-color !default;
697
- $list-group-link-heading-color: #333 !default;
698
-
699
-
700
- //== Panels
701
- //
702
- //##
703
733
 
704
- $panel-bg: #fff !default;
705
- $panel-body-padding: 15px !default;
706
- $panel-heading-padding: 10px 15px !default;
707
- $panel-footer-padding: $panel-heading-padding !default;
708
- $panel-border-radius: $border-radius-base !default;
734
+ // Modals
709
735
 
710
- //** Border color for elements within panels
711
- $panel-inner-border: #ddd !default;
712
- $panel-footer-bg: #f5f5f5 !default;
736
+ // Padding applied to the modal body
737
+ $modal-inner-padding: 1rem !default;
713
738
 
714
- $panel-default-text: $gray-dark !default;
715
- $panel-default-border: #ddd !default;
716
- $panel-default-heading-bg: #f5f5f5 !default;
739
+ $modal-dialog-margin: .5rem !default;
740
+ $modal-dialog-margin-y-sm-up: 1.75rem !default;
717
741
 
718
- $panel-primary-text: #fff !default;
719
- $panel-primary-border: $brand-primary !default;
720
- $panel-primary-heading-bg: $brand-primary !default;
742
+ $modal-title-line-height: $line-height-base !default;
721
743
 
722
- $panel-success-text: $state-success-text !default;
723
- $panel-success-border: $state-success-border !default;
724
- $panel-success-heading-bg: $state-success-bg !default;
744
+ $modal-content-bg: $white !default;
745
+ $modal-content-border-color: rgba($black, .2) !default;
746
+ $modal-content-border-width: $border-width !default;
747
+ $modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
748
+ $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
725
749
 
726
- $panel-info-text: $state-info-text !default;
727
- $panel-info-border: $state-info-border !default;
728
- $panel-info-heading-bg: $state-info-bg !default;
750
+ $modal-backdrop-bg: $black !default;
751
+ $modal-backdrop-opacity: .5 !default;
752
+ $modal-header-border-color: $gray-200 !default;
753
+ $modal-footer-border-color: $modal-header-border-color !default;
754
+ $modal-header-border-width: $modal-content-border-width !default;
755
+ $modal-footer-border-width: $modal-header-border-width !default;
756
+ $modal-header-padding: 1rem !default;
729
757
 
730
- $panel-warning-text: $state-warning-text !default;
731
- $panel-warning-border: $state-warning-border !default;
732
- $panel-warning-heading-bg: $state-warning-bg !default;
758
+ $modal-lg: 800px !default;
759
+ $modal-md: 500px !default;
760
+ $modal-sm: 300px !default;
733
761
 
734
- $panel-danger-text: $state-danger-text !default;
735
- $panel-danger-border: $state-danger-border !default;
736
- $panel-danger-heading-bg: $state-danger-bg !default;
762
+ $modal-transition: transform .3s ease-out !default;
737
763
 
738
764
 
739
- //== Thumbnails
765
+ // Alerts
740
766
  //
741
- //##
767
+ // Define alert colors, border radius, and padding.
742
768
 
743
- //** Padding around the thumbnail image
744
- $thumbnail-padding: 4px !default;
745
- //** Thumbnail background color
746
- $thumbnail-bg: $body-bg !default;
747
- //** Thumbnail border color
748
- $thumbnail-border: #ddd !default;
749
- //** Thumbnail border radius
750
- $thumbnail-border-radius: $border-radius-base !default;
769
+ $alert-padding-y: .75rem !default;
770
+ $alert-padding-x: 1.25rem !default;
771
+ $alert-margin-bottom: 1rem !default;
772
+ $alert-border-radius: $border-radius !default;
773
+ $alert-link-font-weight: $font-weight-bold !default;
774
+ $alert-border-width: $border-width !default;
751
775
 
752
- //** Custom text color for thumbnail captions
753
- $thumbnail-caption-color: $text-color !default;
754
- //** Padding around the thumbnail caption
755
- $thumbnail-caption-padding: 9px !default;
776
+ $alert-bg-level: -10 !default;
777
+ $alert-border-level: -9 !default;
778
+ $alert-color-level: 6 !default;
756
779
 
757
780
 
758
- //== Wells
759
- //
760
- //##
781
+ // Progress bars
761
782
 
762
- $well-bg: #f5f5f5 !default;
763
- $well-border: darken($well-bg, 7%) !default;
783
+ $progress-height: 1rem !default;
784
+ $progress-font-size: ($font-size-base * .75) !default;
785
+ $progress-bg: $gray-200 !default;
786
+ $progress-border-radius: $border-radius !default;
787
+ $progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
788
+ $progress-bar-color: $white !default;
789
+ $progress-bar-bg: theme-color("primary") !default;
790
+ $progress-bar-animation-timing: 1s linear infinite !default;
791
+ $progress-bar-transition: width .6s ease !default;
764
792
 
793
+ // List group
765
794
 
766
- //== Badges
767
- //
768
- //##
795
+ $list-group-bg: $white !default;
796
+ $list-group-border-color: rgba($black, .125) !default;
797
+ $list-group-border-width: $border-width !default;
798
+ $list-group-border-radius: $border-radius !default;
769
799
 
770
- $badge-color: #fff !default;
771
- //** Linked badge text color on hover
772
- $badge-link-hover-color: #fff !default;
773
- $badge-bg: $gray-light !default;
800
+ $list-group-item-padding-y: .75rem !default;
801
+ $list-group-item-padding-x: 1.25rem !default;
774
802
 
775
- //** Badge text color in active nav link
776
- $badge-active-color: $link-color !default;
777
- //** Badge background color in active nav link
778
- $badge-active-bg: #fff !default;
803
+ $list-group-hover-bg: $gray-100 !default;
804
+ $list-group-active-color: $component-active-color !default;
805
+ $list-group-active-bg: $component-active-bg !default;
806
+ $list-group-active-border-color: $list-group-active-bg !default;
779
807
 
780
- $badge-font-weight: bold !default;
781
- $badge-line-height: 1 !default;
782
- $badge-border-radius: 10px !default;
808
+ $list-group-disabled-color: $gray-600 !default;
809
+ $list-group-disabled-bg: $list-group-bg !default;
783
810
 
811
+ $list-group-action-color: $gray-700 !default;
812
+ $list-group-action-hover-color: $list-group-action-color !default;
784
813
 
785
- //== Breadcrumbs
786
- //
787
- //##
814
+ $list-group-action-active-color: $body-color !default;
815
+ $list-group-action-active-bg: $gray-200 !default;
788
816
 
789
- $breadcrumb-padding-vertical: 8px !default;
790
- $breadcrumb-padding-horizontal: 15px !default;
791
- //** Breadcrumb background color
792
- $breadcrumb-bg: #f5f5f5 !default;
793
- //** Breadcrumb text color
794
- $breadcrumb-color: #ccc !default;
795
- //** Text color of current page in the breadcrumb
796
- $breadcrumb-active-color: $gray-light !default;
797
- //** Textual separator for between breadcrumb elements
798
- $breadcrumb-separator: "/" !default;
799
817
 
818
+ // Image thumbnails
800
819
 
801
- //== Carousel
802
- //
803
- //##
820
+ $thumbnail-padding: .25rem !default;
821
+ $thumbnail-bg: $body-bg !default;
822
+ $thumbnail-border-width: $border-width !default;
823
+ $thumbnail-border-color: $gray-300 !default;
824
+ $thumbnail-border-radius: $border-radius !default;
825
+ $thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;
804
826
 
805
- $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
806
827
 
807
- $carousel-control-color: #fff !default;
808
- $carousel-control-width: 15% !default;
809
- $carousel-control-opacity: .5 !default;
810
- $carousel-control-font-size: 20px !default;
828
+ // Figures
811
829
 
812
- $carousel-indicator-active-bg: #fff !default;
813
- $carousel-indicator-border-color: #fff !default;
830
+ $figure-caption-font-size: 90% !default;
831
+ $figure-caption-color: $gray-600 !default;
814
832
 
815
- $carousel-caption-color: #fff !default;
816
833
 
834
+ // Breadcrumbs
817
835
 
818
- //== Close
819
- //
820
- //##
836
+ $breadcrumb-padding-y: .75rem !default;
837
+ $breadcrumb-padding-x: 1rem !default;
838
+ $breadcrumb-item-padding: .5rem !default;
821
839
 
822
- $close-font-weight: bold !default;
823
- $close-color: #000 !default;
824
- $close-text-shadow: 0 1px 0 #fff !default;
840
+ $breadcrumb-margin-bottom: 1rem !default;
825
841
 
842
+ $breadcrumb-bg: $gray-200 !default;
843
+ $breadcrumb-divider-color: $gray-600 !default;
844
+ $breadcrumb-active-color: $gray-600 !default;
845
+ $breadcrumb-divider: "/" !default;
826
846
 
827
- //== Code
828
- //
829
- //##
830
847
 
831
- $code-color: #c7254e !default;
832
- $code-bg: #f9f2f4 !default;
848
+ // Carousel
833
849
 
834
- $kbd-color: #fff !default;
835
- $kbd-bg: #333 !default;
850
+ $carousel-control-color: $white !default;
851
+ $carousel-control-width: 15% !default;
852
+ $carousel-control-opacity: .5 !default;
836
853
 
837
- $pre-bg: #f5f5f5 !default;
838
- $pre-color: $gray-dark !default;
839
- $pre-border-color: #ccc !default;
840
- $pre-scrollable-max-height: 340px !default;
854
+ $carousel-indicator-width: 30px !default;
855
+ $carousel-indicator-height: 3px !default;
856
+ $carousel-indicator-spacer: 3px !default;
857
+ $carousel-indicator-active-bg: $white !default;
841
858
 
859
+ $carousel-caption-width: 70% !default;
860
+ $carousel-caption-color: $white !default;
842
861
 
843
- //== Type
844
- //
845
- //##
846
-
847
- //** Horizontal offset for forms and lists.
848
- $component-offset-horizontal: 180px !default;
849
- //** Text muted color
850
- $text-muted: $gray-light !default;
851
- //** Abbreviations and acronyms border color
852
- $abbr-border-color: $gray-light !default;
853
- //** Headings small color
854
- $headings-small-color: $gray-light !default;
855
- //** Blockquote small color
856
- $blockquote-small-color: $gray-light !default;
857
- //** Blockquote font size
858
- $blockquote-font-size: ($font-size-base * 1.25) !default;
859
- //** Blockquote border color
860
- $blockquote-border-color: $gray-lighter !default;
861
- //** Page header border color
862
- $page-header-border-color: $gray-lighter !default;
863
- //** Width of horizontal description list titles
864
- $dl-horizontal-offset: $component-offset-horizontal !default;
865
- //** Horizontal line color.
866
- $hr-border: $gray-lighter !default;
862
+ $carousel-control-icon-width: 20px !default;
863
+
864
+ $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;
865
+ $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;
866
+
867
+ $carousel-transition: transform .6s ease !default;
868
+
869
+
870
+ // Close
871
+
872
+ $close-font-size: $font-size-base * 1.5 !default;
873
+ $close-font-weight: $font-weight-bold !default;
874
+ $close-color: $black !default;
875
+ $close-text-shadow: 0 1px 0 $white !default;
876
+
877
+ // Code
878
+
879
+ $code-font-size: 87.5% !default;
880
+ $code-color: $pink !default;
881
+
882
+ $kbd-padding-y: .2rem !default;
883
+ $kbd-padding-x: .4rem !default;
884
+ $kbd-font-size: $code-font-size !default;
885
+ $kbd-color: $white !default;
886
+ $kbd-bg: $gray-900 !default;
887
+
888
+ $pre-color: $gray-900 !default;
889
+ $pre-scrollable-max-height: 340px !default;
890
+
891
+
892
+ // Printing
893
+ $print-page-size: a3 !default;
894
+ $print-body-min-width: map-get($grid-breakpoints, "lg") !default;