@neo-ui-kit/react 1.0.0 → 1.0.2
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 +32 -4
- package/dist/components/artwork/DatabaseArt/styles.css +58 -58
- package/dist/components/artwork/Landscape/styles.css +79 -79
- package/dist/components/artwork/Planet/styles.css +52 -52
- package/dist/components/artwork/QuantumField/QuantumFieldExperience.d.ts +6 -2
- package/dist/components/artwork/QuantumField/UPSTREAM-LICENSE.txt +21 -21
- package/dist/components/artwork/ServerArt/styles.css +43 -43
- package/dist/components/artwork/Spectrum/styles.css +35 -35
- package/dist/components/controls/Autocomplete/styles.css +1 -1
- package/dist/components/controls/Checkbox/styles.css +58 -58
- package/dist/components/controls/InputBase/styles.css +374 -374
- package/dist/components/controls/Link/styles.css +50 -50
- package/dist/components/controls/SegmentedControl/styles.css +9 -9
- package/dist/components/controls/Switch/styles.css +54 -54
- package/dist/components/controls/Tabs/styles.css +239 -239
- package/dist/components/controls/ToggleButton/styles.css +49 -49
- package/dist/components/controls/shared.css +694 -694
- package/dist/components/editor/shared.css +1 -1
- package/dist/components/effects/Beacon/styles.css +38 -38
- package/dist/components/effects/Equalizer/styles.css +34 -34
- package/dist/components/effects/GlowText/styles.css +56 -56
- package/dist/components/effects/Marquee/styles.css +46 -46
- package/dist/components/effects/Reveal/styles.css +25 -25
- package/dist/components/effects/Shimmer/styles.css +48 -48
- package/dist/components/effects/Sparkles/styles.css +28 -28
- package/dist/components/effects/Spotlight/styles.css +45 -45
- package/dist/components/effects/Tilt/styles.css +67 -67
- package/dist/components/feedback/CollapsibleSection/styles.css +76 -76
- package/dist/components/feedback/DataTable/styles.css +522 -522
- package/dist/components/feedback/EmptyState/styles.css +80 -80
- package/dist/components/feedback/KeyValueList/styles.css +51 -51
- package/dist/components/feedback/MenuItem/styles.css +71 -71
- package/dist/components/feedback/Popover/styles.css +44 -44
- package/dist/components/feedback/Steps/styles.css +152 -152
- package/dist/components/feedback/Toast/styles.css +89 -89
- package/dist/components/forms/FormFields/styles.css +21 -21
- package/dist/components/foundation/ThemeProvider/styles.css +31 -31
- package/dist/components/layout/Avatar/styles.css +151 -151
- package/dist/components/layout/Card/styles.css +37 -37
- package/dist/components/layout/DialogActions/styles.css +31 -31
- package/dist/components/layout/DialogBody/styles.css +17 -17
- package/dist/components/layout/Illustration/styles.css +104 -104
- package/dist/components/layout/ScrollArea/styles.css +61 -61
- package/dist/components/layout/TabPanel/styles.css +16 -16
- package/dist/components/layout/shared.css +65 -65
- package/dist/components/media/AudioPlayer/styles.css +86 -86
- package/dist/components/media/LevelMeter/styles.css +30 -30
- package/dist/components/media/MelodyRoll/styles.css +196 -196
- package/dist/components/media/RotaryKnob/styles.css +319 -319
- package/dist/components/media/Sparkline/styles.css +69 -69
- package/dist/components/media/WaveDecoration/styles.css +1 -1
- package/dist/components/media/shared.css +7 -7
- package/dist/fonts/melodix.css +123 -123
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2106 -2104
- package/dist/theme/base.css +210 -210
- package/package.json +1 -1
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
/* Styles owned by Avatar: a slowly turning neon ring; it speeds up and the face lifts on hover. */
|
|
2
|
-
.ad-avatar {
|
|
3
|
-
--ad-avatar: 3rem;
|
|
4
|
-
position: relative;
|
|
5
|
-
isolation: isolate;
|
|
6
|
-
width: var(--ad-avatar);
|
|
7
|
-
height: var(--ad-avatar);
|
|
8
|
-
display: grid;
|
|
9
|
-
place-items: center;
|
|
10
|
-
flex: none;
|
|
11
|
-
border-radius: 50%;
|
|
12
|
-
font-size: calc(var(--ad-avatar) * 0.42);
|
|
13
|
-
font-weight: 700;
|
|
14
|
-
color: #fff;
|
|
15
|
-
text-shadow: 0 0 0.5em var(--ad-primary);
|
|
16
|
-
background:
|
|
17
|
-
radial-gradient(circle at 35% 25%, #ffffff22, transparent 55%),
|
|
18
|
-
linear-gradient(160deg, var(--ad-primary-800), var(--ad-primary-900));
|
|
19
|
-
transition:
|
|
20
|
-
transform 0.4s cubic-bezier(0.34, 1.56, 0.5, 1),
|
|
21
|
-
box-shadow 0.4s,
|
|
22
|
-
filter 0.4s;
|
|
23
|
-
}
|
|
24
|
-
.ad-avatar[data-ad-size="xs"] {
|
|
25
|
-
--ad-avatar: 1.75rem;
|
|
26
|
-
}
|
|
27
|
-
.ad-avatar[data-ad-size="sm"] {
|
|
28
|
-
--ad-avatar: 2.25rem;
|
|
29
|
-
}
|
|
30
|
-
.ad-avatar[data-ad-size="lg"] {
|
|
31
|
-
--ad-avatar: 4rem;
|
|
32
|
-
}
|
|
33
|
-
/* Turning ring of light around the face. */
|
|
34
|
-
.ad-avatar::before {
|
|
35
|
-
content: "";
|
|
36
|
-
position: absolute;
|
|
37
|
-
z-index: -1;
|
|
38
|
-
inset: -0.125rem;
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
background: conic-gradient(
|
|
41
|
-
from 0deg,
|
|
42
|
-
var(--ad-primary),
|
|
43
|
-
var(--ad-secondary-100),
|
|
44
|
-
var(--ad-primary),
|
|
45
|
-
rgb(from var(--ad-primary) r g b / 0) 60%,
|
|
46
|
-
var(--ad-primary)
|
|
47
|
-
);
|
|
48
|
-
mask: radial-gradient(
|
|
49
|
-
closest-side,
|
|
50
|
-
transparent calc(100% - 0.125rem),
|
|
51
|
-
#000 calc(100% - 0.1rem)
|
|
52
|
-
);
|
|
53
|
-
animation: ad-avatar-ring 6s linear infinite;
|
|
54
|
-
}
|
|
55
|
-
.ad-avatar:hover {
|
|
56
|
-
transform: translateY(-0.15rem) scale(1.06);
|
|
57
|
-
box-shadow: 0 0.6rem 1.2rem rgb(from var(--ad-primary) r g b / 0.27);
|
|
58
|
-
}
|
|
59
|
-
.ad-avatar:hover::before {
|
|
60
|
-
animation-duration: 1.6s;
|
|
61
|
-
}
|
|
62
|
-
@keyframes ad-avatar-ring {
|
|
63
|
-
to {
|
|
64
|
-
rotate: 1turn;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/* Host variant: the neon seal replaces the face and its ring; it lifts and glows brighter on hover. */
|
|
68
|
-
/* The seal carries a label, so it starts larger than the initials at every size. */
|
|
69
|
-
.ad-avatar[data-variant="host"] {
|
|
70
|
-
--ad-avatar: 5.5rem;
|
|
71
|
-
background: none;
|
|
72
|
-
text-shadow: none;
|
|
73
|
-
}
|
|
74
|
-
.ad-avatar[data-variant="host"][data-ad-size="xs"] {
|
|
75
|
-
--ad-avatar: 3rem;
|
|
76
|
-
}
|
|
77
|
-
.ad-avatar[data-variant="host"][data-ad-size="sm"] {
|
|
78
|
-
--ad-avatar: 4.25rem;
|
|
79
|
-
}
|
|
80
|
-
.ad-avatar[data-variant="host"][data-ad-size="lg"] {
|
|
81
|
-
--ad-avatar: 8rem;
|
|
82
|
-
}
|
|
83
|
-
.ad-avatar[data-variant="host"]::before {
|
|
84
|
-
content: none;
|
|
85
|
-
}
|
|
86
|
-
.ad-avatar[data-variant="host"]:hover {
|
|
87
|
-
box-shadow: none;
|
|
88
|
-
filter: brightness(1.18) drop-shadow(0 0 0.6rem rgb(from var(--ad-primary) r g b / 0.4));
|
|
89
|
-
}
|
|
90
|
-
.ad-host-seal {
|
|
91
|
-
position: relative;
|
|
92
|
-
display: block;
|
|
93
|
-
width: 100%;
|
|
94
|
-
height: 100%;
|
|
95
|
-
}
|
|
96
|
-
/* The seal is a stack of drawings in paint order: the static ones are painted once, and each
|
|
97
|
-
ring is a layer of its own that only turns (around the ring's centre, 65 of 128). */
|
|
98
|
-
.ad-host-seal > svg {
|
|
99
|
-
position: absolute;
|
|
100
|
-
inset: 0;
|
|
101
|
-
display: block;
|
|
102
|
-
width: 100%;
|
|
103
|
-
height: 100%;
|
|
104
|
-
overflow: visible;
|
|
105
|
-
}
|
|
1
|
+
/* Styles owned by Avatar: a slowly turning neon ring; it speeds up and the face lifts on hover. */
|
|
2
|
+
.ad-avatar {
|
|
3
|
+
--ad-avatar: 3rem;
|
|
4
|
+
position: relative;
|
|
5
|
+
isolation: isolate;
|
|
6
|
+
width: var(--ad-avatar);
|
|
7
|
+
height: var(--ad-avatar);
|
|
8
|
+
display: grid;
|
|
9
|
+
place-items: center;
|
|
10
|
+
flex: none;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
font-size: calc(var(--ad-avatar) * 0.42);
|
|
13
|
+
font-weight: 700;
|
|
14
|
+
color: #fff;
|
|
15
|
+
text-shadow: 0 0 0.5em var(--ad-primary);
|
|
16
|
+
background:
|
|
17
|
+
radial-gradient(circle at 35% 25%, #ffffff22, transparent 55%),
|
|
18
|
+
linear-gradient(160deg, var(--ad-primary-800), var(--ad-primary-900));
|
|
19
|
+
transition:
|
|
20
|
+
transform 0.4s cubic-bezier(0.34, 1.56, 0.5, 1),
|
|
21
|
+
box-shadow 0.4s,
|
|
22
|
+
filter 0.4s;
|
|
23
|
+
}
|
|
24
|
+
.ad-avatar[data-ad-size="xs"] {
|
|
25
|
+
--ad-avatar: 1.75rem;
|
|
26
|
+
}
|
|
27
|
+
.ad-avatar[data-ad-size="sm"] {
|
|
28
|
+
--ad-avatar: 2.25rem;
|
|
29
|
+
}
|
|
30
|
+
.ad-avatar[data-ad-size="lg"] {
|
|
31
|
+
--ad-avatar: 4rem;
|
|
32
|
+
}
|
|
33
|
+
/* Turning ring of light around the face. */
|
|
34
|
+
.ad-avatar::before {
|
|
35
|
+
content: "";
|
|
36
|
+
position: absolute;
|
|
37
|
+
z-index: -1;
|
|
38
|
+
inset: -0.125rem;
|
|
39
|
+
border-radius: 50%;
|
|
40
|
+
background: conic-gradient(
|
|
41
|
+
from 0deg,
|
|
42
|
+
var(--ad-primary),
|
|
43
|
+
var(--ad-secondary-100),
|
|
44
|
+
var(--ad-primary),
|
|
45
|
+
rgb(from var(--ad-primary) r g b / 0) 60%,
|
|
46
|
+
var(--ad-primary)
|
|
47
|
+
);
|
|
48
|
+
mask: radial-gradient(
|
|
49
|
+
closest-side,
|
|
50
|
+
transparent calc(100% - 0.125rem),
|
|
51
|
+
#000 calc(100% - 0.1rem)
|
|
52
|
+
);
|
|
53
|
+
animation: ad-avatar-ring 6s linear infinite;
|
|
54
|
+
}
|
|
55
|
+
.ad-avatar:hover {
|
|
56
|
+
transform: translateY(-0.15rem) scale(1.06);
|
|
57
|
+
box-shadow: 0 0.6rem 1.2rem rgb(from var(--ad-primary) r g b / 0.27);
|
|
58
|
+
}
|
|
59
|
+
.ad-avatar:hover::before {
|
|
60
|
+
animation-duration: 1.6s;
|
|
61
|
+
}
|
|
62
|
+
@keyframes ad-avatar-ring {
|
|
63
|
+
to {
|
|
64
|
+
rotate: 1turn;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/* Host variant: the neon seal replaces the face and its ring; it lifts and glows brighter on hover. */
|
|
68
|
+
/* The seal carries a label, so it starts larger than the initials at every size. */
|
|
69
|
+
.ad-avatar[data-variant="host"] {
|
|
70
|
+
--ad-avatar: 5.5rem;
|
|
71
|
+
background: none;
|
|
72
|
+
text-shadow: none;
|
|
73
|
+
}
|
|
74
|
+
.ad-avatar[data-variant="host"][data-ad-size="xs"] {
|
|
75
|
+
--ad-avatar: 3rem;
|
|
76
|
+
}
|
|
77
|
+
.ad-avatar[data-variant="host"][data-ad-size="sm"] {
|
|
78
|
+
--ad-avatar: 4.25rem;
|
|
79
|
+
}
|
|
80
|
+
.ad-avatar[data-variant="host"][data-ad-size="lg"] {
|
|
81
|
+
--ad-avatar: 8rem;
|
|
82
|
+
}
|
|
83
|
+
.ad-avatar[data-variant="host"]::before {
|
|
84
|
+
content: none;
|
|
85
|
+
}
|
|
86
|
+
.ad-avatar[data-variant="host"]:hover {
|
|
87
|
+
box-shadow: none;
|
|
88
|
+
filter: brightness(1.18) drop-shadow(0 0 0.6rem rgb(from var(--ad-primary) r g b / 0.4));
|
|
89
|
+
}
|
|
90
|
+
.ad-host-seal {
|
|
91
|
+
position: relative;
|
|
92
|
+
display: block;
|
|
93
|
+
width: 100%;
|
|
94
|
+
height: 100%;
|
|
95
|
+
}
|
|
96
|
+
/* The seal is a stack of drawings in paint order: the static ones are painted once, and each
|
|
97
|
+
ring is a layer of its own that only turns (around the ring's centre, 65 of 128). */
|
|
98
|
+
.ad-host-seal > svg {
|
|
99
|
+
position: absolute;
|
|
100
|
+
inset: 0;
|
|
101
|
+
display: block;
|
|
102
|
+
width: 100%;
|
|
103
|
+
height: 100%;
|
|
104
|
+
overflow: visible;
|
|
105
|
+
}
|
|
106
106
|
.ad-host-seal > svg[data-host-spin] {
|
|
107
107
|
transform-origin: 50.78125% 50.78125%;
|
|
108
108
|
will-change: transform;
|
|
@@ -118,49 +118,49 @@
|
|
|
118
118
|
animation: none;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
/* A photo fills the face; inside the host seal it takes the crown's place. */
|
|
122
|
-
.ad-avatar-photo {
|
|
123
|
-
width: 100%;
|
|
124
|
-
height: 100%;
|
|
125
|
-
border-radius: 50%;
|
|
126
|
-
object-fit: cover;
|
|
127
|
-
}
|
|
128
|
-
/* The tag sits on the ring's lower edge like a name plate. */
|
|
129
|
-
.ad-avatar-badge {
|
|
130
|
-
position: absolute;
|
|
131
|
-
bottom: -0.35em;
|
|
132
|
-
left: 50%;
|
|
133
|
-
translate: -50% 0;
|
|
134
|
-
padding: 0.15em 0.6em;
|
|
135
|
-
border: 0.0625rem solid rgb(from var(--ad-secondary) r g b / 0.6);
|
|
136
|
-
border-radius: 999px;
|
|
137
|
-
background: var(--ad-neutral-950);
|
|
138
|
-
color: var(--ad-secondary-100);
|
|
139
|
-
font-size: max(0.5625rem, calc(var(--ad-avatar) * 0.12));
|
|
140
|
-
font-weight: 700;
|
|
141
|
-
letter-spacing: 0.12em;
|
|
142
|
-
line-height: 1.3;
|
|
143
|
-
text-shadow: none;
|
|
144
|
-
text-transform: uppercase;
|
|
145
|
-
white-space: nowrap;
|
|
146
|
-
}
|
|
147
|
-
/* Presence: a lit dot on the lower right of the ring. */
|
|
148
|
-
.ad-avatar-presence {
|
|
149
|
-
position: absolute;
|
|
150
|
-
right: 4%;
|
|
151
|
-
bottom: 4%;
|
|
152
|
-
width: max(0.55rem, calc(var(--ad-avatar) * 0.24));
|
|
153
|
-
aspect-ratio: 1;
|
|
154
|
-
border: 0.125rem solid var(--ad-neutral-950);
|
|
155
|
-
border-radius: 50%;
|
|
156
|
-
background: var(--ad-success);
|
|
157
|
-
box-shadow: 0 0 0.4rem var(--ad-success);
|
|
158
|
-
}
|
|
159
|
-
.ad-avatar-presence[data-presence="busy"] {
|
|
160
|
-
background: var(--ad-primary);
|
|
161
|
-
box-shadow: 0 0 0.4rem var(--ad-primary);
|
|
162
|
-
}
|
|
163
|
-
.ad-avatar-presence[data-presence="offline"] {
|
|
164
|
-
background: var(--ad-neutral-600, #555);
|
|
165
|
-
box-shadow: none;
|
|
166
|
-
}
|
|
121
|
+
/* A photo fills the face; inside the host seal it takes the crown's place. */
|
|
122
|
+
.ad-avatar-photo {
|
|
123
|
+
width: 100%;
|
|
124
|
+
height: 100%;
|
|
125
|
+
border-radius: 50%;
|
|
126
|
+
object-fit: cover;
|
|
127
|
+
}
|
|
128
|
+
/* The tag sits on the ring's lower edge like a name plate. */
|
|
129
|
+
.ad-avatar-badge {
|
|
130
|
+
position: absolute;
|
|
131
|
+
bottom: -0.35em;
|
|
132
|
+
left: 50%;
|
|
133
|
+
translate: -50% 0;
|
|
134
|
+
padding: 0.15em 0.6em;
|
|
135
|
+
border: 0.0625rem solid rgb(from var(--ad-secondary) r g b / 0.6);
|
|
136
|
+
border-radius: 999px;
|
|
137
|
+
background: var(--ad-neutral-950);
|
|
138
|
+
color: var(--ad-secondary-100);
|
|
139
|
+
font-size: max(0.5625rem, calc(var(--ad-avatar) * 0.12));
|
|
140
|
+
font-weight: 700;
|
|
141
|
+
letter-spacing: 0.12em;
|
|
142
|
+
line-height: 1.3;
|
|
143
|
+
text-shadow: none;
|
|
144
|
+
text-transform: uppercase;
|
|
145
|
+
white-space: nowrap;
|
|
146
|
+
}
|
|
147
|
+
/* Presence: a lit dot on the lower right of the ring. */
|
|
148
|
+
.ad-avatar-presence {
|
|
149
|
+
position: absolute;
|
|
150
|
+
right: 4%;
|
|
151
|
+
bottom: 4%;
|
|
152
|
+
width: max(0.55rem, calc(var(--ad-avatar) * 0.24));
|
|
153
|
+
aspect-ratio: 1;
|
|
154
|
+
border: 0.125rem solid var(--ad-neutral-950);
|
|
155
|
+
border-radius: 50%;
|
|
156
|
+
background: var(--ad-success);
|
|
157
|
+
box-shadow: 0 0 0.4rem var(--ad-success);
|
|
158
|
+
}
|
|
159
|
+
.ad-avatar-presence[data-presence="busy"] {
|
|
160
|
+
background: var(--ad-primary);
|
|
161
|
+
box-shadow: 0 0 0.4rem var(--ad-primary);
|
|
162
|
+
}
|
|
163
|
+
.ad-avatar-presence[data-presence="offline"] {
|
|
164
|
+
background: var(--ad-neutral-600, #555);
|
|
165
|
+
box-shadow: none;
|
|
166
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
.ad-card {
|
|
2
|
-
min-width: 0;
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
5
|
-
.ad-card[data-ad-padding="none"] {
|
|
6
|
-
padding: 0;
|
|
7
|
-
}
|
|
8
|
-
.ad-card[data-ad-padding="sm"] {
|
|
9
|
-
padding: var(--ad-space-2);
|
|
10
|
-
}
|
|
11
|
-
.ad-card[data-ad-padding="md"] {
|
|
12
|
-
padding: var(--ad-space-4);
|
|
13
|
-
}
|
|
14
|
-
.ad-card[data-ad-padding="lg"] {
|
|
15
|
-
padding: var(--ad-space-6);
|
|
16
|
-
}
|
|
17
|
-
.ad-card > .ad-header {
|
|
18
|
-
margin-bottom: var(--ad-space-3);
|
|
19
|
-
}
|
|
20
|
-
/* Pointer spotlight: a soft ruby light under the cursor, faded in on hover. */
|
|
21
|
-
.ad-card::after {
|
|
22
|
-
content: "";
|
|
23
|
-
position: absolute;
|
|
24
|
-
inset: 0;
|
|
25
|
-
border-radius: inherit;
|
|
26
|
-
background: radial-gradient(
|
|
27
|
-
22rem circle at var(--ad-spot-x, 50%) var(--ad-spot-y, 0%),
|
|
28
|
-
rgb(from var(--ad-primary) r g b / 0.08),
|
|
29
|
-
transparent 60%
|
|
30
|
-
);
|
|
31
|
-
opacity: 0;
|
|
32
|
-
transition: opacity 0.35s;
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
}
|
|
35
|
-
.ad-card:hover::after {
|
|
36
|
-
opacity: 1;
|
|
37
|
-
}
|
|
1
|
+
.ad-card {
|
|
2
|
+
min-width: 0;
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
.ad-card[data-ad-padding="none"] {
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
.ad-card[data-ad-padding="sm"] {
|
|
9
|
+
padding: var(--ad-space-2);
|
|
10
|
+
}
|
|
11
|
+
.ad-card[data-ad-padding="md"] {
|
|
12
|
+
padding: var(--ad-space-4);
|
|
13
|
+
}
|
|
14
|
+
.ad-card[data-ad-padding="lg"] {
|
|
15
|
+
padding: var(--ad-space-6);
|
|
16
|
+
}
|
|
17
|
+
.ad-card > .ad-header {
|
|
18
|
+
margin-bottom: var(--ad-space-3);
|
|
19
|
+
}
|
|
20
|
+
/* Pointer spotlight: a soft ruby light under the cursor, faded in on hover. */
|
|
21
|
+
.ad-card::after {
|
|
22
|
+
content: "";
|
|
23
|
+
position: absolute;
|
|
24
|
+
inset: 0;
|
|
25
|
+
border-radius: inherit;
|
|
26
|
+
background: radial-gradient(
|
|
27
|
+
22rem circle at var(--ad-spot-x, 50%) var(--ad-spot-y, 0%),
|
|
28
|
+
rgb(from var(--ad-primary) r g b / 0.08),
|
|
29
|
+
transparent 60%
|
|
30
|
+
);
|
|
31
|
+
opacity: 0;
|
|
32
|
+
transition: opacity 0.35s;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
}
|
|
35
|
+
.ad-card:hover::after {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/* Styles owned by DialogActions. */
|
|
2
|
-
.ad-dialog-actions {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-wrap: wrap;
|
|
5
|
-
justify-content: flex-end;
|
|
6
|
-
gap: 0.625rem;
|
|
7
|
-
align-items: center;
|
|
8
|
-
}
|
|
9
|
-
.ad-dialog-actions > .ad-button {
|
|
10
|
-
height: auto;
|
|
11
|
-
min-height: var(--ad-size-h);
|
|
12
|
-
padding-block: 0.6rem;
|
|
13
|
-
}
|
|
14
|
-
.ad-dialog-actions .ad-button-label {
|
|
15
|
-
white-space: normal;
|
|
16
|
-
overflow-wrap: anywhere;
|
|
17
|
-
}
|
|
18
|
-
/* Actions arrive last, one after another. */
|
|
19
|
-
.ad-dialog[open] .ad-dialog-actions > * {
|
|
20
|
-
animation: ad-dialog-action 0.45s cubic-bezier(0.34, 1.4, 0.5, 1) both;
|
|
21
|
-
animation-delay: 0.22s;
|
|
22
|
-
}
|
|
23
|
-
.ad-dialog[open] .ad-dialog-actions > :nth-child(2) {
|
|
24
|
-
animation-delay: 0.3s;
|
|
25
|
-
}
|
|
26
|
-
@keyframes ad-dialog-action {
|
|
27
|
-
from {
|
|
28
|
-
opacity: 0;
|
|
29
|
-
transform: translateY(0.6rem) scale(0.95);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
/* Styles owned by DialogActions. */
|
|
2
|
+
.ad-dialog-actions {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
justify-content: flex-end;
|
|
6
|
+
gap: 0.625rem;
|
|
7
|
+
align-items: center;
|
|
8
|
+
}
|
|
9
|
+
.ad-dialog-actions > .ad-button {
|
|
10
|
+
height: auto;
|
|
11
|
+
min-height: var(--ad-size-h);
|
|
12
|
+
padding-block: 0.6rem;
|
|
13
|
+
}
|
|
14
|
+
.ad-dialog-actions .ad-button-label {
|
|
15
|
+
white-space: normal;
|
|
16
|
+
overflow-wrap: anywhere;
|
|
17
|
+
}
|
|
18
|
+
/* Actions arrive last, one after another. */
|
|
19
|
+
.ad-dialog[open] .ad-dialog-actions > * {
|
|
20
|
+
animation: ad-dialog-action 0.45s cubic-bezier(0.34, 1.4, 0.5, 1) both;
|
|
21
|
+
animation-delay: 0.22s;
|
|
22
|
+
}
|
|
23
|
+
.ad-dialog[open] .ad-dialog-actions > :nth-child(2) {
|
|
24
|
+
animation-delay: 0.3s;
|
|
25
|
+
}
|
|
26
|
+
@keyframes ad-dialog-action {
|
|
27
|
+
from {
|
|
28
|
+
opacity: 0;
|
|
29
|
+
transform: translateY(0.6rem) scale(0.95);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Styles owned by DialogBody. */
|
|
1
|
+
/* Styles owned by DialogBody. */
|
|
2
2
|
.ad-dialog-body {
|
|
3
3
|
min-height: 0;
|
|
4
4
|
max-height: calc(100dvh - 10rem);
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
padding: 1.125rem 0;
|
|
11
11
|
padding-inline-end: var(--ad-space-2);
|
|
12
12
|
}
|
|
13
|
-
.ad-dialog-body p {
|
|
14
|
-
font-size: 0.875rem;
|
|
15
|
-
line-height: 1.65;
|
|
16
|
-
color: var(--ad-muted);
|
|
17
|
-
margin: 0 0 0.875rem;
|
|
18
|
-
}
|
|
19
|
-
/* Inside an opening dialog the body fades in right after the window. */
|
|
20
|
-
.ad-dialog[open] .ad-dialog-body {
|
|
21
|
-
animation: ad-dialog-part 0.45s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
|
|
22
|
-
}
|
|
23
|
-
@keyframes ad-dialog-part {
|
|
24
|
-
from {
|
|
25
|
-
opacity: 0;
|
|
26
|
-
transform: translateY(0.5rem);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
13
|
+
.ad-dialog-body p {
|
|
14
|
+
font-size: 0.875rem;
|
|
15
|
+
line-height: 1.65;
|
|
16
|
+
color: var(--ad-muted);
|
|
17
|
+
margin: 0 0 0.875rem;
|
|
18
|
+
}
|
|
19
|
+
/* Inside an opening dialog the body fades in right after the window. */
|
|
20
|
+
.ad-dialog[open] .ad-dialog-body {
|
|
21
|
+
animation: ad-dialog-part 0.45s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
|
|
22
|
+
}
|
|
23
|
+
@keyframes ad-dialog-part {
|
|
24
|
+
from {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transform: translateY(0.5rem);
|
|
27
|
+
}
|
|
28
|
+
}
|