@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,586 @@
|
|
|
1
|
+
.card {
|
|
2
|
+
@include transition(transform $transition-time ease-out, opacity $transition-time ease-out, box-shadow $transition-time ease-out);
|
|
3
|
+
|
|
4
|
+
@media print {
|
|
5
|
+
border: none;
|
|
6
|
+
box-shadow: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@at-root a#{&} {
|
|
10
|
+
color: inherit;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
box-shadow: $box-shadow-card-hover;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.card {
|
|
19
|
+
box-shadow: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Card borderless
|
|
24
|
+
.card-borderless {
|
|
25
|
+
&,
|
|
26
|
+
.card-header,
|
|
27
|
+
.card-footer {
|
|
28
|
+
border-color: transparent;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Card stamp
|
|
33
|
+
.card-stamp {
|
|
34
|
+
--#{$prefix}stamp-size: 7rem;
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
width: calc(var(--#{$prefix}stamp-size) * 1);
|
|
39
|
+
height: calc(var(--#{$prefix}stamp-size) * 1);
|
|
40
|
+
max-height: 100%;
|
|
41
|
+
border-top-right-radius: $border-radius;
|
|
42
|
+
opacity: $card-stamp-opacity;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.card-stamp-lg {
|
|
48
|
+
--#{$prefix}stamp-size: 13rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.card-stamp-icon {
|
|
52
|
+
background: var(--#{$prefix}secondary);
|
|
53
|
+
color: var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
border-radius: $border-radius-pill;
|
|
58
|
+
width: calc(var(--#{$prefix}stamp-size) * 1);
|
|
59
|
+
height: calc(var(--#{$prefix}stamp-size) * 1);
|
|
60
|
+
position: relative;
|
|
61
|
+
top: calc(var(--#{$prefix}stamp-size) * -.25);
|
|
62
|
+
right: calc(var(--#{$prefix}stamp-size) * -.25);
|
|
63
|
+
font-size: calc(var(--#{$prefix}stamp-size) * .75);
|
|
64
|
+
transform: rotate(10deg);
|
|
65
|
+
|
|
66
|
+
.icon {
|
|
67
|
+
stroke-width: 2;
|
|
68
|
+
width: calc(var(--#{$prefix}stamp-size) * .75);
|
|
69
|
+
height: calc(var(--#{$prefix}stamp-size) * .75);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Card image
|
|
74
|
+
.card-img,
|
|
75
|
+
.card-img-start {
|
|
76
|
+
@include border-start-radius($card-inner-border-radius);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.card-img,
|
|
80
|
+
.card-img-end {
|
|
81
|
+
@include border-end-radius($card-inner-border-radius);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.card-img-overlay {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
justify-content: flex-end;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.card-img-overlay-dark {
|
|
91
|
+
background-image: $overlay-gradient;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.card-inactive {
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
box-shadow: none;
|
|
97
|
+
|
|
98
|
+
.card-body {
|
|
99
|
+
opacity: .64;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.card-active {
|
|
104
|
+
--#{$prefix}card-border-color: var(--#{$prefix}primary);
|
|
105
|
+
--#{$prefix}card-bg: var(--#{$prefix}active-bg);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.card-btn {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
justify-content: center;
|
|
112
|
+
padding: $card-spacer-y $card-spacer-x;
|
|
113
|
+
text-align: center;
|
|
114
|
+
@include transition(background $transition-time);
|
|
115
|
+
border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
116
|
+
flex: 1;
|
|
117
|
+
color: inherit;
|
|
118
|
+
font-weight: var(--#{$prefix}font-weight-medium);
|
|
119
|
+
|
|
120
|
+
&:hover {
|
|
121
|
+
text-decoration: none;
|
|
122
|
+
background: $active-bg;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
& + & {
|
|
126
|
+
border-left: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
Stacked card
|
|
132
|
+
*/
|
|
133
|
+
.card-stacked {
|
|
134
|
+
--#{$prefix}card-stacked-offset: .25rem;
|
|
135
|
+
position: relative;
|
|
136
|
+
|
|
137
|
+
&:after {
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: calc(-1 * var(--#{$prefix}card-stacked-offset));
|
|
140
|
+
right: var(--#{$prefix}card-stacked-offset);
|
|
141
|
+
left: var(--#{$prefix}card-stacked-offset);
|
|
142
|
+
height: var(--#{$prefix}card-stacked-offset);
|
|
143
|
+
content: "";
|
|
144
|
+
background: var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
|
|
145
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}card-border-color);
|
|
146
|
+
border-radius: var(--#{$prefix}card-border-radius) var(--#{$prefix}card-border-radius) 0 0;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.card-cover {
|
|
151
|
+
position: relative;
|
|
152
|
+
padding: $card-spacer-y $card-spacer-x;
|
|
153
|
+
background: #666666 no-repeat center/cover;
|
|
154
|
+
|
|
155
|
+
&:before {
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: 0;
|
|
158
|
+
right: 0;
|
|
159
|
+
bottom: 0;
|
|
160
|
+
left: 0;
|
|
161
|
+
content: "";
|
|
162
|
+
background: rgba($dark, .48);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&:first-child,
|
|
166
|
+
&:first-child:before {
|
|
167
|
+
border-radius: $border-radius $border-radius 0 0;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.card-cover-blurred {
|
|
172
|
+
&:before {
|
|
173
|
+
backdrop-filter: blur(2px);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.card-actions {
|
|
178
|
+
margin: -.5rem -.5rem -.5rem auto;
|
|
179
|
+
padding-left: .5rem;
|
|
180
|
+
|
|
181
|
+
a {
|
|
182
|
+
text-decoration: none;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// Card header
|
|
187
|
+
.card-header {
|
|
188
|
+
color: inherit;
|
|
189
|
+
display: flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
background: transparent;
|
|
192
|
+
|
|
193
|
+
&:first-child {
|
|
194
|
+
border-radius: var(--#{$prefix}card-border-radius) var(--#{$prefix}card-border-radius) 0 0;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.card-header-light {
|
|
199
|
+
border-bottom-color: transparent;
|
|
200
|
+
background: var(--#{$prefix}bg-surface-tertiary);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.card-header-tabs {
|
|
204
|
+
background: $card-header-tabs-bg;
|
|
205
|
+
flex: 1;
|
|
206
|
+
margin: calc(var(--#{$prefix}card-cap-padding-y) * -1) calc(var(--#{$prefix}card-cap-padding-x) * -1) calc(var(--#{$prefix}card-cap-padding-y) * -1);
|
|
207
|
+
padding: calc(var(--#{$prefix}card-cap-padding-y) * .5) calc(var(--#{$prefix}card-cap-padding-x) * .5) 0;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.card-header-pills {
|
|
211
|
+
flex: 1;
|
|
212
|
+
margin-top: -.5rem;
|
|
213
|
+
margin-bottom: -.5rem;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Card rotate
|
|
217
|
+
.card-rotate-left {
|
|
218
|
+
transform: rotate(-1.5deg);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.card-rotate-right {
|
|
222
|
+
transform: rotate(1.5deg);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// Card link
|
|
226
|
+
.card-link {
|
|
227
|
+
color: inherit;
|
|
228
|
+
|
|
229
|
+
&:hover {
|
|
230
|
+
color: inherit;
|
|
231
|
+
text-decoration: none;
|
|
232
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .08);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.card-link-rotate:hover {
|
|
237
|
+
transform: rotate(1.5deg);
|
|
238
|
+
opacity: 1
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.card-link-pop:hover {
|
|
242
|
+
transform: translateY(-2px);
|
|
243
|
+
opacity: 1
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// Card footer
|
|
247
|
+
.card-footer {
|
|
248
|
+
margin-top: auto;
|
|
249
|
+
|
|
250
|
+
&:last-child {
|
|
251
|
+
border-radius: 0 0 var(--#{$prefix}card-border-radius) var(--#{$prefix}card-border-radius);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.card-footer-transparent {
|
|
256
|
+
background: transparent;
|
|
257
|
+
border-color: transparent;
|
|
258
|
+
padding-top: 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.card-footer-borderless {
|
|
262
|
+
border-top: none;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// Card progress
|
|
266
|
+
.card-progress {
|
|
267
|
+
height: .25rem;
|
|
268
|
+
|
|
269
|
+
&:last-child {
|
|
270
|
+
border-radius: 0 0 2px 2px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&:first-child {
|
|
274
|
+
border-radius: 2px 2px 0 0;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.card-meta {
|
|
279
|
+
color: var(--#{$prefix}secondary);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.card-title {
|
|
283
|
+
display: block;
|
|
284
|
+
margin: 0 0 1rem;
|
|
285
|
+
font-size: $h3-font-size;
|
|
286
|
+
font-weight: var(--#{$prefix}font-weight-medium);
|
|
287
|
+
color: $headings-color;
|
|
288
|
+
line-height: 1.5rem;
|
|
289
|
+
|
|
290
|
+
@at-root a#{&}:hover {
|
|
291
|
+
color: inherit;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.card-header & {
|
|
295
|
+
margin: 0;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.card-subtitle {
|
|
300
|
+
margin-bottom: $card-title-spacer-y;
|
|
301
|
+
color: var(--#{$prefix}secondary);
|
|
302
|
+
font-weight: normal;
|
|
303
|
+
|
|
304
|
+
.card-header & {
|
|
305
|
+
margin: 0;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.card-title & {
|
|
309
|
+
margin: 0 0 0 .25rem;
|
|
310
|
+
font-size: $h4-font-size;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.card-body {
|
|
315
|
+
position: relative;
|
|
316
|
+
|
|
317
|
+
> :last-child {
|
|
318
|
+
margin-bottom: 0;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.card-sm > & {
|
|
322
|
+
padding: 1rem;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.card-md > & {
|
|
326
|
+
@include media-breakpoint-up(md) {
|
|
327
|
+
padding: 2.5rem;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.card-lg > & {
|
|
332
|
+
@include media-breakpoint-up(md) {
|
|
333
|
+
padding: 2rem;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
@include media-breakpoint-up(lg) {
|
|
337
|
+
padding: 4rem;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@media print {
|
|
342
|
+
padding: 0;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
& + & {
|
|
346
|
+
border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.card-body-scrollable {
|
|
351
|
+
overflow: auto;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
Card optinos
|
|
356
|
+
*/
|
|
357
|
+
.card-options {
|
|
358
|
+
top: 1.5rem;
|
|
359
|
+
right: .75rem;
|
|
360
|
+
display: flex;
|
|
361
|
+
margin-left: auto;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.card-options-link {
|
|
365
|
+
display: inline-block;
|
|
366
|
+
min-width: 1rem;
|
|
367
|
+
margin-left: .25rem;
|
|
368
|
+
color: var(--#{$prefix}secondary);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
Card status
|
|
374
|
+
*/
|
|
375
|
+
.card-status-top {
|
|
376
|
+
position: absolute;
|
|
377
|
+
top: 0;
|
|
378
|
+
right: 0;
|
|
379
|
+
left: 0;
|
|
380
|
+
height: $card-status-size;
|
|
381
|
+
border-radius: var(--#{$prefix}card-border-radius) var(--#{$prefix}card-border-radius) 0 0;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.card-status-start {
|
|
385
|
+
position: absolute;
|
|
386
|
+
right: auto;
|
|
387
|
+
bottom: 0;
|
|
388
|
+
width: $card-status-size;
|
|
389
|
+
height: 100%;
|
|
390
|
+
border-radius: var(--#{$prefix}card-border-radius) 0 0 var(--#{$prefix}card-border-radius);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.card-status-bottom {
|
|
394
|
+
position: absolute;
|
|
395
|
+
top: initial;
|
|
396
|
+
bottom: 0;
|
|
397
|
+
width: 100%;
|
|
398
|
+
height: $card-status-size;
|
|
399
|
+
border-radius: 0 0 var(--#{$prefix}card-border-radius) var(--#{$prefix}card-border-radius);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
Card table
|
|
404
|
+
*/
|
|
405
|
+
.card-table {
|
|
406
|
+
margin-bottom: 0 !important;
|
|
407
|
+
|
|
408
|
+
tr {
|
|
409
|
+
td,
|
|
410
|
+
th {
|
|
411
|
+
&:first-child {
|
|
412
|
+
padding-left: $card-spacer-x;
|
|
413
|
+
border-left: 0;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
&:last-child {
|
|
417
|
+
padding-right: $card-spacer-x;
|
|
418
|
+
border-right: 0;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
thead,
|
|
424
|
+
tbody,
|
|
425
|
+
tfoot {
|
|
426
|
+
tr {
|
|
427
|
+
&:first-child {
|
|
428
|
+
border-top: 0;
|
|
429
|
+
|
|
430
|
+
td,
|
|
431
|
+
th {
|
|
432
|
+
border-top: 0;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.card-body + & {
|
|
439
|
+
border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}table-border-color);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/*
|
|
444
|
+
Card code
|
|
445
|
+
*/
|
|
446
|
+
.card-code {
|
|
447
|
+
padding: 0;
|
|
448
|
+
|
|
449
|
+
.highlight {
|
|
450
|
+
margin: 0;
|
|
451
|
+
border: 0;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
pre {
|
|
455
|
+
margin: 0 !important;
|
|
456
|
+
border: 0 !important;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/*
|
|
461
|
+
Card chart
|
|
462
|
+
*/
|
|
463
|
+
.card-chart {
|
|
464
|
+
position: relative;
|
|
465
|
+
z-index: 1;
|
|
466
|
+
height: 3.5rem;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
Card avatar
|
|
471
|
+
*/
|
|
472
|
+
.card-avatar {
|
|
473
|
+
margin-left: auto;
|
|
474
|
+
margin-right: auto;
|
|
475
|
+
box-shadow: 0 0 0 .25rem var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
|
|
476
|
+
margin-top: calc(-1 * calc(var(--#{$prefix}avatar-size) * .5));
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/*
|
|
480
|
+
Card list group
|
|
481
|
+
*/
|
|
482
|
+
.card-list-group {
|
|
483
|
+
.card-body + & {
|
|
484
|
+
border-top: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.list-group-item {
|
|
488
|
+
padding-right: $card-spacer-x;
|
|
489
|
+
padding-left: $card-spacer-x;
|
|
490
|
+
border-right: 0;
|
|
491
|
+
border-left: 0;
|
|
492
|
+
border-radius: 0;
|
|
493
|
+
|
|
494
|
+
&:last-child {
|
|
495
|
+
border-bottom: 0;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
&:first-child {
|
|
499
|
+
border-top: 0;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
// Card tabs
|
|
505
|
+
.card-tabs {
|
|
506
|
+
.nav-tabs {
|
|
507
|
+
position: relative;
|
|
508
|
+
z-index: $zindex-dropdown;
|
|
509
|
+
border-bottom: 0;
|
|
510
|
+
|
|
511
|
+
.nav-link {
|
|
512
|
+
background: $card-cap-bg;
|
|
513
|
+
border: $card-border-width var(--#{$prefix}border-style) $card-border-color;
|
|
514
|
+
|
|
515
|
+
&.active,
|
|
516
|
+
&:active,
|
|
517
|
+
&:hover {
|
|
518
|
+
border-color: $card-border-color;
|
|
519
|
+
color: var(--#{$prefix}body-color);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&.active {
|
|
523
|
+
color: $headings-color;
|
|
524
|
+
background: var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface));
|
|
525
|
+
border-bottom-color: transparent;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.nav-item {
|
|
530
|
+
&:not(:first-child) {
|
|
531
|
+
.nav-link {
|
|
532
|
+
border-top-left-radius: 0;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
&:not(:last-child) {
|
|
537
|
+
.nav-link {
|
|
538
|
+
border-top-right-radius: 0;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
+ .nav-item {
|
|
543
|
+
margin-left: calc(-1 * #{$card-border-width});
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.nav-tabs-bottom {
|
|
549
|
+
margin-bottom: 0;
|
|
550
|
+
|
|
551
|
+
.nav-link {
|
|
552
|
+
margin-bottom: 0;
|
|
553
|
+
|
|
554
|
+
&.active {
|
|
555
|
+
border-top-color: transparent;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.nav-item {
|
|
560
|
+
margin-top: calc(-1 * #{$card-border-width});
|
|
561
|
+
margin-bottom: 0;
|
|
562
|
+
|
|
563
|
+
.nav-link {
|
|
564
|
+
border-bottom: $card-border-width var(--#{$prefix}border-style) $card-border-color;
|
|
565
|
+
border-radius: 0 0 $card-border-radius $card-border-radius;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
&:not(:first-child) .nav-link {
|
|
569
|
+
border-bottom-left-radius: 0;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
&:not(:last-child) .nav-link {
|
|
573
|
+
border-bottom-right-radius: 0;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.card {
|
|
579
|
+
border-bottom-left-radius: 0;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.nav-tabs + .tab-content .card {
|
|
583
|
+
border-bottom-left-radius: var(--#{$prefix}card-border-radius);
|
|
584
|
+
border-top-left-radius: 0;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.carousel {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.carousel-indicators-vertical {
|
|
6
|
+
left: auto;
|
|
7
|
+
top: 0;
|
|
8
|
+
margin: 0 1rem 0 0;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
[data-bs-target] {
|
|
12
|
+
margin: $carousel-indicator-spacer 0 $carousel-indicator-spacer;
|
|
13
|
+
width: $carousel-indicator-height;
|
|
14
|
+
height: $carousel-indicator-width;
|
|
15
|
+
border: 0;
|
|
16
|
+
border-left: $carousel-indicator-hit-area-height var(--#{$prefix}border-style) transparent;
|
|
17
|
+
border-right: $carousel-indicator-hit-area-height var(--#{$prefix}border-style) transparent;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.carousel-indicators-dot {
|
|
22
|
+
[data-bs-target] {
|
|
23
|
+
width: $carousel-indicator-dot-width;
|
|
24
|
+
height: $carousel-indicator-dot-width;
|
|
25
|
+
border-radius: $border-radius-pill;
|
|
26
|
+
border: $carousel-indicator-hit-area-height var(--#{$prefix}border-style) transparent;
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.carousel-indicators-thumb {
|
|
32
|
+
[data-bs-target] {
|
|
33
|
+
width: $carousel-indicator-thumb-width * .5;
|
|
34
|
+
height: auto;
|
|
35
|
+
background: no-repeat center/cover;
|
|
36
|
+
border: 0;
|
|
37
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
38
|
+
box-shadow: $box-shadow;
|
|
39
|
+
margin: 0 $carousel-indicator-spacer;
|
|
40
|
+
opacity: $carousel-indicator-thumb-opacity;
|
|
41
|
+
|
|
42
|
+
@include media-breakpoint-up(lg) {
|
|
43
|
+
width: $carousel-indicator-thumb-width;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:before {
|
|
47
|
+
content: "";
|
|
48
|
+
padding-top: var(--#{$prefix}aspect-ratio, 100%);
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.carousel-indicators-vertical {
|
|
54
|
+
[data-bs-target] {
|
|
55
|
+
margin: $carousel-indicator-spacer 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.carousel-caption-background {
|
|
61
|
+
background: red;
|
|
62
|
+
position: absolute;
|
|
63
|
+
left: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
bottom: 0;
|
|
66
|
+
height: 90%;
|
|
67
|
+
background: linear-gradient(0deg, rgba($dark, .9), rgba($dark, 0));
|
|
68
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.chart {
|
|
2
|
+
display: block;
|
|
3
|
+
min-height: 10rem;
|
|
4
|
+
|
|
5
|
+
text {
|
|
6
|
+
font-family: inherit;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.chart-sm {
|
|
11
|
+
height: 2.5rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.chart-lg {
|
|
15
|
+
height: 15rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.chart-square {
|
|
19
|
+
height: 5.75rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
Chart sparkline
|
|
24
|
+
*/
|
|
25
|
+
.chart-sparkline {
|
|
26
|
+
position: relative;
|
|
27
|
+
width: 4rem;
|
|
28
|
+
height: 2.5rem;
|
|
29
|
+
line-height: 1;
|
|
30
|
+
min-height: 0 !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.chart-sparkline-sm {
|
|
34
|
+
height: 1.5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.chart-sparkline-square {
|
|
38
|
+
width: 2.5rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.chart-sparkline-wide {
|
|
42
|
+
width: 6rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.chart-sparkline-label {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 0;
|
|
48
|
+
right: 0;
|
|
49
|
+
bottom: 0;
|
|
50
|
+
left: 0;
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
font-size: $h6-font-size;
|
|
55
|
+
|
|
56
|
+
.icon {
|
|
57
|
+
width: 1rem;
|
|
58
|
+
height: 1rem;
|
|
59
|
+
font-size: 1rem;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
File without changes
|