-
Notifications
You must be signed in to change notification settings - Fork 229
Expand file tree
/
Copy pathActionButton.module.css
More file actions
61 lines (52 loc) · 1.24 KB
/
ActionButton.module.css
File metadata and controls
61 lines (52 loc) · 1.24 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
/* Styles have been copied from https://vscode-elements.github.io/elements-lite/components/action-button/configurator/ */
.actionButton {
align-items: center;
background-color: transparent;
border-color: transparent;
border-style: solid;
border-width: 1px;
border-radius: 5px;
color: var(--vscode-foreground);
display: inline-flex;
cursor: pointer;
padding: 0;
user-select: none;
}
.actionButton:disabled {
color: var(--vscode-disabledForeground);
cursor: default;
pointer-events: none;
}
.actionButton .codicon,
.actionButton svg {
color: var(--vscode-icon-foreground);
display: block;
padding: 2px;
}
.actionButton svg {
box-sizing: content-box;
height: 16px;
width: 16px;
}
.actionButton:disabled .codicon,
.actionButton:disabled svg {
color: var(--vscode-disabledForeground);
}
.actionButton:hover {
background-color: var(--vscode-toolbar-hoverBackground);
outline: 1px dotted var(--vscode-contrastActiveBorder, transparent);
outline-offset: -1px;
}
.actionButton:active {
background-color: var(--vscode-toolbar-activeBackground);
}
.actionButton:focus {
outline: none;
}
.actionButton:focus-visible {
border-color: var(--vscode-focusBorder);
}
.label {
display: block;
padding: 0 5px 0 2px;
}