@updevs/components 1.0.0-alpha.40 → 1.0.0-alpha.41

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.
Files changed (95) hide show
  1. package/assets/styles/_core.scss +9 -0
  2. package/assets/styles/_debug.scss +49 -0
  3. package/assets/styles/_props.scss +91 -0
  4. package/assets/styles/_utilities-marketing.scss +209 -0
  5. package/assets/styles/_utilities.scss +127 -92
  6. package/assets/styles/_variables-dark.scss +8 -6
  7. package/assets/styles/_variables.scss +326 -257
  8. package/assets/styles/helpers/_index.scss +143 -0
  9. package/assets/styles/layout/_core.scss +3 -2
  10. package/assets/styles/layout/_dark.scss +40 -35
  11. package/assets/styles/layout/_footer.scss +1 -1
  12. package/assets/styles/layout/_navbar.scss +31 -19
  13. package/assets/styles/layout/_page.scss +6 -5
  14. package/assets/styles/layout/_root.scss +26 -34
  15. package/assets/styles/marketing/_browser.scss +67 -0
  16. package/assets/styles/marketing/_core.scss +8 -0
  17. package/assets/styles/marketing/_filters.scss +0 -0
  18. package/assets/styles/marketing/_hero.scss +70 -0
  19. package/assets/styles/marketing/_pricing.scss +111 -0
  20. package/assets/styles/marketing/_sections.scss +124 -0
  21. package/assets/styles/marketing/_shape.scss +31 -0
  22. package/assets/styles/mixins/_functions.scss +53 -0
  23. package/assets/styles/mixins/_mixins.scss +9 -9
  24. package/assets/styles/ui/_accordion.scss +165 -11
  25. package/assets/styles/ui/_alerts.scss +80 -38
  26. package/assets/styles/ui/_avatars.scss +36 -9
  27. package/assets/styles/ui/_badges.scss +47 -13
  28. package/assets/styles/ui/_button-group.scss +1 -1
  29. package/assets/styles/ui/_buttons.scss +33 -37
  30. package/assets/styles/ui/_calendars.scss +2 -2
  31. package/assets/styles/ui/_cards.scss +9 -0
  32. package/assets/styles/ui/_carousel.scss +1 -1
  33. package/assets/styles/ui/_charts.scss +1 -1
  34. package/assets/styles/ui/_chat.scss +38 -0
  35. package/assets/styles/ui/_close.scss +54 -1
  36. package/assets/styles/ui/_datagrid.scss +1 -1
  37. package/assets/styles/ui/_dropdowns.scss +3 -0
  38. package/assets/styles/ui/_empty.scss +0 -5
  39. package/assets/styles/ui/_flags.scss +2 -2
  40. package/assets/styles/ui/_forms.scss +33 -7
  41. package/assets/styles/ui/_grid.scss +1 -1
  42. package/assets/styles/ui/_icons.scss +1 -1
  43. package/assets/styles/ui/_images.scss +4 -0
  44. package/assets/styles/ui/_lists.scss +12 -16
  45. package/assets/styles/ui/_loaders.scss +1 -1
  46. package/assets/styles/ui/_markdown.scss +15 -4
  47. package/assets/styles/ui/_modals.scss +2 -2
  48. package/assets/styles/ui/_nav.scss +17 -3
  49. package/assets/styles/ui/_offcanvas.scss +2 -2
  50. package/assets/styles/ui/_pagination.scss +2 -0
  51. package/assets/styles/ui/_payments.scss +1 -1
  52. package/assets/styles/ui/_placeholder.scss +1 -1
  53. package/assets/styles/ui/_progress.scss +1 -1
  54. package/assets/styles/ui/_ribbons.scss +1 -0
  55. package/assets/styles/ui/_segmented.scss +101 -0
  56. package/assets/styles/ui/_signature.scss +15 -0
  57. package/assets/styles/ui/_social.scss +52 -0
  58. package/assets/styles/ui/_status.scss +1 -1
  59. package/assets/styles/ui/_steps.scss +5 -1
  60. package/assets/styles/ui/_switch-icon.scss +1 -1
  61. package/assets/styles/ui/_tables.scss +27 -1
  62. package/assets/styles/ui/_tags.scss +1 -1
  63. package/assets/styles/ui/_timeline.scss +1 -1
  64. package/assets/styles/ui/_toasts.scss +0 -1
  65. package/assets/styles/ui/_tracking.scss +1 -1
  66. package/assets/styles/ui/_type.scss +169 -8
  67. package/assets/styles/ui/forms/_form-check.scss +1 -1
  68. package/assets/styles/ui/forms/_form-colorinput.scss +1 -1
  69. package/assets/styles/ui/forms/_form-custom.scss +1 -1
  70. package/assets/styles/ui/forms/_form-imagecheck.scss +6 -5
  71. package/assets/styles/ui/forms/_form-selectgroup.scss +2 -2
  72. package/assets/styles/ui/typo/_hr.scss +4 -2
  73. package/assets/styles/utils/_colors.scss +72 -11
  74. package/assets/styles/utils/_opacity.scss +1 -1
  75. package/assets/styles/utils/_scroll.scss +0 -2
  76. package/assets/styles/utils/_sizing.scss +1 -1
  77. package/assets/styles/utils/_text.scss +1 -2
  78. package/assets/styles/vendor/_apexcharts.scss +52 -0
  79. package/assets/styles/vendor/_coloris.scss +72 -0
  80. package/assets/styles/vendor/_dropzone.scss +27 -0
  81. package/assets/styles/vendor/_fslightbox.scss +13 -0
  82. package/assets/styles/vendor/_jsvectormap.scss +47 -0
  83. package/assets/styles/vendor/_litepicker.scss +69 -0
  84. package/assets/styles/vendor/_nouislider.scss +49 -0
  85. package/assets/styles/vendor/_plyr.scss +3 -0
  86. package/assets/styles/vendor/_stars-rating.scss +22 -0
  87. package/assets/styles/vendor/_tom-select.scss +81 -0
  88. package/assets/styles/vendor/_turbo.scss +3 -0
  89. package/assets/styles/vendor/_typed.scss +4 -0
  90. package/assets/styles/vendor/_wysiwyg.scss +46 -0
  91. package/esm2022/layout/partials/sidebar/sidebar.component.mjs +102 -30
  92. package/fesm2022/updevs-components-layout.mjs +101 -29
  93. package/fesm2022/updevs-components-layout.mjs.map +1 -1
  94. package/layout/partials/sidebar/sidebar.component.d.ts +5 -0
  95. package/package.json +46 -46
