@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/applemix.css
CHANGED
|
@@ -2421,12 +2421,76 @@ a, a:hover {
|
|
|
2421
2421
|
.c-btn--icon {
|
|
2422
2422
|
--atomix-btn-padding-x: var(--atomix-btn-padding-y);
|
|
2423
2423
|
}
|
|
2424
|
+
.c-btn--full-width {
|
|
2425
|
+
width: 100%;
|
|
2426
|
+
}
|
|
2427
|
+
.c-btn--block {
|
|
2428
|
+
display: block;
|
|
2429
|
+
width: 100%;
|
|
2430
|
+
}
|
|
2431
|
+
.c-btn--loading {
|
|
2432
|
+
position: relative;
|
|
2433
|
+
pointer-events: none;
|
|
2434
|
+
cursor: wait;
|
|
2435
|
+
}
|
|
2436
|
+
.c-btn--loading::before {
|
|
2437
|
+
content: "";
|
|
2438
|
+
position: absolute;
|
|
2439
|
+
inset: 0;
|
|
2440
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
2441
|
+
border-radius: var(--atomix-btn-border-radius);
|
|
2442
|
+
z-index: 0;
|
|
2443
|
+
}
|
|
2444
|
+
.c-btn--active {
|
|
2445
|
+
--atomix-btn-bg: var(--atomix-btn-active-bg, var(--atomix-btn-hover-bg));
|
|
2446
|
+
--atomix-btn-color: var(--atomix-btn-active-color, var(--atomix-btn-hover-color));
|
|
2447
|
+
--atomix-btn-border-color: var(--atomix-btn-active-border-color, var(--atomix-btn-hover-border-color));
|
|
2448
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
2449
|
+
}
|
|
2450
|
+
.c-btn--selected {
|
|
2451
|
+
--atomix-btn-border-width: 2px;
|
|
2452
|
+
--atomix-btn-border-color: var(--atomix-brand-border-subtle, var(--atomix-primary));
|
|
2453
|
+
box-shadow: 0 0 0 2px rgba(var(--atomix-primary-rgb, 124, 58, 237), 0.2);
|
|
2454
|
+
}
|
|
2455
|
+
.c-btn__icon {
|
|
2456
|
+
display: inline-flex;
|
|
2457
|
+
align-items: center;
|
|
2458
|
+
flex-shrink: 0;
|
|
2459
|
+
}
|
|
2460
|
+
.c-btn__icon--start {
|
|
2461
|
+
order: -1;
|
|
2462
|
+
}
|
|
2463
|
+
.c-btn__icon--end {
|
|
2464
|
+
order: 1;
|
|
2465
|
+
}
|
|
2466
|
+
.c-btn__label {
|
|
2467
|
+
display: inline-block;
|
|
2468
|
+
}
|
|
2469
|
+
.c-btn__spinner {
|
|
2470
|
+
display: inline-flex;
|
|
2471
|
+
align-items: center;
|
|
2472
|
+
flex-shrink: 0;
|
|
2473
|
+
margin-right: 0.5rem;
|
|
2474
|
+
}
|
|
2475
|
+
.c-btn__spinner:last-child {
|
|
2476
|
+
margin-right: 0;
|
|
2477
|
+
margin-left: 0.5rem;
|
|
2478
|
+
}
|
|
2479
|
+
.c-btn:focus-visible {
|
|
2480
|
+
outline: 2px solid var(--atomix-brand-border-subtle, var(--atomix-primary));
|
|
2481
|
+
outline-offset: 2px;
|
|
2482
|
+
box-shadow: var(--atomix-btn-focus-box-shadow);
|
|
2483
|
+
}
|
|
2424
2484
|
.c-btn:disabled, .c-btn--disabled, fieldset:disabled .c-btn {
|
|
2425
2485
|
color: var(--atomix-btn-disabled-color);
|
|
2426
2486
|
pointer-events: none;
|
|
2427
2487
|
background-color: color-mix(in srgb, var(--atomix-btn-disabled-bg) 50%, transparent);
|
|
2428
2488
|
border-color: var(--atomix-btn-disabled-border-color);
|
|
2429
2489
|
opacity: var(--atomix-btn-disabled-opacity);
|
|
2490
|
+
cursor: not-allowed;
|
|
2491
|
+
}
|
|
2492
|
+
.c-btn:disabled:focus-visible, .c-btn--disabled:focus-visible, fieldset:disabled .c-btn:focus-visible {
|
|
2493
|
+
outline: none;
|
|
2430
2494
|
}
|
|
2431
2495
|
.c-btn--glass {
|
|
2432
2496
|
background-color: color-mix(in srgb, var(--atomix-btn-bg) 50%, transparent);
|
|
@@ -2434,6 +2498,22 @@ a, a:hover {
|
|
|
2434
2498
|
.c-btn--glass:hover {
|
|
2435
2499
|
background-color: color-mix(in srgb, var(--atomix-btn-hover-bg) 50%, transparent);
|
|
2436
2500
|
}
|
|
2501
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2502
|
+
.c-btn {
|
|
2503
|
+
transition: none;
|
|
2504
|
+
}
|
|
2505
|
+
.c-btn__spinner {
|
|
2506
|
+
animation-duration: 2s;
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
@media (prefers-contrast: high) {
|
|
2510
|
+
.c-btn {
|
|
2511
|
+
border-width: 2px;
|
|
2512
|
+
}
|
|
2513
|
+
.c-btn:focus-visible {
|
|
2514
|
+
outline-width: 3px;
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2437
2517
|
.c-datepicker {
|
|
2438
2518
|
--atomix-datepicker-width: 19rem;
|
|
2439
2519
|
--atomix-datepicker-padding-x: 0.5rem;
|
|
@@ -2896,6 +2976,19 @@ a, a:hover {
|
|
|
2896
2976
|
transition-timing-function: ease-in-out;
|
|
2897
2977
|
transition-delay: 0s;
|
|
2898
2978
|
background-color: color-mix(in srgb, var(--atomix-card-bg) 50%, transparent);
|
|
2979
|
+
display: block;
|
|
2980
|
+
text-decoration: none;
|
|
2981
|
+
color: inherit;
|
|
2982
|
+
}
|
|
2983
|
+
.c-card[href] {
|
|
2984
|
+
display: block;
|
|
2985
|
+
text-decoration: none !important;
|
|
2986
|
+
color: inherit !important;
|
|
2987
|
+
cursor: pointer;
|
|
2988
|
+
}
|
|
2989
|
+
.c-card[href]:hover, .c-card[href]:focus, .c-card[href]:visited, .c-card[href]:active {
|
|
2990
|
+
text-decoration: none !important;
|
|
2991
|
+
color: inherit !important;
|
|
2899
2992
|
}
|
|
2900
2993
|
.c-card__header {
|
|
2901
2994
|
margin-bottom: var(--atomix-card-header-spacer-y);
|
|
@@ -2973,15 +3066,204 @@ a, a:hover {
|
|
|
2973
3066
|
padding: var(--atomix-card-row-spacer-y) var(--atomix-card-row-spacer-x);
|
|
2974
3067
|
padding-top: 0;
|
|
2975
3068
|
}
|
|
3069
|
+
.c-card--sm {
|
|
3070
|
+
--atomix-card-spacer-y: 0.5rem;
|
|
3071
|
+
--atomix-card-spacer-x: 0.5rem;
|
|
3072
|
+
--atomix-card-title-font-size: var(--atomix-font-size-sm);
|
|
3073
|
+
--atomix-card-text-font-size: var(--atomix-font-size-xs);
|
|
3074
|
+
}
|
|
3075
|
+
.c-card--lg {
|
|
3076
|
+
--atomix-card-spacer-y: 1.5rem;
|
|
3077
|
+
--atomix-card-spacer-x: 1.5rem;
|
|
3078
|
+
--atomix-card-title-font-size: var(--atomix-font-size-lg);
|
|
3079
|
+
--atomix-card-text-font-size: var(--atomix-font-size-base);
|
|
3080
|
+
}
|
|
3081
|
+
.c-card--filled {
|
|
3082
|
+
background-color: color-mix(in srgb, var(--atomix-card-bg) 50%, transparent);
|
|
3083
|
+
}
|
|
3084
|
+
.c-card--outlined {
|
|
3085
|
+
background-color: transparent;
|
|
3086
|
+
border-width: var(--atomix-card-border-width);
|
|
3087
|
+
}
|
|
3088
|
+
.c-card--ghost {
|
|
3089
|
+
background-color: transparent;
|
|
3090
|
+
border: none;
|
|
3091
|
+
}
|
|
3092
|
+
.c-card--elevated {
|
|
3093
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
3094
|
+
}
|
|
3095
|
+
.c-card--elevation-none {
|
|
3096
|
+
box-shadow: none;
|
|
3097
|
+
}
|
|
3098
|
+
.c-card--elevation-sm {
|
|
3099
|
+
box-shadow: var(--atomix-box-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
|
|
3100
|
+
}
|
|
3101
|
+
.c-card--elevation-md {
|
|
3102
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
3103
|
+
}
|
|
3104
|
+
.c-card--elevation-lg {
|
|
3105
|
+
box-shadow: var(--atomix-box-shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
|
|
3106
|
+
}
|
|
3107
|
+
.c-card--elevation-xl {
|
|
3108
|
+
box-shadow: var(--atomix-box-shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.1));
|
|
3109
|
+
}
|
|
3110
|
+
.c-card--disabled {
|
|
3111
|
+
opacity: 0.6;
|
|
3112
|
+
cursor: not-allowed;
|
|
3113
|
+
pointer-events: none;
|
|
3114
|
+
-webkit-user-select: none;
|
|
3115
|
+
-moz-user-select: none;
|
|
3116
|
+
user-select: none;
|
|
3117
|
+
}
|
|
3118
|
+
.c-card--loading {
|
|
3119
|
+
position: relative;
|
|
3120
|
+
pointer-events: none;
|
|
3121
|
+
-webkit-user-select: none;
|
|
3122
|
+
-moz-user-select: none;
|
|
3123
|
+
user-select: none;
|
|
3124
|
+
overflow: hidden;
|
|
3125
|
+
}
|
|
3126
|
+
.c-card--loading::before {
|
|
3127
|
+
content: "";
|
|
3128
|
+
position: absolute;
|
|
3129
|
+
inset: 0;
|
|
3130
|
+
background-color: rgba(255, 255, 255, 0.7);
|
|
3131
|
+
-webkit-backdrop-filter: blur(1px);
|
|
3132
|
+
backdrop-filter: blur(1px);
|
|
3133
|
+
z-index: 1;
|
|
3134
|
+
border-radius: var(--atomix-card-border-radius);
|
|
3135
|
+
}
|
|
3136
|
+
[data-theme=dark] .c-card--loading::before, .c-card--loading.dark::before {
|
|
3137
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
3138
|
+
}
|
|
3139
|
+
.c-card--selected {
|
|
3140
|
+
--atomix-card-border-color: var(--atomix-brand-border-subtle);
|
|
3141
|
+
--atomix-card-border-width: 2px;
|
|
3142
|
+
box-shadow: var(--atomix-box-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
|
|
3143
|
+
}
|
|
3144
|
+
.c-card--interactive {
|
|
3145
|
+
cursor: pointer;
|
|
3146
|
+
transition: all 0.2s ease-in-out;
|
|
3147
|
+
}
|
|
3148
|
+
.c-card--interactive:hover:not(.c-card--interactive--disabled) {
|
|
3149
|
+
transform: translateY(-2px);
|
|
3150
|
+
box-shadow: var(--atomix-box-shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
|
|
3151
|
+
}
|
|
3152
|
+
.c-card--interactive:active:not(.c-card--interactive--disabled) {
|
|
3153
|
+
transform: translateY(0);
|
|
3154
|
+
}
|
|
3155
|
+
.c-card--primary {
|
|
3156
|
+
--atomix-card-bg: var(--atomix-brand-bg-subtle);
|
|
3157
|
+
--atomix-card-bg-hover: var(--atomix-brand-bg-subtle);
|
|
3158
|
+
--atomix-card-border-color: var(--atomix-brand-border-subtle);
|
|
3159
|
+
--atomix-card-title-color: var(--atomix-brand-text-emphasis);
|
|
3160
|
+
}
|
|
3161
|
+
.c-card--secondary {
|
|
3162
|
+
--atomix-card-bg: var(--atomix-secondary-bg-subtle);
|
|
3163
|
+
--atomix-card-bg-hover: var(--atomix-secondary-bg-subtle);
|
|
3164
|
+
--atomix-card-border-color: var(--atomix-secondary-border-subtle);
|
|
3165
|
+
--atomix-card-title-color: var(--atomix-secondary-text-emphasis);
|
|
3166
|
+
}
|
|
3167
|
+
.c-card--success {
|
|
3168
|
+
--atomix-card-bg: var(--atomix-success-bg-subtle);
|
|
3169
|
+
--atomix-card-bg-hover: var(--atomix-success-bg-subtle);
|
|
3170
|
+
--atomix-card-border-color: var(--atomix-success-border-subtle);
|
|
3171
|
+
--atomix-card-title-color: var(--atomix-success-text-emphasis);
|
|
3172
|
+
}
|
|
3173
|
+
.c-card--info {
|
|
3174
|
+
--atomix-card-bg: var(--atomix-info-bg-subtle);
|
|
3175
|
+
--atomix-card-bg-hover: var(--atomix-info-bg-subtle);
|
|
3176
|
+
--atomix-card-border-color: var(--atomix-info-border-subtle);
|
|
3177
|
+
--atomix-card-title-color: var(--atomix-info-text-emphasis);
|
|
3178
|
+
}
|
|
3179
|
+
.c-card--warning {
|
|
3180
|
+
--atomix-card-bg: var(--atomix-warning-bg-subtle);
|
|
3181
|
+
--atomix-card-bg-hover: var(--atomix-warning-bg-subtle);
|
|
3182
|
+
--atomix-card-border-color: var(--atomix-warning-border-subtle);
|
|
3183
|
+
--atomix-card-title-color: var(--atomix-warning-text-emphasis);
|
|
3184
|
+
}
|
|
3185
|
+
.c-card--error {
|
|
3186
|
+
--atomix-card-bg: var(--atomix-error-bg-subtle);
|
|
3187
|
+
--atomix-card-bg-hover: var(--atomix-error-bg-subtle);
|
|
3188
|
+
--atomix-card-border-color: var(--atomix-error-border-subtle);
|
|
3189
|
+
--atomix-card-title-color: var(--atomix-error-text-emphasis);
|
|
3190
|
+
}
|
|
3191
|
+
.c-card--light {
|
|
3192
|
+
--atomix-card-bg: var(--atomix-light);
|
|
3193
|
+
--atomix-card-bg-hover: var(--atomix-light-hover);
|
|
3194
|
+
--atomix-card-border-color: var(--atomix-light);
|
|
3195
|
+
--atomix-card-title-color: var(--atomix-dark);
|
|
3196
|
+
--atomix-card-text-color: rgba(0, 0, 0, 0.7);
|
|
3197
|
+
}
|
|
3198
|
+
.c-card--dark {
|
|
3199
|
+
--atomix-card-bg: var(--atomix-dark);
|
|
3200
|
+
--atomix-card-bg-hover: var(--atomix-dark-hover);
|
|
3201
|
+
--atomix-card-border-color: var(--atomix-dark);
|
|
3202
|
+
--atomix-card-title-color: var(--atomix-light);
|
|
3203
|
+
--atomix-card-text-color: rgba(255, 255, 255, 0.8);
|
|
3204
|
+
}
|
|
2976
3205
|
.c-card--glass {
|
|
2977
3206
|
max-width: none;
|
|
2978
3207
|
background-color: color-mix(in srgb, var(--atomix-card-bg) 50%, transparent);
|
|
2979
3208
|
}
|
|
3209
|
+
.c-card__loading {
|
|
3210
|
+
position: absolute;
|
|
3211
|
+
inset: 0;
|
|
3212
|
+
display: flex;
|
|
3213
|
+
align-items: center;
|
|
3214
|
+
justify-content: center;
|
|
3215
|
+
z-index: 2;
|
|
3216
|
+
border-radius: var(--atomix-card-border-radius);
|
|
3217
|
+
pointer-events: none;
|
|
3218
|
+
}
|
|
3219
|
+
.c-card__spinner {
|
|
3220
|
+
width: 2.5rem;
|
|
3221
|
+
height: 2.5rem;
|
|
3222
|
+
border: 4px solid;
|
|
3223
|
+
border-color: var(--atomix-border-primary, rgba(0, 0, 0, 0.15));
|
|
3224
|
+
border-top-color: var(--atomix-brand-text-emphasis, var(--atomix-primary, #7c3aed));
|
|
3225
|
+
border-right-color: var(--atomix-brand-text-emphasis, var(--atomix-primary, #7c3aed));
|
|
3226
|
+
border-radius: 50%;
|
|
3227
|
+
animation: spin 0.8s linear infinite;
|
|
3228
|
+
background-color: transparent;
|
|
3229
|
+
flex-shrink: 0;
|
|
3230
|
+
box-sizing: border-box;
|
|
3231
|
+
display: block;
|
|
3232
|
+
}
|
|
3233
|
+
.c-card:focus-visible {
|
|
3234
|
+
outline: 2px solid var(--atomix-brand-border-subtle);
|
|
3235
|
+
outline-offset: 2px;
|
|
3236
|
+
}
|
|
3237
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3238
|
+
.c-card {
|
|
3239
|
+
transition: none;
|
|
3240
|
+
}
|
|
3241
|
+
.c-card--interactive:hover:not(.c-card--disabled) {
|
|
3242
|
+
transform: none;
|
|
3243
|
+
}
|
|
3244
|
+
.c-card__spinner {
|
|
3245
|
+
animation: none;
|
|
3246
|
+
border-top-color: transparent;
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
@media (prefers-contrast: high) {
|
|
3250
|
+
.c-card {
|
|
3251
|
+
border-width: 2px;
|
|
3252
|
+
}
|
|
3253
|
+
.c-card--selected {
|
|
3254
|
+
border-width: 3px;
|
|
3255
|
+
}
|
|
3256
|
+
}
|
|
2980
3257
|
.is-elevated .c-card {
|
|
2981
3258
|
box-shadow: var(--atomix-box-shadow-lg, 0 16px 48px rgba(0, 0, 0, 0.175));
|
|
2982
3259
|
z-index: 1;
|
|
2983
3260
|
transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
2984
3261
|
}
|
|
3262
|
+
@keyframes spin {
|
|
3263
|
+
to {
|
|
3264
|
+
transform: rotate(360deg);
|
|
3265
|
+
}
|
|
3266
|
+
}
|
|
2985
3267
|
.c-chart {
|
|
2986
3268
|
--atomix-chart-primary-color: var(--atomix-primary);
|
|
2987
3269
|
--atomix-chart-secondary-color: var(--atomix-secondary);
|
|
@@ -6350,7 +6632,7 @@ a, a:hover {
|
|
|
6350
6632
|
inset: 0;
|
|
6351
6633
|
background-color: color-mix(in srgb, var(--atomix-hero-overlay) 50%, transparent);
|
|
6352
6634
|
opacity: var(--atomix-hero-overlay-opacity);
|
|
6353
|
-
z-index:
|
|
6635
|
+
z-index: 1;
|
|
6354
6636
|
}
|
|
6355
6637
|
.c-hero__container {
|
|
6356
6638
|
position: relative;
|
|
@@ -6420,6 +6702,46 @@ a, a:hover {
|
|
|
6420
6702
|
.c-hero--full-vh {
|
|
6421
6703
|
min-height: 100vh;
|
|
6422
6704
|
}
|
|
6705
|
+
.c-hero__slider {
|
|
6706
|
+
position: absolute;
|
|
6707
|
+
inset: 0;
|
|
6708
|
+
overflow: hidden;
|
|
6709
|
+
z-index: 0;
|
|
6710
|
+
}
|
|
6711
|
+
.c-hero__slider-item {
|
|
6712
|
+
position: absolute;
|
|
6713
|
+
inset: 0;
|
|
6714
|
+
opacity: 0;
|
|
6715
|
+
transition: opacity var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6716
|
+
pointer-events: none;
|
|
6717
|
+
}
|
|
6718
|
+
.c-hero__slider-item img,
|
|
6719
|
+
.c-hero__slider-item video {
|
|
6720
|
+
width: 100%;
|
|
6721
|
+
height: 100%;
|
|
6722
|
+
-o-object-fit: cover;
|
|
6723
|
+
object-fit: cover;
|
|
6724
|
+
-o-object-position: center;
|
|
6725
|
+
object-position: center;
|
|
6726
|
+
}
|
|
6727
|
+
.c-hero__slider-item--active {
|
|
6728
|
+
opacity: 1;
|
|
6729
|
+
pointer-events: auto;
|
|
6730
|
+
z-index: 1;
|
|
6731
|
+
}
|
|
6732
|
+
.c-hero__slider--fade .c-hero__slider-item {
|
|
6733
|
+
transition: opacity var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6734
|
+
}
|
|
6735
|
+
.c-hero__slider--slide .c-hero__slider-item {
|
|
6736
|
+
transform: translateX(100%);
|
|
6737
|
+
transition: transform var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6738
|
+
}
|
|
6739
|
+
.c-hero__slider--slide .c-hero__slider-item--active {
|
|
6740
|
+
transform: translateX(0);
|
|
6741
|
+
}
|
|
6742
|
+
.c-hero__slider--custom .c-hero__slider-item {
|
|
6743
|
+
transition: all var(--slider-transition-duration, 1000ms) ease-in-out;
|
|
6744
|
+
}
|
|
6423
6745
|
.c-form-group {
|
|
6424
6746
|
--atomix-input-group-width: 100%;
|
|
6425
6747
|
--atomix-input-group-label-color: var(--atomix-secondary-text-emphasis);
|
|
@@ -10050,24 +10372,52 @@ a, a:hover {
|
|
|
10050
10372
|
--atomix-tooltip-bg: var(--atomix-invert-bg-subtle);
|
|
10051
10373
|
--atomix-tooltip-font-size: 0.75rem;
|
|
10052
10374
|
--atomix-tooltip-font-weight: 400;
|
|
10053
|
-
--atomix-tooltip-color: var(--atomix-invert-text
|
|
10375
|
+
--atomix-tooltip-color: var(--atomix-invert-text);
|
|
10054
10376
|
--atomix-tooltip-border-radius: 0.5rem;
|
|
10055
10377
|
--atomix-tooltip-border-width: ;
|
|
10056
10378
|
--atomix-tooltip-border-color: ;
|
|
10057
10379
|
--atomix-tooltip-box-shadow: ;
|
|
10058
10380
|
--atomix-tooltip-arrow-size: 0.75rem;
|
|
10381
|
+
--atomix-tooltip-offset: 0.75rem;
|
|
10059
10382
|
position: absolute;
|
|
10060
|
-
bottom: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
10061
|
-
left: 50%;
|
|
10062
10383
|
width: -moz-max-content;
|
|
10063
10384
|
width: max-content;
|
|
10064
10385
|
height: -moz-max-content;
|
|
10065
10386
|
height: max-content;
|
|
10066
10387
|
max-width: var(--atomix-tooltip-max-width);
|
|
10067
|
-
transform: translateX(-50%);
|
|
10068
10388
|
pointer-events: none;
|
|
10069
10389
|
z-index: 1000;
|
|
10070
10390
|
}
|
|
10391
|
+
.c-tooltip--top, .c-tooltip--top-left, .c-tooltip--top-right {
|
|
10392
|
+
bottom: calc(100% + var(--atomix-tooltip-offset));
|
|
10393
|
+
transform-origin: bottom center;
|
|
10394
|
+
}
|
|
10395
|
+
.c-tooltip--bottom, .c-tooltip--bottom-left, .c-tooltip--bottom-right {
|
|
10396
|
+
top: calc(100% + var(--atomix-tooltip-offset));
|
|
10397
|
+
transform-origin: top center;
|
|
10398
|
+
}
|
|
10399
|
+
.c-tooltip--left {
|
|
10400
|
+
right: calc(100% + var(--atomix-tooltip-offset));
|
|
10401
|
+
top: 50%;
|
|
10402
|
+
transform: translateY(-50%);
|
|
10403
|
+
transform-origin: right center;
|
|
10404
|
+
}
|
|
10405
|
+
.c-tooltip--right {
|
|
10406
|
+
left: calc(100% + var(--atomix-tooltip-offset));
|
|
10407
|
+
top: 50%;
|
|
10408
|
+
transform: translateY(-50%);
|
|
10409
|
+
transform-origin: left center;
|
|
10410
|
+
}
|
|
10411
|
+
.c-tooltip--top, .c-tooltip--bottom {
|
|
10412
|
+
left: 50%;
|
|
10413
|
+
transform: translateX(-50%);
|
|
10414
|
+
}
|
|
10415
|
+
.c-tooltip--top-left, .c-tooltip--bottom-left {
|
|
10416
|
+
left: 0;
|
|
10417
|
+
}
|
|
10418
|
+
.c-tooltip--top-right, .c-tooltip--bottom-right {
|
|
10419
|
+
right: 0;
|
|
10420
|
+
}
|
|
10071
10421
|
.c-tooltip__content {
|
|
10072
10422
|
position: relative;
|
|
10073
10423
|
color: var(--atomix-tooltip-color);
|
|
@@ -10076,10 +10426,12 @@ a, a:hover {
|
|
|
10076
10426
|
padding: var(--atomix-tooltip-padding-y) var(--atomix-tooltip-padding-x);
|
|
10077
10427
|
background-color: color-mix(in srgb, var(--atomix-tooltip-bg) 50%, transparent);
|
|
10078
10428
|
border-radius: var(--atomix-tooltip-border-radius);
|
|
10429
|
+
box-shadow: var(--atomix-tooltip-box-shadow);
|
|
10079
10430
|
z-index: 2;
|
|
10080
10431
|
opacity: 0;
|
|
10432
|
+
pointer-events: auto;
|
|
10433
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
10081
10434
|
transform: scale(0.95);
|
|
10082
|
-
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
|
10083
10435
|
}
|
|
10084
10436
|
.c-tooltip__content.is-active {
|
|
10085
10437
|
opacity: 1;
|
|
@@ -10087,71 +10439,37 @@ a, a:hover {
|
|
|
10087
10439
|
}
|
|
10088
10440
|
.c-tooltip__arrow {
|
|
10089
10441
|
position: absolute;
|
|
10090
|
-
bottom: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10091
|
-
left: 50%;
|
|
10092
|
-
transform: translateX(-50%) rotate(45deg);
|
|
10093
10442
|
width: var(--atomix-tooltip-arrow-size);
|
|
10094
10443
|
height: var(--atomix-tooltip-arrow-size);
|
|
10095
10444
|
background-color: color-mix(in srgb, var(--atomix-tooltip-bg) 50%, transparent);
|
|
10096
10445
|
z-index: 1;
|
|
10097
|
-
}
|
|
10098
|
-
.c-tooltip--top-left {
|
|
10099
|
-
left: auto;
|
|
10100
|
-
right: calc(100% - var(--atomix-tooltip-arrow-size) * 2);
|
|
10101
|
-
transform: translateX(0);
|
|
10102
|
-
}
|
|
10103
|
-
.c-tooltip--top-left .c-tooltip__arrow {
|
|
10104
|
-
left: auto;
|
|
10105
|
-
right: var(--atomix-tooltip-arrow-size);
|
|
10106
10446
|
transform: rotate(45deg);
|
|
10107
10447
|
}
|
|
10108
|
-
.c-tooltip--top-right {
|
|
10109
|
-
|
|
10110
|
-
transform: translateX(0);
|
|
10448
|
+
.c-tooltip--top .c-tooltip__arrow, .c-tooltip--top-left .c-tooltip__arrow, .c-tooltip--top-right .c-tooltip__arrow {
|
|
10449
|
+
bottom: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10111
10450
|
}
|
|
10112
|
-
.c-tooltip--
|
|
10113
|
-
|
|
10114
|
-
transform: rotate(45deg);
|
|
10451
|
+
.c-tooltip--bottom .c-tooltip__arrow, .c-tooltip--bottom-left .c-tooltip__arrow, .c-tooltip--bottom-right .c-tooltip__arrow {
|
|
10452
|
+
top: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10115
10453
|
}
|
|
10116
|
-
.c-tooltip--
|
|
10117
|
-
|
|
10454
|
+
.c-tooltip--left .c-tooltip__arrow {
|
|
10455
|
+
right: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10118
10456
|
top: 50%;
|
|
10119
|
-
transform: translateY(-50%);
|
|
10457
|
+
transform: translateY(-50%) rotate(45deg);
|
|
10120
10458
|
}
|
|
10121
10459
|
.c-tooltip--right .c-tooltip__arrow {
|
|
10122
10460
|
left: calc(var(--atomix-tooltip-arrow-size) / -2);
|
|
10123
10461
|
top: 50%;
|
|
10124
|
-
|
|
10125
|
-
transform: rotate(45deg) translateY(-50%);
|
|
10126
|
-
transform-origin: top;
|
|
10127
|
-
}
|
|
10128
|
-
.c-tooltip--left {
|
|
10129
|
-
left: auto;
|
|
10130
|
-
right: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
10131
|
-
top: 50%;
|
|
10132
|
-
transform: translateY(-50%);
|
|
10133
|
-
}
|
|
10134
|
-
.c-tooltip--left .c-tooltip__arrow {
|
|
10135
|
-
left: auto;
|
|
10136
|
-
top: 50%;
|
|
10137
|
-
bottom: auto;
|
|
10138
|
-
right: calc(var(--atomix-tooltip-arrow-size) / -5);
|
|
10139
|
-
transform: rotate(45deg) translateY(-50%);
|
|
10140
|
-
}
|
|
10141
|
-
.c-tooltip--bottom {
|
|
10142
|
-
top: calc(100% + var(--atomix-tooltip-arrow-size));
|
|
10462
|
+
transform: translateY(-50%) rotate(45deg);
|
|
10143
10463
|
}
|
|
10144
|
-
.c-tooltip--bottom .c-tooltip__arrow {
|
|
10145
|
-
|
|
10146
|
-
|
|
10464
|
+
.c-tooltip--top .c-tooltip__arrow, .c-tooltip--bottom .c-tooltip__arrow {
|
|
10465
|
+
left: 50%;
|
|
10466
|
+
transform: translateX(-50%) rotate(45deg);
|
|
10147
10467
|
}
|
|
10148
|
-
.c-tooltip--bottom-left {
|
|
10149
|
-
|
|
10150
|
-
left: 0;
|
|
10468
|
+
.c-tooltip--top-left .c-tooltip__arrow, .c-tooltip--bottom-left .c-tooltip__arrow {
|
|
10469
|
+
left: var(--atomix-tooltip-arrow-size);
|
|
10151
10470
|
}
|
|
10152
|
-
.c-tooltip--bottom-right {
|
|
10153
|
-
|
|
10154
|
-
right: 0;
|
|
10471
|
+
.c-tooltip--top-right .c-tooltip__arrow, .c-tooltip--bottom-right .c-tooltip__arrow {
|
|
10472
|
+
right: var(--atomix-tooltip-arrow-size);
|
|
10155
10473
|
}
|
|
10156
10474
|
.c-upload {
|
|
10157
10475
|
--atomix-upload-width: 31.25rem;
|