nfg_ui 0.11.18 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_badge.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_buttons.scss +24 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_custom-forms.scss +8 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_forms.scss +4 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_nav.scss +6 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/custom/_nav_step.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/plugins/_select2.scss +8 -30
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/{_backgrounds.scss → _background.scss} +6 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_grid.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_nav.scss +21 -16
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_navbar.scss +69 -109
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_activity_feed.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_builder_layout.scss +10 -9
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_gallery.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_status_indicator.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_tile.scss +1 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/_variables.scss +128 -109
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_badge.scss +2 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss +10 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_custom-forms.scss +9 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_forms.scss +6 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_nav.scss +6 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/custom/_nav_step.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/plugins/_select2.scss +8 -11
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/_variables.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_modal.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_alert.scss +6 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_badge.scss +15 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_button-group.scss +2 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_buttons.scss +38 -4
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_card.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_custom-forms.scss +17 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss +14 -11
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_forms.scss +14 -7
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_modal.scss +3 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_nav.scss +14 -4
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_tooltip.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_type.scss +13 -9
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_avatar.scss +9 -8
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_device_preview.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_icon.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_illustration.scss +4 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_nav_step.scss +4 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_slat.scss +5 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_social_share.scss +9 -8
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_ticket.scss +2 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_tile.scss +10 -11
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_datetimepicker.scss +20 -23
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_select2.scss +38 -28
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_twitter_typeahead.scss +5 -7
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_nav.scss +16 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_navbar.scss +6 -6
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_event.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_everyday_default.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_page_header.scss +4 -8
- data/lib/nfg_ui/components/patterns/page_header.rb +2 -2
- data/lib/nfg_ui/components/patterns/tile_header.rb +2 -2
- data/lib/nfg_ui/components/utilities/disable_withable.rb +1 -1
- data/lib/nfg_ui/version.rb +1 -1
- metadata +3 -3
data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_activity_feed.scss
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
&::after {
|
8
8
|
position: absolute;
|
9
9
|
top: 0;
|
10
|
-
left:
|
10
|
+
left: ($spacer * .5);
|
11
11
|
bottom: 0;
|
12
12
|
z-index: 0;
|
13
13
|
border-left: $border-width solid $border-color;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
}
|
20
20
|
.activity-icon {
|
21
21
|
position: absolute;
|
22
|
-
top:
|
22
|
+
top: 0;
|
23
23
|
left: 0;
|
24
24
|
display: block;
|
25
25
|
width: $spacer;
|
data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_builder_layout.scss
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
// Setting a common height for the builder header and nav
|
2
|
-
$builder-header-height: ($spacer *
|
3
|
-
$builder-header-padding: ($spacer * .5);
|
4
|
-
$builder-nav-height: ($spacer *
|
5
|
-
$builder-nav-padding: $spacer;
|
2
|
+
$builder-header-height: ($spacer * 2.25);
|
3
|
+
$builder-header-padding: ($spacer * .25) ($spacer * .5);
|
4
|
+
$builder-nav-height: ($spacer * 3.25);
|
5
|
+
$builder-nav-padding: ($spacer * .75) ($spacer * .5);
|
6
6
|
$builder-options-padding: $spacer;
|
7
|
-
$builder-preview-padding: ($spacer *
|
7
|
+
$builder-preview-padding: ($spacer * 1.5);
|
8
8
|
|
9
9
|
// Put on the <body> to help with correct scrolling within builder-wrap and builder-options
|
10
10
|
.builder-layout {
|
11
|
+
background-color: $white;
|
11
12
|
@include media-breakpoint-up(lg) {
|
12
13
|
height: 100%;
|
13
14
|
> form { height: 100%; } // targets form directly inside <body> and needed for correct scrolling
|
@@ -19,7 +20,7 @@ $builder-preview-padding: ($spacer * 2);
|
|
19
20
|
padding: $builder-header-padding;
|
20
21
|
width: 100%;
|
21
22
|
min-height: $builder-header-height;
|
22
|
-
background-color: $
|
23
|
+
background-color: $blue-700;
|
23
24
|
z-index: $zindex-fixed;
|
24
25
|
@include media-breakpoint-up(lg) {
|
25
26
|
position: fixed;
|
@@ -27,6 +28,7 @@ $builder-preview-padding: ($spacer * 2);
|
|
27
28
|
left: 0;
|
28
29
|
right: 0;
|
29
30
|
}
|
31
|
+
.text-muted { color: $blue-200 !important; }
|
30
32
|
}
|
31
33
|
.builder-header-fixed-bottom {
|
32
34
|
position: fixed;
|
@@ -51,9 +53,9 @@ $builder-preview-padding: ($spacer * 2);
|
|
51
53
|
.builder-nav-sm {
|
52
54
|
position: fixed;
|
53
55
|
bottom: 0;
|
54
|
-
padding:
|
56
|
+
padding: $builder-header-padding;
|
55
57
|
min-height: $builder-header-height;
|
56
|
-
background-color: $
|
58
|
+
background-color: $blue-700;
|
57
59
|
@include media-breakpoint-up(lg) { display: none; }
|
58
60
|
}
|
59
61
|
|
@@ -80,7 +82,6 @@ $builder-preview-padding: ($spacer * 2);
|
|
80
82
|
}
|
81
83
|
}
|
82
84
|
.builder-preview {
|
83
|
-
background-color: $body-bg;
|
84
85
|
padding: $builder-preview-padding ($builder-preview-padding / 2);
|
85
86
|
@include media-breakpoint-up(lg) {
|
86
87
|
float: left;
|
data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_status_indicator.scss
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
// Status indicator on campaigns index
|
2
2
|
.status-indicator {
|
3
3
|
position: absolute;
|
4
|
-
top: -($
|
5
|
-
right: -($
|
4
|
+
top: -($spacer * .5);
|
5
|
+
right: -($spacer * .5);
|
6
6
|
display: block;
|
7
7
|
z-index: 100;
|
8
8
|
font-size: $font-size-base;
|
@@ -6,15 +6,15 @@
|
|
6
6
|
// Color system
|
7
7
|
|
8
8
|
$white: #fff;
|
9
|
-
$gray-100: #
|
10
|
-
$gray-200: #
|
11
|
-
$gray-300: #
|
12
|
-
|
13
|
-
|
14
|
-
$gray-600: #
|
15
|
-
|
16
|
-
$gray-800: #
|
17
|
-
|
9
|
+
$gray-100: #F3F6F8;
|
10
|
+
$gray-200: #E2E7EA;
|
11
|
+
$gray-300: #C9CED1;
|
12
|
+
$gray-400: #B3BABD; // not used in our theme
|
13
|
+
$gray-500: #9BA3A6;
|
14
|
+
$gray-600: #70787C;
|
15
|
+
$gray-700: #5B6367; // not used in our theme
|
16
|
+
$gray-800: #313A3E;
|
17
|
+
$gray-900: #1D262B;
|
18
18
|
$black: #000;
|
19
19
|
|
20
20
|
// $grays: () !default;
|
@@ -42,7 +42,7 @@ $red: #ff6d33;
|
|
42
42
|
$orange: #ffaa00;
|
43
43
|
// $yellow: #ffc107 !default; // not used in our theme
|
44
44
|
$green: #59bf22;
|
45
|
-
$teal: #60c6cf; //
|
45
|
+
// $teal: #60c6cf; // not used in our theme
|
46
46
|
// $cyan: #17a2b8 !default; // not used in our theme
|
47
47
|
|
48
48
|
// $colors: () !default;
|
@@ -66,6 +66,20 @@ $teal: #60c6cf; // legacy color -- not used in our theme
|
|
66
66
|
// $colors
|
67
67
|
// );
|
68
68
|
|
69
|
+
|
70
|
+
// Blue (primary) scale
|
71
|
+
$blue-100: #d3eefb;
|
72
|
+
$blue-200: #a8def7;
|
73
|
+
$blue-300: #7ccdf3;
|
74
|
+
$blue-400: #51bdef;
|
75
|
+
$blue-500: #1e8abc;
|
76
|
+
$blue-600: #16678d;
|
77
|
+
$blue-700: #135676;
|
78
|
+
$blue-800: #0f455e;
|
79
|
+
$blue-900: #0b3446;
|
80
|
+
$blue-1000: #07222f;
|
81
|
+
|
82
|
+
|
69
83
|
$primary: $blue !default; // need !default for $primary to work properly (override) in entity_branding
|
70
84
|
// $secondary: $gray-600 !default;
|
71
85
|
$success: $green;
|
@@ -91,6 +105,7 @@ $danger: $red;
|
|
91
105
|
// $theme-colors
|
92
106
|
// );
|
93
107
|
|
108
|
+
|
94
109
|
// Set a specific jump point for requesting color jumps
|
95
110
|
// $theme-color-interval: 8% !default;
|
96
111
|
|
@@ -127,20 +142,21 @@ $enable-validation-icons: false;
|
|
127
142
|
// variables. Mostly focused on spacing.
|
128
143
|
// You can add more entries to the $spacers map, should you need more variation.
|
129
144
|
|
130
|
-
$spacer:
|
131
|
-
|
145
|
+
$spacer: 3.2rem;
|
146
|
+
$spacers: ();
|
132
147
|
// stylelint-disable-next-line scss/dollar-variable-default
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
148
|
+
$spacers: map-merge(
|
149
|
+
(
|
150
|
+
0: 0,
|
151
|
+
1: ($spacer * .25),
|
152
|
+
2: ($spacer * .5),
|
153
|
+
3: $spacer,
|
154
|
+
4: ($spacer * 1.25),
|
155
|
+
5: ($spacer * 2),
|
156
|
+
6: ($spacer * 3)
|
157
|
+
),
|
158
|
+
$spacers
|
159
|
+
);
|
144
160
|
|
145
161
|
// This variable affects the `.h-*` and `.w-*` classes.
|
146
162
|
// $sizes: () !default;
|
@@ -188,13 +204,14 @@ $paragraph-margin-bottom: $spacer;
|
|
188
204
|
// Define the minimum dimensions at which your layout will change,
|
189
205
|
// adapting to different screen sizes, for use in media queries.
|
190
206
|
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
207
|
+
$grid-breakpoints: (
|
208
|
+
xs: 0,
|
209
|
+
sm: 576px,
|
210
|
+
md: 768px,
|
211
|
+
lg: 992px,
|
212
|
+
xl: 1200px,
|
213
|
+
xxl: 1400px
|
214
|
+
);
|
198
215
|
|
199
216
|
// @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
200
217
|
// @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
@@ -204,12 +221,13 @@ $paragraph-margin-bottom: $spacer;
|
|
204
221
|
//
|
205
222
|
// Define the maximum width of `.container` for different screen sizes.
|
206
223
|
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
224
|
+
$container-max-widths: (
|
225
|
+
sm: 540px,
|
226
|
+
md: 720px,
|
227
|
+
lg: 960px,
|
228
|
+
xl: 1140px,
|
229
|
+
xxl: 1320px
|
230
|
+
);
|
213
231
|
|
214
232
|
// @include _assert-ascending($container-max-widths, "$container-max-widths");
|
215
233
|
|
@@ -226,21 +244,21 @@ $grid-gutter-width: $spacer;
|
|
226
244
|
//
|
227
245
|
// Define common padding and border radius sizes and more.
|
228
246
|
|
229
|
-
$line-height-lg: 1.
|
247
|
+
$line-height-lg: 1.2;
|
230
248
|
$line-height-sm: 1;
|
231
249
|
|
232
250
|
$border-width: 1px;
|
233
251
|
$border-color: $gray-300;
|
234
252
|
|
235
|
-
$border-radius: .
|
236
|
-
$border-radius-lg: .
|
237
|
-
$border-radius-sm: .
|
253
|
+
$border-radius: .4rem;
|
254
|
+
$border-radius-lg: .8rem;
|
255
|
+
$border-radius-sm: .2rem;
|
238
256
|
|
239
257
|
// $rounded-pill: 50rem !default;
|
240
258
|
|
241
|
-
$box-shadow-sm: 0
|
242
|
-
$box-shadow: 0
|
243
|
-
$box-shadow-lg: 0
|
259
|
+
$box-shadow-sm: 0 4px 18px transparentize($gray-900, 0.8);
|
260
|
+
$box-shadow: 0 8px 24px 3px transparentize($gray-900, 0.8);
|
261
|
+
$box-shadow-lg: 0 12px 30px 8px transparentize($gray-900, 0.75);
|
244
262
|
|
245
263
|
$component-active-color: $white;
|
246
264
|
$component-active-bg: $primary;
|
@@ -290,7 +308,7 @@ $font-weight-bold: 600;
|
|
290
308
|
// $font-weight-base: $font-weight-normal !default;
|
291
309
|
$line-height-base: 1.5;
|
292
310
|
|
293
|
-
$h1-font-size: ($font-size-base * 2.
|
311
|
+
$h1-font-size: ($font-size-base * 2.5);
|
294
312
|
// $h2-font-size: $font-size-base * 2 !default;
|
295
313
|
// $h3-font-size: $font-size-base * 1.75 !default;
|
296
314
|
// $h4-font-size: $font-size-base * 1.5 !default;
|
@@ -303,18 +321,18 @@ $headings-font-weight: $font-weight-bold;
|
|
303
321
|
$headings-line-height: 1.2;
|
304
322
|
// $headings-color: null !default;
|
305
323
|
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
$display4-size:
|
324
|
+
$display1-size: 9.6rem;
|
325
|
+
$display2-size: 8.0rem;
|
326
|
+
$display3-size: 6.4rem;
|
327
|
+
$display4-size: $font-size-base;
|
310
328
|
|
311
|
-
|
312
|
-
|
313
|
-
|
329
|
+
$display1-weight: $font-weight-bold;
|
330
|
+
$display2-weight: $font-weight-bold;
|
331
|
+
$display3-weight: $font-weight-bold;
|
314
332
|
$display4-weight: $font-weight-bold;
|
315
333
|
// $display-line-height: $headings-line-height !default;
|
316
334
|
|
317
|
-
$lead-font-size: ($font-size-base * 1.
|
335
|
+
$lead-font-size: ($font-size-base * 1.125);
|
318
336
|
$lead-font-weight: $font-weight-normal;
|
319
337
|
|
320
338
|
// $small-font-size: 80% !default;
|
@@ -382,23 +400,23 @@ $table-dark-color: theme-color("light");
|
|
382
400
|
//
|
383
401
|
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
384
402
|
|
385
|
-
$input-btn-padding-y: .
|
386
|
-
$input-btn-padding-x: ($spacer * .
|
403
|
+
$input-btn-padding-y: .7rem;
|
404
|
+
$input-btn-padding-x: ($spacer * .25) + ($spacer * .125);
|
387
405
|
// $input-btn-font-family: null !default;
|
388
406
|
// $input-btn-font-size: $font-size-base !default;
|
389
407
|
// $input-btn-line-height: $line-height-base !default;
|
390
408
|
|
391
|
-
$input-btn-focus-width:
|
392
|
-
|
393
|
-
$input-btn-focus-box-shadow:
|
409
|
+
$input-btn-focus-width: ($spacer * .125);
|
410
|
+
$input-btn-focus-color: transparentize($primary, 0.8);
|
411
|
+
// $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
|
394
412
|
|
395
413
|
$input-btn-padding-y-sm: .4rem;
|
396
414
|
$input-btn-padding-x-sm: ($spacer * .25);
|
397
415
|
// $input-btn-font-size-sm: $font-size-sm !default;
|
398
416
|
// $input-btn-line-height-sm: $line-height-sm !default;
|
399
417
|
|
400
|
-
$input-btn-padding-y-lg: .5rem;
|
401
|
-
$input-btn-padding-x-lg: ($spacer * .75);
|
418
|
+
$input-btn-padding-y-lg: 1.5rem;
|
419
|
+
$input-btn-padding-x-lg: ($spacer * .75) - ($spacer * .125);
|
402
420
|
// $input-btn-font-size-lg: $font-size-lg !default;
|
403
421
|
// $input-btn-line-height-lg: $line-height-lg !default;
|
404
422
|
|
@@ -409,26 +427,26 @@ $input-btn-padding-x-lg: ($spacer * .75);
|
|
409
427
|
//
|
410
428
|
// For each of Bootstrap's buttons, define text, background, and border color.
|
411
429
|
|
412
|
-
|
413
|
-
|
430
|
+
$btn-padding-y: ($input-btn-padding-y + .1rem);
|
431
|
+
$btn-padding-x: ($spacer * .5);
|
414
432
|
// $btn-font-family: $input-btn-font-family !default;
|
415
433
|
// $btn-font-size: $input-btn-font-size !default;
|
416
434
|
// $btn-line-height: $input-btn-line-height !default;
|
417
435
|
|
418
|
-
|
436
|
+
$btn-padding-y-sm: ($input-btn-padding-y-sm + .1rem);
|
419
437
|
// $btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
420
438
|
// $btn-font-size-sm: $input-btn-font-size-sm !default;
|
421
439
|
// $btn-line-height-sm: $input-btn-line-height-sm !default;
|
422
440
|
|
423
|
-
|
424
|
-
|
441
|
+
$btn-padding-y-lg: ($input-btn-padding-y-lg + .1rem);
|
442
|
+
$btn-padding-x-lg: ($spacer * .75);
|
425
443
|
// $btn-font-size-lg: $input-btn-font-size-lg !default;
|
426
444
|
// $btn-line-height-lg: $input-btn-line-height-lg !default;
|
427
445
|
|
428
|
-
|
446
|
+
$btn-border-width: 0;
|
429
447
|
|
430
448
|
$btn-font-weight: $font-weight-bold;
|
431
|
-
$btn-box-shadow:
|
449
|
+
$btn-box-shadow: inset transparentize($black, 0.9) 0px -2px 0px 0px;
|
432
450
|
// $btn-focus-width: $input-btn-focus-width !default;
|
433
451
|
// $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
434
452
|
// $btn-disabled-opacity: .65 !default;
|
@@ -485,7 +503,7 @@ $input-focus-border-color: $primary;
|
|
485
503
|
// $input-focus-width: $input-btn-focus-width !default;
|
486
504
|
// $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
487
505
|
|
488
|
-
$input-placeholder-color: $
|
506
|
+
$input-placeholder-color: $gray-300;
|
489
507
|
// $input-plaintext-color: $body-color !default;
|
490
508
|
|
491
509
|
// $input-height-border: $input-border-width * 2 !default;
|
@@ -518,10 +536,10 @@ $form-group-margin-bottom: $spacer;
|
|
518
536
|
|
519
537
|
// $custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
520
538
|
|
521
|
-
$custom-control-gutter: ($spacer * .
|
539
|
+
$custom-control-gutter: ($spacer * .375);
|
522
540
|
$custom-control-spacer-x: $spacer;
|
523
541
|
|
524
|
-
$custom-control-indicator-size: ($spacer * .
|
542
|
+
$custom-control-indicator-size: ($spacer * .625);
|
525
543
|
$custom-control-indicator-bg: $white;
|
526
544
|
|
527
545
|
$custom-control-indicator-bg-size: 70% 70%;
|
@@ -558,9 +576,9 @@ $custom-control-indicator-focus-box-shadow: none;
|
|
558
576
|
// $custom-radio-indicator-border-radius: 50% !default;
|
559
577
|
// $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml,%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;
|
560
578
|
|
561
|
-
$custom-switch-width: ($spacer *
|
579
|
+
$custom-switch-width: ($spacer * 1.5);
|
562
580
|
// $custom-switch-indicator-border-radius: $custom-control-indicator-size / 2 !default;
|
563
|
-
$custom-switch-indicator-size: $spacer;
|
581
|
+
$custom-switch-indicator-size: ($spacer * .75);
|
564
582
|
|
565
583
|
// $custom-select-padding-y: $input-btn-padding-y !default;
|
566
584
|
// $custom-select-padding-x: $input-btn-padding-x !default;
|
@@ -570,7 +588,7 @@ $custom-switch-indicator-size: $spacer;
|
|
570
588
|
$custom-select-indicator-padding: $spacer; // Extra padding to account for the presence of the background-image based indicator
|
571
589
|
// $custom-select-font-weight: $input-font-weight !default;
|
572
590
|
// $custom-select-line-height: $input-line-height !default;
|
573
|
-
$custom-select-color: $
|
591
|
+
$custom-select-color: $body-color;
|
574
592
|
// $custom-select-disabled-color: $gray-600 !default;
|
575
593
|
// $custom-select-bg: $input-bg !default;
|
576
594
|
// $custom-select-disabled-bg: $gray-200 !default;
|
@@ -689,11 +707,11 @@ $form-validation-states: map-merge(
|
|
689
707
|
// Navs
|
690
708
|
|
691
709
|
$nav-link-padding-y: ($spacer * .5);
|
692
|
-
$nav-link-padding-x: $spacer;
|
710
|
+
$nav-link-padding-x: ($spacer * .75);
|
693
711
|
$nav-link-disabled-color: $text-muted;
|
694
712
|
|
695
713
|
$nav-tabs-border-color: $border-color;
|
696
|
-
$nav-tabs-border-width:
|
714
|
+
$nav-tabs-border-width: 4px;
|
697
715
|
$nav-tabs-border-radius: 0;
|
698
716
|
$nav-tabs-link-hover-border-color: $primary;
|
699
717
|
$nav-tabs-link-active-color: $body-color;
|
@@ -702,7 +720,7 @@ $nav-tabs-link-active-border-color: $primary;
|
|
702
720
|
|
703
721
|
$nav-pills-border-radius: 0;
|
704
722
|
$nav-pills-link-active-color: $white;
|
705
|
-
$nav-pills-link-active-bg:
|
723
|
+
$nav-pills-link-active-bg: $blue-800;
|
706
724
|
|
707
725
|
$nav-divider-color: $border-color;
|
708
726
|
$nav-divider-margin-y: 0;
|
@@ -721,14 +739,14 @@ $navbar-nav-link-padding-x: ($spacer * .5);
|
|
721
739
|
// $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
722
740
|
// $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
|
723
741
|
|
724
|
-
$navbar-toggler-padding-y: ($spacer * .
|
725
|
-
$navbar-toggler-padding-x: ($spacer * .
|
742
|
+
$navbar-toggler-padding-y: ($spacer * .125);
|
743
|
+
$navbar-toggler-padding-x: ($spacer * .25);
|
726
744
|
// $navbar-toggler-font-size: $font-size-lg !default;
|
727
745
|
// $navbar-toggler-border-radius: $btn-border-radius !default;
|
728
746
|
|
729
|
-
$navbar-dark-color:
|
730
|
-
$navbar-dark-hover-color:
|
731
|
-
$navbar-dark-active-color:
|
747
|
+
$navbar-dark-color: $gray-300;
|
748
|
+
$navbar-dark-hover-color: $white;
|
749
|
+
$navbar-dark-active-color: $white;
|
732
750
|
// $navbar-dark-disabled-color: rgba($white, .25) !default;
|
733
751
|
// $navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml,%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;
|
734
752
|
// $navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
@@ -751,17 +769,18 @@ $navbar-light-disabled-color: $text-muted;
|
|
751
769
|
// Dropdown menu container and contents.
|
752
770
|
|
753
771
|
// $dropdown-min-width: 10rem !default;
|
754
|
-
$dropdown-padding-
|
755
|
-
$dropdown-
|
772
|
+
$dropdown-padding-x: ($spacer * .25);
|
773
|
+
$dropdown-padding-y: ($spacer * .25);
|
774
|
+
$dropdown-spacer: ($spacer * .125);
|
756
775
|
// $dropdown-bg: $white !default;
|
757
776
|
// $dropdown-font-size: $font-size-base !default;
|
758
777
|
// $dropdown-color: $body-color !default;
|
759
778
|
$dropdown-border-color: transparent;
|
760
|
-
|
779
|
+
$dropdown-border-radius: $border-radius-lg;
|
761
780
|
$dropdown-border-width: 0px;
|
762
|
-
|
781
|
+
$dropdown-inner-border-radius: $border-radius;
|
763
782
|
$dropdown-divider-bg: $border-color;
|
764
|
-
|
783
|
+
$dropdown-divider-margin-y: ($spacer * .25);
|
765
784
|
$dropdown-box-shadow: $box-shadow-sm;
|
766
785
|
|
767
786
|
$dropdown-link-color: $body-color;
|
@@ -814,13 +833,13 @@ $pagination-disabled-border-color: $border-color;
|
|
814
833
|
|
815
834
|
$jumbotron-padding: $spacer;
|
816
835
|
// $jumbotron-color: null !default;
|
817
|
-
$jumbotron-bg: $
|
836
|
+
$jumbotron-bg: $white;
|
818
837
|
|
819
838
|
|
820
839
|
// Cards
|
821
840
|
|
822
|
-
$card-spacer-y: $spacer;
|
823
|
-
$card-spacer-x: $spacer;
|
841
|
+
$card-spacer-y: ($spacer * .75);
|
842
|
+
$card-spacer-x: ($spacer * .75);
|
824
843
|
$card-border-width: $border-width;
|
825
844
|
// $card-border-radius: $border-radius !default;
|
826
845
|
$card-border-color: $border-color;
|
@@ -843,9 +862,9 @@ $card-img-overlay-padding: ($spacer * .5);
|
|
843
862
|
// Tooltips
|
844
863
|
|
845
864
|
// $tooltip-font-size: $font-size-sm !default;
|
846
|
-
$tooltip-max-width:
|
865
|
+
$tooltip-max-width: 320px;
|
847
866
|
// $tooltip-color: $white !default;
|
848
|
-
$tooltip-bg:
|
867
|
+
$tooltip-bg: $gray-800;
|
849
868
|
// $tooltip-border-radius: $border-radius !default;
|
850
869
|
// $tooltip-opacity: .9 !default;
|
851
870
|
$tooltip-padding-y: ($spacer * .25);
|
@@ -939,25 +958,25 @@ $modal-title-line-height: inherit;
|
|
939
958
|
// $modal-content-color: null !default;
|
940
959
|
// $modal-content-bg: $white !default;
|
941
960
|
$modal-content-border-color: $border-color;
|
942
|
-
|
961
|
+
$modal-content-border-width: 0;
|
943
962
|
// $modal-content-border-radius: $border-radius-lg !default;
|
944
|
-
|
945
|
-
|
963
|
+
$modal-content-box-shadow-xs: $box-shadow;
|
964
|
+
$modal-content-box-shadow-sm-up: $box-shadow;
|
946
965
|
|
947
|
-
$modal-backdrop-bg:
|
948
|
-
$modal-backdrop-opacity: .
|
966
|
+
$modal-backdrop-bg: $gray-900;
|
967
|
+
$modal-backdrop-opacity: .8;
|
949
968
|
$modal-header-border-color: $border-color;
|
950
969
|
// $modal-footer-border-color: $modal-header-border-color !default;
|
951
|
-
|
952
|
-
|
953
|
-
$modal-header-padding-y: $spacer;
|
970
|
+
$modal-header-border-width: $border-width;
|
971
|
+
$modal-footer-border-width: 0;
|
972
|
+
$modal-header-padding-y: ($spacer * .75);
|
954
973
|
$modal-header-padding-x: $spacer;
|
955
974
|
// $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
956
975
|
|
957
976
|
// $modal-xl: 1140px !default;
|
958
977
|
$modal-lg: 900px;
|
959
|
-
$modal-md:
|
960
|
-
|
978
|
+
$modal-md: 640px;
|
979
|
+
$modal-sm: 320px;
|
961
980
|
|
962
981
|
// $modal-fade-transform: translate(0, -50px) !default;
|
963
982
|
// $modal-show-transform: none !default;
|
@@ -968,8 +987,8 @@ $modal-md: 600px;
|
|
968
987
|
//
|
969
988
|
// Define alert colors, border radius, and padding.
|
970
989
|
|
971
|
-
$alert-padding-y: $spacer;
|
972
|
-
$alert-padding-x: $spacer;
|
990
|
+
$alert-padding-y: ($spacer * .5);
|
991
|
+
$alert-padding-x: ($spacer * .5);
|
973
992
|
$alert-margin-bottom: $spacer;
|
974
993
|
// $alert-border-radius: $border-radius !default;
|
975
994
|
// $alert-link-font-weight: $font-weight-bold !default;
|
@@ -1037,15 +1056,15 @@ $figure-caption-color: $text-muted;
|
|
1037
1056
|
|
1038
1057
|
// Breadcrumbs
|
1039
1058
|
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1059
|
+
$breadcrumb-padding-y: 0;
|
1060
|
+
$breadcrumb-padding-x: 0;
|
1061
|
+
$breadcrumb-item-padding: ($spacer * .25);
|
1043
1062
|
|
1044
|
-
|
1063
|
+
$breadcrumb-margin-bottom: $spacer;
|
1045
1064
|
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1065
|
+
$breadcrumb-bg: transparent;
|
1066
|
+
$breadcrumb-divider-color: $border-color;
|
1067
|
+
$breadcrumb-active-color: $text-muted;
|
1049
1068
|
// $breadcrumb-divider: quote("/") !default;
|
1050
1069
|
|
1051
1070
|
// $breadcrumb-border-radius: $border-radius !default;
|