-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
styles.ts
39 lines (33 loc) · 967 Bytes
/
styles.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { css } from 'lit'
export default css`
button {
flex-direction: column;
width: 76px;
row-gap: var(--wui-spacing-xs);
padding: var(--wui-spacing-xs) var(--wui-spacing-0);
background-color: var(--wui-color-gray-glass-002);
border-radius: clamp(0px, var(--wui-border-radius-xs), 20px);
}
button > wui-text {
color: var(--wui-color-fg-100);
max-width: var(--wui-icon-box-size-xl);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
justify-content: center;
}
button:disabled > wui-text {
color: var(--wui-color-gray-glass-015);
}
[data-selected='true'] {
background-color: var(--wui-color-accent-glass-020);
}
@media (hover: hover) and (pointer: fine) {
[data-selected='true']:hover:enabled {
background-color: var(--wui-color-accent-glass-015);
}
}
[data-selected='true']:active:enabled {
background-color: var(--wui-color-accent-glass-010);
}
`