nfg_ui 0.11.14 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/_custom.scss +1 -1
- 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/{_overlay_blocker.scss → _redacted_text.scss} +0 -17
- 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/_custom.scss +2 -0
- 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/legacy_browser_support/nfg_theme/custom/_chat.scss +10 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_event_livestream.scss +24 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_alert.scss +15 -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/_custom.scss +2 -0
- 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 +11 -10
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_chat.scss +39 -0
- 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/_overlay_blocker.scss +17 -0
- 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/_event_livestream.scss +40 -3
- 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 +10 -6
@@ -1,13 +1,20 @@
|
|
1
|
+
.form-control {
|
2
|
+
&:focus {
|
3
|
+
box-shadow: 0 0 0 ($spacer * .125) transparentize($primary, 0.8);
|
4
|
+
}
|
5
|
+
}
|
6
|
+
|
7
|
+
|
1
8
|
// Required styles
|
2
9
|
label {
|
3
10
|
font-weight: $font-weight-bold;
|
4
11
|
&.required {
|
5
|
-
padding-left: ($spacer * .
|
12
|
+
padding-left: ($spacer * .25);
|
6
13
|
&::before{
|
7
14
|
content: '*';
|
8
15
|
color: theme-color("danger");
|
9
|
-
margin-left: -($spacer * .
|
10
|
-
padding-right: ($spacer * .
|
16
|
+
margin-left: -($spacer * .25);
|
17
|
+
padding-right: ($spacer * .125);
|
11
18
|
}
|
12
19
|
}
|
13
20
|
.required, abbr[title='required'] {
|
@@ -18,7 +25,7 @@ label {
|
|
18
25
|
}
|
19
26
|
}
|
20
27
|
|
21
|
-
textarea.form-control { min-height: ($spacer *
|
28
|
+
textarea.form-control { min-height: ($spacer * 5); }
|
22
29
|
|
23
30
|
// Form groups
|
24
31
|
//
|
@@ -27,7 +34,7 @@ textarea.form-control { min-height: ($spacer * 6); }
|
|
27
34
|
|
28
35
|
.form-text {
|
29
36
|
font-size: $font-size-sm;
|
30
|
-
line-height: 1.
|
37
|
+
line-height: 1.428;
|
31
38
|
}
|
32
39
|
|
33
40
|
// Checkboxes and radios
|
@@ -47,14 +54,14 @@ textarea.form-control { min-height: ($spacer * 6); }
|
|
47
54
|
|
48
55
|
.valid-feedback,
|
49
56
|
.invalid-feedback {
|
50
|
-
line-height: 1.
|
57
|
+
line-height: 1.428;
|
51
58
|
}
|
52
59
|
.valid-tooltip,
|
53
60
|
.invalid-tooltip {
|
54
61
|
padding: $tooltip-padding-y $tooltip-padding-x;
|
55
62
|
font-size: $tooltip-font-size;
|
56
63
|
font-weight: $font-weight-bold;
|
57
|
-
line-height: 1.
|
64
|
+
line-height: 1.428;
|
58
65
|
border-radius: $tooltip-border-radius;
|
59
66
|
}
|
60
67
|
|
@@ -3,24 +3,34 @@
|
|
3
3
|
//
|
4
4
|
.nav-tabs {
|
5
5
|
border-width: $border-width;
|
6
|
-
|
7
6
|
.nav-item {
|
8
7
|
margin-bottom: -$border-width;
|
9
8
|
font-weight: $font-weight-bold;
|
10
9
|
font-size: $font-size-base;
|
11
10
|
}
|
12
|
-
|
13
11
|
.nav-link {
|
12
|
+
position: relative;
|
14
13
|
color: $text-muted !important;
|
15
14
|
border: none;
|
16
|
-
|
15
|
+
&:after {
|
16
|
+
position: absolute;
|
17
|
+
bottom: 0;
|
18
|
+
left: 0;
|
19
|
+
right: 0;
|
20
|
+
height: $nav-tabs-border-width;
|
21
|
+
border-radius: ($nav-tabs-border-width / 2);
|
22
|
+
background: transparent;
|
23
|
+
transition: $btn-transition;
|
24
|
+
content: '';
|
25
|
+
}
|
17
26
|
@include hover-focus {
|
18
27
|
color: $nav-tabs-link-active-color !important;
|
19
|
-
|
28
|
+
&:after { background: $nav-tabs-link-hover-border-color; }
|
20
29
|
}
|
21
30
|
}
|
22
31
|
.nav-link.active,
|
23
32
|
.nav-item.show .nav-link {
|
24
33
|
color: $nav-tabs-link-active-color !important;
|
34
|
+
&:after { background: $nav-tabs-link-hover-border-color; }
|
25
35
|
}
|
26
36
|
}
|
@@ -1,25 +1,29 @@
|
|
1
1
|
//
|
2
2
|
// Headings
|
3
3
|
//
|
4
|
-
h1, .h1 { line-height: 1; }
|
5
|
-
h2, .h2 { line-height: 1.
|
6
|
-
h3, .h3 { line-height: 1.
|
7
|
-
h4, .h4 { line-height: 1; }
|
8
|
-
h5, .h5 { line-height: 1.2; }
|
4
|
+
// h1, .h1 { line-height: 1.2; } // commented out because it uses $headings-line-height
|
5
|
+
h2, .h2 { line-height: 1.25; }
|
6
|
+
h3, .h3 { line-height: 1.143; }
|
7
|
+
h4, .h4 { line-height: 1.333; }
|
8
|
+
// h5, .h5 { line-height: 1.2; } // commented out because it uses $headings-line-height
|
9
9
|
h6, .h6 { line-height: 1.5; }
|
10
10
|
|
11
11
|
// Type display classes
|
12
|
+
.display-1 { line-height: 1.1667; }
|
13
|
+
// .display-2 { line-height: 1.2; } // commented out because it uses $display-line-height
|
14
|
+
.display-3 { line-height: 1.125; }
|
12
15
|
.display-4 {
|
13
|
-
line-height: 1.
|
16
|
+
line-height: 1.5;
|
14
17
|
color: $text-muted;
|
15
18
|
text-transform: uppercase;
|
19
|
+
letter-spacing: .5px;
|
16
20
|
}
|
17
21
|
|
18
22
|
// Adjust heading sizes on smaller devices
|
19
23
|
@include media-breakpoint-down(md) {
|
20
24
|
h1, .h1, h2, .h2, h3, .h3 {
|
21
25
|
font-size: $h4-font-size;
|
22
|
-
line-height: 1;
|
26
|
+
line-height: 1.333;
|
23
27
|
}
|
24
28
|
}
|
25
29
|
|
@@ -29,12 +33,13 @@ h6, .h6 { line-height: 1.5; }
|
|
29
33
|
.font-size-base { font-size: $font-size-base !important; }
|
30
34
|
.font-size-sm {
|
31
35
|
font-size: $font-size-sm !important;
|
32
|
-
line-height: 1.
|
36
|
+
line-height: 1.428;
|
33
37
|
}
|
34
38
|
.font-size-lg { font-size: $font-size-lg !important; }
|
35
39
|
.line-height-sm { line-height: $line-height-sm; }
|
36
40
|
.line-height { line-height: 1.5; }
|
37
41
|
.line-height-lg { line-height: $line-height-lg; }
|
42
|
+
.lead { line-height: 1.778; }
|
38
43
|
|
39
44
|
strong, .strong, b, .b { font-weight: $font-weight-bold; }
|
40
45
|
|
@@ -52,7 +57,6 @@ a.no-link-color {
|
|
52
57
|
@include text-emphasis-variant(".text-#{$color}", $value);
|
53
58
|
}
|
54
59
|
|
55
|
-
|
56
60
|
// Adds a background divider to word
|
57
61
|
.text-divider {
|
58
62
|
position: relative;
|
@@ -4,9 +4,9 @@
|
|
4
4
|
align-items: center;
|
5
5
|
justify-content: center;
|
6
6
|
vertical-align: middle;
|
7
|
-
width: ($spacer *
|
8
|
-
height: ($spacer *
|
9
|
-
color:
|
7
|
+
width: ($spacer * 1.25);
|
8
|
+
height: ($spacer * 1.25);
|
9
|
+
color: $body-color;
|
10
10
|
background-color: $border-color;
|
11
11
|
border-radius: 50%;
|
12
12
|
|
@@ -22,7 +22,7 @@
|
|
22
22
|
font-weight: $font-weight-bold;
|
23
23
|
font-size: $font-size-base;
|
24
24
|
line-height: 1.2;
|
25
|
-
color:
|
25
|
+
color: inherit;
|
26
26
|
text-align: center;
|
27
27
|
white-space: nowrap;
|
28
28
|
overflow: hidden;
|
@@ -32,22 +32,23 @@
|
|
32
32
|
&.avatar-sm {
|
33
33
|
width: $spacer;
|
34
34
|
height: $spacer;
|
35
|
-
.avatar-text { font-size:
|
35
|
+
.avatar-text { font-size: $font-size-sm; }
|
36
36
|
}
|
37
37
|
&.avatar-lg {
|
38
|
-
width: ($spacer *
|
39
|
-
height: ($spacer *
|
40
|
-
.avatar-text { font-size: $font-size
|
38
|
+
width: ($spacer * 3);
|
39
|
+
height: ($spacer * 3);
|
40
|
+
.avatar-text { font-size: $h3-font-size; }
|
41
41
|
}
|
42
42
|
&.avatar-xl {
|
43
|
-
width: ($spacer * 5);
|
44
|
-
height: ($spacer * 5);
|
43
|
+
width: ($spacer * 4.5);
|
44
|
+
height: ($spacer * 4.5);
|
45
45
|
.avatar-text { font-size: $h1-font-size; }
|
46
46
|
}
|
47
47
|
}
|
48
48
|
|
49
49
|
// Avatar as a link
|
50
50
|
a.avatar {
|
51
|
+
color: inherit !important;
|
51
52
|
opacity: 1;
|
52
53
|
transition: $transition-fade;
|
53
54
|
&:hover, &:active { opacity: $btn-disabled-opacity; }
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// Chat functionality within FP admin and public (livestream event template)
|
2
|
+
|
3
|
+
.chat-container {
|
4
|
+
display: flex;
|
5
|
+
align-items: flex-end;
|
6
|
+
width: 100%;
|
7
|
+
max-height: 100%;
|
8
|
+
height: 100%;
|
9
|
+
z-index: 0;
|
10
|
+
&:after {
|
11
|
+
position: absolute;
|
12
|
+
top: 0;
|
13
|
+
left: 0;
|
14
|
+
width: 100%;
|
15
|
+
height: $spacer;
|
16
|
+
@include gradient-y(transparentize($white, 0), transparentize($white, 1));
|
17
|
+
content: '';
|
18
|
+
z-index: 10;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
.chat-messages {
|
22
|
+
display: flex;
|
23
|
+
flex-direction: column;
|
24
|
+
align-items: flex-end;
|
25
|
+
padding-top: $spacer;
|
26
|
+
width: 100%;
|
27
|
+
max-height: 100%;
|
28
|
+
overflow-y: auto;
|
29
|
+
z-index: 0;
|
30
|
+
}
|
31
|
+
.chat-message {
|
32
|
+
// donation icon in chat message renders top left of avatar
|
33
|
+
.icon-circle {
|
34
|
+
position: absolute;
|
35
|
+
top: -($spacer * .5);
|
36
|
+
left: -($spacer * .5);
|
37
|
+
z-index: 20;
|
38
|
+
}
|
39
|
+
}
|
@@ -7,8 +7,8 @@
|
|
7
7
|
align-items: center;
|
8
8
|
justify-content: center;
|
9
9
|
vertical-align: middle;
|
10
|
-
width: ($spacer * 1.
|
11
|
-
height: ($spacer * 1.
|
10
|
+
width: ($spacer * 1.25);
|
11
|
+
height: ($spacer * 1.25);
|
12
12
|
font-size: $font-size-base;
|
13
13
|
background-color: $border-color;
|
14
14
|
border-radius: 50%;
|
data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_illustration.scss
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
.illustration {
|
2
2
|
max-width: 100%;
|
3
3
|
height: auto;
|
4
|
-
max-height: ($spacer *
|
4
|
+
max-height: ($spacer * 4.5);
|
5
5
|
}
|
6
|
-
.illustration-
|
7
|
-
.illustration-
|
6
|
+
.illustration-xs { max-height: ($spacer * 1.5); }
|
7
|
+
.illustration-sm { max-height: ($spacer * 3); }
|
8
|
+
.illustration-lg { max-height: ($spacer * 7.5); }
|
@@ -4,7 +4,7 @@
|
|
4
4
|
.nav-steps {
|
5
5
|
.nav-item {
|
6
6
|
position: relative;
|
7
|
-
|
7
|
+
line-height: 1;
|
8
8
|
|
9
9
|
// Background connector bar between items
|
10
10
|
&::before {
|
@@ -43,7 +43,7 @@
|
|
43
43
|
.step-indicator {
|
44
44
|
background-color: $secondary;
|
45
45
|
border-color: $secondary;
|
46
|
-
&::after { box-shadow: 0 0 0 ($spacer * .25) transparentize($secondary, 0.
|
46
|
+
&::after { box-shadow: 0 0 0 ($spacer * .25) transparentize($secondary, 0.8); }
|
47
47
|
}
|
48
48
|
}
|
49
49
|
}
|
@@ -97,12 +97,13 @@
|
|
97
97
|
width: 100%;
|
98
98
|
height: 100%;
|
99
99
|
border-radius: 50%;
|
100
|
-
box-shadow: 0 0 0 ($spacer * .25) transparentize($primary, 0.
|
100
|
+
box-shadow: 0 0 0 ($spacer * .25) transparentize($primary, 0.8);
|
101
101
|
transition: $transition-fade;
|
102
102
|
opacity: 0;
|
103
103
|
content: '';
|
104
104
|
}
|
105
105
|
}
|
106
|
+
.step-text { line-height: 1.143; }
|
106
107
|
}
|
107
108
|
|
108
109
|
|
data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_overlay_blocker.scss
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
.overlay-white {
|
2
|
+
position: absolute;
|
3
|
+
top: 0;
|
4
|
+
right: 0;
|
5
|
+
bottom: 0;
|
6
|
+
left: 0;
|
7
|
+
z-index: 30;
|
8
|
+
font-family: $font-family-base;
|
9
|
+
letter-spacing: 0;
|
10
|
+
word-spacing: 0;
|
11
|
+
background-color: transparentize($white, 0.1);
|
12
|
+
}
|
13
|
+
.overlay-blur {
|
14
|
+
transition: $transition-base;
|
15
|
+
filter: blur(0);
|
16
|
+
&.in { filter: blur(4px); }
|
17
|
+
}
|
@@ -86,11 +86,11 @@ $slat-actions-lg-width: 108px;
|
|
86
86
|
.slat-actions {
|
87
87
|
flex-grow: 0;
|
88
88
|
flex-shrink: 0;
|
89
|
-
flex-basis: ($spacer * 2.
|
89
|
+
flex-basis: ($spacer * 2.25);
|
90
90
|
text-align: right;
|
91
|
-
@include media-breakpoint-up(md) { flex-basis: ($spacer *
|
92
|
-
.slat-actions-sm & { flex-basis: ($spacer * 2.
|
93
|
-
.slat-actions-lg & { flex-basis: ($spacer *
|
91
|
+
@include media-breakpoint-up(md) { flex-basis: ($spacer * 4.375); }
|
92
|
+
.slat-actions-sm & { flex-basis: ($spacer * 2.25); }
|
93
|
+
.slat-actions-lg & { flex-basis: ($spacer * 4.375); }
|
94
94
|
}
|
95
95
|
|
96
96
|
|
@@ -112,7 +112,7 @@ $slat-actions-lg-width: 108px;
|
|
112
112
|
|
113
113
|
// Slat header
|
114
114
|
.slat-header {
|
115
|
-
padding-bottom: ($spacer * .
|
115
|
+
padding-bottom: ($spacer * .25);
|
116
116
|
border-bottom: $border-width solid $border-color;
|
117
117
|
.slat { padding: 0 !important; }
|
118
118
|
.slat-body { align-items: center; }
|
data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_social_share.scss
CHANGED
@@ -21,26 +21,27 @@ $social-media-colors: map-merge(
|
|
21
21
|
|
22
22
|
|
23
23
|
// Buttons
|
24
|
-
@each $
|
25
|
-
.btn-#{$
|
24
|
+
@each $social-media, $value in $social-media-colors {
|
25
|
+
.btn-#{$social-media} {
|
26
|
+
color: $white !important;
|
26
27
|
@include button-variant($value, $value);
|
27
28
|
}
|
28
29
|
}
|
29
30
|
|
30
|
-
@each $
|
31
|
-
.btn-outline-#{$
|
31
|
+
@each $social-media, $value in $social-media-colors {
|
32
|
+
.btn-outline-#{$social-media} {
|
32
33
|
@include button-outline-variant($value);
|
33
34
|
}
|
34
35
|
}
|
35
36
|
|
36
37
|
|
37
38
|
// Text
|
38
|
-
@each $
|
39
|
-
@include text-emphasis-variant(".text-#{$
|
39
|
+
@each $social-media, $value in $social-media-colors {
|
40
|
+
@include text-emphasis-variant(".text-#{$social-media}", $value);
|
40
41
|
}
|
41
42
|
|
42
43
|
|
43
44
|
// Backgrounds
|
44
|
-
@each $
|
45
|
-
@include bg-variant(".bg-#{$
|
45
|
+
@each $social-media, $value in $social-media-colors {
|
46
|
+
@include bg-variant(".bg-#{$social-media}", $value);
|
46
47
|
}
|
@@ -1,12 +1,9 @@
|
|
1
1
|
// Styles specific to the ticket experience
|
2
2
|
.ticket-guest {
|
3
|
-
padding: $spacer
|
4
|
-
|
5
|
-
box-shadow: $box-shadow-sm;
|
6
|
-
@include transition(box-shadow .4s ease-in-out, padding .3s ease-in-out); // animation for active/inactive ticket guest rows
|
3
|
+
padding-bottom: $spacer;
|
4
|
+
transition: $transition-base;
|
7
5
|
&.disabled {
|
8
6
|
opacity: .4;
|
9
7
|
pointer-events: none;
|
10
8
|
}
|
11
9
|
}
|
12
|
-
.ticket-guest-row { @include transition(box-shadow .1s ease-in-out, padding .3s ease-in-out); } // corresponding animation for active/inactive ticket guest rows
|
@@ -1,7 +1,6 @@
|
|
1
1
|
//
|
2
2
|
// Base styles
|
3
3
|
//
|
4
|
-
|
5
4
|
.tile {
|
6
5
|
display: block;
|
7
6
|
margin-right: auto;
|
@@ -9,36 +8,36 @@
|
|
9
8
|
word-wrap: break-word;
|
10
9
|
background-color: $white;
|
11
10
|
border: $border-width solid $border-color;
|
11
|
+
border-radius: $border-radius-lg;
|
12
12
|
+ .tile { margin-top: $spacer; }
|
13
13
|
}
|
14
|
-
|
15
14
|
.tile-body {
|
16
|
-
padding: $grid-gutter-width;
|
17
|
-
@include media-breakpoint-up(sm) { padding: ($grid-gutter-width * 1.
|
15
|
+
padding: $grid-gutter-width ($grid-gutter-width * .75);
|
16
|
+
@include media-breakpoint-up(sm) { padding: ($grid-gutter-width * 1.25) $grid-gutter-width; }
|
18
17
|
}
|
19
18
|
|
19
|
+
|
20
20
|
// Sections within a tile used to separate groups of content
|
21
21
|
.tile-section {
|
22
22
|
display: block;
|
23
23
|
margin-right: auto;
|
24
24
|
margin-left: auto;
|
25
|
-
@include media-breakpoint-down(sm) { padding-bottom:
|
25
|
+
@include media-breakpoint-down(sm) { padding-bottom: $grid-gutter-width; }
|
26
26
|
@include media-breakpoint-up(sm) { padding-bottom: ($grid-gutter-width * 2); }
|
27
27
|
&:last-child { padding-bottom: 0; }
|
28
28
|
+ .tile-section {
|
29
29
|
border-top: $border-width solid $border-color;
|
30
|
-
@include media-breakpoint-down(sm) { padding-top:
|
30
|
+
@include media-breakpoint-down(sm) { padding-top: $grid-gutter-width; }
|
31
31
|
@include media-breakpoint-up(sm) { padding-top: ($grid-gutter-width * 2); }
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
35
|
+
|
35
36
|
//
|
36
37
|
// Optional textual caps
|
37
38
|
//
|
38
|
-
|
39
39
|
.tile-header, .tile-footer {
|
40
|
-
padding: ($grid-gutter-width
|
41
|
-
background-color: $white;
|
40
|
+
padding: ($grid-gutter-width * .75);
|
42
41
|
@include media-breakpoint-up(sm) { padding: $grid-gutter-width; }
|
43
42
|
}
|
44
43
|
.tile-header {
|
@@ -49,13 +48,13 @@
|
|
49
48
|
}
|
50
49
|
.tile-body + .tile-footer { border-top: $border-width solid $border-color; }
|
51
50
|
|
51
|
+
|
52
52
|
//
|
53
53
|
// Header navs
|
54
54
|
//
|
55
|
-
|
56
55
|
.tile-header-tabs {
|
57
56
|
margin-right: -$grid-gutter-width;
|
58
|
-
margin-bottom: -($grid-gutter-width
|
57
|
+
margin-bottom: -($grid-gutter-width * .75);
|
59
58
|
margin-left: -$grid-gutter-width;
|
60
59
|
border-bottom: 0;
|
61
60
|
@include media-breakpoint-up(sm) { margin-bottom: -$grid-gutter-width; }
|