forked from dimio/dopaste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
253 lines (233 loc) · 10.4 KB
/
style.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
/* App layout */
html,
body {
height: 100%;
}
body {
display: flex;
flex-flow: column;
color: #fff;
font: normal 14px Roboto, sans-serif;
background-color: #282a36;
}
* {
font-variant-ligatures: none;
}
#editor {
flex-grow: 1;
margin-top: -3px;
overflow: auto;
}
#controls,
#copy,
footer {
background-color: #3b3b47;
z-index: 10;
}
#progress {
min-height: 3px;
background: #ff79c6;
z-index: 15;
width: 0;
}
.hidden,
select,
#copy:not(.hidden) + #controls,
body.readonly .hide-readonly,
body:not(.readonly) .show-readonly,
body.readonly:not(:hover) #footer {
display: none;
}
#copy-link {
font-family: JetBrainsMono, sans-serif;
width: 100%;
}
/* Styling */
.shadow-bottom {
box-shadow: rgba(0, 0, 0, 0.15) 0 3px 10px;
}
.shadow-top {
box-shadow: rgba(0, 0, 0, 0.15) 0 -3px 10px;
}
a,
a:hover,
a:active,
a:focus {
color: #fff;
outline: none;
}
#controls a,
#footer a {
text-decoration: none;
}
#controls a:hover {
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.CodeMirror {
height: 100%;
font-family: JetBrainsMono, sans-serif;
}
h1 {
font: normal 24px JetBrainsMono, sans-serif;
white-space: nowrap;
}
.mono {
font-family: JetBrainsMono, sans-serif;
}
.pink {
color: #ff79c6;
}
/* Modals */
.modal {
display: none;
}
.modal.is-open {
display: block;
}
.modal-content {
background-color: #3b3b47;
max-width: 600px;
max-height: 100vh;
overflow-y: auto;
box-sizing: border-box;
cursor: initial;
position: relative;
}
.modal-content .additional-info {
opacity: 0.75;
font-style: italic;
margin-top: 15px;
font-size: 0.95em;
}
.modal-overlay {
position: fixed;
background: rgba(0, 0, 0, 0.2);
right: 0;
top: 0;
left: 0;
bottom: 0;
z-index: 20;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.modal-close {
cursor: pointer;
position: absolute;
right: 8px;
top: 8px;
}
/* Form elements */
#controls .ss-main {
width: 180px;
}
.ss-main .ss-single-selected,
button,
input[type='text'],
input[type='search'] {
background-color: #3b3b47 !important;
color: #fff !important;
border-radius: 2px !important;
border: 1px solid #ccc !important;
font: normal 14px Roboto, sans-serif;
height: 26px !important;
}
input::-webkit-search-cancel-button {
display: none;
}
input::-moz-selection {
background-color: rgba(90, 95, 128, 0.99);
}
input::selection {
background-color: rgba(90, 95, 128, 0.99);
}
button {
cursor: pointer;
}
button:hover {
background-color: rgba(255, 255, 255, 0.1) !important;
}
.ss-content {
background-color: #282936;
color: #dedede;
font-size: 14px;
}
.ss-content .ss-disabled {
background-color: #3b3b47 !important;
}
.url-too-long {
color: red;
opacity: 0.60;
}
/* Fonts */
@font-face {
font-family: 'JetBrainsMono';
src: url('https://cdn.jsdelivr.net/gh/JetBrains/[email protected]/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/[email protected]/fonts/ttf/JetBrainsMonoNL-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Icons */
@font-face {
font-family: 'icomoon';
/* Can be updated using the JSON data from https://github.com/dimio/dopaste/blob/images/icomoon.json */
src: url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABC0AAsAAAAAEGgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIHvWNtYXAAAAFoAAAAbAAAAGzUS9RzZ2FzcAAAAdQAAAAIAAAACAAAABBnbHlmAAAB3AAADGQAAAxkCHaE/mhlYWQAAA5AAAAANgAAADYk4br1aGhlYQAADngAAAAkAAAAJAfCA85obXR4AAAOnAAAADQAAAA0KgACq2xvY2EAAA7QAAAAHAAAABwJ0g6IbWF4cAAADuwAAAAgAAAAIABHAYVuYW1lAAAPDAAAAYYAAAGGmUoJ+3Bvc3QAABCUAAAAIAAAACAAAwAAAAMDzQGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6sYDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAFAAAAAQABAAAwAAAAEAIOkF6TjqlurG//3//wAAAAAAIOkA6TjqlurG//3//wAB/+MXBBbSFXUVRgADAAEAAAAAAAAAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3O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EAAAABAAAAAQAAAAEAAAAAAAAAAAKABQAHgA4AFwAkACqAsADcgS6BTIGMgABAAAADQGDADkAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==')
format('truetype');
font-weight: normal;
font-style: normal;
font-display: block;
}
[class^='icon-'],
[class*=' icon-'] {
font-family: 'icomoon', 'ui-monospace' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 21px;
}
.icon-edit, .icon-qrcode, .icon-reddit, .icon-twitter,
.icon-slack, .icon-bit_ly {
font-size: 14px;
}
.icon-close:before {
content: '\e900';
}
.icon-edit:before {
content: '\e901';
}
.icon-wrap-text:before {
content: '\e902';
}
.icon-notes:before {
content: '\e903';
}
.icon-qrcode:before {
content: "\e938";
}
.icon-reddit:before {
content: "\eac6";
}
.icon-twitter:before {
content: "\ea96";
}
.icon-slack:before {
content: "\e904";
}
.icon-bit_ly:before {
content: "\e905";
}