@updevs/components 1.0.0-alpha.1 → 1.0.0-alpha.100
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 +1 -24
- package/assets/styles/_bootstrap-components.scss +55 -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 +80 -0
- package/assets/styles/_debug.scss +49 -0
- package/assets/styles/_mixins.scss +2 -0
- package/assets/styles/_props.scss +91 -0
- package/assets/styles/_seven-columns.scss +73 -0
- package/assets/styles/_updevs.scss +25 -0
- package/assets/styles/_utilities-marketing.scss +209 -0
- package/assets/styles/_utilities.scss +133 -0
- package/assets/styles/_variables-dark.scss +19 -0
- package/assets/styles/_variables.scss +1003 -0
- package/assets/styles/fonts/_webfonts.scss +15 -0
- package/assets/styles/helpers/_index.scss +143 -0
- package/assets/styles/layout/_animations.scss +62 -0
- package/assets/styles/layout/_core.scss +62 -0
- package/assets/styles/layout/_dark.scss +77 -0
- package/assets/styles/layout/_footer.scss +12 -0
- package/assets/styles/layout/_navbar.scss +392 -0
- package/assets/styles/layout/_page.scss +170 -0
- package/assets/styles/layout/_root.scss +64 -0
- package/assets/styles/marketing/_browser.scss +67 -0
- package/assets/styles/marketing/_core.scss +8 -0
- package/assets/styles/marketing/_filters.scss +0 -0
- package/assets/styles/marketing/_hero.scss +70 -0
- package/assets/styles/marketing/_pricing.scss +111 -0
- package/assets/styles/marketing/_sections.scss +124 -0
- package/assets/styles/marketing/_shape.scss +31 -0
- package/assets/styles/mixins/_functions.scss +96 -0
- package/assets/styles/mixins/_mixins.scss +68 -0
- package/assets/styles/ui/_accordion.scss +178 -0
- package/assets/styles/ui/_alerts.scss +101 -0
- package/assets/styles/ui/_avatars.scss +145 -0
- package/assets/styles/ui/_badges.scss +113 -0
- package/assets/styles/ui/_breadcrumbs.scss +50 -0
- package/assets/styles/ui/_button-group.scss +16 -0
- package/assets/styles/ui/_buttons.scss +261 -0
- package/assets/styles/ui/_calendars.scss +104 -0
- package/assets/styles/ui/_cards.scss +595 -0
- package/assets/styles/ui/_carousel.scss +68 -0
- package/assets/styles/ui/_charts.scss +61 -0
- package/assets/styles/ui/_chat.scss +38 -0
- package/assets/styles/ui/_chips.scss +0 -0
- package/assets/styles/ui/_close.scss +60 -0
- package/assets/styles/ui/_datagrid.scss +17 -0
- package/assets/styles/ui/_dropdowns.scss +120 -0
- package/assets/styles/ui/_empty.scss +60 -0
- package/assets/styles/ui/_flags.scss +31 -0
- package/assets/styles/ui/_forms.scss +250 -0
- package/assets/styles/ui/_grid.scss +115 -0
- package/assets/styles/ui/_icons.scss +72 -0
- package/assets/styles/ui/_images.scss +19 -0
- package/assets/styles/ui/_legend.scss +12 -0
- package/assets/styles/ui/_lists.scss +123 -0
- package/assets/styles/ui/_loaders.scss +72 -0
- package/assets/styles/ui/_login.scss +3 -0
- package/assets/styles/ui/_markdown.scss +53 -0
- package/assets/styles/ui/_modals.scss +67 -0
- package/assets/styles/ui/_nav.scss +106 -0
- package/assets/styles/ui/_offcanvas.scss +17 -0
- package/assets/styles/ui/_pagination.scss +58 -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 +157 -0
- package/assets/styles/ui/_segmented.scss +101 -0
- package/assets/styles/ui/_signature.scss +15 -0
- package/assets/styles/ui/_social.scss +52 -0
- package/assets/styles/ui/_stars.scss +13 -0
- package/assets/styles/ui/_status.scss +163 -0
- package/assets/styles/ui/_steps.scss +156 -0
- package/assets/styles/ui/_switch-icon.scss +211 -0
- package/assets/styles/ui/_tables.scss +176 -0
- package/assets/styles/ui/_tags.scss +57 -0
- package/assets/styles/ui/_timeline.scss +61 -0
- package/assets/styles/ui/_toasts.scss +18 -0
- package/assets/styles/ui/_toolbar.scss +10 -0
- package/assets/styles/ui/_tracking.scss +29 -0
- package/assets/styles/ui/_type.scss +330 -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 +105 -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 +76 -0
- package/assets/styles/utils/_background.scss +15 -0
- package/assets/styles/utils/_colors.scss +101 -0
- package/assets/styles/utils/_opacity.scss +7 -0
- package/assets/styles/utils/_scroll.scss +45 -0
- package/assets/styles/utils/_shadow.scss +17 -0
- package/assets/styles/utils/_sizing.scss +10 -0
- package/assets/styles/utils/_text.scss +14 -0
- package/assets/styles/vendor/_apexcharts.scss +52 -0
- package/assets/styles/vendor/_coloris.scss +72 -0
- package/assets/styles/vendor/_dropzone.scss +27 -0
- package/assets/styles/vendor/_fslightbox.scss +13 -0
- package/assets/styles/vendor/_jsvectormap.scss +47 -0
- package/assets/styles/vendor/_litepicker.scss +69 -0
- package/assets/styles/vendor/_nouislider.scss +49 -0
- package/assets/styles/vendor/_plyr.scss +3 -0
- package/assets/styles/vendor/_stars-rating.scss +22 -0
- package/assets/styles/vendor/_tom-select.scss +81 -0
- package/assets/styles/vendor/_turbo.scss +3 -0
- package/assets/styles/vendor/_typed.scss +4 -0
- package/assets/styles/vendor/_wysiwyg.scss +46 -0
- package/fesm2022/updevs-components-badge.mjs +89 -0
- package/fesm2022/updevs-components-badge.mjs.map +1 -0
- package/fesm2022/updevs-components-button.mjs +193 -0
- package/fesm2022/updevs-components-button.mjs.map +1 -0
- package/fesm2022/updevs-components-calendar.mjs +582 -0
- package/fesm2022/updevs-components-calendar.mjs.map +1 -0
- package/fesm2022/updevs-components-card.mjs +242 -0
- package/fesm2022/updevs-components-card.mjs.map +1 -0
- package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
- package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
- package/fesm2022/updevs-components-dropdown.mjs +247 -0
- package/fesm2022/updevs-components-dropdown.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-abstractions.mjs +106 -0
- package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-checkbox.mjs +99 -0
- package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-date-picker.mjs +175 -0
- package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-file-upload.mjs +272 -0
- package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-input.mjs +281 -0
- package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-radio.mjs +98 -0
- package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-select.mjs +600 -0
- package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-textarea.mjs +79 -0
- package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -0
- package/fesm2022/updevs-components-form-controls-time-picker.mjs +345 -0
- package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -0
- package/fesm2022/updevs-components-form.mjs +562 -0
- package/fesm2022/updevs-components-form.mjs.map +1 -0
- package/fesm2022/updevs-components-layout.mjs +1054 -0
- package/fesm2022/updevs-components-layout.mjs.map +1 -0
- package/fesm2022/updevs-components-link.mjs +79 -0
- package/fesm2022/updevs-components-link.mjs.map +1 -0
- package/fesm2022/updevs-components-list.mjs +215 -0
- package/fesm2022/updevs-components-list.mjs.map +1 -0
- package/fesm2022/updevs-components-modal.mjs +505 -0
- package/fesm2022/updevs-components-modal.mjs.map +1 -0
- package/fesm2022/updevs-components-paginator.mjs +160 -0
- package/fesm2022/updevs-components-paginator.mjs.map +1 -0
- package/fesm2022/updevs-components-popover.mjs +215 -0
- package/fesm2022/updevs-components-popover.mjs.map +1 -0
- package/fesm2022/updevs-components-pricing.mjs +130 -0
- package/fesm2022/updevs-components-pricing.mjs.map +1 -0
- package/fesm2022/updevs-components-table.mjs +2060 -0
- package/fesm2022/updevs-components-table.mjs.map +1 -0
- package/fesm2022/updevs-components.mjs +33 -0
- package/fesm2022/updevs-components.mjs.map +1 -0
- package/package.json +127 -14
- package/types/updevs-components-badge.d.ts +44 -0
- package/types/updevs-components-button.d.ts +75 -0
- package/types/updevs-components-calendar.d.ts +175 -0
- package/types/updevs-components-card.d.ts +92 -0
- package/types/updevs-components-drag-and-drop.d.ts +74 -0
- package/types/updevs-components-dropdown.d.ts +124 -0
- package/types/updevs-components-form-controls-abstractions.d.ts +49 -0
- package/types/updevs-components-form-controls-checkbox.d.ts +33 -0
- package/types/updevs-components-form-controls-date-picker.d.ts +80 -0
- package/types/updevs-components-form-controls-file-upload.d.ts +69 -0
- package/types/updevs-components-form-controls-input.d.ts +95 -0
- package/types/updevs-components-form-controls-radio.d.ts +32 -0
- package/types/updevs-components-form-controls-select.d.ts +200 -0
- package/types/updevs-components-form-controls-textarea.d.ts +31 -0
- package/types/updevs-components-form-controls-time-picker.d.ts +164 -0
- package/types/updevs-components-form.d.ts +356 -0
- package/types/updevs-components-layout.d.ts +490 -0
- package/types/updevs-components-link.d.ts +34 -0
- package/types/updevs-components-list.d.ts +107 -0
- package/types/updevs-components-modal.d.ts +155 -0
- package/types/updevs-components-paginator.d.ts +58 -0
- package/types/updevs-components-popover.d.ts +63 -0
- package/types/updevs-components-pricing.d.ts +91 -0
- package/types/updevs-components-table.d.ts +619 -0
- package/types/updevs-components.d.ts +44 -0
- package/CHANGELOG.md +0 -8
- package/ng-package.json +0 -7
- package/src/lib/components.component.spec.ts +0 -23
- package/src/lib/components.component.ts +0 -14
- package/src/lib/components.module.ts +0 -17
- package/src/lib/components.service.spec.ts +0 -16
- package/src/lib/components.service.ts +0 -9
- package/src/public-api.ts +0 -7
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.chat {
|
|
2
|
+
}
|
|
3
|
+
|
|
4
|
+
.chat-bubbles {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.chat-bubble {
|
|
11
|
+
background: var(--#{$prefix}bg-surface-secondary);
|
|
12
|
+
border-radius: var(--#{$prefix}border-radius-lg);
|
|
13
|
+
padding: 1rem;
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.chat-bubble-me {
|
|
18
|
+
background-color: var(--#{$prefix}primary-lt);
|
|
19
|
+
box-shadow: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.chat-bubble-title {
|
|
23
|
+
margin-bottom: 0.25rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.chat-bubble-author {
|
|
27
|
+
font-weight: 600;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.chat-bubble-date {
|
|
31
|
+
color: var(--#{$prefix}secondary);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.chat-bubble-body {
|
|
35
|
+
> *:last-child {
|
|
36
|
+
margin-bottom: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.btn-close {
|
|
2
|
+
--#{$prefix}btn-close-color: currentColor;
|
|
3
|
+
--#{$prefix}btn-close-bg: #{ escape-svg($btn-close-bg) };
|
|
4
|
+
--#{$prefix}btn-close-opacity: #{$btn-close-opacity};
|
|
5
|
+
--#{$prefix}btn-close-hover-opacity: #{$btn-close-hover-opacity};
|
|
6
|
+
--#{$prefix}btn-close-focus-shadow: #{$btn-close-focus-shadow};
|
|
7
|
+
--#{$prefix}btn-close-focus-opacity: #{$btn-close-focus-opacity};
|
|
8
|
+
--#{$prefix}btn-close-disabled-opacity: #{$btn-close-disabled-opacity};
|
|
9
|
+
--#{$prefix}btn-close-size: #{$btn-close-width};
|
|
10
|
+
|
|
11
|
+
width: var(--#{$prefix}btn-close-size);
|
|
12
|
+
height: var(--#{$prefix}btn-close-size);
|
|
13
|
+
padding: $btn-close-padding-y $btn-close-padding-x;
|
|
14
|
+
color: var(--#{$prefix}btn-close-color);
|
|
15
|
+
mask: var(--#{$prefix}btn-close-bg) no-repeat center/calc(var(--#{$prefix}btn-close-size) * .75);
|
|
16
|
+
background-color: var(--#{$prefix}btn-close-color);
|
|
17
|
+
border: 0;
|
|
18
|
+
border-radius: var(--tblr-border-radius);
|
|
19
|
+
opacity: var(--#{$prefix}btn-close-opacity);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
display: block;
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
color: var(--#{$prefix}btn-close-color);
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
opacity: var(--#{$prefix}btn-close-hover-opacity);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:focus {
|
|
30
|
+
outline: 0;
|
|
31
|
+
box-shadow: var(--#{$prefix}btn-close-focus-shadow);
|
|
32
|
+
opacity: var(--#{$prefix}btn-close-focus-opacity);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:disabled,
|
|
36
|
+
&.disabled {
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
user-select: none;
|
|
39
|
+
opacity: var(--#{$prefix}btn-close-disabled-opacity);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// @mixin btn-close-white() {
|
|
44
|
+
// --#{$prefix}btn-close-filter: #{$btn-close-filter-dark};
|
|
45
|
+
// }
|
|
46
|
+
|
|
47
|
+
// .btn-close-white {
|
|
48
|
+
// @include btn-close-white();
|
|
49
|
+
// }
|
|
50
|
+
|
|
51
|
+
// :root,
|
|
52
|
+
// [data-bs-theme="light"] {
|
|
53
|
+
// --#{$prefix}btn-close-filter: #{$btn-close-filter};
|
|
54
|
+
// }
|
|
55
|
+
|
|
56
|
+
// @if $enable-dark-mode {
|
|
57
|
+
// @include color-mode(dark, true) {
|
|
58
|
+
// @include btn-close-white();
|
|
59
|
+
// }
|
|
60
|
+
// }
|
|
@@ -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,120 @@
|
|
|
1
|
+
.dropdown-menu {
|
|
2
|
+
user-select: none;
|
|
3
|
+
background-clip: border-box;
|
|
4
|
+
|
|
5
|
+
&.card {
|
|
6
|
+
padding: 0;
|
|
7
|
+
min-width: $dropdown-max-width;
|
|
8
|
+
display: none;
|
|
9
|
+
|
|
10
|
+
&.show {
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.dropdown-item {
|
|
17
|
+
min-width: $dropdown-min-width;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
margin: 0;
|
|
21
|
+
line-height: $line-height-base;
|
|
22
|
+
gap: .5rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.dropdown-item-icon {
|
|
26
|
+
width: $icon-size !important;
|
|
27
|
+
height: $icon-size !important;
|
|
28
|
+
margin-right: .5rem;
|
|
29
|
+
color: var(--#{$prefix}secondary);
|
|
30
|
+
opacity: $text-secondary-opacity;
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.dropdown-item-indicator {
|
|
35
|
+
margin-right: .5rem;
|
|
36
|
+
margin-left: -.25rem;
|
|
37
|
+
height: 1.25rem;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
line-height: 1;
|
|
40
|
+
vertical-align: bottom;
|
|
41
|
+
align-items: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.dropdown-header {
|
|
45
|
+
@include subheader;
|
|
46
|
+
padding-bottom: .25rem;
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.dropdown-menu-scrollable {
|
|
51
|
+
height: auto;
|
|
52
|
+
max-height: $dropdown-scrollable-height;
|
|
53
|
+
overflow-x: hidden;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.dropdown-menu-column {
|
|
57
|
+
min-width: $dropdown-min-width;
|
|
58
|
+
|
|
59
|
+
.dropdown-item {
|
|
60
|
+
min-width: 0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dropdown-menu-columns {
|
|
65
|
+
display: flex;
|
|
66
|
+
flex: 0 .25rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.dropdown-menu-arrow {
|
|
70
|
+
|
|
71
|
+
&:before {
|
|
72
|
+
content: "";
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: -.25rem;
|
|
75
|
+
left: .75rem;
|
|
76
|
+
display: block;
|
|
77
|
+
background: inherit;
|
|
78
|
+
width: 14px;
|
|
79
|
+
height: 14px;
|
|
80
|
+
/*rtl:ignore*/
|
|
81
|
+
transform: rotate(45deg);
|
|
82
|
+
transform-origin: center;
|
|
83
|
+
border: 1px solid;
|
|
84
|
+
border-color: inherit;
|
|
85
|
+
z-index: -1;
|
|
86
|
+
clip: rect(0px, 9px, 9px, 0px);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.dropdown-menu-end {
|
|
90
|
+
&:before {
|
|
91
|
+
right: .75rem;
|
|
92
|
+
left: auto;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.dropend {
|
|
98
|
+
> .dropdown-menu {
|
|
99
|
+
margin-top: subtract(-$dropdown-padding-y, 1px);
|
|
100
|
+
margin-left: -.25rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.dropdown-toggle {
|
|
104
|
+
&:after {
|
|
105
|
+
margin-left: auto;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.dropdown-menu-card {
|
|
111
|
+
padding: 0;
|
|
112
|
+
min-width: 20rem;
|
|
113
|
+
|
|
114
|
+
> .card {
|
|
115
|
+
margin: 0;
|
|
116
|
+
border: 0;
|
|
117
|
+
box-shadow: none;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
|
|
33
|
+
.empty-header {
|
|
34
|
+
margin: 0 0 1rem;
|
|
35
|
+
font-size: 4rem;
|
|
36
|
+
font-weight: var(--#{$prefix}font-weight-light);
|
|
37
|
+
line-height: 1;
|
|
38
|
+
color: var(--#{$prefix}secondary);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.empty-title {
|
|
42
|
+
font-size: $h2-font-size;
|
|
43
|
+
line-height: $h2-line-height;
|
|
44
|
+
font-weight: $headings-font-weight;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.empty-title,
|
|
48
|
+
.empty-subtitle {
|
|
49
|
+
margin: 0 0 .5rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.empty-action {
|
|
53
|
+
margin-top: 1.5rem;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
.empty-bordered {
|
|
58
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
59
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
60
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
$countries: (
|
|
2
|
+
'ad', 'af', 'ae', 'afrun', 'ag', 'ai', 'al', 'am', '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', 'dz', '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', '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,250 @@
|
|
|
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: $form-secondary-color;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
Form hint
|
|
32
|
+
*/
|
|
33
|
+
.form-hint {
|
|
34
|
+
display: block;
|
|
35
|
+
color: $form-secondary-color;
|
|
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
|
+
color: $form-secondary-color;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
Form select
|
|
59
|
+
*/
|
|
60
|
+
.form-select {
|
|
61
|
+
&:-moz-focusring {
|
|
62
|
+
color: var(--#{$prefix}body-color);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
Form control
|
|
68
|
+
*/
|
|
69
|
+
.form-control {
|
|
70
|
+
&:-webkit-autofill {
|
|
71
|
+
box-shadow: 0 0 0 1000px var(--#{$prefix}bg-surface-secondary) inset;
|
|
72
|
+
color: var(--#{$prefix}body-color);
|
|
73
|
+
-webkit-text-fill-color: var(--#{$prefix}body-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:disabled,
|
|
77
|
+
&.disabled {
|
|
78
|
+
color: $form-secondary-color;
|
|
79
|
+
user-select: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&[size] {
|
|
83
|
+
width: auto;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.form-control-light {
|
|
88
|
+
background-color: var(--#{$prefix}gray-100);
|
|
89
|
+
border-color: transparent;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.form-control-dark {
|
|
93
|
+
background-color: rgba($black, .1);
|
|
94
|
+
color: $white;
|
|
95
|
+
border-color: transparent;
|
|
96
|
+
|
|
97
|
+
&:focus {
|
|
98
|
+
background-color: rgba($black, .1);
|
|
99
|
+
box-shadow: none;
|
|
100
|
+
border-color: rgba($white, .24);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&::placeholder {
|
|
104
|
+
color: rgba($white, .6);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.form-control-rounded {
|
|
109
|
+
border-radius: 10rem;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.form-control-flush {
|
|
113
|
+
padding: 0;
|
|
114
|
+
background: none !important;
|
|
115
|
+
border-color: transparent !important;
|
|
116
|
+
resize: none;
|
|
117
|
+
box-shadow: none !important;
|
|
118
|
+
line-height: inherit;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.form-footer {
|
|
122
|
+
margin-top: 2rem;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.form-fieldset {
|
|
126
|
+
padding: 1rem;
|
|
127
|
+
margin-bottom: 1rem;
|
|
128
|
+
background: var(--#{$prefix}bg-surface-secondary);
|
|
129
|
+
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
|
|
130
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
fieldset:empty {
|
|
134
|
+
display: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
Form help
|
|
139
|
+
*/
|
|
140
|
+
.form-help {
|
|
141
|
+
display: inline-flex;
|
|
142
|
+
font-weight: var(--#{$prefix}font-weight-bold);
|
|
143
|
+
align-items: center;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
width: 1.125rem;
|
|
146
|
+
height: 1.125rem;
|
|
147
|
+
font-size: .75rem;
|
|
148
|
+
color: $form-secondary-color;
|
|
149
|
+
text-align: center;
|
|
150
|
+
text-decoration: none;
|
|
151
|
+
cursor: pointer;
|
|
152
|
+
user-select: none;
|
|
153
|
+
background: var(--#{$prefix}gray-100);
|
|
154
|
+
border-radius: $border-radius-pill;
|
|
155
|
+
@include transition(background-color $transition-time, color $transition-time);
|
|
156
|
+
|
|
157
|
+
&:hover,
|
|
158
|
+
&[aria-describedby] {
|
|
159
|
+
color: $white;
|
|
160
|
+
background: var(--#{$prefix}primary);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
Input group
|
|
167
|
+
*/
|
|
168
|
+
.input-group {
|
|
169
|
+
box-shadow: $input-box-shadow;
|
|
170
|
+
border-radius: $input-border-radius;
|
|
171
|
+
|
|
172
|
+
.form-control,
|
|
173
|
+
.btn {
|
|
174
|
+
box-shadow: none;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.input-group-link {
|
|
179
|
+
font-size: $h5-font-size;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.input-group-flat {
|
|
183
|
+
&:focus-within {
|
|
184
|
+
box-shadow: $input-focus-box-shadow;
|
|
185
|
+
border-radius: $input-border-radius;
|
|
186
|
+
|
|
187
|
+
.form-control,
|
|
188
|
+
.input-group-text {
|
|
189
|
+
border-color: $input-focus-border-color !important;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.form-control {
|
|
194
|
+
&:focus {
|
|
195
|
+
border-color: $input-border-color;
|
|
196
|
+
box-shadow: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&:not(:last-child) {
|
|
200
|
+
border-right: 0;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&:not(:first-child) {
|
|
204
|
+
border-left: 0;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.input-group-text {
|
|
209
|
+
background: $form-check-input-bg;
|
|
210
|
+
@include transition($input-transition);
|
|
211
|
+
|
|
212
|
+
&:first-child {
|
|
213
|
+
padding-right: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&:last-child {
|
|
217
|
+
padding-left: 0;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
Upload files
|
|
225
|
+
*/
|
|
226
|
+
.form-file-button {
|
|
227
|
+
margin-left: 0;
|
|
228
|
+
border-left: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
Floating inputs
|
|
233
|
+
*/
|
|
234
|
+
// Fix for the bug in twbs/bootstrap v5.3.3. Issue #39080. Should be fixed in v5.3.4
|
|
235
|
+
label[for="floating-input"] {
|
|
236
|
+
max-width: 100%;
|
|
237
|
+
overflow: hidden;
|
|
238
|
+
text-overflow: ellipsis;
|
|
239
|
+
white-space: nowrap;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
Forms on mobile devices
|
|
244
|
+
*/
|
|
245
|
+
.form-control,
|
|
246
|
+
.form-select {
|
|
247
|
+
@include media-breakpoint-down(sm) {
|
|
248
|
+
font-size: 1rem;
|
|
249
|
+
}
|
|
250
|
+
}
|