forked from bokub/nopaste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
154 lines (140 loc) · 3.14 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
/* App layout */
body {
display: flex;
flex-flow: column;
height: 100vh;
color: #fff;
font: normal 14px Roboto, sans-serif;
background-color: #282a36;
}
#editor {
flex-grow: 1;
margin-top: -3px;
overflow: auto;
}
#controls,
#copy,
#description,
footer {
background-color: #3b3b47;
z-index: 10;
}
#progress {
min-height: 3px;
background: #ff79c6;
z-index: 15;
width: 0;
}
.hidden,
select,
#copy:not(.hidden) + #controls,
.readonly .hide-readonly {
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 {
color: #fff;
}
.CodeMirror {
height: 100%;
font-family: JetBrainsMono, sans-serif;
}
.title {
font: normal 24px JetBrainsMono, sans-serif;
white-space: nowrap;
}
.mono {
font-family: JetBrainsMono, sans-serif;
}
.description-trigger:hover + #description {
display: block;
position: fixed;
bottom: 20px;
margin: 40px;
right: 0;
max-width: 350px;
}
.description-trigger:hover + #description + .overlay {
/* Used to un-hover on mobile */
display: block;
position: fixed;
background: transparent;
right: 0;
top: 0;
left: 0;
bottom: 25px;
}
#description b {
font-weight: normal;
color: #ff79c6;
}
/* 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;
}
/* Fonts */
@font-face {
font-family: 'JetBrainsMono';
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/ttf/JetBrainsMono-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;
}