forked from wavetermdev/waveterm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformcontext.css
More file actions
35 lines (31 loc) · 908 Bytes
/
platformcontext.css
File metadata and controls
35 lines (31 loc) · 908 Bytes
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
.pill-toggle {
display: inline-flex;
border: 1px solid var(--ifm-scrollbar-thumb-background-color);
border-radius: 20px;
overflow: hidden;
background-color: var(--ifm-scrollbar-track-background-color);
}
.pill-option {
padding: 8px 16px;
font-size: 0.9em;
font-weight: 500;
color: var(--ifm-color-secondary-contrast-foreground);
background-color: transparent;
border: none;
cursor: pointer;
transition:
background-color 0.2s ease,
color 0.2s ease;
outline: none;
font-weight: bold;
&:not(:first-of-type) {
border-left: 1px solid var(--ifm-scrollbar-thumb-background-color);
}
}
.pill-option.active {
background-color: var(--ifm-color-primary);
color: var(--ifm-color-secondary-contrast-background);
}
.pill-option:not(.active):hover {
background-color: var(--ifm-scrollbar-thumb-background-color);
}