blob: 530addc21c42f445db531f0294198e7d2c9b88ee (
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
52
53
54
55
56
57
58
59
60
61
|
// ==========================================================================
// Buttons
// ==========================================================================
// Shared
.button,
.button__count {
position: relative;
display: inline-flex;
vertical-align: middle;
align-items: center;
padding: (@spacing-base * 0.75);
border-radius: @border-radius-base;
box-shadow: 0 1px 1px fade(#000, 10%);
background: #fff;
border: 0;
color: @gray;
user-select: none;
font-weight: @font-weight-bold;
text-shadow: none;
}
// Buttons
.button {
padding-left: @spacing-base;
padding-right: @spacing-base;
transition: all 0.2s ease;
&:hover,
&:focus {
color: @gray-dark;
outline: 0;
&::after {
display: none;
}
}
&.tab-focus {
.tab-focus();
}
}
// Count bubble
.button__count {
margin-left: (@spacing-base / 2);
animation: fadein 0.2s ease;
&::before {
content: '';
position: absolute;
width: 0;
height: 0;
right: 100%;
top: 50%;
transform: translateY(-50%);
border: @arrow-size solid transparent;
border-right-color: #fff;
border-left-width: 0;
}
}
|