Repository navigation
Expand file tree
/
Copy pathsplit-button-v2.css
More file actions
99 lines (83 loc) · 2.48 KB
/
Copy pathsplit-button-v2.css
File metadata and controls
99 lines (83 loc) · 2.48 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[data-component="split-button-v2"] {
display: inline-flex;
align-items: stretch;
flex-shrink: 0;
height: 28px;
border-radius: 6px;
background-color: transparent;
box-shadow: none;
overflow: hidden;
}
[data-component="split-button-v2"]:is(:hover, :has([data-component="split-button-v2-menu-trigger"][data-expanded])) {
box-shadow: inset 0 0 0 1px var(--v2-border-border-muted);
}
[data-component="split-button-v2-action"],
[data-component="split-button-v2-menu-trigger"] {
display: inline-flex;
align-items: center;
justify-content: center;
height: 28px;
margin: 0;
padding: 0;
border: none;
background: transparent;
color: var(--v2-icon-icon-base);
cursor: default;
outline: none;
}
[data-component="split-button-v2-action"] {
width: 28px;
flex-shrink: 0;
}
[data-component="split-button-v2-action"]:hover:not(:disabled) {
background-color: var(--v2-overlay-simple-overlay-hover);
}
[data-component="split-button-v2-action"]:is(:active, [data-pressed]):not(:disabled) {
background-color: var(--v2-overlay-simple-overlay-pressed);
}
[data-component="split-button-v2-action"]:is(:focus-visible, [data-focus]) {
outline: 2px solid var(--v2-border-border-focus);
outline-offset: -2px;
z-index: 1;
}
[data-component="split-button-v2-action"]:disabled {
opacity: 0.5;
cursor: not-allowed;
}
[data-component="split-button-v2-menu-trigger"] {
width: 20px;
flex-shrink: 0;
}
[data-component="split-button-v2-menu-trigger"]:is(:hover, [data-expanded]):not(:disabled) {
background-color: var(--v2-overlay-simple-overlay-hover);
}
[data-component="split-button-v2-menu-trigger"]:is(:active, [data-pressed]):not(:disabled) {
background-color: var(--v2-overlay-simple-overlay-pressed);
}
[data-component="split-button-v2-menu-trigger"]:is(:focus-visible, [data-focus]) {
outline: 2px solid var(--v2-border-border-focus);
outline-offset: -2px;
z-index: 1;
}
[data-component="split-button-v2-menu-trigger"]:disabled {
opacity: 0.5;
cursor: not-allowed;
}
[data-component="split-button-v2-action"] [data-component="app-icon"] {
width: 16px;
height: 16px;
}
[data-component="menu-v2-content"].open-in-app-v2-menu [data-component="app-icon"] {
width: 16px;
height: 16px;
flex-shrink: 0;
}
[data-component="menu-v2-content"].open-in-app-v2-menu [data-component="icon"] {
width: 16px;
height: 16px;
flex-shrink: 0;
}
[data-component="menu-v2-content"].open-in-app-v2-menu [data-component="icon"] [data-slot="icon-svg"] {
width: 16px;
height: 16px;
}