-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpopup.css
More file actions
104 lines (92 loc) · 2.64 KB
/
popup.css
File metadata and controls
104 lines (92 loc) · 2.64 KB
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
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500&display=swap");
/* Light mode styles */
body {
--dark-color: #121212;
--light-color: #f0f0f0;
--button-background-color: #f0f0f0;
--button-text-color: var(--dark-color);
--custom-area-icon-light: url('images/area_white.png');
--custom-area-icon-dark: url('images/area_black.png');
--custom-area-icon: var(--custom-area-icon-dark);
--visible-area-icon-light: url('images/visible_white.png');
--visible-area-icon-dark: url('images/visible_black.png');
--visible-area-icon: var(--visible-area-icon-dark);
--full-page-icon-light: url('images/full_white.png');
--full-page-icon-dark: url('images/full_black.png');
--full-page-icon: var(--full-page-icon-dark);
--button-hover-light: #dfdfdf;
--button-hover-dark: #3e4c59;
--button-hover-color: var(--button-hover-light);
--button-active-light: #cecece;
--button-active-dark: #52606d;
--button-active-color: var(--button-active-light);
font-family: "Rubik", sans-serif, "Helvetica", "Arial", "Sans-Serif";
box-sizing: border-box;
margin: 0;
width: 200px;
background-color: var(--light-color);
color: var(--dark-color);
line-height: 1.2rem;
}
/* Dark mode styles */
body.dark-theme {
background-color: var(--dark-color);
color: var(--light-color);
--button-background-color: #323f4b;
--button-text-color: var(--light-color);
--custom-area-icon: var(--custom-area-icon-light);
--visible-area-icon: var(--visible-area-icon-light);
--full-page-icon: var(--full-page-icon-light);
--button-hover-color: var(--button-hover-dark);
--button-active-color: var(--button-active-dark);
}
.btn-group {
display: block;
padding: 10px;
border-bottom: 1px #52606d solid;
}
.btn-group button {
padding: 10px;
width: 100%;
border-radius: 4px;
border: 1px #52606d solid;
margin-top: 5px;
background-color: var(--button-background-color);
color: var(--button-text-color);
outline: none;
font-size: 1em;
font-weight: bold;
letter-spacing: 1px;
text-align: left;
}
.btn-group button:hover {
background-color: var(--button-hover-color);
}
.btn-group button:active {
background-color: var(--button-active-color);
}
.btn-icon {
height: 18px;
width: 18px;
background-repeat: no-repeat;
display: inline-block;
background-size: 20px;
margin-bottom: -3px;
margin-right: 4px;
}
#custom-btn-icon {
background-image: var(--custom-area-icon);
}
#visible-btn-icon {
background-image: var(--visible-area-icon);
}
#full-btn-icon {
background-image: var(--full-page-icon);
}
p {
font-size: 1.1em;
margin-left: 12px;
font-weight: 500;
letter-spacing: 1px;
float: left;
}