-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpopup.css
131 lines (129 loc) · 2.41 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
:root {
font-size : 'medium';
line-height : 1.2rem;
}
@font-face {
font-family: "Roboto";
src: url(./Roboto-Regular.woff2);
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "Roboto";
src: url(./Roboto-Italic.woff2);
font-style: italic;
font-weight: normal;
}
@font-face {
font-family: "Roboto";
src: url(./Roboto-Bold.woff2);
font-style: normal;
font-weight: bold;
}
@font-face {
font-family: "Roboto";
src: url(./Roboto-BoldItalic.woff2);
font-style: italic;
font-weight: bold;
}
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;
font-size: 1rem;
border-image-width: 0.1rem;
}
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;
}
main>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;
}
#share {
background-image: url(/icons/share.svg);
}
#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/helpTranslate.svg);
}
#facebook {
display: none;
background-image: url(/icons/facebook.svg);
}
#vkontakte {
display: none;
background-image: url(/icons/vkontakte.svg);
}
#twitter {
display: none;
background-image: url(/icons/twitter.svg);
}
#telegram {
display: none;
background-image: url(/icons/telegram.svg);
}
.share>#options,
.share>#translate,
.share>#home,
.share>#rate {
display: none;
}
.share>#facebook,
.share>#vkontakte,
.share>#twitter,
.share>#telegram {
display: inline-block;
}