forked from zluca/Sidebar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
71 lines (71 loc) · 1.13 KB
/
popup.css
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
68
69
70
71
:root {
font-size: 10px;
}
body {
margin: 0;
padding: 1rem;
user-select: none;
moz-user-select: none;
}
main {
color: #444;
display: grid;
grid-template-columns: auto auto;
grid-row-gap: .5rem;
font-size: 1.6rem;
user-select: none;
moz-user-select: none;
}
form {
display: grid;
width: auto;
grid-template-columns: min-content auto;
grid-row-gap: .5rem;
grid-column-gap: .5rem;
align-items: center;
padding: .2rem 1rem;
}
input {
margin: 0;
}
label {
user-select: none;
moz-user-select: none;
}
input[disabled]+label {
color: #999;
}
p {
margin: 0;
padding: 0 1rem;
grid-column-start: 1;
grid-column-end: 3;
text-align: right;
user-select: none;
moz-user-select: none;
}
p>span {
display: inline-block;
width: 1.8rem;
height: 1.8rem;
padding: 0;
margin: 0 .8rem 0 0;
border: none;
background-size: 100% 100%;
background-repeat: no-repeat;
cursor: pointer;
user-select: none;
moz-user-select: none;
}
#options {
background-image: url(/icons/options.svg);
}
#home {
background-image: url(/icons/home.svg);
}
#rate {
background-image: url(/icons/fav.svg);
}
#translate {
background-image: url(/icons/translate.svg);
}