-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpopup.css
135 lines (115 loc) · 2.61 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
132
133
134
135
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
body {
width: 100%;
height: 100vh;
margin: 0;
font-family: Roboto, Arial, sans-serif;
font-size: 16px;
}
body {
background-color: var(--background-color);
color: var(--text-color);
}
.content {
width: 100%;
height: 100%;
display: grid;
padding: 20px;
box-sizing: border-box;
grid-template-areas:
'header header'
'navbar body ';
grid-template-columns: auto 1fr;
grid-template-rows: auto 1fr;
column-gap: 10px;
row-gap: 10px;
}
.content > .brand-name {
font-size: 25px;
margin-top: 10px;
margin-bottom: 10px;
grid-area: header;
}
.content > .brand-name > img {
width: 2em;
height: 2em;
vertical-align: middle;
}
.content > .brand-name > span {
vertical-align: middle;
}
.content > .side-menu {
width: 256px;
padding: 10px;
box-sizing: border-box;
display: flex;
flex-flow: column;
grid-area: navbar;
}
.content > .side-menu > a {
width: 100%;
padding: 15px;
margin: 3px;
box-sizing: border-box;
border-radius: 99px;
color: inherit;
text-decoration: none;
}
.content > .side-menu > a:hover {
background-color: rgba(128,128,128,0.1);
}
.content > .side-menu > a:focus {
background-color: rgba(128,128,128,0.1);
}
.content > .side-menu > a[selected="true"] {
background-color: var(--primary-color);
color: var(--primary-text-color);
}
.content > .side-menu > a > i {
margin-right: 8px;
}
.content > .body-content {
grid-area: body;
border-radius: 18px;
padding: 20px;
box-sizing: border-box;
background-color: var(--background-color-2);
overflow: auto;
height: 100%;
}
.content > .body-content > .inactive-page {
display: none;
}
a.primary-button {
padding-inline: 18px;
padding-block: 15px;
display: inline-block;
background-color: var(--primary-color);
border-radius: 18px;
color: var(--primary-text-color);
text-decoration: none;
}
.dropzone {
border: 1px solid gray;
padding: 30px;
border-radius: 18px;
transition: background-color 0.2s;
}
.dropzone[data-dropzone-status="file-dragover"] {
background-color: rgba(128,128,128,0.1);
}
.dropzone > input {
max-width: 100%;
}
iframe {
width: 100%;
border: 0;
}
.primary-zone {
padding: 25px;
border-radius: 18px;
background-color: var(--background-color);
}