forked from ionic-team/ionic-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.css
More file actions
45 lines (39 loc) · 737 Bytes
/
Copy pathbutton.css
File metadata and controls
45 lines (39 loc) · 737 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
docs-button {
background-color: rgba(var(--accent-color-rgb), var(--bg-alpha, 0.06));
border-radius: 6px;
color: var(--accent-color);
display: inline-block;
font-weight: 600;
white-space: nowrap;
}
docs-button a,
docs-button button {
color: inherit;
display: inline-block;
font-size: inherit;
font-weight: inherit;
padding: 0.75em 1.5em;
}
docs-button button {
appearance: none;
background: none;
border: none;
line-height: inherit;
}
docs-button svg {
fill: currentColor;
height: 1em;
margin-bottom: -0.125em;
width: 1em;
}
docs-button[round] {
border-radius: 2em;
}
@media (hover: hover) {
docs-button:hover {
--bg-alpha: 0.08;
}
docs-button:active {
--bg-alpha: 0.10;
}
}