@shohojdhara/atomix 0.5.5 → 0.5.7
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 +43 -21
- package/dist/atomix.css +1016 -1681
- package/dist/atomix.css.map +1 -1
- package/dist/atomix.min.css +5 -5
- package/dist/atomix.min.css.map +1 -1
- package/dist/core.d.ts +102 -9
- package/dist/core.js +89 -79
- package/dist/core.js.map +1 -1
- package/dist/forms.js +1 -7
- package/dist/forms.js.map +1 -1
- package/dist/heavy.js +7 -3
- package/dist/heavy.js.map +1 -1
- package/dist/index.d.ts +181 -55
- package/dist/index.esm.js +112 -99
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +112 -99
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.tsx +40 -25
- package/src/components/Breadcrumb/Breadcrumb.tsx +23 -14
- package/src/components/Button/Button.tsx +4 -5
- package/src/components/Callout/Callout.tsx +98 -96
- package/src/components/Card/Card.tsx +117 -103
- package/src/components/Card/index.ts +7 -5
- package/src/components/Dropdown/Dropdown.tsx +27 -8
- package/src/components/EdgePanel/EdgePanel.tsx +7 -2
- package/src/components/Modal/Modal.tsx +27 -8
- package/src/components/Spinner/Spinner.tsx +60 -43
- package/src/components/Tabs/Tabs.tsx +163 -149
- package/src/lib/composables/useInput.ts +11 -9
- package/src/lib/types/components.ts +84 -0
- package/src/styles/01-settings/_settings.background.scss +2 -1
- package/src/styles/02-tools/_tools.background.scss +100 -294
- package/src/styles/06-components/_components.avatar-group.scss +1 -3
- package/src/styles/06-components/_components.avatar.scss +1 -1
- package/src/styles/06-components/_components.badge.scss +2 -2
- package/src/styles/06-components/_components.button.scss +3 -3
- package/src/styles/06-components/_components.callout.scss +5 -5
- package/src/styles/06-components/_components.card.scss +4 -7
- package/src/styles/06-components/_components.checkbox.scss +1 -1
- package/src/styles/06-components/_components.data-table.scss +1 -1
- package/src/styles/06-components/_components.datepicker.scss +1 -1
- package/src/styles/06-components/_components.dropdown.scss +3 -3
- package/src/styles/06-components/_components.edge-panel.scss +5 -9
- package/src/styles/06-components/_components.footer.scss +12 -13
- package/src/styles/06-components/_components.hero.scss +2 -2
- package/src/styles/06-components/_components.input.scss +3 -3
- package/src/styles/06-components/_components.list.scss +1 -1
- package/src/styles/06-components/_components.menu.scss +2 -2
- package/src/styles/06-components/_components.messages.scss +16 -18
- package/src/styles/06-components/_components.modal.scss +6 -6
- package/src/styles/06-components/_components.nav.scss +0 -3
- package/src/styles/06-components/_components.navbar.scss +3 -3
- package/src/styles/06-components/_components.pagination.scss +3 -3
- package/src/styles/06-components/_components.photoviewer.scss +3 -3
- package/src/styles/06-components/_components.popover.scss +3 -3
- package/src/styles/06-components/_components.product-review.scss +2 -2
- package/src/styles/06-components/_components.progress.scss +2 -2
- package/src/styles/06-components/_components.river.scss +1 -1
- package/src/styles/06-components/_components.sectionintro.scss +1 -1
- package/src/styles/06-components/_components.select.scss +5 -6
- package/src/styles/06-components/_components.side-menu.scss +6 -6
- package/src/styles/06-components/_components.skeleton.scss +8 -8
- package/src/styles/06-components/_components.slider.scss +6 -6
- package/src/styles/06-components/_components.steps.scss +2 -2
- package/src/styles/06-components/_components.tabs.scss +2 -2
- package/src/styles/06-components/_components.todo.scss +1 -1
- package/src/styles/06-components/_components.toggle.scss +3 -5
- package/src/styles/06-components/_components.tooltip.scss +2 -4
- package/src/styles/06-components/_components.upload.scss +1 -2
- package/src/styles/06-components/_components.video-player.scss +2 -2
- package/src/styles/99-utilities/_utilities.link.scss +4 -5
|
@@ -186,17 +186,17 @@
|
|
|
186
186
|
list-style: none;
|
|
187
187
|
@include mb(0);
|
|
188
188
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
189
|
-
@include dynamic-background(var(--#{$prefix}dropdown-bg));
|
|
190
189
|
border-radius: var(--#{$prefix}dropdown-border-radius);
|
|
191
190
|
box-shadow: var(--#{$prefix}dropdown-box-shadow);
|
|
192
191
|
overflow: hidden;
|
|
192
|
+
@include dynamic-background(var(--#{$prefix}dropdown-bg));
|
|
193
193
|
|
|
194
194
|
&--glass {
|
|
195
|
+
box-shadow: var(--#{$prefix}dropdown-box-shadow);
|
|
195
196
|
@include dynamic-background(
|
|
196
197
|
var(--#{$prefix}dropdown-bg),
|
|
197
198
|
$enable-transparency: true
|
|
198
199
|
);
|
|
199
|
-
box-shadow: var(--#{$prefix}dropdown-box-shadow);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|
|
@@ -217,9 +217,9 @@
|
|
|
217
217
|
&:hover,
|
|
218
218
|
&:focus {
|
|
219
219
|
color: var(--#{$prefix}dropdown-link-hover-color);
|
|
220
|
-
@include dynamic-background(var(--#{$prefix}dropdown-link-hover-bg));
|
|
221
220
|
outline: none;
|
|
222
221
|
padding-left: calc(var(--#{$prefix}dropdown-item-padding-x) + 3px);
|
|
222
|
+
@include dynamic-background(var(--#{$prefix}dropdown-link-hover-bg));
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
&.is-active {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
&__backdrop {
|
|
36
36
|
position: absolute;
|
|
37
37
|
inset: 0;
|
|
38
|
-
@include dynamic-background(var(--#{$prefix}edge-panel-backdrop-bg));
|
|
39
38
|
opacity: 0;
|
|
40
39
|
z-index: map.get($z-layers, 1);
|
|
41
40
|
transition: opacity var(--#{$prefix}edge-panel-animation-duration) ease;
|
|
41
|
+
@include dynamic-background(var(--#{$prefix}edge-panel-backdrop-bg));
|
|
42
42
|
|
|
43
43
|
&.is-animating {
|
|
44
44
|
animation: fadeIn 0.3s ease forwards;
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
color: var(--#{$prefix}edge-panel-color);
|
|
56
56
|
width: var(--#{$prefix}edge-panel-width);
|
|
57
57
|
height: 100%;
|
|
58
|
-
@include dynamic-background(var(--#{$prefix}edge-panel-bg));
|
|
59
58
|
box-shadow: var(--#{$prefix}edge-panel-shadow);
|
|
60
59
|
z-index: map.get($z-layers, 2);
|
|
61
60
|
overflow: hidden;
|
|
62
61
|
display: flex;
|
|
63
62
|
flex-direction: column;
|
|
63
|
+
@include dynamic-background(var(--#{$prefix}edge-panel-bg));
|
|
64
64
|
|
|
65
65
|
&.is-animating {
|
|
66
66
|
animation: slideIn var(--#{$prefix}edge-panel-animation-duration)
|
|
@@ -371,10 +371,7 @@
|
|
|
371
371
|
padding: 0;
|
|
372
372
|
border-radius: inherit;
|
|
373
373
|
transition: opacity 0.3s ease;
|
|
374
|
-
@include dynamic-background(
|
|
375
|
-
var(--#{$prefix}edge-panel-bg),
|
|
376
|
-
$enable-transparency: true
|
|
377
|
-
);
|
|
374
|
+
@include dynamic-background(var(--#{$prefix}edge-panel-bg), $enable-transparency: true);
|
|
378
375
|
}
|
|
379
376
|
|
|
380
377
|
.c-edge-panel__header {
|
|
@@ -404,13 +401,12 @@
|
|
|
404
401
|
}
|
|
405
402
|
|
|
406
403
|
.c-edge-panel__backdrop {
|
|
404
|
+
animation: fadeIn 0.3s ease forwards;
|
|
405
|
+
z-index: map.get($z-layers, 1);
|
|
407
406
|
@include dynamic-background(
|
|
408
407
|
var(--#{$prefix}edge-panel-backdrop-bg),
|
|
409
408
|
$enable-transparency: true
|
|
410
409
|
);
|
|
411
|
-
animation: fadeIn 0.3s ease forwards;
|
|
412
|
-
z-index: map.get($z-layers, 1);
|
|
413
|
-
|
|
414
410
|
&.is-animating-out {
|
|
415
411
|
animation: fadeOut 0.3s ease forwards;
|
|
416
412
|
}
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
--#{$prefix}disabled-opacity: 0.6;
|
|
34
34
|
|
|
35
35
|
// Base Styles
|
|
36
|
-
@include dynamic-background(var(--#{$prefix}footer-bg));
|
|
37
36
|
color: var(--#{$prefix}footer-color);
|
|
38
37
|
border-top: var(--#{$prefix}footer-border-width) solid var(--#{$prefix}footer-border-color);
|
|
39
38
|
padding: var(--#{$prefix}footer-padding-y) 0;
|
|
40
39
|
position: relative;
|
|
40
|
+
@include dynamic-background(var(--#{$prefix}footer-bg));
|
|
41
41
|
|
|
42
42
|
&--glass {
|
|
43
43
|
padding: 0;
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
background: transparent;
|
|
48
48
|
|
|
49
49
|
#{$root}__glass {
|
|
50
|
-
@include dynamic-background(rgba(var(--#{$prefix}footer-bg-rgb), 0.5, true));
|
|
51
50
|
color: var(--#{$prefix}footer-color);
|
|
52
51
|
border-top: var(--#{$prefix}footer-border-width) solid var(--#{$prefix}footer-border-color);
|
|
53
52
|
padding: var(--#{$prefix}footer-padding-y) 0;
|
|
53
|
+
@include dynamic-background(rgba(var(--#{$prefix}footer-bg-rgb), 0.5, true));
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -333,13 +333,13 @@
|
|
|
333
333
|
justify-content: center;
|
|
334
334
|
width: #{$footer-social-link-size};
|
|
335
335
|
height: #{$footer-social-link-size};
|
|
336
|
-
@include dynamic-background(#{$footer-social-link-bg});
|
|
337
336
|
color: #{$footer-social-link-color};
|
|
338
337
|
border-radius: #{$footer-social-link-border-radius};
|
|
339
338
|
text-decoration: none;
|
|
340
339
|
transition: #{$footer-social-link-transition};
|
|
341
340
|
position: relative;
|
|
342
341
|
overflow: hidden;
|
|
342
|
+
@include dynamic-background(#{$footer-social-link-bg});
|
|
343
343
|
|
|
344
344
|
&::before {
|
|
345
345
|
content: '';
|
|
@@ -357,10 +357,10 @@
|
|
|
357
357
|
|
|
358
358
|
&:hover,
|
|
359
359
|
&:focus {
|
|
360
|
-
@include dynamic-background(#{$footer-social-link-hover-bg});
|
|
361
360
|
color: #{$footer-social-link-hover-color};
|
|
362
361
|
transform: translateY(-3px) scale(1.05);
|
|
363
362
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
|
363
|
+
@include dynamic-background(#{$footer-social-link-hover-bg});
|
|
364
364
|
|
|
365
365
|
&::before {
|
|
366
366
|
transform: translateX(100%);
|
|
@@ -438,15 +438,14 @@
|
|
|
438
438
|
|
|
439
439
|
// Newsletter
|
|
440
440
|
&__newsletter {
|
|
441
|
-
@include dynamic-background(
|
|
442
|
-
linear-gradient(135deg, #{$footer-newsletter-bg}, rgba(#{$footer-newsletter-bg}, 0.8))
|
|
443
|
-
);
|
|
444
441
|
padding: #{$footer-newsletter-padding};
|
|
445
442
|
border-radius: #{$footer-newsletter-border-radius};
|
|
446
443
|
border: 1px solid var(--#{$prefix}border-subtle);
|
|
447
444
|
position: relative;
|
|
448
445
|
overflow: hidden;
|
|
449
|
-
|
|
446
|
+
@include dynamic-background(
|
|
447
|
+
linear-gradient(135deg, #{$footer-newsletter-bg}, rgba(#{$footer-newsletter-bg}, 0.8))
|
|
448
|
+
);
|
|
450
449
|
&::before {
|
|
451
450
|
content: '';
|
|
452
451
|
position: absolute;
|
|
@@ -503,13 +502,13 @@
|
|
|
503
502
|
flex: 1;
|
|
504
503
|
padding: #{$footer-newsletter-input-padding};
|
|
505
504
|
font-size: #{$footer-newsletter-input-font-size};
|
|
506
|
-
@include dynamic-background(#{$footer-newsletter-input-bg});
|
|
507
505
|
color: #{$footer-newsletter-input-color};
|
|
508
506
|
border: #{$footer-newsletter-input-border};
|
|
509
507
|
border-radius: #{$footer-newsletter-input-border-radius};
|
|
510
508
|
outline: none;
|
|
511
509
|
transition: all 0.3s ease;
|
|
512
510
|
box-sizing: border-box;
|
|
511
|
+
@include dynamic-background(#{$footer-newsletter-input-bg});
|
|
513
512
|
|
|
514
513
|
&:focus {
|
|
515
514
|
border-color: #{$footer-newsletter-input-focus-border-color};
|
|
@@ -529,7 +528,6 @@
|
|
|
529
528
|
|
|
530
529
|
&-button {
|
|
531
530
|
padding: #{$footer-newsletter-button-padding};
|
|
532
|
-
@include dynamic-background(#{$footer-newsletter-button-bg});
|
|
533
531
|
color: #{$footer-newsletter-button-color};
|
|
534
532
|
border: none;
|
|
535
533
|
border-radius: #{$footer-newsletter-button-border-radius};
|
|
@@ -539,6 +537,7 @@
|
|
|
539
537
|
white-space: nowrap;
|
|
540
538
|
position: relative;
|
|
541
539
|
overflow: hidden;
|
|
540
|
+
@include dynamic-background(#{$footer-newsletter-button-bg});
|
|
542
541
|
|
|
543
542
|
&::before {
|
|
544
543
|
content: '';
|
|
@@ -556,9 +555,9 @@
|
|
|
556
555
|
|
|
557
556
|
&:hover,
|
|
558
557
|
&:focus {
|
|
559
|
-
@include dynamic-background(#{$footer-newsletter-button-hover-bg});
|
|
560
558
|
transform: translateY(-2px);
|
|
561
559
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
|
560
|
+
@include dynamic-background(#{$footer-newsletter-button-hover-bg});
|
|
562
561
|
|
|
563
562
|
&::before {
|
|
564
563
|
transform: translateX(100%);
|
|
@@ -611,7 +610,6 @@
|
|
|
611
610
|
align-items: center;
|
|
612
611
|
gap: 0.5rem;
|
|
613
612
|
padding: 0.75rem 1.25rem;
|
|
614
|
-
@include dynamic-background(var(--#{$prefix}secondary-bg));
|
|
615
613
|
border: 1px solid var(--#{$prefix}border-subtle);
|
|
616
614
|
color: #{$footer-back-to-top-color};
|
|
617
615
|
font-size: #{$footer-back-to-top-font-size};
|
|
@@ -623,6 +621,7 @@
|
|
|
623
621
|
overflow: hidden;
|
|
624
622
|
text-decoration: none;
|
|
625
623
|
outline: none;
|
|
624
|
+
@include dynamic-background(var(--#{$prefix}secondary-bg));
|
|
626
625
|
|
|
627
626
|
&::before {
|
|
628
627
|
content: '';
|
|
@@ -641,10 +640,10 @@
|
|
|
641
640
|
&:hover,
|
|
642
641
|
&:focus {
|
|
643
642
|
color: #{$footer-back-to-top-hover-color};
|
|
644
|
-
@include dynamic-background(var(--#{$prefix}primary));
|
|
645
643
|
border-color: var(--#{$prefix}primary);
|
|
646
644
|
transform: translateY(-3px);
|
|
647
645
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
|
|
646
|
+
@include dynamic-background(var(--#{$prefix}primary));
|
|
648
647
|
|
|
649
648
|
&::before {
|
|
650
649
|
transform: translateX(100%);
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
display: grid;
|
|
37
37
|
place-items: center;
|
|
38
38
|
padding: var(--#{$prefix}hero-padding-y) var(--#{$prefix}hero-padding-x);
|
|
39
|
-
@include dynamic-background(var(--#{$prefix}hero-bg));
|
|
40
39
|
overflow: hidden;
|
|
40
|
+
@include dynamic-background(var(--#{$prefix}hero-bg));
|
|
41
41
|
|
|
42
42
|
&__bg {
|
|
43
43
|
position: absolute;
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
&__overlay {
|
|
59
59
|
position: absolute;
|
|
60
60
|
inset: 0;
|
|
61
|
-
@include dynamic-background(var(--#{$prefix}hero-overlay));
|
|
62
61
|
opacity: var(--#{$prefix}hero-overlay-opacity);
|
|
63
62
|
z-index: 1;
|
|
63
|
+
@include dynamic-background(var(--#{$prefix}hero-overlay));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&__container {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
border: var(--#{$prefix}input-border-width) solid var(--#{$prefix}input-border-color);
|
|
32
32
|
border-radius: var(--#{$prefix}input-border-radius);
|
|
33
33
|
outline: none;
|
|
34
|
-
@include dynamic-background(var(--#{$prefix}input-bg));
|
|
35
34
|
@include basic-transition();
|
|
35
|
+
@include dynamic-background(var(--#{$prefix}input-bg));
|
|
36
36
|
|
|
37
37
|
&:focus,
|
|
38
38
|
&:hover {
|
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
|
|
109
109
|
// Glass morphism effect styles
|
|
110
110
|
&--glass {
|
|
111
|
-
@include dynamic-background(var(--#{$prefix}input-bg), $enable-transparency: true);
|
|
112
111
|
box-shadow:
|
|
113
112
|
0 8px 32px rgba(0, 0, 0, 0.1),
|
|
114
113
|
0 0 0 1px rgba(255, 255, 255, 0.1) inset;
|
|
115
114
|
border-color: color-mix(in srgb, var(--#{$prefix}input-border-color) 50%, transparent);
|
|
115
|
+
@include dynamic-background(var(--#{$prefix}input-bg), $enable-transparency: true);
|
|
116
116
|
|
|
117
117
|
&:focus,
|
|
118
118
|
&:hover {
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
// Glass disabled state
|
|
131
131
|
&:disabled,
|
|
132
132
|
&.is-disabled {
|
|
133
|
-
@include dynamic-background(var(--#{$prefix}input-bg), $enable-transparency: true);
|
|
134
133
|
opacity: 0.6;
|
|
134
|
+
@include dynamic-background(var(--#{$prefix}input-bg), $enable-transparency: true);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
left: 0;
|
|
44
44
|
width: var(--#{config.$prefix}list-item-dash-width);
|
|
45
45
|
height: var(--#{config.$prefix}list-item-dash-height);
|
|
46
|
-
@include dynamic-background(var(--#{config.$prefix}list-color));
|
|
47
46
|
transform: translateY(-50%);
|
|
47
|
+
@include dynamic-background(var(--#{config.$prefix}list-color));
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
display: inline-block;
|
|
42
42
|
min-width: var(--#{config.$prefix}menu-min-width);
|
|
43
43
|
padding: var(--#{config.$prefix}menu-item-padding-y) var(--#{config.$prefix}menu-item-padding-x);
|
|
44
|
-
@include dynamic-background(var(--#{config.$prefix}menu-bg));
|
|
45
44
|
border-radius: var(--#{config.$prefix}menu-border-radius);
|
|
46
45
|
box-shadow: var(--#{config.$prefix}menu-box-shadow);
|
|
47
46
|
z-index: 5;
|
|
47
|
+
@include dynamic-background(var(--#{config.$prefix}menu-bg));
|
|
48
48
|
|
|
49
49
|
&__container {
|
|
50
50
|
width: 100%;
|
|
@@ -96,10 +96,10 @@
|
|
|
96
96
|
color: var(--#{config.$prefix}menu-item-color);
|
|
97
97
|
font-size: var(--#{config.$prefix}menu-item-font-size);
|
|
98
98
|
font-weight: var(--#{config.$prefix}menu-item-font-weight);
|
|
99
|
-
@include dynamic-background(var(--#{config.$prefix}menu-item-bg));
|
|
100
99
|
border-radius: var(--#{config.$prefix}menu-border-radius);
|
|
101
100
|
cursor: pointer;
|
|
102
101
|
@include animations.basic-transition();
|
|
102
|
+
@include dynamic-background(var(--#{config.$prefix}menu-item-bg));
|
|
103
103
|
|
|
104
104
|
&:hover {
|
|
105
105
|
color: var(--#{config.$prefix}menu-item-color);
|
|
@@ -141,9 +141,9 @@
|
|
|
141
141
|
font-size: var(--#{config.$prefix}messages-text-font-size);
|
|
142
142
|
padding: var(--#{config.$prefix}messages-text-padding-y)
|
|
143
143
|
var(--#{config.$prefix}messages-text-padding-x);
|
|
144
|
-
@include dynamic-background(var(--#{config.$prefix}messages-text-bg));
|
|
145
144
|
border-radius: border.$border-radius-sm var(--#{config.$prefix}messages-text-border-radius)
|
|
146
145
|
var(--#{config.$prefix}messages-text-border-radius) border.$border-radius-sm;
|
|
146
|
+
@include dynamic-background(var(--#{config.$prefix}messages-text-bg));
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
&__file {
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
@include square(var(--#{config.$prefix}messages-file-icon-size));
|
|
164
164
|
color: var(--#{config.$prefix}tertiary-text-emphasis);
|
|
165
165
|
margin-right: var(--#{config.$prefix}messages-file-icon-margin-right);
|
|
166
|
-
@include dynamic-background(var(--#{config.$prefix}body-bg));
|
|
167
166
|
border-radius: border.$border-radius-pill;
|
|
167
|
+
@include dynamic-background(var(--#{config.$prefix}body-bg));
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
&__file-name {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
border: var(--#{config.$prefix}messages-input-border-width) solid
|
|
295
295
|
var(--#{config.$prefix}messages-input-border-color);
|
|
296
296
|
border-radius: var(--#{config.$prefix}messages-input-border-radius);
|
|
297
|
-
@include dynamic-background(var(--#{config.$prefix}messages-bg));
|
|
298
297
|
resize: none;
|
|
298
|
+
@include dynamic-background(var(--#{config.$prefix}messages-bg));
|
|
299
299
|
|
|
300
300
|
&::placeholder {
|
|
301
301
|
color: var(--#{config.$prefix}messages-input-placeholder-color);
|
|
@@ -313,12 +313,13 @@
|
|
|
313
313
|
place-items: center;
|
|
314
314
|
align-self: flex-end;
|
|
315
315
|
padding: rem.rem(10px);
|
|
316
|
-
@include dynamic-background(var(--#{config.$prefix}brand-bg-subtle));
|
|
317
316
|
color: var(--#{config.$prefix}invert-text-emphasis);
|
|
318
317
|
border-radius: border.$border-radius-pill;
|
|
319
318
|
cursor: pointer;
|
|
320
319
|
appearance: none;
|
|
321
320
|
border: 0;
|
|
321
|
+
@include dynamic-background(var(--#{config.$prefix}brand-bg-subtle));
|
|
322
|
+
|
|
322
323
|
|
|
323
324
|
.c-icon {
|
|
324
325
|
width: var(--#{config.$prefix}messages-form-submit-icon-size);
|
|
@@ -355,55 +356,52 @@
|
|
|
355
356
|
|
|
356
357
|
// Text messages styling
|
|
357
358
|
#{$root}__text {
|
|
358
|
-
@include dynamic-background(
|
|
359
|
-
var(--#{config.$prefix}body-bg),
|
|
360
|
-
$enable-transparency: true
|
|
361
|
-
);
|
|
362
359
|
backdrop-filter: blur(8px);
|
|
363
360
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
364
361
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
362
|
+
@include dynamic-background(var(--#{config.$prefix}body-bg), $enable-transparency: true);
|
|
365
363
|
}
|
|
366
364
|
|
|
367
365
|
// Self message text styling
|
|
368
366
|
#{$root}__content--self {
|
|
369
367
|
#{$root}__text {
|
|
368
|
+
border: 1px solid rgba(var(--#{config.$prefix}primary-rgb), 0.3);
|
|
369
|
+
backdrop-filter: blur(8px);
|
|
370
370
|
@include dynamic-background(
|
|
371
371
|
var(--#{config.$prefix}brand-bg-subtle),
|
|
372
372
|
$enable-transparency: true
|
|
373
373
|
);
|
|
374
|
-
border: 1px solid rgba(var(--#{config.$prefix}primary-rgb), 0.3);
|
|
375
|
-
backdrop-filter: blur(8px);
|
|
376
374
|
}
|
|
377
375
|
|
|
378
376
|
#{$root}__file {
|
|
377
|
+
border: 1px solid rgba(var(--#{config.$prefix}primary-rgb), 0.3);
|
|
378
|
+
backdrop-filter: blur(8px);
|
|
379
379
|
@include dynamic-background(
|
|
380
380
|
var(--#{config.$prefix}brand-bg-subtle),
|
|
381
381
|
$enable-transparency: true
|
|
382
382
|
);
|
|
383
|
-
border: 1px solid rgba(var(--#{config.$prefix}primary-rgb), 0.3);
|
|
384
|
-
backdrop-filter: blur(8px);
|
|
385
383
|
}
|
|
386
384
|
}
|
|
387
385
|
|
|
388
386
|
// File attachment styling
|
|
389
387
|
#{$root}__file {
|
|
390
|
-
@include dynamic-background(
|
|
391
|
-
var(--#{config.$prefix}brand-bg-subtle),
|
|
392
|
-
$enable-transparency: true
|
|
393
|
-
);
|
|
394
388
|
border: 1px solid rgba(var(--#{config.$prefix}primary-rgb), 0.3);
|
|
395
389
|
backdrop-filter: blur(8px);
|
|
396
390
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
397
391
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
392
|
+
@include dynamic-background(
|
|
393
|
+
var(--#{config.$prefix}brand-bg-subtle),
|
|
394
|
+
$enable-transparency: true
|
|
395
|
+
);
|
|
398
396
|
}
|
|
399
397
|
|
|
400
398
|
#{$root}__file-icon {
|
|
399
|
+
backdrop-filter: blur(8px);
|
|
400
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
401
401
|
@include dynamic-background(
|
|
402
402
|
var(--#{config.$prefix}brand-bg-subtle),
|
|
403
403
|
$enable-transparency: true
|
|
404
404
|
);
|
|
405
|
-
backdrop-filter: blur(8px);
|
|
406
|
-
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
407
405
|
}
|
|
408
406
|
|
|
409
407
|
// Image styling
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
&__backdrop {
|
|
50
50
|
position: absolute;
|
|
51
51
|
inset: 0;
|
|
52
|
-
@include dynamic-background(var(--#{config.$prefix}modal-backdrop-bg));
|
|
53
52
|
opacity: 0;
|
|
54
53
|
transition: 0.3s;
|
|
54
|
+
@include dynamic-background(var(--#{config.$prefix}modal-backdrop-bg));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&__dialog {
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
width: 100%;
|
|
77
77
|
max-height: 100%;
|
|
78
78
|
padding: var(--#{config.$prefix}modal-inner-padding);
|
|
79
|
-
@include dynamic-background(var(--#{config.$prefix}modal-content-bg));
|
|
80
79
|
box-shadow: var(--#{config.$prefix}modal-content-box-shadow);
|
|
81
80
|
border-radius: var(--#{config.$prefix}modal-content-border-radius);
|
|
82
81
|
overflow: hidden;
|
|
83
82
|
pointer-events: auto;
|
|
83
|
+
@include dynamic-background(var(--#{config.$prefix}modal-content-bg));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
&__header {
|
|
@@ -144,15 +144,15 @@
|
|
|
144
144
|
&--glass {
|
|
145
145
|
#{$root} {
|
|
146
146
|
&__content {
|
|
147
|
-
@include dynamic-background(
|
|
148
|
-
var(--#{config.$prefix}modal-content-bg),
|
|
149
|
-
$enable-transparency: true
|
|
150
|
-
);
|
|
151
147
|
box-shadow: none;
|
|
152
148
|
border-radius: inherit;
|
|
153
149
|
|
|
154
150
|
width: var(--#{config.$prefix}modal-width);
|
|
155
151
|
height: 100%;
|
|
152
|
+
@include dynamic-background(
|
|
153
|
+
var(--#{config.$prefix}modal-content-bg),
|
|
154
|
+
$enable-transparency: true
|
|
155
|
+
);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
}
|
|
@@ -135,14 +135,11 @@
|
|
|
135
135
|
left: 50%;
|
|
136
136
|
transform: translateX(-50%);
|
|
137
137
|
z-index: 1000;
|
|
138
|
-
@include dynamic-background(var(--#{$prefix}body-bg));
|
|
139
138
|
border: 1px solid var(--#{$prefix}border-color);
|
|
140
139
|
border-radius: $border-radius-pill;
|
|
141
140
|
box-shadow: var(--#{$prefix}box-shadow-lg);
|
|
142
141
|
padding: rem(8px) rem(16px);
|
|
143
142
|
backdrop-filter: blur(10px);
|
|
144
|
-
|
|
145
|
-
// Add subtle background transparency
|
|
146
143
|
@include dynamic-background(rgba(var(--#{$prefix}body-bg-rgb), 0.95));
|
|
147
144
|
|
|
148
145
|
// Ensure items are properly spaced in float mode
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
position: relative;
|
|
38
38
|
padding: var(--#{$prefix}navbar-padding-y) 0;
|
|
39
39
|
border-bottom: var(--#{$prefix}navbar-border-width) solid var(--#{$prefix}navbar-border-color);
|
|
40
|
-
@include dynamic-background(var(--#{$prefix}navbar-bg));
|
|
41
40
|
z-index: var(--#{$prefix}navbar-z-index);
|
|
41
|
+
@include dynamic-background(var(--#{$prefix}navbar-bg));
|
|
42
42
|
|
|
43
43
|
&__container {
|
|
44
44
|
display: flex;
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
width: var(--#{$prefix}navbar-toggler-size);
|
|
80
80
|
height: var(--#{$prefix}navbar-toggler-size);
|
|
81
81
|
padding: 0;
|
|
82
|
-
@include dynamic-background(var(--#{$prefix}navbar-toggler-bg));
|
|
83
82
|
border: var(--#{$prefix}navbar-toggler-border);
|
|
84
83
|
border-radius: var(--#{$prefix}navbar-toggler-border-radius);
|
|
85
84
|
cursor: pointer;
|
|
86
85
|
transition: all 0.15s ease-in-out;
|
|
86
|
+
@include dynamic-background(var(--#{$prefix}navbar-toggler-bg));
|
|
87
87
|
|
|
88
88
|
&:hover {
|
|
89
89
|
opacity: 0.8;
|
|
@@ -142,11 +142,11 @@
|
|
|
142
142
|
left: 0;
|
|
143
143
|
width: 100%;
|
|
144
144
|
height: 100%;
|
|
145
|
-
@include dynamic-background(var(--#{$prefix}navbar-backdrop-bg));
|
|
146
145
|
z-index: var(--#{$prefix}navbar-backdrop-z-index);
|
|
147
146
|
opacity: 0;
|
|
148
147
|
visibility: hidden;
|
|
149
148
|
transition: all 0.3s ease-in-out;
|
|
149
|
+
@include dynamic-background(var(--#{$prefix}navbar-backdrop-bg));
|
|
150
150
|
|
|
151
151
|
&.is-open {
|
|
152
152
|
opacity: 1;
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
font-size: var(--#{config.$prefix}pagination-font-size);
|
|
83
83
|
padding: var(--#{config.$prefix}pagination-padding-y)
|
|
84
84
|
var(--#{config.$prefix}pagination-padding-x);
|
|
85
|
-
@include dynamic-background(var(--#{config.$prefix}pagination-bg));
|
|
86
85
|
border-radius: var(--#{config.$prefix}pagination-border-radius);
|
|
87
86
|
border: none;
|
|
88
87
|
cursor: pointer;
|
|
89
88
|
user-select: none;
|
|
89
|
+
@include dynamic-background(var(--#{config.$prefix}pagination-bg));
|
|
90
90
|
|
|
91
91
|
&:hover {
|
|
92
92
|
--#{config.$prefix}pagination-color: var(--#{config.$prefix}pagination-hover-color);
|
|
@@ -189,9 +189,9 @@
|
|
|
189
189
|
text-align: center;
|
|
190
190
|
border: 1px solid var(--#{config.$prefix}pagination-color);
|
|
191
191
|
border-radius: var(--#{config.$prefix}pagination-border-radius);
|
|
192
|
-
@include dynamic-background(var(--#{config.$prefix}pagination-bg));
|
|
193
192
|
color: var(--#{config.$prefix}pagination-color);
|
|
194
193
|
transition: all 0.2s ease-in-out;
|
|
194
|
+
@include dynamic-background(var(--#{config.$prefix}pagination-bg));
|
|
195
195
|
|
|
196
196
|
&:focus {
|
|
197
197
|
outline: none;
|
|
@@ -212,12 +212,12 @@
|
|
|
212
212
|
@include size.square(var(--#{config.$prefix}pagination-size));
|
|
213
213
|
padding: var(--#{config.$prefix}pagination-padding-y)
|
|
214
214
|
var(--#{config.$prefix}pagination-padding-x);
|
|
215
|
-
@include dynamic-background(var(--#{config.$prefix}pagination-bg));
|
|
216
215
|
border: 1px solid var(--#{config.$prefix}pagination-color);
|
|
217
216
|
border-radius: var(--#{config.$prefix}pagination-border-radius);
|
|
218
217
|
color: var(--#{config.$prefix}pagination-color);
|
|
219
218
|
cursor: pointer;
|
|
220
219
|
transition: all 0.2s ease-in-out;
|
|
220
|
+
@include dynamic-background(var(--#{config.$prefix}pagination-bg));
|
|
221
221
|
|
|
222
222
|
&:hover {
|
|
223
223
|
--#{config.$prefix}pagination-color: var(--#{config.$prefix}pagination-hover-color);
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
|
|
27
27
|
// Modern panel styles
|
|
28
28
|
%panel-base {
|
|
29
|
-
@include dynamic-background($photoviewer-component-background-color);
|
|
30
29
|
border: 1px solid $photoviewer-component-border-color;
|
|
31
30
|
border-radius: $photoviewer-image-container-border-radius;
|
|
32
31
|
box-shadow: $photoviewer-info-panel-shadow;
|
|
33
32
|
backdrop-filter: blur(8px);
|
|
33
|
+
@include dynamic-background($photoviewer-component-background-color);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
// Custom scrollbar styling
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
border: 2px solid transparent;
|
|
103
103
|
border-radius: $photoviewer-thumbnail-border-radius;
|
|
104
104
|
padding: 0;
|
|
105
|
-
@include dynamic-background(transparent);
|
|
106
105
|
cursor: pointer;
|
|
107
106
|
overflow: hidden;
|
|
108
107
|
position: relative;
|
|
109
108
|
box-shadow: $photoviewer-thumbnail-shadow;
|
|
109
|
+
@include dynamic-background(transparent);
|
|
110
110
|
|
|
111
111
|
&:hover {
|
|
112
112
|
transform: translateY(-2px);
|
|
@@ -175,9 +175,9 @@ body.is-open-photoviewer {
|
|
|
175
175
|
width: 100vw;
|
|
176
176
|
height: 100vh;
|
|
177
177
|
z-index: 1000;
|
|
178
|
-
@include dynamic-background(transparent);
|
|
179
178
|
opacity: 1;
|
|
180
179
|
transition-property: opacity;
|
|
180
|
+
@include dynamic-background(transparent);
|
|
181
181
|
|
|
182
182
|
&__backdrop {
|
|
183
183
|
@extend %standard-transition;
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
gap: var(--#{$prefix}popover-inner-gap-y) var(--#{$prefix}popover-inner-gap-x);
|
|
40
40
|
padding: var(--#{$prefix}popover-padding-y) var(--#{$prefix}popover-padding-x);
|
|
41
|
-
@include dynamic-background(var(--#{$prefix}popover-bg));
|
|
42
41
|
border-radius: var(--#{$prefix}popover-border-radius);
|
|
43
42
|
box-shadow: var(--#{$prefix}popover-box-shadow);
|
|
43
|
+
@include dynamic-background(var(--#{$prefix}popover-bg));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&__arrow {
|
|
47
47
|
position: absolute;
|
|
48
48
|
width: var(--#{$prefix}popover-arrow-size);
|
|
49
49
|
height: var(--#{$prefix}popover-arrow-size);
|
|
50
|
-
@include dynamic-background(var(--#{$prefix}popover-bg));
|
|
51
50
|
box-shadow: var(--#{$prefix}popover-box-shadow);
|
|
52
51
|
z-index: 1;
|
|
53
52
|
transform-origin: center;
|
|
53
|
+
@include dynamic-background(var(--#{$prefix}popover-bg));
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&.is-open {
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
|
|
95
95
|
&--glass {
|
|
96
96
|
#{$root}__content-inner {
|
|
97
|
+
box-shadow: none;
|
|
97
98
|
@include dynamic-background(
|
|
98
99
|
var(--#{$prefix}popover-bg),
|
|
99
100
|
$enable-transparency: true
|
|
100
101
|
);
|
|
101
|
-
box-shadow: none;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
|
|
23
23
|
padding: var(--#{config.$prefix}product-review-padding);
|
|
24
24
|
border-radius: var(--#{config.$prefix}product-review-border-radius);
|
|
25
|
-
@include dynamic-background(var(--#{config.$prefix}product-review-bg));
|
|
26
25
|
border: 1px solid var(--#{config.$prefix}product-review-border-color);
|
|
27
26
|
width: 100%;
|
|
28
27
|
max-width: rem.rem(600px);
|
|
29
28
|
margin: 0 auto;
|
|
29
|
+
@include dynamic-background(var(--#{config.$prefix}product-review-bg));
|
|
30
30
|
|
|
31
31
|
&__header {
|
|
32
32
|
display: flex;
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
padding: rem.rem(12px);
|
|
91
91
|
border: 1px solid var(--#{config.$prefix}product-review-border-color);
|
|
92
92
|
border-radius: var(--#{config.$prefix}border-radius);
|
|
93
|
-
@include dynamic-background(var(--#{config.$prefix}body-bg));
|
|
94
93
|
color: var(--#{config.$prefix}body-color);
|
|
95
94
|
font-family: inherit;
|
|
96
95
|
resize: vertical;
|
|
96
|
+
@include dynamic-background(var(--#{config.$prefix}body-bg));
|
|
97
97
|
|
|
98
98
|
&:focus {
|
|
99
99
|
outline: none;
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
width: 100%;
|
|
23
23
|
max-width: var(--#{config.$prefix}progress-width);
|
|
24
24
|
height: var(--#{config.$prefix}progress-bar-height);
|
|
25
|
-
@include dynamic-background(var(--#{config.$prefix}progress-bg));
|
|
26
25
|
border-radius: var(--#{config.$prefix}progress-border-radius);
|
|
27
26
|
overflow: hidden;
|
|
27
|
+
@include dynamic-background(var(--#{config.$prefix}progress-bg));
|
|
28
28
|
|
|
29
29
|
&__bar {
|
|
30
30
|
width: var(--#{config.$prefix}progress-bar-width);
|
|
31
31
|
height: var(--#{config.$prefix}progress-bar-height);
|
|
32
32
|
color: var(--#{config.$prefix}progress-bar-color);
|
|
33
|
-
@include dynamic-background(var(--#{config.$prefix}progress-bar-bg));
|
|
34
33
|
border-radius: var(--#{config.$prefix}progress-border-radius);
|
|
35
34
|
transition: var(--#{config.$prefix}progress-bar-transition)
|
|
36
35
|
var(--#{config.$prefix}progress-bar-easing);
|
|
36
|
+
@include dynamic-background(var(--#{config.$prefix}progress-bar-bg));
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
@each $color, $value in maps.$theme-colors {
|