-
Notifications
You must be signed in to change notification settings - Fork 379
/
light.css
291 lines (238 loc) · 5.19 KB
/
light.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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
@tailwind preflight;
@tailwind components;
.modal-overlay-bg{
background: #000;
}
.btn-primary{
@apply .border .border-primary .text-primary .p-2 .rounded .no-underline;
}
.btn-primary:hover{
@apply .bg-primary .text-white;
}
.btn-primary[disabled]{
cursor: wait;
@apply .text-light .bg-white .border-light;
}
.btn-primary:focus{
@apply .outline-none;
}
.btn-light{
@apply .border .border-light .text-light .p-2 .rounded .no-underline;
}
.btn-light:hover{
@apply .bg-light .text-white;
}
.btn-light[disabled]{
cursor: wait;
@apply .text-light .bg-white .border-light;
}
.btn-light:focus{
@apply .outline-none;
}
.btn-sm{
@apply py-1 px-2;
}
.input-group{
@apply .border-b .border-very-light .pt-4 .pb-2;
}
.input-label{
@apply .font-bold .block;
}
.input{
@apply mt-3 w-full bg-white p-0 appearance-none;
}
.input:focus{
@apply .outline-none;
}
[contenteditable]:focus{
outline: 0;
}
.multiselect.active{
@apply bg-very-light;
}
.multiselect.active .multiselect_options{
@apply pt-2 pl-2 pr-2;
}
.multiselect_dropdown {
@apply bg-very-light p-2;
}
.multiselect_dropdown button{
@apply block w-full text-left;
}
.multiselect_dropdown button:hover{
@apply bg-lighter;
}
.multiselect_dropdown button.selected{
@apply bg-lighter;
}
.ql-editor {
@apply .font-serif .text-lg .leading-loose;
padding: 0;
overflow-y: visible;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.ql-editor p,
.ql-editor ul,
.ql-editor ol,
.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor blockquote,
.ql-editor pre {
min-width: 100%;
}
.ql-editor h2 {
margin-top: 0 !important;
margin-bottom: 33px !important;
font-size: 1.5rem;
font-weight: bold;
line-height: 2.6rem;
}
.ql-editor h3 {
margin-bottom: 33px !important;
font-size: 17px !important;
font-weight: bold;
line-height: 2.6rem;
}
.ql-editor p,
.ql-editor ol,
.ql-editor ul,
.ql-editor pre,
.ql-editor blockquote {
margin-bottom: 33px !important;
}
.ql-bubble .ql-editor pre.ql-syntax {
background: rgba(238, 238, 238, 0.35);
border: solid 2px rgba(0, 0, 0, 0.05);
color: #000;
overflow-x: auto;
padding: 0.5em;
}
.ql-editor h1,
.ql-editor h2 {
margin-top: 56px;
margin-bottom: 15px;
}
.ql-editor ol,
.ql-editor ul {
padding-left: 0;
}
.ql-editor ol li,
.ql-editor ul li {
margin-bottom: 20px;
}
.ql-bubble .ql-editor a{
@apply .text-primary .no-underline;
}
.ql-container hr {
border: none;
color: #111;
letter-spacing: 1em;
text-align: center;
}
.ql-container hr:before {
content: '...';
}
#sidebar-controls {
display: none;
position: absolute;
@apply z-10;
}
#sidebar-controls .controls button{
@apply rounded-full w-8 h-8 border border-light text-light text-center pt-1;
}
#sidebar-controls .controls button:hover{
@apply bg-light text-white;
}
#sidebar-controls button:focus{
@apply outline-none;
}
#sidebar-controls.active .controls {
@apply inline-block;
}
.embedded_image {
margin-bottom: 33px !important;
cursor: default;
}
.embedded_image[data-layout="wide"] img {
max-width: 1024px;
}
.embedded_image img {
max-width: 100%;
height: auto;
margin: 0 auto;
display: block;
}
.embedded_image:hover img {
box-shadow: 0 0 0 3px config('colors.primary');
}
.embedded_image p {
text-align: center;
margin-bottom: 0 !important;
}
.ql-editor.ql-blank::before {
left: 0;
font-style: normal;
}
@tailwind utilities;
@-webkit-keyframes spin {
from {
-ms-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes spin {
from {
-ms-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.spin {
-webkit-animation: spin 2s linear infinite;
-moz-animation: spin 2s linear infinite;
-ms-animation: spin 2s linear infinite;
-o-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
border: none;
-webkit-box-shadow: 0 0 0px 1000px #fff inset;
transition: background-color 5000s ease-in-out 0s;
}