forked from evoko/zendesk-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_vote.scss
58 lines (51 loc) · 897 Bytes
/
_vote.scss
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
/***** Vote *****/
/* Used in article comments, post comments and post */
.vote {
display: flex;
flex-direction: column;
text-align: center;
a {
&:active,
&:hover,
&:focus {
text-decoration: none;
}
}
}
.vote-sum {
color: $secondary-text-color;
display: block;
margin: 3px 0;
[dir='rtl'] & {
direction: ltr;
unicode-bidi: bidi-override;
}
}
.vote-up svg {
transform: scale(1, -1);
}
.vote-up:hover,
.vote-down:hover {
color: $brand-color;
}
.vote-up,
.vote-down {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: transparent;
border: none;
color: $secondary-text-color;
cursor: pointer;
min-height: 35px;
min-width: 35px;
display: flex;
align-items: center;
justify-content: center;
}
.vote-voted {
color: $brand-color;
}
.vote-voted:hover {
color: $hover-button-color;
}