-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinput.scss
60 lines (49 loc) · 865 Bytes
/
input.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
$pixel-scale: 2px;
a.button,
a.button:hover,
a.button:active {
color: $contrast;
text-decoration: none;
}
button,
.button {
position: relative;
font-family: $font-content;
font-size: 1em;
background: none;
border: none;
padding: 0 0 0 $padding;
text-transform: uppercase;
text-align: left;
cursor: pointer;
&:hover::before {
content: "";
position: absolute;
top: 0;
left: -2px;
@include arrow-right;
}
&.pokemon {
text-indent: -1000em;
width: 100%;
background: url('../images/pkmn.png') 1em center no-repeat;
background-size: contain;
}
}
ul.buttons {
display: inline-flex;
padding: 0;
list-style: none;
flex-direction: column;
li {
padding: 0;
margin: 0.5em;
}
&.compact {
flex-direction: row;
flex-wrap: wrap;
& li {
flex-basis: 45%;
}
}
}