@updevs/components 1.0.0-alpha.1 → 1.0.0-alpha.3
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.
- package/README.md +5 -22
- package/assets/styles/_bootstrap-components.scss +38 -0
- package/assets/styles/_bootstrap-config.scss +7 -0
- package/assets/styles/_bootstrap-override.scss +78 -0
- package/assets/styles/_config.scss +9 -0
- package/assets/styles/_core.scss +71 -0
- package/assets/styles/_mixins.scss +2 -0
- package/assets/styles/_updevs.scss +9 -0
- package/assets/styles/_utilities.scss +98 -0
- package/assets/styles/_variables-dark.scss +17 -0
- package/assets/styles/_variables.scss +934 -0
- package/assets/styles/fonts/_webfonts.scss +15 -0
- package/assets/styles/layout/_animations.scss +62 -0
- package/assets/styles/layout/_core.scss +61 -0
- package/assets/styles/layout/_dark.scss +72 -0
- package/assets/styles/layout/_footer.scss +12 -0
- package/assets/styles/layout/_navbar.scss +380 -0
- package/assets/styles/layout/_page.scss +169 -0
- package/assets/styles/layout/_root.scss +72 -0
- package/assets/styles/mixins/_functions.scss +43 -0
- package/assets/styles/mixins/_mixins.scss +68 -0
- package/assets/styles/ui/_accordion.scss +24 -0
- package/assets/styles/ui/_alerts.scss +59 -0
- package/assets/styles/ui/_avatars.scss +118 -0
- package/assets/styles/ui/_badges.scss +79 -0
- package/assets/styles/ui/_breadcrumbs.scss +50 -0
- package/assets/styles/ui/_button-group.scss +16 -0
- package/assets/styles/ui/_buttons.scss +265 -0
- package/assets/styles/ui/_calendars.scss +104 -0
- package/assets/styles/ui/_cards.scss +586 -0
- package/assets/styles/ui/_carousel.scss +68 -0
- package/assets/styles/ui/_charts.scss +61 -0
- package/assets/styles/ui/_chips.scss +0 -0
- package/assets/styles/ui/_close.scss +7 -0
- package/assets/styles/ui/_datagrid.scss +17 -0
- package/assets/styles/ui/_dropdowns.scss +117 -0
- package/assets/styles/ui/_empty.scss +65 -0
- package/assets/styles/ui/_flags.scss +31 -0
- package/assets/styles/ui/_forms.scss +224 -0
- package/assets/styles/ui/_grid.scss +115 -0
- package/assets/styles/ui/_icons.scss +72 -0
- package/assets/styles/ui/_images.scss +15 -0
- package/assets/styles/ui/_legend.scss +12 -0
- package/assets/styles/ui/_lists.scss +127 -0
- package/assets/styles/ui/_loaders.scss +72 -0
- package/assets/styles/ui/_login.scss +3 -0
- package/assets/styles/ui/_markdown.scss +42 -0
- package/assets/styles/ui/_modals.scss +67 -0
- package/assets/styles/ui/_nav.scss +92 -0
- package/assets/styles/ui/_offcanvas.scss +17 -0
- package/assets/styles/ui/_pagination.scss +56 -0
- package/assets/styles/ui/_payments.scss +28 -0
- package/assets/styles/ui/_placeholder.scss +9 -0
- package/assets/styles/ui/_popovers.scss +2 -0
- package/assets/styles/ui/_progress.scss +107 -0
- package/assets/styles/ui/_ribbons.scss +156 -0
- package/assets/styles/ui/_stars.scss +13 -0
- package/assets/styles/ui/_status.scss +163 -0
- package/assets/styles/ui/_steps.scss +152 -0
- package/assets/styles/ui/_switch-icon.scss +211 -0
- package/assets/styles/ui/_tables.scss +150 -0
- package/assets/styles/ui/_tags.scss +57 -0
- package/assets/styles/ui/_timeline.scss +61 -0
- package/assets/styles/ui/_toasts.scss +19 -0
- package/assets/styles/ui/_toolbar.scss +10 -0
- package/assets/styles/ui/_tracking.scss +29 -0
- package/assets/styles/ui/_type.scss +169 -0
- package/assets/styles/ui/forms/_form-check.scss +91 -0
- package/assets/styles/ui/forms/_form-colorinput.scss +54 -0
- package/assets/styles/ui/forms/_form-custom.scss +28 -0
- package/assets/styles/ui/forms/_form-icon.scss +35 -0
- package/assets/styles/ui/forms/_form-imagecheck.scss +104 -0
- package/assets/styles/ui/forms/_form-selectgroup.scss +153 -0
- package/assets/styles/ui/forms/_validation.scss +13 -0
- package/assets/styles/ui/typo/_hr.scss +74 -0
- package/assets/styles/utils/_background.scss +15 -0
- package/assets/styles/utils/_colors.scss +40 -0
- package/assets/styles/utils/_opacity.scss +7 -0
- package/assets/styles/utils/_scroll.scss +47 -0
- package/assets/styles/utils/_shadow.scss +17 -0
- package/assets/styles/utils/_sizing.scss +10 -0
- package/assets/styles/utils/_text.scss +15 -0
- package/button/ng-package.json +7 -0
- package/button/src/button.component.html +8 -0
- package/button/src/button.component.scss +5 -0
- package/button/src/button.component.spec.ts +23 -0
- package/button/src/button.component.ts +154 -0
- package/button/src/index.ts +1 -0
- package/button/src/public-api.ts +2 -0
- package/button/src/upd-button.module.ts +17 -0
- package/card/ng-package.json +7 -0
- package/card/src/card.component.html +105 -0
- package/card/src/card.component.scss +47 -0
- package/card/src/card.component.spec.ts +23 -0
- package/card/src/card.component.ts +112 -0
- package/card/src/directives/card-actions.directive.spec.ts +8 -0
- package/card/src/directives/card-actions.directive.ts +11 -0
- package/card/src/directives/card-footer.directive.spec.ts +8 -0
- package/card/src/directives/card-footer.directive.ts +11 -0
- package/card/src/directives/card-header.directive.spec.ts +8 -0
- package/card/src/directives/card-header.directive.ts +11 -0
- package/card/src/directives/card-image.directive.spec.ts +8 -0
- package/card/src/directives/card-image.directive.ts +11 -0
- package/card/src/directives/public-api.ts +4 -0
- package/card/src/index.ts +1 -0
- package/card/src/public-api.ts +3 -0
- package/card/src/types/card-state.type.ts +1 -0
- package/card/src/types/card-style.type.ts +1 -0
- package/card/src/types/hover-effect.type.ts +1 -0
- package/card/src/types/public-api.ts +5 -0
- package/card/src/types/ribbon-style.type.ts +1 -0
- package/card/src/types/status-position.type.ts +1 -0
- package/card/src/upd-card.module.ts +32 -0
- package/dropdown/ng-package.json +7 -0
- package/dropdown/src/dropdown.component.html +32 -0
- package/dropdown/src/dropdown.component.scss +19 -0
- package/dropdown/src/dropdown.component.spec.ts +23 -0
- package/dropdown/src/dropdown.component.ts +182 -0
- package/dropdown/src/index.ts +1 -0
- package/dropdown/src/models/dropdown-item.ts +22 -0
- package/dropdown/src/models/dropdown-item.type.ts +1 -0
- package/dropdown/src/models/public-api.ts +2 -0
- package/dropdown/src/public-api.ts +3 -0
- package/dropdown/src/upd-dropdown.module.ts +25 -0
- package/form/ng-package.json +7 -0
- package/form/src/form.module.ts +10 -0
- package/form/src/index.ts +1 -0
- package/form/src/public-api.ts +1 -0
- package/form-controls/checkbox/ng-package.json +7 -0
- package/form-controls/checkbox/src/checkbox.component.html +7 -0
- package/form-controls/checkbox/src/checkbox.component.scss +0 -0
- package/form-controls/checkbox/src/checkbox.component.spec.ts +23 -0
- package/form-controls/checkbox/src/checkbox.component.ts +48 -0
- package/form-controls/checkbox/src/index.ts +1 -0
- package/form-controls/checkbox/src/public-api.ts +3 -0
- package/form-controls/checkbox/src/upd-checkbox.module.ts +19 -0
- package/form-controls/input/ng-package.json +7 -0
- package/form-controls/input/src/directives/input-append.directive.spec.ts +8 -0
- package/form-controls/input/src/directives/input-append.directive.ts +11 -0
- package/form-controls/input/src/directives/input-prepend.directive.spec.ts +8 -0
- package/form-controls/input/src/directives/input-prepend.directive.ts +11 -0
- package/form-controls/input/src/directives/public-api.ts +2 -0
- package/form-controls/input/src/index.ts +1 -0
- package/form-controls/input/src/input.component.html +82 -0
- package/form-controls/input/src/input.component.scss +13 -0
- package/form-controls/input/src/input.component.spec.ts +23 -0
- package/form-controls/input/src/input.component.ts +124 -0
- package/form-controls/input/src/public-api.ts +4 -0
- package/form-controls/input/src/types/input.type.ts +1 -0
- package/form-controls/input/src/types/loader-position.type.ts +1 -0
- package/form-controls/input/src/types/public-api.ts +2 -0
- package/form-controls/input/src/upd-input.module.ts +29 -0
- package/form-controls/radio/ng-package.json +7 -0
- package/form-controls/radio/src/index.ts +1 -0
- package/form-controls/radio/src/public-api.ts +2 -0
- package/form-controls/radio/src/radio.component.html +7 -0
- package/form-controls/radio/src/radio.component.scss +0 -0
- package/form-controls/radio/src/radio.component.spec.ts +23 -0
- package/form-controls/radio/src/radio.component.ts +47 -0
- package/form-controls/radio/src/upd-radio.module.ts +17 -0
- package/form-controls/select/ng-package.json +7 -0
- package/form-controls/select/src/components/multiple/select-multiple.component.html +41 -0
- package/form-controls/select/src/components/multiple/select-multiple.component.scss +6 -0
- package/form-controls/select/src/components/multiple/select-multiple.component.spec.ts +21 -0
- package/form-controls/select/src/components/multiple/select-multiple.component.ts +69 -0
- package/form-controls/select/src/components/shared.scss +40 -0
- package/form-controls/select/src/components/single/select.component.html +53 -0
- package/form-controls/select/src/components/single/select.component.scss +3 -0
- package/form-controls/select/src/components/single/select.component.spec.ts +23 -0
- package/form-controls/select/src/components/single/select.component.ts +58 -0
- package/form-controls/select/src/index.ts +1 -0
- package/form-controls/select/src/models/abstractions/base-select.component.ts +259 -0
- package/form-controls/select/src/models/public-api.ts +1 -0
- package/form-controls/select/src/models/select-item.ts +26 -0
- package/form-controls/select/src/public-api.ts +4 -0
- package/form-controls/select/src/upd-select.module.ts +32 -0
- package/form-controls/textarea/ng-package.json +7 -0
- package/form-controls/textarea/src/index.ts +1 -0
- package/form-controls/textarea/src/public-api.ts +2 -0
- package/form-controls/textarea/src/textarea.component.html +8 -0
- package/form-controls/textarea/src/textarea.component.scss +0 -0
- package/form-controls/textarea/src/textarea.component.spec.ts +23 -0
- package/form-controls/textarea/src/textarea.component.ts +47 -0
- package/form-controls/textarea/src/upd-textarea.module.ts +17 -0
- package/form-controls/time-picker/ng-package.json +7 -0
- package/form-controls/time-picker/src/assets/i18n/en.json +5 -0
- package/form-controls/time-picker/src/assets/i18n/pt.json +5 -0
- package/form-controls/time-picker/src/index.ts +1 -0
- package/form-controls/time-picker/src/public-api.ts +3 -0
- package/form-controls/time-picker/src/time-picker.component.html +17 -0
- package/form-controls/time-picker/src/time-picker.component.scss +10 -0
- package/form-controls/time-picker/src/time-picker.component.spec.ts +21 -0
- package/form-controls/time-picker/src/time-picker.component.ts +110 -0
- package/form-controls/time-picker/src/time-selector/time-selector.component.html +44 -0
- package/form-controls/time-picker/src/time-selector/time-selector.component.scss +47 -0
- package/form-controls/time-picker/src/time-selector/time-selector.component.spec.ts +21 -0
- package/form-controls/time-picker/src/time-selector/time-selector.component.ts +107 -0
- package/form-controls/time-picker/src/upd-time-picker.module.ts +39 -0
- package/layout/ng-package.json +7 -0
- package/layout/src/abstractions/base-page.component.ts +21 -0
- package/layout/src/abstractions/public-api.ts +1 -0
- package/layout/src/assets/i18n/en.json +5 -0
- package/layout/src/assets/i18n/pt.json +5 -0
- package/layout/src/index.ts +1 -0
- package/layout/src/layouts/blank-layout/blank-layout.component.html +1 -0
- package/layout/src/layouts/blank-layout/blank-layout.component.scss +0 -0
- package/layout/src/layouts/blank-layout/blank-layout.component.spec.ts +23 -0
- package/layout/src/layouts/blank-layout/blank-layout.component.ts +10 -0
- package/layout/src/layouts/blank-layout/blank-layout.module.ts +17 -0
- package/layout/src/layouts/public-api.ts +4 -0
- package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.html +14 -0
- package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.scss +0 -0
- package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.spec.ts +23 -0
- package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.ts +31 -0
- package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.ts +52 -0
- package/layout/src/models/public-api.ts +1 -0
- package/layout/src/models/upd-layout-config.model.ts +71 -0
- package/layout/src/models/upd-layout.config.ts +37 -0
- package/layout/src/pages/auth-flow/auth-flow-routing.module.ts +21 -0
- package/layout/src/pages/auth-flow/auth-flow.module.ts +29 -0
- package/layout/src/pages/auth-flow/logged-out/logged-out.component.html +1 -0
- package/layout/src/pages/auth-flow/logged-out/logged-out.component.scss +0 -0
- package/layout/src/pages/auth-flow/logged-out/logged-out.component.spec.ts +23 -0
- package/layout/src/pages/auth-flow/logged-out/logged-out.component.ts +10 -0
- package/layout/src/pages/auth-flow/login/login.component.html +96 -0
- package/layout/src/pages/auth-flow/login/login.component.scss +0 -0
- package/layout/src/pages/auth-flow/login/login.component.spec.ts +23 -0
- package/layout/src/pages/auth-flow/login/login.component.ts +26 -0
- package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.html +1 -0
- package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.scss +0 -0
- package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.spec.ts +23 -0
- package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.ts +10 -0
- package/layout/src/pages/auth-flow/public-api.ts +5 -0
- package/layout/src/pages/public-api.ts +1 -0
- package/layout/src/partials/footer/footer-copyright.directive.spec.ts +8 -0
- package/layout/src/partials/footer/footer-copyright.directive.ts +9 -0
- package/layout/src/partials/footer/footer.component.html +30 -0
- package/layout/src/partials/footer/footer.component.scss +0 -0
- package/{src/lib/components.component.spec.ts → layout/src/partials/footer/footer.component.spec.ts} +6 -6
- package/layout/src/partials/footer/footer.component.ts +73 -0
- package/layout/src/partials/footer/public-api.ts +2 -0
- package/layout/src/partials/header/header-style.type.ts +1 -0
- package/layout/src/partials/header/header.component.html +163 -0
- package/layout/src/partials/header/header.component.scss +0 -0
- package/layout/src/partials/header/header.component.spec.ts +23 -0
- package/layout/src/partials/header/header.component.ts +86 -0
- package/layout/src/partials/header/public-api.ts +2 -0
- package/layout/src/partials/page-header/page-header.component.html +19 -0
- package/layout/src/partials/page-header/page-header.component.scss +0 -0
- package/layout/src/partials/page-header/page-header.component.spec.ts +23 -0
- package/layout/src/partials/page-header/page-header.component.ts +11 -0
- package/layout/src/partials/page-header/public-api.ts +1 -0
- package/layout/src/partials/public-api.ts +4 -0
- package/layout/src/partials/sidebar/public-api.ts +1 -0
- package/layout/src/partials/sidebar/sidebar.component.html +62 -0
- package/layout/src/partials/sidebar/sidebar.component.scss +0 -0
- package/layout/src/partials/sidebar/sidebar.component.spec.ts +23 -0
- package/layout/src/partials/sidebar/sidebar.component.ts +161 -0
- package/layout/src/public-api.ts +7 -0
- package/layout/src/services/public-api.ts +1 -0
- package/{src/lib/components.service.spec.ts → layout/src/services/upd-layout-config.service.spec.ts} +4 -4
- package/layout/src/services/upd-layout-config.service.ts +20 -0
- package/layout/src/tools/layout.constants.ts +18 -0
- package/layout/src/upd-layout.module.ts +34 -0
- package/link/ng-package.json +7 -0
- package/link/src/index.ts +1 -0
- package/link/src/link.component.html +3 -0
- package/link/src/link.component.scss +3 -0
- package/link/src/link.component.spec.ts +23 -0
- package/link/src/link.component.ts +48 -0
- package/link/src/public-api.ts +3 -0
- package/link/src/target.type.ts +1 -0
- package/link/src/upd-link.module.ts +17 -0
- package/list/ng-package.json +7 -0
- package/list/src/assets/i18n/en.json +5 -0
- package/list/src/assets/i18n/pt.json +5 -0
- package/list/src/index.ts +1 -0
- package/list/src/list.component.html +58 -0
- package/list/src/list.component.scss +21 -0
- package/list/src/list.component.spec.ts +23 -0
- package/list/src/list.component.ts +147 -0
- package/list/src/models/badge-position.type.ts +1 -0
- package/list/src/models/list-item.model.ts +35 -0
- package/list/src/models/list-item.ts +21 -0
- package/list/src/models/public-api.ts +2 -0
- package/list/src/public-api.ts +3 -0
- package/list/src/upd-list.module.ts +30 -0
- package/ng-package.json +9 -6
- package/package.json +8 -5
- package/popover/ng-package.json +7 -0
- package/popover/src/index.ts +1 -0
- package/popover/src/popover.component.html +20 -0
- package/popover/src/popover.component.scss +8 -0
- package/popover/src/popover.component.spec.ts +23 -0
- package/popover/src/popover.component.ts +53 -0
- package/popover/src/popover.directive.spec.ts +8 -0
- package/popover/src/popover.directive.ts +128 -0
- package/popover/src/public-api.ts +3 -0
- package/popover/src/upd-popover.module.ts +20 -0
- package/src/lib/index.ts +1 -0
- package/src/lib/public-api.ts +2 -0
- package/src/lib/types/component-size.type.ts +1 -0
- package/src/lib/types/public-api.ts +2 -0
- package/src/lib/types/validation-status.type.ts +1 -0
- package/src/lib/upd-components.module.ts +6 -0
- package/src/public-api.ts +1 -7
- package/tsconfig.lib.json +11 -11
- package/src/lib/components.component.ts +0 -14
- package/src/lib/components.module.ts +0 -17
- package/src/lib/components.service.ts +0 -9
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Base styles
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.datagrid {
|
|
6
|
+
--#{$prefix}datagrid-padding: #{$datagrid-padding};
|
|
7
|
+
--#{$prefix}datagrid-item-width: #{$datagrid-item-width};
|
|
8
|
+
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-gap: var(--#{$prefix}datagrid-padding);
|
|
11
|
+
grid-template-columns: repeat(auto-fit, minmax(var(--#{$prefix}datagrid-item-width), 1fr));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.datagrid-title {
|
|
15
|
+
@include subheader;
|
|
16
|
+
margin-bottom: .25rem;
|
|
17
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
.dropdown-menu {
|
|
2
|
+
user-select: none;
|
|
3
|
+
|
|
4
|
+
&.card {
|
|
5
|
+
padding: 0;
|
|
6
|
+
min-width: $dropdown-max-width;
|
|
7
|
+
display: none;
|
|
8
|
+
|
|
9
|
+
&.show {
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.dropdown-item {
|
|
16
|
+
min-width: $dropdown-min-width;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
margin: 0;
|
|
20
|
+
line-height: $line-height-base;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dropdown-item-icon {
|
|
24
|
+
width: $icon-size !important;
|
|
25
|
+
height: $icon-size !important;
|
|
26
|
+
margin-right: .5rem;
|
|
27
|
+
color: var(--#{$prefix}secondary);
|
|
28
|
+
opacity: $text-secondary-opacity;
|
|
29
|
+
text-align: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dropdown-item-indicator {
|
|
33
|
+
margin-right: .5rem;
|
|
34
|
+
margin-left: -.25rem;
|
|
35
|
+
height: 1.25rem;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
line-height: 1;
|
|
38
|
+
vertical-align: bottom;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.dropdown-header {
|
|
43
|
+
@include subheader;
|
|
44
|
+
padding-bottom: .25rem;
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.dropdown-menu-scrollable {
|
|
49
|
+
height: auto;
|
|
50
|
+
max-height: $dropdown-scrollable-height;
|
|
51
|
+
overflow-x: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.dropdown-menu-column {
|
|
55
|
+
min-width: $dropdown-min-width;
|
|
56
|
+
|
|
57
|
+
.dropdown-item {
|
|
58
|
+
min-width: 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.dropdown-menu-columns {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex: 0 .25rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.dropdown-menu-arrow {
|
|
68
|
+
|
|
69
|
+
&:before {
|
|
70
|
+
content: "";
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: -.25rem;
|
|
73
|
+
left: .75rem;
|
|
74
|
+
display: block;
|
|
75
|
+
background: inherit;
|
|
76
|
+
width: 14px;
|
|
77
|
+
height: 14px;
|
|
78
|
+
/*rtl:ignore*/
|
|
79
|
+
transform: rotate(45deg);
|
|
80
|
+
transform-origin: center;
|
|
81
|
+
border: 1px solid;
|
|
82
|
+
border-color: inherit;
|
|
83
|
+
z-index: -1;
|
|
84
|
+
clip: rect(0px, 9px, 9px, 0px);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.dropdown-menu-end {
|
|
88
|
+
&:before {
|
|
89
|
+
right: .75rem;
|
|
90
|
+
left: auto;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.dropend {
|
|
96
|
+
> .dropdown-menu {
|
|
97
|
+
margin-top: subtract(-$dropdown-padding-y, 1px);
|
|
98
|
+
margin-left: -.25rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.dropdown-toggle {
|
|
102
|
+
&:after {
|
|
103
|
+
margin-left: auto;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.dropdown-menu-card {
|
|
109
|
+
padding: 0;
|
|
110
|
+
|
|
111
|
+
> .card {
|
|
112
|
+
margin: 0;
|
|
113
|
+
border: 0;
|
|
114
|
+
box-shadow: none;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.empty {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
height: 100%;
|
|
7
|
+
padding: 1rem;
|
|
8
|
+
text-align: center;
|
|
9
|
+
|
|
10
|
+
@include media-breakpoint-up(md) {
|
|
11
|
+
padding: 3rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.empty-icon {
|
|
16
|
+
margin: 0 0 1rem;
|
|
17
|
+
width: 3rem;
|
|
18
|
+
height: 3rem;
|
|
19
|
+
line-height: 1;
|
|
20
|
+
color: var(--#{$prefix}secondary);
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.empty-img {
|
|
29
|
+
margin: 0 0 2rem;
|
|
30
|
+
line-height: 1;
|
|
31
|
+
|
|
32
|
+
img {
|
|
33
|
+
height: 8rem;
|
|
34
|
+
width: auto;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.empty-header {
|
|
39
|
+
margin: 0 0 1rem;
|
|
40
|
+
font-size: 4rem;
|
|
41
|
+
font-weight: var(--#{$prefix}font-weight-light);
|
|
42
|
+
line-height: 1;
|
|
43
|
+
color: var(--#{$prefix}secondary);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.empty-title {
|
|
47
|
+
font-size: $h2-font-size;
|
|
48
|
+
line-height: $h2-line-height;
|
|
49
|
+
font-weight: $headings-font-weight;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.empty-title,
|
|
53
|
+
.empty-subtitle {
|
|
54
|
+
margin: 0 0 .5rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.empty-action {
|
|
58
|
+
margin-top: 1.5rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
.empty-bordered {
|
|
63
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
64
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
65
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
$countries: (
|
|
2
|
+
'ad', 'af', 'ae', 'afrun', 'ag', 'ai', 'al', 'am', 'ams', 'ao', 'aq', 'ar', 'as', 'at', 'au', 'aw', 'ax', 'az', 'ba', 'bb', 'bd', 'be', 'bf', 'bg', 'bh', 'bi', 'bj', 'bl', 'bm', 'bn', 'bo', 'bq-bo', 'bq-sa', 'bq-se', 'br', 'bs', 'bt', 'bv', 'bw', 'by', 'bz', 'ca', 'cc', 'cd', 'cf', 'cg', 'ch', 'ci', 'ck', 'cl', 'cm', 'cn', 'co', 'cr', 'cu', 'cv', 'cw', 'cx', 'cy', 'cz', 'de', 'dj', 'dk', 'dm', 'do', 'ec', 'ee', 'eg', 'eh', 'er', 'es', 'et', 'eu', 'fi', 'fj', 'fk', 'fm', 'fo', 'fr', 'ga', 'gb-eng', 'gb-sct', 'gb', 'gb-wls', 'gb-nir', 'gd', 'ge', 'gf', 'gg', 'gh', 'gi', 'gl', 'gm', 'gn', 'gp', 'gq', 'gr', 'gs', 'gt', 'gu', 'gw', 'gy', 'hk', 'hm', 'hn', 'hr', 'ht', 'hu', 'id', 'ie', 'il', 'im', 'in', 'io', 'iq', 'ir', 'is', 'it', 'je', 'jm', 'jo', 'jp', 'ke', 'kg', 'kh', 'ki', 'km', 'kn-sk', 'kp', 'kr', 'kw', 'ky', 'kz', 'la', 'lb', 'lc', 'li', 'lk', 'lr', 'ls', 'lt', 'lu', 'lv', 'ly', 'ma', 'mc', 'md', 'me', 'mf', 'mg', 'mh', 'mk', 'ml', 'mm', 'mn', 'mo', 'mp', 'mq', 'mr', 'ms', 'mt', 'mu', 'mv', 'mw', 'mx', 'my', 'mz', 'na', 'nc', 'ne', 'nf', 'ng', 'ni', 'nl', 'no', 'np', 'nr', 'nu', 'nz', 'om', 'pa', 'pe', 'pf', 'pg', 'ph', 'pk', 'pl', 'pm', 'pn', 'pr', 'ps', 'pt', 'pw', 'py', 'qa', 'rainbow', 're', 'ro', 'rs', 'ru', 'rw', 'sa', 'sb', 'sc', 'sd', 'se', 'sg', 'sh', 'si', 'sj', 'sk', 'sl', 'sm', 'sn', 'so', 'sr', 'ss', 'st', 'sv', 'sx', 'sy', 'sz', 'tc', 'td', 'tf', 'tg', 'th', 'tj', 'tk', 'tl', 'tm', 'tn', 'to', 'tr', 'tt', 'tv', 'tw', 'tz', 'ua', 'ug', 'um', 'unasur', 'us', 'uy', 'uz', 'va', 'vc', 've', 'vg', 'vi', 'vn', 'vu', 'wf', 'ws', 'ye', 'za', 'zm', 'zw'
|
|
3
|
+
);
|
|
4
|
+
|
|
5
|
+
.flag {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: inline-block;
|
|
8
|
+
height: $avatar-size;
|
|
9
|
+
aspect-ratio: 1.33333;
|
|
10
|
+
background: no-repeat center/cover;
|
|
11
|
+
box-shadow: $flag-box-shadow;
|
|
12
|
+
border-radius: $flag-border-radius;
|
|
13
|
+
vertical-align: bottom;
|
|
14
|
+
|
|
15
|
+
&.flag-country-np {
|
|
16
|
+
box-shadow: none;
|
|
17
|
+
border-radius: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@each $country in $countries {
|
|
22
|
+
.flag-country-#{$country} {
|
|
23
|
+
background-image: url("#{$assets-base}/img/flags/#{$country}.svg");
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@each $flag-size, $size in $flag-sizes {
|
|
28
|
+
.flag-#{$flag-size} {
|
|
29
|
+
height: map-get($size, size);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
textarea {
|
|
2
|
+
&[cols] {
|
|
3
|
+
height: auto;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
Form label
|
|
9
|
+
*/
|
|
10
|
+
.col-form-label,
|
|
11
|
+
.form-label {
|
|
12
|
+
display: block;
|
|
13
|
+
font-weight: var(--#{$prefix}font-weight-medium);
|
|
14
|
+
|
|
15
|
+
&.required {
|
|
16
|
+
&:after {
|
|
17
|
+
content: "*";
|
|
18
|
+
margin-left: .25rem;
|
|
19
|
+
color: $red;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.form-label-description {
|
|
25
|
+
float: right;
|
|
26
|
+
font-weight: var(--#{$prefix}font-weight-normal);
|
|
27
|
+
color: var(--#{$prefix}secondary);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
Form hint
|
|
32
|
+
*/
|
|
33
|
+
.form-hint {
|
|
34
|
+
display: block;
|
|
35
|
+
color: var(--#{$prefix}secondary);
|
|
36
|
+
|
|
37
|
+
&:last-child {
|
|
38
|
+
margin-bottom: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& + .form-control {
|
|
42
|
+
margin-top: .25rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.form-label + & {
|
|
46
|
+
margin-top: -.25rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.input-group + &,
|
|
50
|
+
.form-control + &,
|
|
51
|
+
.form-select + & {
|
|
52
|
+
margin-top: .5rem;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
Form single
|
|
58
|
+
*/
|
|
59
|
+
.form-select {
|
|
60
|
+
&:-moz-focusring {
|
|
61
|
+
color: var(--#{$prefix}body-color);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
Form control
|
|
67
|
+
*/
|
|
68
|
+
.form-control {
|
|
69
|
+
&:-webkit-autofill {
|
|
70
|
+
box-shadow: 0 0 0 1000px var(--#{$prefix}body-bg) inset;
|
|
71
|
+
color: var(--#{$prefix}body-color);
|
|
72
|
+
-webkit-text-fill-color: var(--#{$prefix}body-color);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:disabled,
|
|
76
|
+
&.disabled {
|
|
77
|
+
color: var(--#{$prefix}secondary);
|
|
78
|
+
user-select: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&[size] {
|
|
82
|
+
width: auto;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.form-control-light {
|
|
87
|
+
background-color: var(--#{$prefix}gray-100);
|
|
88
|
+
border-color: transparent;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.form-control-dark {
|
|
92
|
+
background-color: rgba($black, .1);
|
|
93
|
+
color: $white;
|
|
94
|
+
border-color: transparent;
|
|
95
|
+
|
|
96
|
+
&:focus {
|
|
97
|
+
background-color: rgba($black, .1);
|
|
98
|
+
box-shadow: none;
|
|
99
|
+
border-color: rgba($white, .24);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&::placeholder {
|
|
103
|
+
color: rgba($white, .6);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.form-control-rounded {
|
|
108
|
+
border-radius: 10rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.form-control-flush {
|
|
112
|
+
padding: 0;
|
|
113
|
+
background: none !important;
|
|
114
|
+
border-color: transparent !important;
|
|
115
|
+
resize: none;
|
|
116
|
+
box-shadow: none !important;
|
|
117
|
+
line-height: inherit;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.form-footer {
|
|
121
|
+
margin-top: 2rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.form-fieldset {
|
|
125
|
+
padding: 1rem;
|
|
126
|
+
margin-bottom: 1rem;
|
|
127
|
+
background: var(--#{$prefix}body-bg);
|
|
128
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
129
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
Form help
|
|
134
|
+
*/
|
|
135
|
+
.form-help {
|
|
136
|
+
display: inline-flex;
|
|
137
|
+
font-weight: var(--#{$prefix}font-weight-bold);
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
width: 1.125rem;
|
|
141
|
+
height: 1.125rem;
|
|
142
|
+
font-size: .75rem;
|
|
143
|
+
color: var(--#{$prefix}secondary);
|
|
144
|
+
text-align: center;
|
|
145
|
+
text-decoration: none;
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
user-select: none;
|
|
148
|
+
background: var(--#{$prefix}gray-100);
|
|
149
|
+
border-radius: $border-radius-pill;
|
|
150
|
+
@include transition(background-color $transition-time, color $transition-time);
|
|
151
|
+
|
|
152
|
+
&:hover,
|
|
153
|
+
&[aria-describedby] {
|
|
154
|
+
color: $white;
|
|
155
|
+
background: var(--#{$prefix}primary);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
Input group
|
|
162
|
+
*/
|
|
163
|
+
.input-group {
|
|
164
|
+
box-shadow: $input-box-shadow;
|
|
165
|
+
border-radius: $input-border-radius;
|
|
166
|
+
|
|
167
|
+
.form-control,
|
|
168
|
+
.btn {
|
|
169
|
+
box-shadow: none;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.input-group-link {
|
|
174
|
+
font-size: $h5-font-size;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.input-group-flat {
|
|
178
|
+
&:focus-within {
|
|
179
|
+
box-shadow: $input-focus-box-shadow;
|
|
180
|
+
border-radius: $input-border-radius;
|
|
181
|
+
|
|
182
|
+
.form-control,
|
|
183
|
+
.input-group-text {
|
|
184
|
+
border-color: $input-focus-border-color !important;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.form-control {
|
|
189
|
+
&:focus {
|
|
190
|
+
border-color: $input-border-color;
|
|
191
|
+
box-shadow: none;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&:not(:last-child) {
|
|
195
|
+
border-right: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&:not(:first-child) {
|
|
199
|
+
border-left: 0;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.input-group-text {
|
|
204
|
+
background: $form-check-input-bg;
|
|
205
|
+
@include transition($input-transition);
|
|
206
|
+
|
|
207
|
+
&:first-child {
|
|
208
|
+
padding-right: 0;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&:last-child {
|
|
212
|
+
padding-left: 0;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
Upload files
|
|
220
|
+
*/
|
|
221
|
+
.form-file-button {
|
|
222
|
+
margin-left: 0;
|
|
223
|
+
border-left: 0;
|
|
224
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
.row > * {
|
|
2
|
+
min-width: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.col-separator {
|
|
6
|
+
border-left: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.container {
|
|
10
|
+
@each $variation, $size in $container-variations {
|
|
11
|
+
&-#{$variation} {
|
|
12
|
+
@include make-container();
|
|
13
|
+
max-width: $size;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@each $name, $value in (0: 0, sm: .375rem, md: 1.5rem, lg: 3rem) {
|
|
19
|
+
.row-#{$name} {
|
|
20
|
+
margin-right: (-$value);
|
|
21
|
+
margin-left: -($value);
|
|
22
|
+
|
|
23
|
+
> .col,
|
|
24
|
+
> [class*="col-"] {
|
|
25
|
+
padding-right: $value;
|
|
26
|
+
padding-left: $value;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.card {
|
|
30
|
+
margin-bottom: 2 * $value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.row-deck {
|
|
36
|
+
> .col,
|
|
37
|
+
> [class*="col-"] {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: stretch;
|
|
40
|
+
|
|
41
|
+
.card {
|
|
42
|
+
flex: 1 1 auto;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.row-cards {
|
|
48
|
+
--#{$prefix}gutter-x: #{$cards-grid-gap};
|
|
49
|
+
--#{$prefix}gutter-y: #{$cards-grid-gap};
|
|
50
|
+
min-width: 0;
|
|
51
|
+
|
|
52
|
+
.row-cards {
|
|
53
|
+
flex: 1;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@each $name, $size in map-merge((null: $spacer), $spacers) {
|
|
58
|
+
$name-prefixed: if($name == null, null, '-#{$name}');
|
|
59
|
+
|
|
60
|
+
.space-y#{$name-prefixed} {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
gap: $size;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.space-x#{$name-prefixed} {
|
|
67
|
+
display: flex;
|
|
68
|
+
gap: $size;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@each $name, $size in map-merge((null: $spacer), $spacers) {
|
|
73
|
+
$name-prefixed: if($name == null, null, '-#{$name}');
|
|
74
|
+
|
|
75
|
+
.divide-y#{$name-prefixed} {
|
|
76
|
+
> :not(template) ~ :not(template) {
|
|
77
|
+
border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color-translucent) !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
> :not(template):not(:first-child) {
|
|
81
|
+
padding-top: $size !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
> :not(template):not(:last-child) {
|
|
85
|
+
padding-bottom: $size !important;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.divide-x#{$name-prefixed} {
|
|
90
|
+
> :not(template) ~ :not(template) {
|
|
91
|
+
border-left: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color-translucent) !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
> :not(template):not(:first-child) {
|
|
95
|
+
padding-left: $size !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
> :not(template):not(:last-child) {
|
|
99
|
+
padding-right: $size !important;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.divide-y-fill {
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: column;
|
|
107
|
+
height: 100%;
|
|
108
|
+
|
|
109
|
+
> :not(template) {
|
|
110
|
+
flex: 1;
|
|
111
|
+
display: flex;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Icon component
|
|
3
|
+
//
|
|
4
|
+
.icon {
|
|
5
|
+
--#{$prefix}icon-size: #{$font-size-base * $line-height-base};
|
|
6
|
+
width: var(--#{$prefix}icon-size);
|
|
7
|
+
height: var(--#{$prefix}icon-size);
|
|
8
|
+
font-size: var(--#{$prefix}icon-size);
|
|
9
|
+
vertical-align: bottom;
|
|
10
|
+
|
|
11
|
+
@if $icon-stroke-width {
|
|
12
|
+
stroke-width: $icon-stroke-width;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:hover {
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//
|
|
21
|
+
// Inline icon
|
|
22
|
+
//
|
|
23
|
+
.icon-inline {
|
|
24
|
+
--#{$prefix}icon-size: 1rem;
|
|
25
|
+
vertical-align: -.2rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//
|
|
29
|
+
// Filled icon
|
|
30
|
+
//
|
|
31
|
+
.icon-filled {
|
|
32
|
+
fill: currentColor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//
|
|
36
|
+
// Icon size
|
|
37
|
+
//
|
|
38
|
+
.icon-sm {
|
|
39
|
+
--#{$prefix}icon-size: 1rem;
|
|
40
|
+
stroke-width: 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.icon-md {
|
|
44
|
+
--#{$prefix}icon-size: 2.5rem;
|
|
45
|
+
stroke-width: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.icon-lg {
|
|
49
|
+
--#{$prefix}icon-size: 3.5rem;
|
|
50
|
+
stroke-width: 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
//
|
|
54
|
+
// Icons animation
|
|
55
|
+
//
|
|
56
|
+
.icon-pulse {
|
|
57
|
+
transition: all .15s ease 0s;
|
|
58
|
+
animation: pulse 2s ease infinite;
|
|
59
|
+
animation-fill-mode: both
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.icon-tada {
|
|
63
|
+
transition: all .15s ease 0s;
|
|
64
|
+
animation: tada 3s ease infinite;
|
|
65
|
+
animation-fill-mode: both
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.icon-rotate {
|
|
69
|
+
transition: all .15s ease 0s;
|
|
70
|
+
animation: rotate-360 3s linear infinite;
|
|
71
|
+
animation-fill-mode: both
|
|
72
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.img-responsive {
|
|
2
|
+
--#{$prefix}img-responsive-ratio: #{percentage(.75)};
|
|
3
|
+
background: no-repeat center/cover;
|
|
4
|
+
padding-top: var(--#{$prefix}img-responsive-ratio);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.img-responsive-grid {
|
|
8
|
+
padding-top: calc(var(--#{$prefix}img-responsive-ratio) - calc(var(--#{$prefix}gutter-y) / 2));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@each $key, $ratio in $aspect-ratios {
|
|
12
|
+
.img-responsive-#{$key} {
|
|
13
|
+
--#{$prefix}img-responsive-ratio: #{$ratio};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Legend
|
|
3
|
+
*/
|
|
4
|
+
.legend {
|
|
5
|
+
--#{$prefix}legend-size: #{$legend-size};
|
|
6
|
+
display: inline-block;
|
|
7
|
+
background: $legend-bg;
|
|
8
|
+
width: var(--#{$prefix}legend-size);
|
|
9
|
+
height: var(--#{$prefix}legend-size);
|
|
10
|
+
border-radius: $legend-border-radius;
|
|
11
|
+
border: 1px solid var(--#{$prefix}border-color-translucent);
|
|
12
|
+
}
|