flipper-ui 0.17.2 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/ui/README.md +15 -5
- data/examples/ui/basic.ru +19 -0
- data/flipper-ui.gemspec +1 -2
- data/lib/flipper/ui.rb +0 -3
- data/lib/flipper/ui/action.rb +2 -1
- data/lib/flipper/ui/actions/feature.rb +5 -2
- data/lib/flipper/ui/actions/features.rb +1 -0
- data/lib/flipper/ui/actions/file.rb +1 -1
- data/lib/flipper/ui/assets/javascripts/application.coffee +5 -3
- data/lib/flipper/ui/configuration.rb +14 -10
- data/lib/flipper/ui/decorators/feature.rb +39 -13
- data/lib/flipper/ui/public/css/application.css +20 -6493
- data/lib/flipper/ui/public/js/application.js +5 -5
- data/lib/flipper/ui/util.rb +40 -0
- data/lib/flipper/ui/views/add_actor.erb +1 -1
- data/lib/flipper/ui/views/add_feature.erb +1 -1
- data/lib/flipper/ui/views/add_group.erb +1 -1
- data/lib/flipper/ui/views/feature.erb +198 -179
- data/lib/flipper/ui/views/features.erb +42 -36
- data/lib/flipper/ui/views/layout.erb +4 -14
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/ui/actions/actors_gate_spec.rb +0 -4
- data/spec/flipper/ui/actions/feature_spec.rb +14 -16
- data/spec/flipper/ui/actions/features_spec.rb +1 -5
- data/spec/flipper/ui/actions/file_spec.rb +0 -10
- data/spec/flipper/ui/actions/groups_gate_spec.rb +0 -6
- data/spec/flipper/ui/actions/percentage_of_actors_gate_spec.rb +0 -2
- data/spec/flipper/ui/actions/percentage_of_time_gate_spec.rb +0 -2
- data/spec/flipper/ui/configuration_spec.rb +21 -34
- data/spec/flipper/ui/decorators/feature_spec.rb +0 -30
- metadata +5 -121
- data/lib/flipper/ui/assets/stylesheets/.DS_Store +0 -0
- data/lib/flipper/ui/assets/stylesheets/application.scss +0 -19
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_alert.scss +0 -51
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_badge.scss +0 -47
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumb.scss +0 -38
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-group.scss +0 -166
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_buttons.scss +0 -143
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_card.scss +0 -270
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_carousel.scss +0 -191
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_close.scss +0 -34
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_code.scss +0 -56
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_custom-forms.scss +0 -297
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdown.scss +0 -131
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_forms.scss +0 -333
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_functions.scss +0 -86
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_grid.scss +0 -52
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_images.scss +0 -42
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-group.scss +0 -159
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_jumbotron.scss +0 -16
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_list-group.scss +0 -115
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_media.scss +0 -8
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_mixins.scss +0 -42
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_modal.scss +0 -168
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_nav.scss +0 -118
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_navbar.scss +0 -311
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_pagination.scss +0 -77
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_popover.scss +0 -183
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_print.scss +0 -124
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress.scss +0 -33
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_reboot.scss +0 -482
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_root.scss +0 -19
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tables.scss +0 -180
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tooltip.scss +0 -115
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_transitions.scss +0 -36
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_type.scss +0 -125
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_utilities.scss +0 -14
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_variables.scss +0 -894
- data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap-grid.scss +0 -32
- data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap-reboot.scss +0 -12
- data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap.scss +0 -42
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alert.scss +0 -13
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -21
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_badge.scss +0 -12
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_border-radius.scss +0 -35
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +0 -5
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +0 -123
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_buttons.scss +0 -109
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_caret.scss +0 -65
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_clearfix.scss +0 -7
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_float.scss +0 -11
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_forms.scss +0 -137
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_gradients.scss +0 -45
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -67
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid.scss +0 -52
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -39
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_image.scss +0 -36
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_list-group.scss +0 -21
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_lists.scss +0 -7
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +0 -10
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_pagination.scss +0 -22
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-text.scss +0 -17
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_resize.scss +0 -6
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +0 -35
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_size.scss +0 -6
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -30
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -14
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-hide.scss +0 -9
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-truncate.scss +0 -8
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_transition.scss +0 -9
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_visibility.scss +0 -7
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_align.scss +0 -8
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_background.scss +0 -19
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_borders.scss +0 -59
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_clearfix.scss +0 -3
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_display.scss +0 -38
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_embed.scss +0 -52
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -46
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_float.scss +0 -9
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_position.scss +0 -36
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +0 -11
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_sizing.scss +0 -12
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_spacing.scss +0 -51
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_text.scss +0 -52
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_visibility.scss +0 -11
- data/lib/flipper/ui/assets/stylesheets/primer/.scss-lint.yml +0 -446
- data/lib/flipper/ui/assets/stylesheets/primer/_alerts.scss +0 -106
- data/lib/flipper/ui/assets/stylesheets/primer/_avatars.scss +0 -36
- data/lib/flipper/ui/assets/stylesheets/primer/_base.scss +0 -40
- data/lib/flipper/ui/assets/stylesheets/primer/_blankslate.scss +0 -96
- data/lib/flipper/ui/assets/stylesheets/primer/_buttons.scss +0 -404
- data/lib/flipper/ui/assets/stylesheets/primer/_counter.scss +0 -10
- data/lib/flipper/ui/assets/stylesheets/primer/_filter-list.scss +0 -68
- data/lib/flipper/ui/assets/stylesheets/primer/_flex-table.scss +0 -20
- data/lib/flipper/ui/assets/stylesheets/primer/_forms.scss +0 -756
- data/lib/flipper/ui/assets/stylesheets/primer/_layout.scss +0 -69
- data/lib/flipper/ui/assets/stylesheets/primer/_menu.scss +0 -113
- data/lib/flipper/ui/assets/stylesheets/primer/_mixins.scss +0 -53
- data/lib/flipper/ui/assets/stylesheets/primer/_normalize.scss +0 -425
- data/lib/flipper/ui/assets/stylesheets/primer/_states.scss +0 -32
- data/lib/flipper/ui/assets/stylesheets/primer/_tabnav.scss +0 -65
- data/lib/flipper/ui/assets/stylesheets/primer/_tooltips.scss +0 -255
- data/lib/flipper/ui/assets/stylesheets/primer/_truncate.scss +0 -27
- data/lib/flipper/ui/assets/stylesheets/primer/_type.scss +0 -92
- data/lib/flipper/ui/assets/stylesheets/primer/_utility.scss +0 -73
- data/lib/flipper/ui/assets/stylesheets/primer/_variables.scss +0 -34
- data/lib/flipper/ui/assets/stylesheets/primer/primer.scss +0 -39
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -288
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/flipper/ui/public/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/lib/flipper/ui/public/images/remove.png +0 -0
- data/lib/flipper/ui/public/octicons/octicons.less +0 -235
- data/lib/flipper/ui/public/octicons/sprockets-octicons.scss +0 -232
@@ -1,14 +0,0 @@
|
|
1
|
-
@import "utilities/align";
|
2
|
-
@import "utilities/background";
|
3
|
-
@import "utilities/borders";
|
4
|
-
@import "utilities/clearfix";
|
5
|
-
@import "utilities/display";
|
6
|
-
@import "utilities/embed";
|
7
|
-
@import "utilities/flex";
|
8
|
-
@import "utilities/float";
|
9
|
-
@import "utilities/position";
|
10
|
-
@import "utilities/screenreaders";
|
11
|
-
@import "utilities/sizing";
|
12
|
-
@import "utilities/spacing";
|
13
|
-
@import "utilities/text";
|
14
|
-
@import "utilities/visibility";
|
@@ -1,894 +0,0 @@
|
|
1
|
-
// Variables
|
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);
|
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
|
138
|
-
|
139
|
-
// Body
|
140
|
-
//
|
141
|
-
// Settings for the `<body>` element.
|
142
|
-
|
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.
|
158
|
-
|
159
|
-
$paragraph-margin-bottom: 1rem !default;
|
160
|
-
|
161
|
-
|
162
|
-
// Grid breakpoints
|
163
|
-
//
|
164
|
-
// Define the minimum dimensions at which your layout will change,
|
165
|
-
// adapting to different screen sizes, for use in media queries.
|
166
|
-
|
167
|
-
$grid-breakpoints: (
|
168
|
-
xs: 0,
|
169
|
-
sm: 576px,
|
170
|
-
md: 768px,
|
171
|
-
lg: 992px,
|
172
|
-
xl: 1200px
|
173
|
-
) !default;
|
174
|
-
|
175
|
-
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
176
|
-
@include _assert-starts-at-zero($grid-breakpoints);
|
177
|
-
|
178
|
-
|
179
|
-
// Grid containers
|
180
|
-
//
|
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
|
194
|
-
//
|
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;
|
199
|
-
|
200
|
-
// Components
|
201
|
-
//
|
202
|
-
// Define common padding and border radius sizes and more.
|
203
|
-
|
204
|
-
$line-height-lg: 1.5 !default;
|
205
|
-
$line-height-sm: 1.5 !default;
|
206
|
-
|
207
|
-
$border-width: 1px !default;
|
208
|
-
$border-color: $gray-300 !default;
|
209
|
-
|
210
|
-
$border-radius: .25rem !default;
|
211
|
-
$border-radius-lg: .3rem !default;
|
212
|
-
$border-radius-sm: .2rem !default;
|
213
|
-
|
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
|
225
|
-
//
|
226
|
-
// Font, line-height, and color for body text, headings, and more.
|
227
|
-
|
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
|
233
|
-
|
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;
|
237
|
-
|
238
|
-
$font-weight-light: 300 !default;
|
239
|
-
$font-weight-normal: 400 !default;
|
240
|
-
$font-weight-bold: 700 !default;
|
241
|
-
|
242
|
-
$font-weight-base: $font-weight-normal !default;
|
243
|
-
$line-height-base: 1.5 !default;
|
244
|
-
|
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;
|
251
|
-
|
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;
|
257
|
-
|
258
|
-
$display1-size: 6rem !default;
|
259
|
-
$display2-size: 5.5rem !default;
|
260
|
-
$display3-size: 4.5rem !default;
|
261
|
-
$display4-size: 3.5rem !default;
|
262
|
-
|
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;
|
268
|
-
|
269
|
-
$lead-font-size: ($font-size-base * 1.25) !default;
|
270
|
-
$lead-font-weight: 300 !default;
|
271
|
-
|
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;
|
288
|
-
|
289
|
-
$list-inline-padding: .5rem !default;
|
290
|
-
|
291
|
-
$mark-bg: #fcf8e3 !default;
|
292
|
-
|
293
|
-
$hr-margin-y: $spacer !default;
|
294
|
-
|
295
|
-
|
296
|
-
// Tables
|
297
|
-
//
|
298
|
-
// Customizes the `.table` component with basic values, each used across all table variations.
|
299
|
-
|
300
|
-
$table-cell-padding: .75rem !default;
|
301
|
-
$table-cell-padding-sm: .3rem !default;
|
302
|
-
|
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;
|
307
|
-
|
308
|
-
$table-border-width: $border-width !default;
|
309
|
-
$table-border-color: $gray-300 !default;
|
310
|
-
|
311
|
-
$table-head-bg: $gray-200 !default;
|
312
|
-
$table-head-color: $gray-700 !default;
|
313
|
-
|
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;
|
319
|
-
|
320
|
-
|
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;
|
336
|
-
|
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;
|
340
|
-
|
341
|
-
$input-btn-border-width: $border-width !default;
|
342
|
-
|
343
|
-
|
344
|
-
// Buttons
|
345
|
-
//
|
346
|
-
// For each of Bootstrap's buttons, define text, background, and border color.
|
347
|
-
|
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;
|
351
|
-
|
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;
|
355
|
-
|
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;
|
359
|
-
|
360
|
-
$btn-border-width: $input-btn-border-width !default;
|
361
|
-
|
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;
|
368
|
-
|
369
|
-
$btn-link-disabled-color: $gray-600 !default;
|
370
|
-
|
371
|
-
$btn-block-spacing-y: .5rem !default;
|
372
|
-
|
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;
|
377
|
-
|
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;
|
379
|
-
|
380
|
-
|
381
|
-
// Forms
|
382
|
-
|
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;
|
386
|
-
|
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;
|
390
|
-
|
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;
|
394
|
-
|
395
|
-
$input-bg: $white !default;
|
396
|
-
$input-disabled-bg: $gray-200 !default;
|
397
|
-
|
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;
|
402
|
-
|
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;
|
406
|
-
|
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;
|
412
|
-
|
413
|
-
$input-placeholder-color: $gray-600 !default;
|
414
|
-
|
415
|
-
$input-height-border: $input-border-width * 2 !default;
|
416
|
-
|
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;
|
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;
|
422
|
-
|
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;
|
425
|
-
|
426
|
-
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
427
|
-
|
428
|
-
$form-text-margin-top: .25rem !default;
|
429
|
-
|
430
|
-
$form-check-input-gutter: 1.25rem !default;
|
431
|
-
$form-check-input-margin-y: .3rem !default;
|
432
|
-
$form-check-input-margin-x: .25rem !default;
|
433
|
-
|
434
|
-
$form-check-inline-margin-x: .75rem !default;
|
435
|
-
$form-check-inline-input-margin-x: .3125rem !default;
|
436
|
-
|
437
|
-
$form-group-margin-bottom: 1rem !default;
|
438
|
-
|
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;
|
442
|
-
|
443
|
-
$custom-control-gutter: 1.5rem !default;
|
444
|
-
$custom-control-spacer-x: 1rem !default;
|
445
|
-
|
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;
|
450
|
-
|
451
|
-
$custom-control-indicator-disabled-bg: $gray-200 !default;
|
452
|
-
$custom-control-label-disabled-color: $gray-600 !default;
|
453
|
-
|
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;
|
458
|
-
|
459
|
-
$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
|
460
|
-
|
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;
|
464
|
-
|
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;
|
467
|
-
|
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;
|
472
|
-
|
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;
|
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;
|
491
|
-
|
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;
|
494
|
-
|
495
|
-
$custom-select-font-size-sm: 75% !default;
|
496
|
-
$custom-select-height-sm: $input-height-sm !default;
|
497
|
-
|
498
|
-
$custom-select-font-size-lg: 125% !default;
|
499
|
-
$custom-select-height-lg: $input-height-lg !default;
|
500
|
-
|
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;
|
504
|
-
|
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;
|
519
|
-
|
520
|
-
|
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
|
529
|
-
//
|
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;
|
541
|
-
|
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;
|
545
|
-
|
546
|
-
$dropdown-link-active-color: $component-active-color !default;
|
547
|
-
$dropdown-link-active-bg: $component-active-bg !default;
|
548
|
-
|
549
|
-
$dropdown-link-disabled-color: $gray-600 !default;
|
550
|
-
|
551
|
-
$dropdown-item-padding-y: .25rem !default;
|
552
|
-
$dropdown-item-padding-x: 1.5rem !default;
|
553
|
-
|
554
|
-
$dropdown-header-color: $gray-600 !default;
|
555
|
-
|
556
|
-
|
557
|
-
// Z-index master list
|
558
|
-
//
|
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.
|
561
|
-
|
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;
|
569
|
-
|
570
|
-
// Navs
|
571
|
-
|
572
|
-
$nav-link-padding-y: .5rem !default;
|
573
|
-
$nav-link-padding-x: 1rem !default;
|
574
|
-
$nav-link-disabled-color: $gray-600 !default;
|
575
|
-
|
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;
|
583
|
-
|
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;
|
587
|
-
|
588
|
-
// Navbar
|
589
|
-
|
590
|
-
$navbar-padding-y: ($spacer / 2) !default;
|
591
|
-
$navbar-padding-x: $spacer !default;
|
592
|
-
|
593
|
-
$navbar-nav-link-padding-x: .5rem !default;
|
594
|
-
|
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;
|
612
|
-
|
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;
|
680
|
-
$tooltip-max-width: 200px !default;
|
681
|
-
$tooltip-color: $white !default;
|
682
|
-
$tooltip-bg: $black !default;
|
683
|
-
$tooltip-border-radius: $border-radius !default;
|
684
|
-
$tooltip-opacity: .9 !default;
|
685
|
-
$tooltip-padding-y: .25rem !default;
|
686
|
-
$tooltip-padding-x: .5rem !default;
|
687
|
-
$tooltip-margin: 0 !default;
|
688
|
-
|
689
|
-
$tooltip-arrow-width: .8rem !default;
|
690
|
-
$tooltip-arrow-height: .4rem !default;
|
691
|
-
$tooltip-arrow-color: $tooltip-bg !default;
|
692
|
-
|
693
|
-
|
694
|
-
// Popovers
|
695
|
-
|
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;
|
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;
|
708
|
-
|
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;
|
712
|
-
|
713
|
-
$popover-arrow-width: 1rem !default;
|
714
|
-
$popover-arrow-height: .5rem !default;
|
715
|
-
$popover-arrow-color: $popover-bg !default;
|
716
|
-
|
717
|
-
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
718
|
-
|
719
|
-
|
720
|
-
// Badges
|
721
|
-
|
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;
|
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;
|
732
|
-
|
733
|
-
|
734
|
-
// Modals
|
735
|
-
|
736
|
-
// Padding applied to the modal body
|
737
|
-
$modal-inner-padding: 1rem !default;
|
738
|
-
|
739
|
-
$modal-dialog-margin: .5rem !default;
|
740
|
-
$modal-dialog-margin-y-sm-up: 1.75rem !default;
|
741
|
-
|
742
|
-
$modal-title-line-height: $line-height-base !default;
|
743
|
-
|
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;
|
749
|
-
|
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;
|
757
|
-
|
758
|
-
$modal-lg: 800px !default;
|
759
|
-
$modal-md: 500px !default;
|
760
|
-
$modal-sm: 300px !default;
|
761
|
-
|
762
|
-
$modal-transition: transform .3s ease-out !default;
|
763
|
-
|
764
|
-
|
765
|
-
// Alerts
|
766
|
-
//
|
767
|
-
// Define alert colors, border radius, and padding.
|
768
|
-
|
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;
|
775
|
-
|
776
|
-
$alert-bg-level: -10 !default;
|
777
|
-
$alert-border-level: -9 !default;
|
778
|
-
$alert-color-level: 6 !default;
|
779
|
-
|
780
|
-
|
781
|
-
// Progress bars
|
782
|
-
|
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;
|
792
|
-
|
793
|
-
// List group
|
794
|
-
|
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;
|
799
|
-
|
800
|
-
$list-group-item-padding-y: .75rem !default;
|
801
|
-
$list-group-item-padding-x: 1.25rem !default;
|
802
|
-
|
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;
|
807
|
-
|
808
|
-
$list-group-disabled-color: $gray-600 !default;
|
809
|
-
$list-group-disabled-bg: $list-group-bg !default;
|
810
|
-
|
811
|
-
$list-group-action-color: $gray-700 !default;
|
812
|
-
$list-group-action-hover-color: $list-group-action-color !default;
|
813
|
-
|
814
|
-
$list-group-action-active-color: $body-color !default;
|
815
|
-
$list-group-action-active-bg: $gray-200 !default;
|
816
|
-
|
817
|
-
|
818
|
-
// Image thumbnails
|
819
|
-
|
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;
|
826
|
-
|
827
|
-
|
828
|
-
// Figures
|
829
|
-
|
830
|
-
$figure-caption-font-size: 90% !default;
|
831
|
-
$figure-caption-color: $gray-600 !default;
|
832
|
-
|
833
|
-
|
834
|
-
// Breadcrumbs
|
835
|
-
|
836
|
-
$breadcrumb-padding-y: .75rem !default;
|
837
|
-
$breadcrumb-padding-x: 1rem !default;
|
838
|
-
$breadcrumb-item-padding: .5rem !default;
|
839
|
-
|
840
|
-
$breadcrumb-margin-bottom: 1rem !default;
|
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;
|
846
|
-
|
847
|
-
|
848
|
-
// Carousel
|
849
|
-
|
850
|
-
$carousel-control-color: $white !default;
|
851
|
-
$carousel-control-width: 15% !default;
|
852
|
-
$carousel-control-opacity: .5 !default;
|
853
|
-
|
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;
|
858
|
-
|
859
|
-
$carousel-caption-width: 70% !default;
|
860
|
-
$carousel-caption-color: $white !default;
|
861
|
-
|
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;
|