forked from Authress-Engineering/openapi-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtab-styles.js
More file actions
53 lines (48 loc) · 974 Bytes
/
Copy pathtab-styles.js
File metadata and controls
53 lines (48 loc) · 974 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { css } from 'lit';
export default css`
.tab-panel {
border: none;
}
.tab-buttons {
height:30px;
border-bottom: 1px solid var(--light-border-color) ;
align-items: stretch;
overflow-y: hidden;
overflow-x: auto;
scrollbar-width: thin;
}
.tab-buttons::-webkit-scrollbar {
height: 1px;
background-color: var(--border-color);
}
.tab-btn {
border: none;
border-bottom: 3px solid transparent;
color: var(--light-fg);
background-color: transparent;
white-space: nowrap;
outline:none;
font-family:var(--font-regular);
font-size:var(--font-size-small);
margin-right:16px;
padding:1px;
}
.tab-btn.active {
border-bottom: 3px solid var(--primary-color);
font-weight:bold;
color:var(--primary-color);
}
.tab-btn:not(.active) {
cursor: pointer;
}
.tab-btn:hover {
color:var(--primary-color);
}
.tab-btn:focus-visible,
.tab-btn.active:focus-visible {
color:var(--secondary-color);
}
.tab-content {
position:relative;
}
`;