blob: 35234be4b05bf9ac1a8557f0f14647dac54a1c8f (
plain)
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
|
.ASRouterButton {
font-weight: 600;
font-size: 14px;
white-space: nowrap;
border-radius: 2px;
border: 0;
font-family: inherit;
padding: 8px 15px;
margin-inline-start: 12px;
color: inherit;
cursor: pointer;
.tall & {
margin-inline-start: 20px;
}
&.test-only {
width: 0;
height: 0;
overflow: hidden;
display: block;
visibility: hidden;
}
&.primary {
border: 1px solid var(--newtab-primary-action-background);
background-color: var(--newtab-primary-action-background);
color: var(--newtab-primary-element-text-color);
&:hover {
background-color: var(--newtab-primary-element-hover-color);
}
&:active {
background-color: var(--newtab-primary-element-active-color);
}
}
&.slim {
border: $border-primary;
margin-inline-start: 0;
font-size: 12px;
padding: 6px 12px;
&:hover,
&:focus {
box-shadow: $shadow-primary;
transition: box-shadow 150ms;
}
}
}
|