-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathindex.css
More file actions
84 lines (73 loc) · 1.85 KB
/
index.css
File metadata and controls
84 lines (73 loc) · 1.85 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
@layer payload-default {
.tabs-field__tab-button {
display: flex;
align-items: center;
justify-content: center;
gap: var(--spacer-1);
padding: var(--spacer-1) var(--spacer-2) var(--spacer-2-5);
margin: 0;
cursor: pointer;
position: relative;
white-space: nowrap;
flex-shrink: 0;
outline: none;
font-family: var(--text-body-medium-font-family);
font-size: var(--text-body-medium-font-size);
font-weight: var(--text-body-medium-font-weight);
line-height: var(--text-body-medium-line-height);
letter-spacing: var(--text-letter-spacing);
color: var(--text-default-secondary);
&:after {
content: '';
position: absolute;
left: var(--spacer-2);
right: var(--spacer-2);
bottom: -1px;
height: 3px;
background: var(--icon-brand);
border-radius: var(--radius-full);
opacity: 0;
z-index: 1;
}
&:hover {
&:after {
background: var(--bg-default-tertiary);
opacity: 1;
}
}
&:focus-visible {
outline: 1px solid var(--border-selected-default);
outline-offset: -1px;
border-radius: var(--radius-medium);
}
}
.tabs-field__tab-button--hidden {
display: none;
}
.tabs-field__tab-button--active {
font-weight: var(--text-body-medium-strong-font-weight);
color: var(--text-default-default);
&:after {
background: var(--icon-brand);
opacity: 1;
}
&:hover:after {
background: var(--icon-brand);
}
}
.tabs-field__tab-button--has-error {
color: var(--text-danger-default);
&:after {
background: var(--border-danger-strong);
opacity: 1;
}
&:hover:after {
background: var(--border-danger-strong);
}
}
@media (max-width: 768px) {
.tabs-field__tab-button {
padding-bottom: var(--spacer-2);
}
}
}