-
Notifications
You must be signed in to change notification settings - Fork 153
/
creep-vote.scss
67 lines (53 loc) · 1.13 KB
/
creep-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
59
60
61
62
63
64
65
66
67
$radio-button-radius: 50px;
$btn-shadow-width: 3px;
.creep-vote {
border-bottom: 1px solid #c8c8ca;
border-top: 1px solid #c8c8ca;
button[disabled] {
color: #bbb;
&.btn-ghost:hover {
cursor: auto;
color: inherit;
background: inherit;
}
}
.btn-group {
display: flex;
justify-content: center;
.btn {
border: 1px solid black;
border-bottom-width: $btn-shadow-width;
color: black;
padding: 0.5em 1.5em;
text-transform: initial;
transition: all 0.1s linear;
}
input { display: none; }
input:checked + span {
background-color: #5cccff;
}
input:-moz-ui-invalid + span {
border-color: red;
}
label:first-of-type span {
border-radius: $radio-button-radius 0 0 $radio-button-radius;
}
label:last-of-type span {
border-radius: 0 $radio-button-radius $radio-button-radius 0;
}
img {
height: 1em;
}
}
.help-text {
font-style: italic;
}
a.share-results {
text-decoration: underline;
color: black;
&:hover {
color: #4383bf;
font-weight: bold;
}
}
}