@@ -0,0 +1,111 @@
1
+ $pricing-card-width: 22rem;
2
+
3
+ .pricing {
4
+ display: flex;
5
+ flex-direction: column;
6
+ margin: 0 auto;
7
+ justify-content: center;
8
+
9
+ @include media-breakpoint-up(md) {
10
+ flex-direction: row;
11
+ }
12
+ }
13
+
14
+ .pricing-card {
15
+ flex: 1;
16
+ display: flex;
17
+ flex-direction: column;
18
+ background: var(--#{$prefix}bg-surface);
19
+ border: 1px solid $border-color;
20
+ padding: 2rem;
21
+ margin: 0 0 1rem;
22
+ position: relative;
23
+ box-shadow: $box-shadow-card;
24
+ text-align: center;
25
+ border-radius: $border-radius-lg;
26
+
27
+ @include media-breakpoint-up(md) {
28
+ margin: 1rem -1px;
29
+ max-width: $pricing-card-width;
30
+
31
+ &:first-child {
32
+ border-radius: $border-radius-lg 0 0 $border-radius-lg;
33
+ }
34
+
35
+ &:last-child {
36
+ border-radius: 0 $border-radius-lg $border-radius-lg 0;
37
+ }
38
+ }
39
+
40
+ &.featured {
41
+ z-index: 1;
42
+ border: 2px solid var(--#{$prefix}primary);
43
+ order: -1;
44
+
45
+ @include media-breakpoint-up(md) {
46
+ order: unset;
47
+ margin-top: 0;
48
+ margin-bottom: 0;
49
+ box-shadow: $box-shadow-card;
50
+ border-radius: $border-radius-lg;
51
+ }
52
+ }
53
+ }
54
+
55
+ .pricing-title {
56
+ font-size: $h2-font-size;
57
+ line-height: $h2-line-height;
58
+ }
59
+
60
+ .pricing-label {
61
+ position: absolute;
62
+ top: 0;
63
+ left: 0;
64
+ transform: translateY(-50%);
65
+ vertical-align: bottom;
66
+ right: 0;
67
+ display: flex;
68
+ align-items: center;
69
+ justify-content: center;
70
+ }
71
+
72
+ .pricing-btn {
73
+ margin-top: auto;
74
+ padding-top: 2rem;
75
+ }
76
+
77
+ .pricing-price {
78
+ display: flex;
79
+ justify-content: center;
80
+ font-size: 2.5rem;
81
+ line-height: 1;
82
+ font-weight: $font-weight-black;
83
+ margin: 0.75rem 0;
84
+ }
85
+
86
+ .pricing-price-currency {
87
+ font-size: $h2-font-size;
88
+ line-height: 1.5;
89
+ margin-right: 0.25rem;
90
+ font-weight: $font-weight-bold;
91
+ }
92
+
93
+ .pricing-price-description {
94
+ font-size: $h4-font-size;
95
+ line-height: $h4-line-height;
96
+ font-weight: $font-weight-normal;
97
+ color: $text-secondary;
98
+ align-self: center;
99
+ margin-left: 0.5rem;
100
+ }
101
+
102
+ .pricing-features {
103
+ margin: 1rem 0 0;
104
+ padding: 0;
105
+ list-style: none;
106
+ text-align: left;
107
+
108
+ > li:not(:first-child) {
109
+ margin-top: 0.25rem;
110
+ }
111
+ }
@@ -0,0 +1,124 @@
1
+ @keyframes move-forever1 {
2
+ 0% {
3
+ transform: translate(85px, 0%);
4
+ }
5
+
6
+ 100% {
7
+ transform: translate(-90px, 0%);
8
+ }
9
+ }
10
+
11
+ @keyframes move-forever2 {
12
+ 0% {
13
+ transform: translate(-90px, 0%);
14
+ }
15
+
16
+ 100% {
17
+ transform: translate(85px, 0%);
18
+ }
19
+ }
20
+
21
+ @keyframes move-forever3 {
22
+ 0% {
23
+ transform: translate(-90px, 0%);
24
+ }
25
+
26
+ 100% {
27
+ transform: translate(85px, 0%);
28
+ }
29
+ }
30
+
31
+ //
32
+ // Sections
33
+ //
34
+ .section {
35
+ --section-bg: transparent;
36
+ background: var(--section-bg);
37
+ position: relative;
38
+ padding: 5rem 0;
39
+ }
40
+
41
+ .section-sm {
42
+ padding: 4rem 0;
43
+ }
44
+
45
+ .section-white {
46
+ --section-bg: var(--#{$prefix}bg-surface);
47
+ }
48
+
49
+ .section-light {
50
+ --section-bg: var(--#{$prefix}bg-surface-secondary);
51
+ }
52
+
53
+ .section-primary {
54
+ --section-bg: var(--#{$prefix}primary);
55
+ color: $white;
56
+ }
57
+
58
+ .section-dark {
59
+ --section-bg: var(--#{$prefix}dark);
60
+ color: $white;
61
+ }
62
+
63
+ .section-header {
64
+ text-align: center;
65
+ max-width: 45rem;
66
+ margin: 0 auto 5rem;
67
+
68
+ @at-root .section-sm & {
69
+ margin-bottom: 4rem;
70
+ }
71
+ }
72
+
73
+ .section-title {
74
+ font-size: var(--#{$prefix}font-size-h1);
75
+ font-weight: var(--#{$prefix}font-weight-bold);
76
+ line-height: 1.2;
77
+ }
78
+
79
+ .section-title-lg {
80
+ font-size: 2rem;
81
+ }
82
+
83
+ .section-description {
84
+ color: var(--#{$prefix}secondary);
85
+ font-size: var(--#{$prefix}font-size-h3);
86
+ line-height: var(--#{$prefix}line-height-h3);
87
+ margin-top: 1rem;
88
+ }
89
+
90
+ //
91
+ // Section divider
92
+ //
93
+ .section-divider {
94
+ position: absolute;
95
+ bottom: 100%;
96
+ pointer-events: none;
97
+ height: 5rem;
98
+ width: 100%;
99
+
100
+ path {
101
+ fill: var(--section-bg);
102
+ }
103
+
104
+ .wave-1 {
105
+ animation: move-forever1 30s linear infinite;
106
+ animation-delay: -2s;
107
+ }
108
+
109
+ .wave-2 {
110
+ animation: move-forever2 24s linear infinite;
111
+ opacity: .5;
112
+ animation-delay: -2s;
113
+ }
114
+
115
+ .wave-3 {
116
+ animation: move-forever3 18s linear infinite;
117
+ opacity: .3;
118
+ animation-delay: -2s;
119
+ }
120
+ }
121
+
122
+ .section-divider-auto {
123
+ height: auto;
124
+ }
@@ -0,0 +1,31 @@
1
+ .shape {
2
+ --#{$prefix}shape-size: #{$avatar-size};
3
+ --#{$prefix}shape-icon-size: #{$avatar-icon-size};
4
+ background-color: var(--#{$prefix}primary-lt);
5
+ color: var(--#{$prefix}primary);
6
+ border-radius: 35%;
7
+ display: inline-flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ height: var(--#{$prefix}shape-size);
11
+ width: var(--#{$prefix}shape-size);
12
+
13
+ .icon {
14
+ width: var(--#{$prefix}shape-icon-size);
15
+ height: var(--#{$prefix}shape-icon-size);
16
+ }
17
+ }
18
+
19
+ @each $avatar-size, $size in $avatar-sizes {
20
+ .shape-#{$avatar-size} {
21
+ --#{$prefix}shape-size: #{map-get($size, size)};
22
+ --#{$prefix}shape-icon-size: #{map-get($size, icon-size)};
23
+ }
24
+ }
25
+
26
+ @each $name, $color in $colors {
27
+ .shape-#{$name} {
28
+ background: var(--#{$prefix}#{$name}-lt);
29
+ color: var(--#{$prefix}#{$name});
30
+ }
31
+ }
@@ -6,6 +6,9 @@
6
6
  @return shade-color($color, 10%);
7
7
  }
8
8
 
9
+ //
10
+ // Replace all occurrences of a substring within a string.
11
+ //
9
12
  @function str-replace($string, $search, $replace: "") {
10
13
  $index: str-index($string, $search);
11
14
 
@@ -41,3 +44,53 @@
41
44
  }
42
45
  @return if($n > 1, nth($breakpoint-names, $n - 1), null);
43
46
  }
47
+
48
+ //
49
+ // Escape SVG strings.
50
+ //
51
+ @function escape-svg($string) {
52
+ @if str-index($string, "data:image/svg+xml") {
53
+ @each $char, $encoded in $escaped-characters {
54
+ // Do not escape the url brackets
55
+ @if str-index($string, "url(") == 1 {
56
+ $string: url("#{str-replace(str-slice($string, 6, -3), $char, $encoded)}");
57
+ } @else {
58
+ $string: str-replace($string, $char, $encoded);
59
+ }
60
+ }
61
+ }
62
+
63
+ @return $string;
64
+ }
65
+
66
+ /**
67
+ * Converts a given value to a percentage string.
68
+ *
69
+ * @param {Number} $value - The value to be converted to a percentage.
70
+ * @return {String} - The percentage representation of the value.
71
+ */
72
+ @function to-percentage($value) {
73
+ @return if(unitless($value), percentage($value), $value);
74
+ }
75
+
76
+ /**
77
+ * Generates a transparent version of the given color.
78
+ *
79
+ * @param {Color} $color - The base color to be made transparent.
80
+ * @param {Number} $alpha - The level of transparency, ranging from 0 (fully transparent) to 1 (fully opaque). Default is 1.
81
+ * @return {Color} - The resulting color with the specified transparency.
82
+ */
83
+ @function color-transparent($color, $alpha: 1, $background: transparent) {
84
+ @if $alpha == 1 {
85
+ @return $color;
86
+ } @else {
87
+ @return color-mix(in srgb, #{$color} #{to-percentage($alpha)}, $background);
88
+ }
89
+ }
90
+
91
+ @function url-svg($svg) {
92
+ $svg: str-replace($svg, '#', '%23');
93
+ $svg: str-replace($svg, '<svg', '<svg xmlns="http://www.w3.org/2000/svg"');
94
+
95
+ @return url('data:image/svg+xml;charset=UTF-8,#{$svg}');
96
+ }
@@ -1,11 +1,11 @@
1
1
  @mixin subheader($include-color: true, $include-line-height: true) {
2
- font-size: $h6-font-size;
3
- font-weight: var(--#{$prefix}font-weight-bold);
2
+ font-size: $h5-font-size;
3
+ font-weight: var(--#{$prefix}font-weight-medium);
4
4
  text-transform: uppercase;
5
5
  letter-spacing: .04em;
6
6
 
7
7
  @if $include-line-height {
8
- line-height: $h6-line-height;
8
+ line-height: $h5-line-height;
9
9
  }
10
10
 
11
11
  @if ($include-color) {
@@ -13,9 +13,9 @@
13
13
  }
14
14
  }
15
15
 
16
- @mixin scrollbar($color: var(--#{$prefix}body-color-rgb)) {
16
+ @mixin scrollbar {
17
17
  #{if(&, "&", "*")} {
18
- scrollbar-color: rgba(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color-rgb)), .16) transparent;
18
+ scrollbar-color: color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .20) transparent;
19
19
  }
20
20
 
21
21
  #{if(&, "&", "*")}::-webkit-scrollbar {
@@ -27,7 +27,7 @@
27
27
  #{if(&, "&", "*")}::-webkit-scrollbar-thumb {
28
28
  border-radius: 1rem;
29
29
  border: 5px solid transparent;
30
- box-shadow: inset 0 0 0 1rem rgba(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color-rgb)), .16);
30
+ box-shadow: inset 0 0 0 1rem color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .20);
31
31
  }
32
32
 
33
33
  #{if(&, "&", "*")}::-webkit-scrollbar-track {
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  #{if(&, "&", "*")}:hover::-webkit-scrollbar-thumb {
38
- box-shadow: inset 0 0 0 1rem rgba(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color-rgb)), .32);
38
+ box-shadow: inset 0 0 0 1rem color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .40);
39
39
  }
40
40
 
41
41
  #{if(&, "&", "*")}::-webkit-scrollbar-corner {
@@ -60,9 +60,9 @@
60
60
 
61
61
  @mixin focus-ring($show-border: false) {
62
62
  outline: 0;
63
- box-shadow: $focus-ring-box-shadow;
63
+ box-shadow: 0 0 $focus-ring-blur $focus-ring-width rgba(var(--#{$prefix}primary-rgb), 0.25);
64
64
 
65
65
  @if ($show-border) {
66
- border-color: $focus-ring-border-color;
66
+ border-color: rgba(var(--#{$prefix}primary-rgb), 0.25);
67
67
  }
68
68
  }
@@ -1,24 +1,178 @@
1
1
  .accordion {
2
- --#{$prefix}accordion-color: #{$accordion-color};
2
+ --#{$prefix}accordion-color: var(--#{$prefix}body-color);
3
+ --#{$prefix}accordion-border-color: var(--#{$prefix}border-color);
4
+ --#{$prefix}accordion-border-radius: #{$accordion-border-radius};
5
+ --#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};
6
+ --#{$prefix}accordion-padding-x: #{$accordion-body-padding-x};
7
+ --#{$prefix}accordion-gap: 0;
8
+ --#{$prefix}accordion-active-color: #{$accordion-button-active-color};
9
+ --#{$prefix}accordion-btn-color: var(--#{$prefix}accordion-color);
10
+ --#{$prefix}accordion-btn-bg: #{$accordion-button-bg};
11
+ --#{$prefix}accordion-btn-toggle-width: 1.25rem;
12
+ --#{$prefix}accordion-btn-padding-x: var(--#{$prefix}accordion-padding-x);
13
+ --#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};
14
+ --#{$prefix}accordion-btn-font-weight: var(--#{$prefix}font-weight-medium);
15
+ --#{$prefix}accordion-body-padding-x: var(--#{$prefix}accordion-padding-x);
16
+ --#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};
17
+
18
+ display: flex;
19
+ flex-direction: column;
20
+ gap: var(--#{$prefix}accordion-gap);
3
21
  }
4
22
 
5
23
  .accordion-button {
6
- &:focus:not(:focus-visible) {
7
- outline: none;
24
+ position: relative;
25
+ display: flex;
26
+ align-items: center;
27
+ width: 100%;
28
+ padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-padding-x);
29
+ color: inherit;
30
+ text-align: inherit;
31
+ background-color: transparent;
32
+ border: 0;
33
+ font-size: inherit;
34
+ font-weight: var(--#{$prefix}accordion-btn-font-weight);
35
+ gap: .75rem;
36
+
37
+ &:not(.collapsed) {
38
+ border-bottom-color: transparent;
8
39
  box-shadow: none;
40
+ color: var(--#{$prefix}accordion-active-color);
9
41
  }
42
+ }
43
+
44
+ .accordion-header {
45
+ margin: 0;
46
+ position: relative;
47
+ display: flex;
48
+ gap: 1rem;
49
+ align-items: center;
50
+ width: 100%;
51
+ color: var(--#{$prefix}accordion-btn-color);
52
+ text-align: left;
53
+ background-color: transparent;
54
+ border: 0;
55
+ overflow-anchor: none;
56
+ transition: transform $transition-time;
10
57
 
11
- &:after {
12
- opacity: $text-secondary-opacity;
58
+ &:hover {
59
+ z-index: 2;
13
60
  }
14
61
 
15
- &:not(.collapsed) {
16
- font-weight: var(--#{$prefix}font-weight-bold);
17
- border-bottom-color: transparent;
18
- box-shadow: none;
62
+ &:focus {
63
+ z-index: 3;
64
+ outline: 0;
65
+ box-shadow: var(--#{$prefix}accordion-btn-focus-box-shadow);
66
+
67
+ &:not(:focus-visible) {
68
+ outline: none;
69
+ box-shadow: none;
70
+ }
71
+ }
72
+ }
73
+
74
+ .accordion-button-icon {
75
+ color: var(--#{$prefix}secondary);
76
+ }
77
+
78
+ .accordion-button-toggle {
79
+ display: flex;
80
+ line-height: 1;
81
+ transition: $transition-time transform;
82
+ margin-left: auto;
83
+ margin-right: 0;
84
+ color: var(--#{$prefix}secondary);
85
+ width: var(--#{$prefix}accordion-btn-toggle-width);
86
+ height: var(--#{$prefix}accordion-btn-toggle-width);
87
+
88
+ .accordion-button:not(.collapsed) & {
89
+ transform: rotate(-180deg);
90
+ color: var(--#{$prefix}accordion-active-color);
91
+ }
92
+
93
+ path {
94
+ transition: $transition-time opacity;
95
+ }
96
+ }
97
+
98
+ .accordion-button-toggle-plus {
99
+ .accordion-button:not(.collapsed) & {
100
+ path:first-child {
101
+ opacity: 0;
102
+ }
103
+ }
104
+ }
105
+
106
+ .accordion-item {
107
+ color: var(--#{$prefix}accordion-color);
108
+ border: var(--#{$prefix}border-width) solid var(--#{$prefix}accordion-border-color);
109
+
110
+ &:first-of-type {
111
+ @include border-top-radius(var(--#{$prefix}accordion-border-radius));
19
112
 
20
- &:after {
21
- opacity: 1;
113
+ > .accordion-header {
114
+ @include border-top-radius(var(--#{$prefix}accordion-inner-border-radius));
22
115
  }
23
116
  }
117
+
118
+ &:not(:first-of-type) {
119
+ border-top: 0;
120
+ }
121
+
122
+ &:last-of-type {
123
+ @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
124
+
125
+ > .accordion-header {
126
+ &.collapsed {
127
+ @include border-bottom-radius(var(--#{$prefix}accordion-inner-border-radius));
128
+ }
129
+ }
130
+
131
+ > .accordion-collapse {
132
+ @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
133
+ }
134
+ }
135
+ }
136
+
137
+ .accordion-body {
138
+ color: var(--#{$prefix}secondary);
139
+ padding: 0 var(--#{$prefix}accordion-body-padding-x) var(--#{$prefix}accordion-body-padding-y);
140
+ }
141
+
142
+ .accordion-flush {
143
+ > .accordion-item {
144
+ border-right: 0;
145
+ border-left: 0;
146
+ @include border-radius(0);
147
+
148
+ &:first-child {
149
+ border-top: 0;
150
+ }
151
+
152
+ &:last-child {
153
+ border-bottom: 0;
154
+ }
155
+
156
+ > .accordion-collapse,
157
+ > .accordion-header .accordion-button,
158
+ > .accordion-header .accordion-button.collapsed {
159
+ @include border-radius(0);
160
+ }
161
+ }
162
+ }
163
+
164
+ .accordion-tabs {
165
+ --#{$prefix}accordion-gap: 0.75rem;
166
+
167
+ > .accordion-item {
168
+ border: var(--#{$prefix}border-width) solid var(--#{$prefix}accordion-border-color);
169
+ border-radius: var(--#{$prefix}accordion-border-radius);
170
+ }
171
+ }
172
+
173
+ .accordion-inverted {
174
+ .accordion-button-toggle {
175
+ order: -1;
176
+ margin-left: 0;
177
+ }
24
178
  }