nfg_ui 0.10.13 → 0.11.1
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/README.md +40 -2
- data/Rakefile +28 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/application.scss +9 -23
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_badge.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_buttons.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_custom-forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_custom.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_nav.scss +18 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_pagination.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_progress.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_reboot.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_type.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_utilities.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/custom/_icons.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/custom/_nav_step.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations}/plugins/_datetimepicker.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations}/plugins/_select2.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_custom.scss +1 -9
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_nav.scss +0 -38
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_tile.scss +2 -61
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_video_countdown.scss +47 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/_variables.scss +35 -34
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/application.scss +24 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/application.scss +4 -4
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_badge.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_buttons.scss +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_custom-forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_custom.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_functions.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_nav.scss +2 -4
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_navbar.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_reboot.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_type.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_utilities.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/custom/_everyday_default.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/custom/_nav_step.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/plugins/_datetimepicker.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/plugins/_select2.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/_variables.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/application.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_breadcrumb.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_button-group.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_card.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_carousel.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_custom-forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_custom.scss +1 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_grid.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_input-group.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_list-group.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_media.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_mixins.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_modal.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_nav.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_navbar.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_pagination.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_progress.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_utilities.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/custom/_avatar.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/custom/_everyday_giving.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/custom/_nav_step.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_slat.scss +64 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_video_countdown.scss +5 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/mixins/_breakpoints.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/mixins/_grid.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/utilities/_display.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/utilities/_flex.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/plugins/_sticky_div.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_alert.scss +6 -6
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_button-group.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_buttons.scss +1 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_card.scss +3 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_custom-forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_custom.scss +11 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_dropdown.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_forms.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_nav.scss +26 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/nfg_theme/_progress.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_reboot.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_tooltip.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_type.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_avatar.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_device_preview.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_illustration.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_mobile.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_nav_step.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_redactor.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_slat.scss +142 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/nfg_theme/custom/_social_share.scss +2 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_ticket.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/nfg_theme/custom/_tile.scss +1 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_datepicker.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_datetimepicker.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_intercom.scss +5 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_select2.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_sticky_div.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_turbolinks.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_twitter_typeahead.scss +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/application.scss +3 -20
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_custom.scss +1 -8
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_nav.scss +3 -38
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/{custom/_user_navbar.scss → _navbar.scss} +2 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_background_variations.scss +1 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/{_event.scss → custom/_event.scss} +0 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_everyday_story.scss +1 -1
- data/lib/nfg_ui.rb +0 -1
- data/lib/nfg_ui/components/elements/avatar.rb +1 -1
- data/lib/nfg_ui/components/elements/slat_item.rb +13 -8
- data/lib/nfg_ui/components/patterns/slat_actions.rb +9 -35
- data/lib/nfg_ui/components/patterns/slats.rb +60 -0
- data/lib/nfg_ui/components/traits.rb +1 -0
- data/lib/nfg_ui/components/traits/slats.rb +26 -0
- data/lib/nfg_ui/version.rb +1 -1
- metadata +103 -117
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/_variables.scss +0 -1125
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_progress.scss +0 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_nav.scss +0 -9
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_plugins.scss +0 -3
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_slat.scss +0 -112
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_social_share.scss +0 -44
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/custom/_slat.scss +0 -66
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_alert.scss +0 -2
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_button-group.scss +0 -22
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_buttons.scss +0 -17
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_card.scss +0 -6
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_custom-forms.scss +0 -156
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_dropdown.scss +0 -1
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_forms.scss +0 -85
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_reboot.scss +0 -34
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_tooltip.scss +0 -5
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_type.scss +0 -81
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_avatar.scss +0 -54
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_illustration.scss +0 -7
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_nav_step.scss +0 -111
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_slat.scss +0 -110
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_ticket.scss +0 -12
- data/app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_intercom.scss +0 -7
- data/lib/nfg_ui/components/patterns/slat_list.rb +0 -18
@@ -1 +0,0 @@
|
|
1
|
-
.dropdown-toggle::after { content: none; }
|
@@ -1,85 +0,0 @@
|
|
1
|
-
// Required styles
|
2
|
-
label {
|
3
|
-
font-weight: $font-weight-bold;
|
4
|
-
&.required {
|
5
|
-
padding-left: ($spacer * .5);
|
6
|
-
&::before{
|
7
|
-
content: '*';
|
8
|
-
color: theme-color("danger");
|
9
|
-
margin-left: -($spacer * .5);
|
10
|
-
padding-right: ($spacer * .25);
|
11
|
-
}
|
12
|
-
}
|
13
|
-
}
|
14
|
-
|
15
|
-
textarea.form-control { min-height: ($spacer * 6); }
|
16
|
-
|
17
|
-
// Form groups
|
18
|
-
//
|
19
|
-
// Designed to help with the organization and spacing of vertical forms. For
|
20
|
-
// horizontal forms, use the predefined grid classes.
|
21
|
-
|
22
|
-
.form-text {
|
23
|
-
font-size: $font-size-sm;
|
24
|
-
line-height: 1.3;
|
25
|
-
}
|
26
|
-
|
27
|
-
// Checkboxes and radios
|
28
|
-
//
|
29
|
-
// Indent the labels to position radios/checkboxes as hanging controls.
|
30
|
-
|
31
|
-
.form-check-label { font-weight: $font-weight-normal; }
|
32
|
-
.form-check-inline { display: inline-block; } // override inline-flex display for better line-height
|
33
|
-
|
34
|
-
|
35
|
-
// Form validation
|
36
|
-
//
|
37
|
-
// Provide feedback to users when form field values are valid or invalid. Works
|
38
|
-
// primarily for client-side validation via scoped `:invalid` and `:valid`
|
39
|
-
// pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for
|
40
|
-
// server side validation.
|
41
|
-
|
42
|
-
.valid-feedback,
|
43
|
-
.invalid-feedback {
|
44
|
-
line-height: 1.3;
|
45
|
-
}
|
46
|
-
.valid-tooltip,
|
47
|
-
.invalid-tooltip {
|
48
|
-
padding: $tooltip-padding-y $tooltip-padding-x;
|
49
|
-
font-size: $tooltip-font-size;
|
50
|
-
font-weight: $font-weight-bold;
|
51
|
-
line-height: 1.3;
|
52
|
-
border-radius: $tooltip-border-radius;
|
53
|
-
}
|
54
|
-
|
55
|
-
|
56
|
-
// Inline checkbox/radio validation is a sibling of the form element instead of a child
|
57
|
-
.form-group {
|
58
|
-
&.is-valid, &.is-invalid {
|
59
|
-
.form-check, .custom-control {
|
60
|
-
~ .valid-feedback, ~ .invalid-feedback { display: block; }
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
|
66
|
-
// Sometimes rails likes to say a form control is valid even when it isn't... this helps ensure that
|
67
|
-
// When simple_form (accurately) detects an error on the field...
|
68
|
-
// that the invalid version wins ... avoiding false readings
|
69
|
-
.is-invalid { border-color: $form-feedback-invalid-color !important; }
|
70
|
-
|
71
|
-
|
72
|
-
// Styles needed to override :valid success styles provided by bootstrap... this is for server side forms only
|
73
|
-
.form-control,
|
74
|
-
.custom-select {
|
75
|
-
.was-validated &:valid {
|
76
|
-
border-color: $input-border-color;
|
77
|
-
&:focus { border-color: $input-focus-border-color; }
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
.form-check-input {
|
82
|
-
.was-validated &:valid {
|
83
|
-
~ .form-check-label { color: inherit; }
|
84
|
-
}
|
85
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
html {
|
2
|
-
height: 100%;
|
3
|
-
font-size: 62.5%;
|
4
|
-
}
|
5
|
-
body {
|
6
|
-
-ms-overflow-style: scrollbar !important;
|
7
|
-
font-smooth: always;
|
8
|
-
-webkit-font-smoothing: antialiased;
|
9
|
-
-moz-font-smoothing: antialiased;
|
10
|
-
font-smoothing: antialiased;
|
11
|
-
text-rendering: optimizeLegibility;
|
12
|
-
font-size: $font-size-base;
|
13
|
-
@include media-breakpoint-down(md) {
|
14
|
-
overflow-x: hidden;
|
15
|
-
-webkit-overflow-scrolling: auto;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
div { position: relative; } // setting this as a base to avoid improper absolute positioning elements
|
20
|
-
|
21
|
-
ol,
|
22
|
-
ul,
|
23
|
-
dl {
|
24
|
-
margin-bottom: $paragraph-margin-bottom;
|
25
|
-
}
|
26
|
-
|
27
|
-
img { max-width: 100%; }
|
28
|
-
|
29
|
-
// Ensure that .disabled and [disabled] really aren't clickable
|
30
|
-
.disabled:not([data-toggle='tooltip']),
|
31
|
-
[disabled] {
|
32
|
-
pointer-events: none !important;
|
33
|
-
cursor: not-allowed !important;
|
34
|
-
}
|
@@ -1,81 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Headings
|
3
|
-
//
|
4
|
-
h1, .h1 { line-height: 1; }
|
5
|
-
h2, .h2 { line-height: 1.15; }
|
6
|
-
h3, .h3 { line-height: 1.1; }
|
7
|
-
h4, .h4 { line-height: 1; }
|
8
|
-
h5, .h5 { line-height: 1.2; }
|
9
|
-
h6, .h6 { line-height: 1.5; }
|
10
|
-
|
11
|
-
// Type display classes
|
12
|
-
.display-4 {
|
13
|
-
line-height: 1.3;
|
14
|
-
color: $text-muted;
|
15
|
-
}
|
16
|
-
|
17
|
-
|
18
|
-
//
|
19
|
-
// Misc
|
20
|
-
//
|
21
|
-
.font-size-base { font-size: $font-size-base !important; }
|
22
|
-
.font-size-sm {
|
23
|
-
font-size: $font-size-sm !important;
|
24
|
-
line-height: 1.3;
|
25
|
-
}
|
26
|
-
.font-size-lg { font-size: $font-size-lg !important; }
|
27
|
-
.line-height-sm { line-height: $line-height-sm; }
|
28
|
-
.line-height { line-height: 1.5; }
|
29
|
-
.line-height-lg { line-height: $line-height-lg; }
|
30
|
-
|
31
|
-
strong, .strong, b, .b { font-weight: $font-weight-bold; }
|
32
|
-
|
33
|
-
a.no-link-color {
|
34
|
-
&, &:visited { color: $body-color !important; }
|
35
|
-
|
36
|
-
&:hover, &:active, &:focus {
|
37
|
-
color: $primary !important;
|
38
|
-
text-decoration: none;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
// Contextual colors
|
43
|
-
@each $color, $value in $colors {
|
44
|
-
@include text-emphasis-variant(".text-#{$color}", $value);
|
45
|
-
}
|
46
|
-
|
47
|
-
|
48
|
-
// Adds a background divider to word
|
49
|
-
.text-divider {
|
50
|
-
position: relative;
|
51
|
-
&:after {
|
52
|
-
position: absolute;
|
53
|
-
top: 50%;
|
54
|
-
left: 0;
|
55
|
-
width: 100%;
|
56
|
-
height: 0;
|
57
|
-
border-top: $border-width solid $border-color;
|
58
|
-
content: '';
|
59
|
-
z-index: 0;
|
60
|
-
}
|
61
|
-
.text-center, .btn-center { z-index: 10; }
|
62
|
-
.text-center {
|
63
|
-
position: relative;
|
64
|
-
text-align: center;
|
65
|
-
line-height: 1;
|
66
|
-
span {
|
67
|
-
display: inline-block;
|
68
|
-
padding: ($spacer * .25) ($spacer * .5);
|
69
|
-
background-color: $white;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
.btn-center {
|
73
|
-
position: absolute;
|
74
|
-
top: -18px;
|
75
|
-
left: 50%;
|
76
|
-
.btn {
|
77
|
-
position: relative;
|
78
|
-
left: -50%;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
.avatar {
|
2
|
-
position: relative;
|
3
|
-
display: inline-flex;
|
4
|
-
align-items: center;
|
5
|
-
justify-content: center;
|
6
|
-
vertical-align: middle;
|
7
|
-
width: ($spacer * 2);
|
8
|
-
height: ($spacer * 2);
|
9
|
-
color: transparent;
|
10
|
-
background-color: $border-color;
|
11
|
-
border-radius: 50%;
|
12
|
-
|
13
|
-
// Images within avatars
|
14
|
-
img {
|
15
|
-
width: 100%;
|
16
|
-
height: 100%;
|
17
|
-
border-radius: inherit;
|
18
|
-
}
|
19
|
-
|
20
|
-
// Text (initials) within avatars
|
21
|
-
.avatar-text {
|
22
|
-
font-weight: $font-weight-bold;
|
23
|
-
font-size: $font-size-base;
|
24
|
-
line-height: 1;
|
25
|
-
color: $body-color;
|
26
|
-
text-align: center;
|
27
|
-
white-space: nowrap;
|
28
|
-
overflow: hidden;
|
29
|
-
}
|
30
|
-
|
31
|
-
// Sizes
|
32
|
-
&.avatar-sm {
|
33
|
-
width: $spacer;
|
34
|
-
height: $spacer;
|
35
|
-
.avatar-text { font-size: ($font-size-base * .625); }
|
36
|
-
}
|
37
|
-
&.avatar-lg {
|
38
|
-
width: ($spacer * 4);
|
39
|
-
height: ($spacer * 4);
|
40
|
-
.avatar-text { font-size: $font-size-lg; }
|
41
|
-
}
|
42
|
-
&.avatar-xl {
|
43
|
-
width: ($spacer * 5);
|
44
|
-
height: ($spacer * 5);
|
45
|
-
.avatar-text { font-size: $h1-font-size; }
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
// Avatar as a link
|
50
|
-
a.avatar {
|
51
|
-
opacity: 1;
|
52
|
-
transition: $transition-fade;
|
53
|
-
&:hover, &:active { opacity: $btn-disabled-opacity; }
|
54
|
-
}
|
@@ -1,111 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Steps
|
3
|
-
//
|
4
|
-
.nav-steps {
|
5
|
-
.nav-item {
|
6
|
-
position: relative;
|
7
|
-
|
8
|
-
|
9
|
-
// Background connector bar between items
|
10
|
-
&::before {
|
11
|
-
position: absolute;
|
12
|
-
top: (($spacer * .5) - .1rem);
|
13
|
-
right: 50%;
|
14
|
-
width: 100%;
|
15
|
-
height: ($border-width + 1px);
|
16
|
-
background-color: $border-color;
|
17
|
-
content: '';
|
18
|
-
z-index: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
// Removes the background connector bar on the last item
|
23
|
-
&:first-child {
|
24
|
-
&::before { display: none; }
|
25
|
-
}
|
26
|
-
|
27
|
-
|
28
|
-
// Various states
|
29
|
-
&.visited, &.active {
|
30
|
-
&::before { background-color: $primary; }
|
31
|
-
.step-indicator {
|
32
|
-
color: $white;
|
33
|
-
background-color: $primary;
|
34
|
-
border-color: $primary;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
&.active {
|
38
|
-
.nav-link {
|
39
|
-
.step-indicator::after { opacity: 1; }
|
40
|
-
}
|
41
|
-
~ .visited {
|
42
|
-
&::before { background-color: $secondary; }
|
43
|
-
.step-indicator {
|
44
|
-
background-color: $secondary;
|
45
|
-
border-color: $secondary;
|
46
|
-
&::after { box-shadow: 0 0 0 ($spacer * .25) transparentize($secondary, 0.5); };
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
50
|
-
&.disabled {
|
51
|
-
cursor: default;
|
52
|
-
pointer-events: none;
|
53
|
-
}
|
54
|
-
|
55
|
-
|
56
|
-
// Nav-link overrides
|
57
|
-
.nav-link {
|
58
|
-
position: relative;
|
59
|
-
display: inline-block;
|
60
|
-
padding: 0 ($spacer * .25);
|
61
|
-
z-index: 10;
|
62
|
-
&[href] {
|
63
|
-
@include hover-focus {
|
64
|
-
.step-indicator::after { opacity: 1; }
|
65
|
-
}
|
66
|
-
}
|
67
|
-
.step-text {
|
68
|
-
@include media-breakpoint-down(md) { display: none; }
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
|
73
|
-
// Circle step indicator uses either integeer or icon
|
74
|
-
.step-indicator {
|
75
|
-
display: flex;
|
76
|
-
align-items: center;
|
77
|
-
justify-content: center;
|
78
|
-
margin: 0 auto;
|
79
|
-
width: $spacer;
|
80
|
-
height: $spacer;
|
81
|
-
font-size: $font-size-sm;
|
82
|
-
font-weight: $font-weight-bold;
|
83
|
-
line-height: 100%;
|
84
|
-
color: $text-muted;
|
85
|
-
background-color: $white;
|
86
|
-
border: ($border-width + 1px) solid $border-color;
|
87
|
-
border-radius: 50%;
|
88
|
-
|
89
|
-
|
90
|
-
// Provides smooth transition for box-shadow
|
91
|
-
&::after {
|
92
|
-
position: absolute;
|
93
|
-
top: 0;
|
94
|
-
right: 0;
|
95
|
-
bottom: 0;
|
96
|
-
left: 0;
|
97
|
-
width: 100%;
|
98
|
-
height: 100%;
|
99
|
-
border-radius: 50%;
|
100
|
-
box-shadow: 0 0 0 ($spacer * .25) transparentize($primary, 0.5);
|
101
|
-
transition: $transition-fade;
|
102
|
-
opacity: 0;
|
103
|
-
content: '';
|
104
|
-
}
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
|
109
|
-
// Flex fix for equal width items
|
110
|
-
&.nav-fill .nav-item { flex-basis: 0; }
|
111
|
-
}
|
@@ -1,110 +0,0 @@
|
|
1
|
-
// Slat and its child elements
|
2
|
-
.slat {
|
3
|
-
display: flex;
|
4
|
-
flex-flow: row wrap;
|
5
|
-
}
|
6
|
-
|
7
|
-
|
8
|
-
// Body Column
|
9
|
-
.slat-body {
|
10
|
-
display: flex;
|
11
|
-
flex-flow: row wrap;
|
12
|
-
flex: 1 0 0;
|
13
|
-
margin-right: -($grid-gutter-width * .5);
|
14
|
-
margin-left: -($grid-gutter-width * .5);
|
15
|
-
width: 100%;
|
16
|
-
.slat-item {
|
17
|
-
flex: 1 0 0;
|
18
|
-
padding-right: ($grid-gutter-width * .5);
|
19
|
-
padding-left: ($grid-gutter-width * .5);
|
20
|
-
width: 100%;
|
21
|
-
max-width: 100%;
|
22
|
-
min-height: 1px;
|
23
|
-
&:first-child {
|
24
|
-
flex-grow: 2;
|
25
|
-
|
26
|
-
// Sizing options
|
27
|
-
&.slat-item-sm { flex-grow: 1; }
|
28
|
-
&.slat-item-lg { flex-grow: 6; }
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
|
34
|
-
// Action Column
|
35
|
-
.slat-actions {
|
36
|
-
padding-left: ($grid-gutter-width * .5);
|
37
|
-
flex: 0 0 ($spacer * 1.5);
|
38
|
-
width: auto;
|
39
|
-
max-width: none;
|
40
|
-
text-align: right;
|
41
|
-
@include media-breakpoint-up(sm) { flex-basis: ($spacer * 6); }
|
42
|
-
|
43
|
-
|
44
|
-
// Sizing options
|
45
|
-
&.slat-actions-sm { flex-basis: ($spacer * 1.5); }
|
46
|
-
&.slat-actions-lg { flex-basis: ($spacer * 12); }
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
// Slat header
|
51
|
-
.slat-header {
|
52
|
-
padding-bottom: ($spacer * .5);
|
53
|
-
.slat-body { align-items: center; }
|
54
|
-
}
|
55
|
-
|
56
|
-
|
57
|
-
// Slat list layout
|
58
|
-
.slat-list {
|
59
|
-
.slat {
|
60
|
-
padding-top: ($spacer * .5);
|
61
|
-
padding-bottom: ($spacer * .5);
|
62
|
-
|
63
|
-
|
64
|
-
// Various states
|
65
|
-
&.ui-sortable-placeholder {
|
66
|
-
visibility: visible !important;
|
67
|
-
background: theme-color("light");
|
68
|
-
border: $border-width dashed $border-color;
|
69
|
-
+ .slat { border-top: none; }
|
70
|
-
+ &.ui-sortable-helper {
|
71
|
-
border-top-style: dashed;
|
72
|
-
+ &.slat { border-top: none; }
|
73
|
-
}
|
74
|
-
}
|
75
|
-
&.ui-sortable-helper {
|
76
|
-
border-top: none;
|
77
|
-
opacity: .5;
|
78
|
-
border-top: none;
|
79
|
-
+ &.ui-sortable-placeholder { border-top: $border-width dashed $border-color; }
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
|
84
|
-
// Sizing options
|
85
|
-
&.slat-list-sm {
|
86
|
-
.slat {
|
87
|
-
padding-top: ($spacer * .25);
|
88
|
-
padding-bottom: ($spacer * .25);
|
89
|
-
}
|
90
|
-
}
|
91
|
-
&.slat-list-lg {
|
92
|
-
.slat {
|
93
|
-
padding-top: $spacer;
|
94
|
-
padding-bottom: $spacer;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
|
99
|
-
// Non-breaked version -- used when the goal is to have all slat-item columns on the same line in smaller screens
|
100
|
-
&:not(.slat-list-no-break) {
|
101
|
-
.slat-item {
|
102
|
-
&:first-child {
|
103
|
-
@include media-breakpoint-down(sm) {
|
104
|
-
flex-basis: 100%;
|
105
|
-
margin-bottom: $spacer;
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|