@shohojdhara/atomix 0.2.6 → 0.2.8
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/CHANGELOG.md +4 -0
- package/README.md +3 -3
- package/dist/atomix.css +373 -55
- package/dist/atomix.min.css +2 -2
- package/dist/index.d.ts +458 -19
- package/dist/index.esm.js +975 -261
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +984 -261
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/themes/applemix.css +373 -55
- package/dist/themes/applemix.min.css +2 -2
- package/dist/themes/boomdevs.css +372 -54
- package/dist/themes/boomdevs.min.css +2 -2
- package/dist/themes/esrar.css +373 -55
- package/dist/themes/esrar.min.css +2 -2
- package/dist/themes/flashtrade.css +1776 -612
- package/dist/themes/flashtrade.min.css +113 -7
- package/dist/themes/mashroom.css +372 -54
- package/dist/themes/mashroom.min.css +2 -2
- package/dist/themes/shaj-default.css +372 -54
- package/dist/themes/shaj-default.min.css +2 -2
- package/package.json +1 -1
- package/src/components/Button/Button.stories.tsx +199 -0
- package/src/components/Button/Button.tsx +238 -78
- package/src/components/Card/Card.stories.tsx +202 -0
- package/src/components/Card/Card.tsx +248 -77
- package/src/components/Form/Input.stories.tsx +228 -2
- package/src/components/Hero/Hero.stories.tsx +297 -0
- package/src/components/Hero/Hero.tsx +79 -0
- package/src/components/{Tab/Tab.stories.tsx → Tabs/Tabs.stories.tsx} +9 -9
- package/src/components/{Tab/Tab.tsx → Tabs/Tabs.tsx} +7 -7
- package/src/components/Tabs/index.ts +2 -0
- package/src/components/Tooltip/Tooltip.tsx +68 -66
- package/src/components/index.ts +12 -2
- package/src/lib/composables/useButton.ts +37 -5
- package/src/lib/composables/useHero.ts +33 -4
- package/src/lib/composables/useHeroBackgroundSlider.ts +228 -0
- package/src/lib/composables/useInput.ts +39 -1
- package/src/lib/constants/components.ts +59 -0
- package/src/lib/types/components.ts +376 -4
- package/src/styles/01-settings/_settings.tooltip.scss +2 -2
- package/src/styles/06-components/_components.button.scss +100 -0
- package/src/styles/06-components/_components.card.scss +219 -1
- package/src/styles/06-components/_components.hero.scss +51 -1
- package/src/styles/06-components/_components.tooltip.scss +89 -66
- package/src/components/Tab/index.ts +0 -2
package/dist/themes/mashroom.css
CHANGED
|
@@ -16911,12 +16911,76 @@ a, a:hover {
|
|
|
16911
16911
|
.c-btn--icon {
|
|
16912
16912
|
--atomix-btn-padding-x: var(--atomix-btn-padding-y);
|
|
16913
16913
|
}
|
|
16914
|
+
.c-btn--full-width {
|
|
16915
|
+
width: 100%;
|
|
16916
|
+
}
|
|
16917
|
+
.c-btn--block {
|
|
16918
|
+
display: block;
|
|
16919
|
+
width: 100%;
|
|
16920
|
+
}
|
|
16921
|
+
.c-btn--loading {
|
|
16922
|
+
position: relative;
|
|
16923
|
+
pointer-events: none;
|
|
16924
|
+
cursor: wait;
|
|
16925
|
+
}
|
|
16926
|
+
.c-btn--loading::before {
|
|
16927
|
+
content: "";
|
|
16928
|
+
position: absolute;
|
|
16929
|
+
inset: 0;
|
|
16930
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
16931
|
+
border-radius: var(--atomix-btn-border-radius);
|
|
16932
|
+
z-index: 0;
|
|
16933
|
+
}
|
|
16934
|
+
.c-btn--active {
|
|
16935
|
+
--atomix-btn-bg: var(--atomix-btn-active-bg, var(--atomix-btn-hover-bg));
|
|
16936
|
+
--atomix-btn-color: var(--atomix-btn-active-color, var(--atomix-btn-hover-color));
|
|
16937
|
+
--atomix-btn-border-color: var(--atomix-btn-active-border-color, var(--atomix-btn-hover-border-color));
|
|
16938
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
16939
|
+
}
|
|
16940
|
+
.c-btn--selected {
|
|
16941
|
+
--atomix-btn-border-width: 2px;
|
|
16942
|
+
--atomix-btn-border-color: var(--atomix-brand-border-subtle, var(--atomix-primary));
|
|
16943
|
+
box-shadow: 0 0 0 2px rgba(var(--atomix-primary-rgb, 124, 58, 237), 0.2);
|
|
16944
|
+
}
|
|
16945
|
+
.c-btn__icon {
|
|
16946
|
+
display: inline-flex;
|
|
16947
|
+
align-items: center;
|
|
16948
|
+
flex-shrink: 0;
|
|
16949
|
+
}
|
|
16950
|
+
.c-btn__icon--start {
|
|
16951
|
+
order: -1;
|
|
16952
|
+
}
|
|
16953
|
+
.c-btn__icon--end {
|
|
16954
|
+
order: 1;
|
|
16955
|
+
}
|
|
16956
|
+
.c-btn__label {
|
|
16957
|
+
display: inline-block;
|
|
16958
|
+
}
|
|
16959
|
+
.c-btn__spinner {
|
|
16960
|
+
display: inline-flex;
|
|
16961
|
+
align-items: center;
|
|
16962
|
+
flex-shrink: 0;
|
|
16963
|
+
margin-right: 0.5rem;
|
|
16964
|
+
}
|
|
16965
|
+
.c-btn__spinner:last-child {
|
|
16966
|
+
margin-right: 0;
|
|
16967
|
+
margin-left: 0.5rem;
|
|
16968
|
+
}
|
|
16969
|
+
.c-btn:focus-visible {
|
|
16970
|
+
outline: 2px solid var(--atomix-brand-border-subtle, var(--atomix-primary));
|
|
16971
|
+
outline-offset: 2px;
|
|
16972
|
+
box-shadow: var(--atomix-btn-focus-box-shadow);
|
|
16973
|
+
}
|
|
16914
16974
|
.c-btn:disabled, .c-btn--disabled, fieldset:disabled .c-btn {
|
|
16915
16975
|
color: var(--atomix-btn-disabled-color);
|
|
16916
16976
|
pointer-events: none;
|
|
16917
16977
|
background-color: var(--atomix-btn-disabled-bg);
|
|
16918
16978
|
border-color: var(--atomix-btn-disabled-border-color);
|
|
16919
16979
|
opacity: var(--atomix-btn-disabled-opacity);
|
|
16980
|
+
cursor: not-allowed;
|
|
16981
|
+
}
|
|
16982
|
+
.c-btn:disabled:focus-visible, .c-btn--disabled:focus-visible, fieldset:disabled .c-btn:focus-visible {
|
|
16983
|
+
outline: none;
|
|
16920
16984
|
}
|
|
16921
16985
|
.c-btn--glass {
|
|
16922
16986
|
background-color: color-mix(in srgb, var(--atomix-btn-bg) 50%, transparent);
|
|
@@ -16924,6 +16988,22 @@ a, a:hover {
|
|
|
16924
16988
|
.c-btn--glass:hover {
|
|
16925
16989
|
background-color: color-mix(in srgb, var(--atomix-btn-hover-bg) 50%, transparent);
|
|
16926
16990
|
}
|
|
16991
|
+
@media (prefers-reduced-motion: reduce) {
|
|
16992
|
+
.c-btn {
|
|
16993
|
+
transition: none;
|
|
16994
|
+
}
|
|
16995
|
+
.c-btn__spinner {
|
|
16996
|
+
animation-duration: 2s;
|
|
16997
|
+
}
|
|
16998
|
+
}
|
|
16999
|
+
@media (prefers-contrast: high) {
|
|
17000
|
+
.c-btn {
|
|
17001
|
+
border-width: 2px;
|
|
17002
|
+
}
|
|
17003
|
+
.c-btn:focus-visible {
|
|
17004
|
+
outline-width: 3px;
|
|
17005
|
+
}
|
|
17006
|
+
}
|
|
16927
17007
|
.c-datepicker {
|
|
16928
17008
|
--atomix-datepicker-width: 22rem;
|
|
16929
17009
|
--atomix-datepicker-padding-x: 0.75rem;
|
|
@@ -17386,6 +17466,19 @@ a, a:hover {
|
|
|
17386
17466
|
transition-timing-function: ease-in-out;
|
|
17387
17467
|
transition-delay: 0s;
|
|
17388
17468
|
background-color: var(--atomix-card-bg);
|
|
17469
|
+
display: block;
|
|
17470
|
+
text-decoration: none;
|
|
17471
|
+
color: inherit;
|
|
17472
|
+
}
|
|
17473
|
+
.c-card[href] {
|
|
17474
|
+
display: block;
|
|
17475
|
+
text-decoration: none !important;
|
|
17476
|
+
color: inherit !important;
|
|
17477
|
+
cursor: pointer;
|
|
17478
|
+
}
|
|
17479
|
+
.c-card[href]:hover, .c-card[href]:focus, .c-card[href]:visited, .c-card[href]:active {
|
|
17480
|
+
text-decoration: none !important;
|
|
17481
|
+
color: inherit !important;
|
|
17389
17482
|
}
|
|
17390
17483
|
.c-card__header {
|
|
17391
17484
|
margin-bottom: var(--atomix-card-header-spacer-y);
|
|
@@ -17466,15 +17559,204 @@ a, a:hover {
|
|
|
17466
17559
|
padding: var(--atomix-card-row-spacer-y) var(--atomix-card-row-spacer-x);
|
|
17467
17560
|
padding-top: 0;
|
|
17468
17561
|
}
|
|
17562
|
+
.c-card--sm {
|
|
17563
|
+
--atomix-card-spacer-y: 0.5rem;
|
|
17564
|
+
--atomix-card-spacer-x: 0.5rem;
|
|
17565
|
+
--atomix-card-title-font-size: var(--atomix-font-size-sm);
|
|
17566
|
+
--atomix-card-text-font-size: var(--atomix-font-size-xs);
|
|
17567
|
+
}
|
|
17568
|
+
.c-card--lg {
|
|
17569
|
+
--atomix-card-spacer-y: 1.5rem;
|
|
17570
|
+
--atomix-card-spacer-x: 1.5rem;
|
|
17571
|
+
--atomix-card-title-font-size: var(--atomix-font-size-lg);
|
|
17572
|
+
--atomix-card-text-font-size: var(--atomix-font-size-base);
|
|
17573
|
+
}
|
|
17574
|
+
.c-card--filled {
|
|
17575
|
+
background-color: var(--atomix-card-bg);
|
|
17576
|
+
}
|
|
17577
|
+
.c-card--outlined {
|
|
17578
|
+
background-color: transparent;
|
|
17579
|
+
border-width: var(--atomix-card-border-width);
|
|
17580
|
+
}
|
|
17581
|
+
.c-card--ghost {
|
|
17582
|
+
background-color: transparent;
|
|
17583
|
+
border: none;
|
|
17584
|
+
}
|
|
17585
|
+
.c-card--elevated {
|
|
17586
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
17587
|
+
}
|
|
17588
|
+
.c-card--elevation-none {
|
|
17589
|
+
box-shadow: none;
|
|
17590
|
+
}
|
|
17591
|
+
.c-card--elevation-sm {
|
|
17592
|
+
box-shadow: var(--atomix-box-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
|
|
17593
|
+
}
|
|
17594
|
+
.c-card--elevation-md {
|
|
17595
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
17596
|
+
}
|
|
17597
|
+
.c-card--elevation-lg {
|
|
17598
|
+
box-shadow: var(--atomix-box-shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
|
|
17599
|
+
}
|
|
17600
|
+
.c-card--elevation-xl {
|
|
17601
|
+
box-shadow: var(--atomix-box-shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.1));
|
|
17602
|
+
}
|
|
17603
|
+
.c-card--disabled {
|
|
17604
|
+
opacity: 0.6;
|
|
17605
|
+
cursor: not-allowed;
|
|
17606
|
+
pointer-events: none;
|
|
17607
|
+
-webkit-user-select: none;
|
|
17608
|
+
-moz-user-select: none;
|
|
17609
|
+
user-select: none;
|
|
17610
|
+
}
|
|
17611
|
+
.c-card--loading {
|
|
17612
|
+
position: relative;
|
|
17613
|
+
pointer-events: none;
|
|
17614
|
+
-webkit-user-select: none;
|
|
17615
|
+
-moz-user-select: none;
|
|
17616
|
+
user-select: none;
|
|
17617
|
+
overflow: hidden;
|
|
17618
|
+
}
|
|
17619
|
+
.c-card--loading::before {
|
|
17620
|
+
content: "";
|
|
17621
|
+
position: absolute;
|
|
17622
|
+
inset: 0;
|
|
17623
|
+
background-color: rgba(255, 255, 255, 0.7);
|
|
17624
|
+
-webkit-backdrop-filter: blur(1px);
|
|
17625
|
+
backdrop-filter: blur(1px);
|
|
17626
|
+
z-index: 1;
|
|
17627
|
+
border-radius: var(--atomix-card-border-radius);
|
|
17628
|
+
}
|
|
17629
|
+
[data-theme=dark] .c-card--loading::before, .c-card--loading.dark::before {
|
|
17630
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
17631
|
+
}
|
|
17632
|
+
.c-card--selected {
|
|
17633
|
+
--atomix-card-border-color: var(--atomix-brand-border-subtle);
|
|
17634
|
+
--atomix-card-border-width: 2px;
|
|
17635
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
17636
|
+
}
|
|
17637
|
+
.c-card--interactive {
|
|
17638
|
+
cursor: pointer;
|
|
17639
|
+
transition: all 0.2s ease-in-out;
|
|
17640
|
+
}
|
|
17641
|
+
.c-card--interactive:hover:not(.c-card--interactive--disabled) {
|
|
17642
|
+
transform: translateY(-2px);
|
|
17643
|
+
box-shadow: var(--atomix-box-shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
|
|
17644
|
+
}
|
|
17645
|
+
.c-card--interactive:active:not(.c-card--interactive--disabled) {
|
|
17646
|
+
transform: translateY(0);
|
|
17647
|
+
}
|
|
17648
|
+
.c-card--primary {
|
|
17649
|
+
--atomix-card-bg: var(--atomix-brand-bg-subtle);
|
|
17650
|
+
--atomix-card-bg-hover: var(--atomix-brand-bg-subtle);
|
|
17651
|
+
--atomix-card-border-color: var(--atomix-brand-border-subtle);
|
|
17652
|
+
--atomix-card-title-color: var(--atomix-brand-text-emphasis);
|
|
17653
|
+
}
|
|
17654
|
+
.c-card--secondary {
|
|
17655
|
+
--atomix-card-bg: var(--atomix-secondary-bg-subtle);
|
|
17656
|
+
--atomix-card-bg-hover: var(--atomix-secondary-bg-subtle);
|
|
17657
|
+
--atomix-card-border-color: var(--atomix-secondary-border-subtle);
|
|
17658
|
+
--atomix-card-title-color: var(--atomix-secondary-text-emphasis);
|
|
17659
|
+
}
|
|
17660
|
+
.c-card--success {
|
|
17661
|
+
--atomix-card-bg: var(--atomix-success-bg-subtle);
|
|
17662
|
+
--atomix-card-bg-hover: var(--atomix-success-bg-subtle);
|
|
17663
|
+
--atomix-card-border-color: var(--atomix-success-border-subtle);
|
|
17664
|
+
--atomix-card-title-color: var(--atomix-success-text-emphasis);
|
|
17665
|
+
}
|
|
17666
|
+
.c-card--info {
|
|
17667
|
+
--atomix-card-bg: var(--atomix-info-bg-subtle);
|
|
17668
|
+
--atomix-card-bg-hover: var(--atomix-info-bg-subtle);
|
|
17669
|
+
--atomix-card-border-color: var(--atomix-info-border-subtle);
|
|
17670
|
+
--atomix-card-title-color: var(--atomix-info-text-emphasis);
|
|
17671
|
+
}
|
|
17672
|
+
.c-card--warning {
|
|
17673
|
+
--atomix-card-bg: var(--atomix-warning-bg-subtle);
|
|
17674
|
+
--atomix-card-bg-hover: var(--atomix-warning-bg-subtle);
|
|
17675
|
+
--atomix-card-border-color: var(--atomix-warning-border-subtle);
|
|
17676
|
+
--atomix-card-title-color: var(--atomix-warning-text-emphasis);
|
|
17677
|
+
}
|
|
17678
|
+
.c-card--error {
|
|
17679
|
+
--atomix-card-bg: var(--atomix-error-bg-subtle);
|
|
17680
|
+
--atomix-card-bg-hover: var(--atomix-error-bg-subtle);
|
|
17681
|
+
--atomix-card-border-color: var(--atomix-error-border-subtle);
|
|
17682
|
+
--atomix-card-title-color: var(--atomix-error-text-emphasis);
|
|
17683
|
+
}
|
|
17684
|
+
.c-card--light {
|
|
17685
|
+
--atomix-card-bg: var(--atomix-light);
|
|
17686
|
+
--atomix-card-bg-hover: var(--atomix-light-hover);
|
|
17687
|
+
--atomix-card-border-color: var(--atomix-light);
|
|
17688
|
+
--atomix-card-title-color: var(--atomix-dark);
|
|
17689
|
+
--atomix-card-text-color: rgba(0, 0, 0, 0.7);
|
|
17690
|
+
}
|
|
17691
|
+
.c-card--dark {
|
|
17692
|
+
--atomix-card-bg: var(--atomix-dark);
|
|
17693
|
+
--atomix-card-bg-hover: var(--atomix-dark-hover);
|
|
17694
|
+
--atomix-card-border-color: var(--atomix-dark);
|
|
17695
|
+
--atomix-card-title-color: var(--atomix-light);
|
|
17696
|
+
--atomix-card-text-color: rgba(255, 255, 255, 0.8);
|
|
17697
|
+
}
|
|
17469
17698
|
.c-card--glass {
|
|
17470
17699
|
max-width: none;
|
|
17471
17700
|
background-color: color-mix(in srgb, var(--atomix-card-bg) 50%, transparent);
|
|
17472
17701
|
}
|
|
17702
|
+
.c-card__loading {
|
|
17703
|
+
position: absolute;
|
|
17704
|
+
inset: 0;
|
|
17705
|
+
display: flex;
|
|
17706
|
+
align-items: center;
|
|
17707
|
+
justify-content: center;
|
|
17708
|
+
z-index: 2;
|
|
17709
|
+
border-radius: var(--atomix-card-border-radius);
|
|
17710
|
+
pointer-events: none;
|
|
17711
|
+
}
|
|
17712
|
+
.c-card__spinner {
|
|
17713
|
+
width: 2.5rem;
|
|
17714
|
+
height: 2.5rem;
|
|
17715
|
+
border: 4px solid;
|
|
17716
|
+
border-color: var(--atomix-border-primary, rgba(0, 0, 0, 0.15));
|
|
17717
|
+
border-top-color: var(--atomix-brand-text-emphasis, var(--atomix-primary, #7c3aed));
|
|
17718
|
+
border-right-color: var(--atomix-brand-text-emphasis, var(--atomix-primary, #7c3aed));
|
|
17719
|
+
border-radius: 50%;
|
|
17720
|
+
animation: spin 0.8s linear infinite;
|
|
17721
|
+
background-color: transparent;
|
|
17722
|
+
flex-shrink: 0;
|
|
17723
|
+
box-sizing: border-box;
|
|
17724
|
+
display: block;
|
|
17725
|
+
}
|
|
17726
|
+
.c-card:focus-visible {
|
|
17727
|
+
outline: 2px solid var(--atomix-brand-border-subtle);
|
|
17728
|
+
outline-offset: 2px;
|
|
17729
|
+
}
|
|
17730
|
+
@media (prefers-reduced-motion: reduce) {
|
|
17731
|
+
.c-card {
|
|
17732
|
+
transition: none;
|
|
17733
|
+
}
|
|
17734
|
+
.c-card--interactive:hover:not(.c-card--disabled) {
|
|
17735
|
+
transform: none;
|
|
17736
|
+
}
|
|
17737
|
+
.c-card__spinner {
|
|
17738
|
+
animation: none;
|
|
17739
|
+
border-top-color: transparent;
|
|
17740
|
+
}
|
|
17741
|
+
}
|
|
17742
|
+
@media (prefers-contrast: high) {
|
|
17743
|
+
.c-card {
|
|
17744
|
+
border-width: 2px;
|
|
17745
|
+
}
|
|
17746
|
+
.c-card--selected {
|
|
17747
|
+
border-width: 3px;
|
|
17748
|
+
}
|
|
17749
|
+
}
|
|
17473
17750
|
.is-elevated .c-card {
|
|
17474
17751
|
box-shadow: var(--atomix-box-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.175));
|
|
17475
17752
|
z-index: 1;
|
|
17476
17753
|
transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
17477
17754
|
}
|
|
17755
|
+
@keyframes spin {
|
|
17756
|
+
to {
|
|
17757
|
+
transform: rotate(360deg);
|
|
17758
|
+
}
|
|
17759
|
+
}
|
|
17478
17760
|
.c-chart {
|
|
17479
17761
|
--atomix-chart-primary-color: var(--atomix-primary);
|
|
17480
17762
|
--atomix-chart-secondary-color: var(--atomix-secondary);
|
|
@@ -20843,7 +21125,7 @@ a, a:hover {
|
|
|
20843
21125
|
inset: 0;
|
|
20844
21126
|
background-color: var(--atomix-hero-overlay);
|
|
20845
21127
|
opacity: var(--atomix-hero-overlay-opacity);
|
|
20846
|
-
z-index:
|
|
21128
|
+
z-index: 1;
|
|
20847
21129
|
}
|
|
20848
21130
|
.c-hero__container {
|
|
20849
21131
|
position: relative;
|
|
@@ -20913,6 +21195,46 @@ a, a:hover {
|
|
|
20913
21195
|
.c-hero--full-vh {
|
|
20914
21196
|
min-height: 100vh;
|
|
20915
21197
|
}
|
|
21198
|
+
.c-hero__slider {
|
|
21199
|
+
position: absolute;
|
|
21200
|
+
inset: 0;
|
|
21201
|
+
overflow: hidden;
|
|
21202
|
+
z-index: 0;
|
|
21203
|
+
}
|
|
21204
|
+
.c-hero__slider-item {
|
|
21205
|
+
position: absolute;
|
|
21206
|
+
inset: 0;
|
|
21207
|
+
opacity: 0;
|
|
21208
|
+
transition: opacity var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
21209
|
+
pointer-events: none;
|
|
21210
|
+
}
|
|
21211
|
+
.c-hero__slider-item img,
|
|
21212
|
+
.c-hero__slider-item video {
|
|
21213
|
+
width: 100%;
|
|
21214
|
+
height: 100%;
|
|
21215
|
+
-o-object-fit: cover;
|
|
21216
|
+
object-fit: cover;
|
|
21217
|
+
-o-object-position: center;
|
|
21218
|
+
object-position: center;
|
|
21219
|
+
}
|
|
21220
|
+
.c-hero__slider-item--active {
|
|
21221
|
+
opacity: 1;
|
|
21222
|
+
pointer-events: auto;
|
|
21223
|
+
z-index: 1;
|
|
21224
|
+
}
|
|
21225
|
+
.c-hero__slider--fade .c-hero__slider-item {
|
|
21226
|
+
transition: opacity var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
21227
|
+
}
|
|
21228
|
+
.c-hero__slider--slide .c-hero__slider-item {
|
|
21229
|
+
transform: translateX(100%);
|
|
21230
|
+
transition: transform var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
21231
|
+
}
|
|
21232
|
+
.c-hero__slider--slide .c-hero__slider-item--active {
|
|
21233
|
+
transform: translateX(0);
|
|
21234
|
+
}
|
|
21235
|
+
.c-hero__slider--custom .c-hero__slider-item {
|
|
21236
|
+
transition: all var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
21237
|
+
}
|
|
20916
21238
|
.c-form-group {
|
|
20917
21239
|
--atomix-input-group-width: 100%;
|
|
20918
21240
|
--atomix-input-group-label-color: var(--atomix-secondary-text-emphasis);
|
|
@@ -24545,18 +24867,46 @@ a, a:hover {
|
|
|
24545
24867
|
--atomix-tooltip-border-color: ;
|
|
24546
24868
|
--atomix-tooltip-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
24547
24869
|
--atomix-tooltip-arrow-size: 0.5rem;
|
|
24870
|
+
--atomix-tooltip-offset: 0.5rem;
|
|
24548
24871
|
position: absolute;
|
|
24549
|
-
bottom: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
24550
|
-
left: 50%;
|
|
24551
24872
|
width: -moz-max-content;
|
|
24552
24873
|
width: max-content;
|
|
24553
24874
|
height: -moz-max-content;
|
|
24554
24875
|
height: max-content;
|
|
24555
24876
|
max-width: var(--atomix-tooltip-max-width);
|
|
24556
|
-
transform: translateX(-50%);
|
|
24557
24877
|
pointer-events: none;
|
|
24558
24878
|
z-index: 1000;
|
|
24559
24879
|
}
|
|
24880
|
+
.c-tooltip--top, .c-tooltip--top-left, .c-tooltip--top-right {
|
|
24881
|
+
bottom: calc(100% + var(--atomix-tooltip-offset));
|
|
24882
|
+
transform-origin: bottom center;
|
|
24883
|
+
}
|
|
24884
|
+
.c-tooltip--bottom, .c-tooltip--bottom-left, .c-tooltip--bottom-right {
|
|
24885
|
+
top: calc(100% + var(--atomix-tooltip-offset));
|
|
24886
|
+
transform-origin: top center;
|
|
24887
|
+
}
|
|
24888
|
+
.c-tooltip--left {
|
|
24889
|
+
right: calc(100% + var(--atomix-tooltip-offset));
|
|
24890
|
+
top: 50%;
|
|
24891
|
+
transform: translateY(-50%);
|
|
24892
|
+
transform-origin: right center;
|
|
24893
|
+
}
|
|
24894
|
+
.c-tooltip--right {
|
|
24895
|
+
left: calc(100% + var(--atomix-tooltip-offset));
|
|
24896
|
+
top: 50%;
|
|
24897
|
+
transform: translateY(-50%);
|
|
24898
|
+
transform-origin: left center;
|
|
24899
|
+
}
|
|
24900
|
+
.c-tooltip--top, .c-tooltip--bottom {
|
|
24901
|
+
left: 50%;
|
|
24902
|
+
transform: translateX(-50%);
|
|
24903
|
+
}
|
|
24904
|
+
.c-tooltip--top-left, .c-tooltip--bottom-left {
|
|
24905
|
+
left: 0;
|
|
24906
|
+
}
|
|
24907
|
+
.c-tooltip--top-right, .c-tooltip--bottom-right {
|
|
24908
|
+
right: 0;
|
|
24909
|
+
}
|
|
24560
24910
|
.c-tooltip__content {
|
|
24561
24911
|
position: relative;
|
|
24562
24912
|
color: var(--atomix-tooltip-color);
|
|
@@ -24565,10 +24915,12 @@ a, a:hover {
|
|
|
24565
24915
|
padding: var(--atomix-tooltip-padding-y) var(--atomix-tooltip-padding-x);
|
|
24566
24916
|
background-color: var(--atomix-tooltip-bg);
|
|
24567
24917
|
border-radius: var(--atomix-tooltip-border-radius);
|
|
24918
|
+
box-shadow: var(--atomix-tooltip-box-shadow);
|
|
24568
24919
|
z-index: 2;
|
|
24569
24920
|
opacity: 0;
|
|
24921
|
+
pointer-events: auto;
|
|
24922
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
24570
24923
|
transform: scale(0.95);
|
|
24571
|
-
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
|
24572
24924
|
}
|
|
24573
24925
|
.c-tooltip__content.is-active {
|
|
24574
24926
|
opacity: 1;
|
|
@@ -24576,71 +24928,37 @@ a, a:hover {
|
|
|
24576
24928
|
}
|
|
24577
24929
|
.c-tooltip__arrow {
|
|
24578
24930
|
position: absolute;
|
|
24579
|
-
bottom: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
24580
|
-
left: 50%;
|
|
24581
|
-
transform: translateX(-50%) rotate(45deg);
|
|
24582
24931
|
width: var(--atomix-tooltip-arrow-size);
|
|
24583
24932
|
height: var(--atomix-tooltip-arrow-size);
|
|
24584
24933
|
background-color: var(--atomix-tooltip-bg);
|
|
24585
24934
|
z-index: 1;
|
|
24586
|
-
}
|
|
24587
|
-
.c-tooltip--top-left {
|
|
24588
|
-
left: auto;
|
|
24589
|
-
right: calc(100% - var(--atomix-tooltip-arrow-size) * 2);
|
|
24590
|
-
transform: translateX(0);
|
|
24591
|
-
}
|
|
24592
|
-
.c-tooltip--top-left .c-tooltip__arrow {
|
|
24593
|
-
left: auto;
|
|
24594
|
-
right: var(--atomix-tooltip-arrow-size);
|
|
24595
24935
|
transform: rotate(45deg);
|
|
24596
24936
|
}
|
|
24597
|
-
.c-tooltip--top-right {
|
|
24598
|
-
|
|
24599
|
-
transform: translateX(0);
|
|
24937
|
+
.c-tooltip--top .c-tooltip__arrow, .c-tooltip--top-left .c-tooltip__arrow, .c-tooltip--top-right .c-tooltip__arrow {
|
|
24938
|
+
bottom: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
24600
24939
|
}
|
|
24601
|
-
.c-tooltip--
|
|
24602
|
-
|
|
24603
|
-
transform: rotate(45deg);
|
|
24940
|
+
.c-tooltip--bottom .c-tooltip__arrow, .c-tooltip--bottom-left .c-tooltip__arrow, .c-tooltip--bottom-right .c-tooltip__arrow {
|
|
24941
|
+
top: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
24604
24942
|
}
|
|
24605
|
-
.c-tooltip--
|
|
24606
|
-
|
|
24943
|
+
.c-tooltip--left .c-tooltip__arrow {
|
|
24944
|
+
right: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
24607
24945
|
top: 50%;
|
|
24608
|
-
transform: translateY(-50%);
|
|
24946
|
+
transform: translateY(-50%) rotate(45deg);
|
|
24609
24947
|
}
|
|
24610
24948
|
.c-tooltip--right .c-tooltip__arrow {
|
|
24611
24949
|
left: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
24612
24950
|
top: 50%;
|
|
24613
|
-
|
|
24614
|
-
transform: rotate(45deg) translateY(-50%);
|
|
24615
|
-
transform-origin: top;
|
|
24616
|
-
}
|
|
24617
|
-
.c-tooltip--left {
|
|
24618
|
-
left: auto;
|
|
24619
|
-
right: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
24620
|
-
top: 50%;
|
|
24621
|
-
transform: translateY(-50%);
|
|
24622
|
-
}
|
|
24623
|
-
.c-tooltip--left .c-tooltip__arrow {
|
|
24624
|
-
left: auto;
|
|
24625
|
-
top: 50%;
|
|
24626
|
-
bottom: auto;
|
|
24627
|
-
right: calc(var(--atomix-tooltip-arrow-size) / -5);
|
|
24628
|
-
transform: rotate(45deg) translateY(-50%);
|
|
24629
|
-
}
|
|
24630
|
-
.c-tooltip--bottom {
|
|
24631
|
-
top: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
24951
|
+
transform: translateY(-50%) rotate(45deg);
|
|
24632
24952
|
}
|
|
24633
|
-
.c-tooltip--bottom .c-tooltip__arrow {
|
|
24634
|
-
|
|
24635
|
-
|
|
24953
|
+
.c-tooltip--top .c-tooltip__arrow, .c-tooltip--bottom .c-tooltip__arrow {
|
|
24954
|
+
left: 50%;
|
|
24955
|
+
transform: translateX(-50%) rotate(45deg);
|
|
24636
24956
|
}
|
|
24637
|
-
.c-tooltip--bottom-left {
|
|
24638
|
-
|
|
24639
|
-
left: 0;
|
|
24957
|
+
.c-tooltip--top-left .c-tooltip__arrow, .c-tooltip--bottom-left .c-tooltip__arrow {
|
|
24958
|
+
left: var(--atomix-tooltip-arrow-size);
|
|
24640
24959
|
}
|
|
24641
|
-
.c-tooltip--bottom-right {
|
|
24642
|
-
|
|
24643
|
-
right: 0;
|
|
24960
|
+
.c-tooltip--top-right .c-tooltip__arrow, .c-tooltip--bottom-right .c-tooltip__arrow {
|
|
24961
|
+
right: var(--atomix-tooltip-arrow-size);
|
|
24644
24962
|
}
|
|
24645
24963
|
.c-upload {
|
|
24646
24964
|
--atomix-upload-width: 37.5rem;
|