-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtabs-tab.css
More file actions
44 lines (39 loc) · 879 Bytes
/
tabs-tab.css
File metadata and controls
44 lines (39 loc) · 879 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
:host {
flex: 1;
display: block;
width: auto;
}
.button-native {
position: relative;
display: block;
width: 100%;
height: 100%;
color: var(--color-gray-600);
background-color: transparent;
border: none;
cursor: pointer;
padding: var(--spacing-1) var(--spacing-1)
calc(var(--spacing-1) + var(--tabs-indicator-height)) var(--spacing-1);
font-weight: 500;
text-transform: uppercase;
font-size: 0.875rem;
letter-spacing: 0.04em;
}
.inner-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
border-radius: var(--spacing-2);
background-color: transparent;
}
.button-native:hover {
color: var(--color-text-base);
.inner-container {
background-color: var(--color-background-brand-subtle-hovered);
}
}
:host([data-active]) .button-native {
color: var(--color-text-base);
}