avo-rhino_field 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +16 -0
- data/app/assets/builds/avo-rhino_field.css +1004 -0
- data/app/assets/builds/avo-rhino_field.css.map +1 -0
- data/app/assets/builds/avo-rhino_field.js +29477 -0
- data/app/assets/builds/avo-rhino_field.js.map +7 -0
- data/app/assets/stylesheets/avo-rhino_field.css +19 -0
- data/app/assets/svgs/avo/gradient.svg +3 -0
- data/app/components/avo/fields/rhino_field/edit_component.html.erb +58 -0
- data/app/components/avo/fields/rhino_field/edit_component.rb +21 -0
- data/app/components/avo/fields/rhino_field/show_component.html.erb +14 -0
- data/app/components/avo/fields/rhino_field/show_component.rb +4 -0
- data/avo-rhino_field.gemspec +19 -0
- data/lib/avo/rhino_field/engine.rb +24 -0
- data/lib/avo/rhino_field/fields/rhino_field.rb +21 -0
- data/lib/avo/rhino_field/version.rb +5 -0
- data/lib/avo/rhino_field.rb +13 -0
- metadata +57 -0
@@ -0,0 +1,1004 @@
|
|
1
|
+
/* src/exports/styles/trix.css */
|
2
|
+
|
3
|
+
.trix-content {
|
4
|
+
border: 1px solid var(--rhino-border-color);
|
5
|
+
border-radius: 0px 0px var(--rhino-border-radius) var(--rhino-border-radius);
|
6
|
+
margin: 0;
|
7
|
+
padding: 0.4em 0.6em;
|
8
|
+
min-height: 200px;
|
9
|
+
outline: transparent;
|
10
|
+
overflow-wrap: break-word;
|
11
|
+
word-break: break-word;
|
12
|
+
}
|
13
|
+
|
14
|
+
.trix-content[contenteditable=true] {
|
15
|
+
white-space: pre-wrap;
|
16
|
+
}
|
17
|
+
|
18
|
+
.trix-content:is(:focus, :focus-within) {
|
19
|
+
border-color: var(--rhino-button-active-border-color);
|
20
|
+
}
|
21
|
+
|
22
|
+
.trix-content :is(img, svg, figure) {
|
23
|
+
width: 100%;
|
24
|
+
max-width: 100%;
|
25
|
+
height: auto;
|
26
|
+
display: block;
|
27
|
+
}
|
28
|
+
|
29
|
+
.trix-content :is(figure, p) {
|
30
|
+
padding: 0;
|
31
|
+
margin: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
.trix-content figure {
|
35
|
+
position: relative;
|
36
|
+
}
|
37
|
+
|
38
|
+
.trix-content figcaption {
|
39
|
+
line-break: anywhere;
|
40
|
+
display: inline-block;
|
41
|
+
white-space: normal;
|
42
|
+
width: 100%;
|
43
|
+
margin: 0;
|
44
|
+
padding: 0;
|
45
|
+
font-size: inherit;
|
46
|
+
font-family: inherit;
|
47
|
+
line-height: inherit;
|
48
|
+
color: inherit;
|
49
|
+
text-align: center;
|
50
|
+
vertical-align: top;
|
51
|
+
border: none;
|
52
|
+
outline: none;
|
53
|
+
-webkit-appearance: none;
|
54
|
+
-moz-appearance: none;
|
55
|
+
appearance: none;
|
56
|
+
}
|
57
|
+
|
58
|
+
.trix-content[contenteditable=true] figcaption {
|
59
|
+
white-space: break-spaces;
|
60
|
+
}
|
61
|
+
|
62
|
+
.trix-content .rhino-upload-error {
|
63
|
+
background-color: rgba(255, 0, 0, 0.3);
|
64
|
+
}
|
65
|
+
|
66
|
+
.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) :nth-child(2) {
|
67
|
+
outline: transparent;
|
68
|
+
box-shadow: var(--rhino-focus-ring);
|
69
|
+
}
|
70
|
+
|
71
|
+
.rhino-attachment-editor::part(delete-button),
|
72
|
+
.rhino-attachment-editor::part(file-metadata) {
|
73
|
+
display: none;
|
74
|
+
}
|
75
|
+
|
76
|
+
.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) .rhino-attachment-editor::part(delete-button),
|
77
|
+
.trix-content:not([readonly]) figure:is(:focus-within, :focus, .has-focus) .rhino-attachment-editor::part(file-metadata) {
|
78
|
+
display: flex;
|
79
|
+
}
|
80
|
+
|
81
|
+
.trix-content .placeholder {
|
82
|
+
position: absolute;
|
83
|
+
pointer-events: none;
|
84
|
+
color: var(--rhino-placeholder-text-color);
|
85
|
+
cursor: text;
|
86
|
+
content: "";
|
87
|
+
}
|
88
|
+
|
89
|
+
.trix-content figure.attachment figcaption {
|
90
|
+
position: relative;
|
91
|
+
}
|
92
|
+
|
93
|
+
.trix-content p.is-editor-empty:first-child::before,
|
94
|
+
.trix-content figure[data-trix-attachment].has-focus figcaption.is-empty::before {
|
95
|
+
color: var(--rhino-placeholder-text-color);
|
96
|
+
content: attr(data-placeholder);
|
97
|
+
pointer-events: none;
|
98
|
+
}
|
99
|
+
|
100
|
+
.trix-content figure[data-trix-attachment]:not(.has-focus) figcaption.is-empty::before {
|
101
|
+
content: attr(data-default-caption);
|
102
|
+
pointer-events: none;
|
103
|
+
}
|
104
|
+
|
105
|
+
.trix-content ul {
|
106
|
+
list-style: disc;
|
107
|
+
}
|
108
|
+
|
109
|
+
.trix-content figure[data-trix-attachment].has-focus figcaption.is-empty::before {
|
110
|
+
position: absolute;
|
111
|
+
left: 50%;
|
112
|
+
top: 0;
|
113
|
+
transform: translate(-50%, 0%);
|
114
|
+
}
|
115
|
+
|
116
|
+
.trix-content p.is-editor-empty:first-child::before {
|
117
|
+
float: left;
|
118
|
+
height: 0;
|
119
|
+
pointer-events: none;
|
120
|
+
}
|
121
|
+
|
122
|
+
.trix-content {
|
123
|
+
box-sizing: border-box;
|
124
|
+
}
|
125
|
+
|
126
|
+
.trix-content * {
|
127
|
+
box-sizing: inherit;
|
128
|
+
margin: 0;
|
129
|
+
padding: 0;
|
130
|
+
}
|
131
|
+
|
132
|
+
.trix-content h1 {
|
133
|
+
font-size: 1.2em;
|
134
|
+
line-height: 1.2;
|
135
|
+
}
|
136
|
+
|
137
|
+
.trix-content blockquote {
|
138
|
+
border: 0 solid #ccc;
|
139
|
+
border-inline-start-width: 0.3em;
|
140
|
+
margin-inline-start: 0.3em;
|
141
|
+
padding-inline-start: 0.6em;
|
142
|
+
}
|
143
|
+
|
144
|
+
.trix-content li {
|
145
|
+
margin-inline-start: 1em;
|
146
|
+
}
|
147
|
+
|
148
|
+
.trix-content :where(pre) {
|
149
|
+
display: inline-block;
|
150
|
+
width: 100%;
|
151
|
+
vertical-align: top;
|
152
|
+
font-family: monospace;
|
153
|
+
font-size: 0.9em;
|
154
|
+
padding: 0.5em;
|
155
|
+
white-space: pre;
|
156
|
+
background-color: #eee;
|
157
|
+
overflow-x: auto;
|
158
|
+
}
|
159
|
+
|
160
|
+
.trix-content img {
|
161
|
+
max-width: 100%;
|
162
|
+
height: auto;
|
163
|
+
}
|
164
|
+
|
165
|
+
.trix-content .attachment {
|
166
|
+
display: block;
|
167
|
+
position: relative;
|
168
|
+
max-width: 100%;
|
169
|
+
}
|
170
|
+
|
171
|
+
.trix-content .attachment a {
|
172
|
+
color: inherit;
|
173
|
+
text-decoration: none;
|
174
|
+
}
|
175
|
+
|
176
|
+
.trix-content .attachment a:hover,
|
177
|
+
.trix-content .attachment a:visited:hover {
|
178
|
+
color: inherit;
|
179
|
+
}
|
180
|
+
|
181
|
+
.trix-content .attachment__caption {
|
182
|
+
text-align: center;
|
183
|
+
margin-top: 0.5em;
|
184
|
+
}
|
185
|
+
|
186
|
+
.trix-content .attachment__caption .attachment__name + .attachment__size::before {
|
187
|
+
content: " \b7 ";
|
188
|
+
}
|
189
|
+
|
190
|
+
.trix-content .attachment--preview {
|
191
|
+
width: 100%;
|
192
|
+
text-align: center;
|
193
|
+
margin: 0.6em 0;
|
194
|
+
}
|
195
|
+
|
196
|
+
.trix-content .attachment--preview .attachment__caption {
|
197
|
+
color: #666;
|
198
|
+
font-size: 0.9em;
|
199
|
+
line-height: 1.2;
|
200
|
+
}
|
201
|
+
|
202
|
+
.trix-content .attachment.attachment--file {
|
203
|
+
color: #333;
|
204
|
+
line-height: 1;
|
205
|
+
margin: 0 2px 2px 2px;
|
206
|
+
padding: 0.4em 1em;
|
207
|
+
border: 1px solid var(--rhino-border-color);
|
208
|
+
border-radius: var(--rhino-border-radius);
|
209
|
+
}
|
210
|
+
|
211
|
+
.trix-content .attachment-gallery {
|
212
|
+
display: flex;
|
213
|
+
flex-wrap: wrap;
|
214
|
+
position: relative;
|
215
|
+
}
|
216
|
+
|
217
|
+
.trix-content figure.attachment {
|
218
|
+
display: inline-block;
|
219
|
+
position: relative;
|
220
|
+
white-space: normal;
|
221
|
+
}
|
222
|
+
|
223
|
+
.trix-content .attachment-gallery > p {
|
224
|
+
width: 0px;
|
225
|
+
padding: 0;
|
226
|
+
flex-basis: 0%;
|
227
|
+
max-width: 0%;
|
228
|
+
flex-shrink: 1;
|
229
|
+
flex-grow: 0;
|
230
|
+
}
|
231
|
+
|
232
|
+
.trix-content .attachment-gallery .attachment {
|
233
|
+
flex: 1 0 100%;
|
234
|
+
padding: 0 0.5em;
|
235
|
+
max-width: 100%;
|
236
|
+
white-space: normal;
|
237
|
+
}
|
238
|
+
|
239
|
+
.trix-content .attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]) {
|
240
|
+
flex: 1 0 33%;
|
241
|
+
padding: 0 0.5em;
|
242
|
+
max-width: 33%;
|
243
|
+
white-space: normal;
|
244
|
+
}
|
245
|
+
|
246
|
+
.trix-content .attachment-gallery > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) ~ :is(.attachment, action-text-attachment),
|
247
|
+
.trix-content .attachment-gallery > :is(.attachment, action-text-attachment):first-of-type:nth-last-of-type(1) {
|
248
|
+
padding: 0;
|
249
|
+
flex-basis: 100%;
|
250
|
+
max-width: 100%;
|
251
|
+
}
|
252
|
+
|
253
|
+
.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(2),
|
254
|
+
.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(2) ~ :is(.attachment--preview, action-text-attachment[previewable=true]),
|
255
|
+
.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(4),
|
256
|
+
.attachment-gallery > :is(.attachment--preview, action-text-attachment[previewable=true]):first-of-type:nth-last-of-type(4) ~ :is(.attachment--preview, action-text-attachment[previewable=true]) {
|
257
|
+
flex-basis: 50%;
|
258
|
+
max-width: 50%;
|
259
|
+
}
|
260
|
+
|
261
|
+
.trix-content .attachment-gallery.attachment-gallery--2 action-text-attachment > .attachment,
|
262
|
+
.trix-content .attachment-gallery.attachment-gallery--4 action-text-attachment > .attachment,
|
263
|
+
.trix-content .attachment-gallery action-text-attachment > .attachment {
|
264
|
+
max-width: 100%;
|
265
|
+
}
|
266
|
+
|
267
|
+
.trix-content {
|
268
|
+
--rhino-focus-ring: 0px 0px 4px 1px var(--rhino-button-active-border-color);
|
269
|
+
--rhino-border-radius: 4px;
|
270
|
+
--rhino-danger-border-color: red;
|
271
|
+
--rhino-danger-background-color: #ffdddd;
|
272
|
+
--rhino-text-color: #374151;
|
273
|
+
--rhino-border-color: #cecece;
|
274
|
+
--rhino-placeholder-text-color: #cecece;
|
275
|
+
--rhino-button-text-color: #889;
|
276
|
+
--rhino-button-border-color: #cecece;
|
277
|
+
--rhino-button-disabled-text-color: #d1d5db;
|
278
|
+
--rhino-button-disabled-border-color: #d1d5db;
|
279
|
+
--rhino-button-disabled-background-color: #d1d5db;
|
280
|
+
--rhino-button-active-border-color: #005a9c;
|
281
|
+
--rhino-button-active-background-color: rgb(226 239 255);
|
282
|
+
--rhino-toolbar-text-color: hsl(219, 6%, 43%);
|
283
|
+
--rhino-toolbar-icon-size: 24px;
|
284
|
+
--rhino-dialog-border-color: hsl( var(--rhino-button-focus-background-color-hsl) / 50% );
|
285
|
+
--rhino-button-focus-background-color: hsl( var(--rhino-button-focus-background-color-hsl) );
|
286
|
+
--rhino-button-focus-background-color-hsl: 219 26% 95%;
|
287
|
+
display: block;
|
288
|
+
color: var(--rhino-text-color);
|
289
|
+
}
|
290
|
+
|
291
|
+
.rhino-toolbar-button {
|
292
|
+
border: 1px solid var(--rhino-border-color);
|
293
|
+
border-radius: var(--rhino-border-radius);
|
294
|
+
padding: 0.2em 0.4em;
|
295
|
+
color: inherit;
|
296
|
+
}
|
297
|
+
|
298
|
+
.rhino-toolbar-button:is([aria-disabled=true], :disabled) {
|
299
|
+
color: var(--rhino-button-disabled-text-color);
|
300
|
+
border-color: var(--rhino-button-disabled-border-color);
|
301
|
+
}
|
302
|
+
|
303
|
+
.rhino-toolbar-button[aria-disabled=true]:focus {
|
304
|
+
border-color: var(--rhino-button-disabled-border-color);
|
305
|
+
}
|
306
|
+
|
307
|
+
.rhino-toolbar-button svg {
|
308
|
+
min-height: var(--rhino-toolbar-icon-size);
|
309
|
+
min-width: var(--rhino-toolbar-icon-size);
|
310
|
+
max-height: var(--rhino-toolbar-icon-size);
|
311
|
+
max-width: var(--rhino-toolbar-icon-size);
|
312
|
+
}
|
313
|
+
|
314
|
+
.rhino-toolbar-button:is(:focus, :hover):not([aria-disabled=true], :disabled) {
|
315
|
+
outline: transparent;
|
316
|
+
box-shadow: var(--rhino-focus-ring);
|
317
|
+
border-color: var(--rhino-button-active-border-color);
|
318
|
+
}
|
319
|
+
|
320
|
+
.rhino-toolbar-button:is(:focus, :hover):not([aria-disabled=true], :disabled, [aria-pressed=true], [part~=toolbar__button--active]) {
|
321
|
+
background-color: var(--rhino-button-focus-background-color);
|
322
|
+
}
|
323
|
+
|
324
|
+
.rhino-toolbar-button:is([aria-disabled=true], :disabled):not([part~=toolbar__button--active]) {
|
325
|
+
color: var(--rhino-button-disabled-text-color);
|
326
|
+
border-color: var(--rhino-button-disabled-border-color);
|
327
|
+
}
|
328
|
+
|
329
|
+
.rhino-toolbar-button:is(:focus, :hover):is([aria-disabled=true], :disabled):not([part~=toolbar__button--active]) {
|
330
|
+
outline: transparent;
|
331
|
+
color: var(--rhino-button-disabled-text-color);
|
332
|
+
border-color: var(--rhino-button-disabled-border-color);
|
333
|
+
box-shadow: 0 0 0 1px var(--rhino-button-disabled-border-color);
|
334
|
+
}
|
335
|
+
|
336
|
+
/* ! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com */
|
337
|
+
|
338
|
+
/*
|
339
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
340
|
+
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
341
|
+
*/
|
342
|
+
|
343
|
+
*,
|
344
|
+
::before,
|
345
|
+
::after {
|
346
|
+
box-sizing: border-box;
|
347
|
+
/* 1 */
|
348
|
+
border-width: 0;
|
349
|
+
/* 2 */
|
350
|
+
border-style: solid;
|
351
|
+
/* 2 */
|
352
|
+
border-color: #C8CBD0;
|
353
|
+
/* 2 */
|
354
|
+
}
|
355
|
+
|
356
|
+
::before,
|
357
|
+
::after {
|
358
|
+
--tw-content: '';
|
359
|
+
}
|
360
|
+
|
361
|
+
/*
|
362
|
+
1. Use a consistent sensible line-height in all browsers.
|
363
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
364
|
+
3. Use a more readable tab size.
|
365
|
+
4. Use the user's configured `sans` font-family by default.
|
366
|
+
5. Use the user's configured `sans` font-feature-settings by default.
|
367
|
+
6. Use the user's configured `sans` font-variation-settings by default.
|
368
|
+
7. Disable tap highlights on iOS
|
369
|
+
*/
|
370
|
+
|
371
|
+
html,
|
372
|
+
:host {
|
373
|
+
line-height: 1.5;
|
374
|
+
/* 1 */
|
375
|
+
-webkit-text-size-adjust: 100%;
|
376
|
+
/* 2 */
|
377
|
+
-moz-tab-size: 4;
|
378
|
+
/* 3 */
|
379
|
+
-o-tab-size: 4;
|
380
|
+
tab-size: 4;
|
381
|
+
/* 3 */
|
382
|
+
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
383
|
+
/* 4 */
|
384
|
+
font-feature-settings: normal;
|
385
|
+
/* 5 */
|
386
|
+
font-variation-settings: normal;
|
387
|
+
/* 6 */
|
388
|
+
-webkit-tap-highlight-color: transparent;
|
389
|
+
/* 7 */
|
390
|
+
}
|
391
|
+
|
392
|
+
/*
|
393
|
+
1. Remove the margin in all browsers.
|
394
|
+
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
395
|
+
*/
|
396
|
+
|
397
|
+
body {
|
398
|
+
margin: 0;
|
399
|
+
/* 1 */
|
400
|
+
line-height: inherit;
|
401
|
+
/* 2 */
|
402
|
+
}
|
403
|
+
|
404
|
+
/*
|
405
|
+
1. Add the correct height in Firefox.
|
406
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
407
|
+
3. Ensure horizontal rules are visible by default.
|
408
|
+
*/
|
409
|
+
|
410
|
+
hr {
|
411
|
+
height: 0;
|
412
|
+
/* 1 */
|
413
|
+
color: inherit;
|
414
|
+
/* 2 */
|
415
|
+
border-top-width: 1px;
|
416
|
+
/* 3 */
|
417
|
+
}
|
418
|
+
|
419
|
+
/*
|
420
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
421
|
+
*/
|
422
|
+
|
423
|
+
abbr:where([title]) {
|
424
|
+
-webkit-text-decoration: underline dotted;
|
425
|
+
text-decoration: underline dotted;
|
426
|
+
}
|
427
|
+
|
428
|
+
/*
|
429
|
+
Remove the default font size and weight for headings.
|
430
|
+
*/
|
431
|
+
|
432
|
+
h1,
|
433
|
+
h2,
|
434
|
+
h3,
|
435
|
+
h4,
|
436
|
+
h5,
|
437
|
+
h6 {
|
438
|
+
font-size: inherit;
|
439
|
+
font-weight: inherit;
|
440
|
+
}
|
441
|
+
|
442
|
+
/*
|
443
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
444
|
+
*/
|
445
|
+
|
446
|
+
a {
|
447
|
+
color: inherit;
|
448
|
+
text-decoration: inherit;
|
449
|
+
}
|
450
|
+
|
451
|
+
/*
|
452
|
+
Add the correct font weight in Edge and Safari.
|
453
|
+
*/
|
454
|
+
|
455
|
+
b,
|
456
|
+
strong {
|
457
|
+
font-weight: bolder;
|
458
|
+
}
|
459
|
+
|
460
|
+
/*
|
461
|
+
1. Use the user's configured `mono` font-family by default.
|
462
|
+
2. Use the user's configured `mono` font-feature-settings by default.
|
463
|
+
3. Use the user's configured `mono` font-variation-settings by default.
|
464
|
+
4. Correct the odd `em` font sizing in all browsers.
|
465
|
+
*/
|
466
|
+
|
467
|
+
code,
|
468
|
+
kbd,
|
469
|
+
samp,
|
470
|
+
pre {
|
471
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
472
|
+
/* 1 */
|
473
|
+
font-feature-settings: normal;
|
474
|
+
/* 2 */
|
475
|
+
font-variation-settings: normal;
|
476
|
+
/* 3 */
|
477
|
+
font-size: 1em;
|
478
|
+
/* 4 */
|
479
|
+
}
|
480
|
+
|
481
|
+
/*
|
482
|
+
Add the correct font size in all browsers.
|
483
|
+
*/
|
484
|
+
|
485
|
+
small {
|
486
|
+
font-size: 80%;
|
487
|
+
}
|
488
|
+
|
489
|
+
/*
|
490
|
+
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
491
|
+
*/
|
492
|
+
|
493
|
+
sub,
|
494
|
+
sup {
|
495
|
+
font-size: 75%;
|
496
|
+
line-height: 0;
|
497
|
+
position: relative;
|
498
|
+
vertical-align: baseline;
|
499
|
+
}
|
500
|
+
|
501
|
+
sub {
|
502
|
+
bottom: -0.25em;
|
503
|
+
}
|
504
|
+
|
505
|
+
sup {
|
506
|
+
top: -0.5em;
|
507
|
+
}
|
508
|
+
|
509
|
+
/*
|
510
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
511
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
512
|
+
3. Remove gaps between table borders by default.
|
513
|
+
*/
|
514
|
+
|
515
|
+
table {
|
516
|
+
text-indent: 0;
|
517
|
+
/* 1 */
|
518
|
+
border-color: inherit;
|
519
|
+
/* 2 */
|
520
|
+
border-collapse: collapse;
|
521
|
+
/* 3 */
|
522
|
+
}
|
523
|
+
|
524
|
+
/*
|
525
|
+
1. Change the font styles in all browsers.
|
526
|
+
2. Remove the margin in Firefox and Safari.
|
527
|
+
3. Remove default padding in all browsers.
|
528
|
+
*/
|
529
|
+
|
530
|
+
button,
|
531
|
+
input,
|
532
|
+
optgroup,
|
533
|
+
select,
|
534
|
+
textarea {
|
535
|
+
font-family: inherit;
|
536
|
+
/* 1 */
|
537
|
+
font-feature-settings: inherit;
|
538
|
+
/* 1 */
|
539
|
+
font-variation-settings: inherit;
|
540
|
+
/* 1 */
|
541
|
+
font-size: 100%;
|
542
|
+
/* 1 */
|
543
|
+
font-weight: inherit;
|
544
|
+
/* 1 */
|
545
|
+
line-height: inherit;
|
546
|
+
/* 1 */
|
547
|
+
letter-spacing: inherit;
|
548
|
+
/* 1 */
|
549
|
+
color: inherit;
|
550
|
+
/* 1 */
|
551
|
+
margin: 0;
|
552
|
+
/* 2 */
|
553
|
+
padding: 0;
|
554
|
+
/* 3 */
|
555
|
+
}
|
556
|
+
|
557
|
+
/*
|
558
|
+
Remove the inheritance of text transform in Edge and Firefox.
|
559
|
+
*/
|
560
|
+
|
561
|
+
button,
|
562
|
+
select {
|
563
|
+
text-transform: none;
|
564
|
+
}
|
565
|
+
|
566
|
+
/*
|
567
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
568
|
+
2. Remove default button styles.
|
569
|
+
*/
|
570
|
+
|
571
|
+
button,
|
572
|
+
input:where([type='button']),
|
573
|
+
input:where([type='reset']),
|
574
|
+
input:where([type='submit']) {
|
575
|
+
-webkit-appearance: button;
|
576
|
+
/* 1 */
|
577
|
+
background-color: transparent;
|
578
|
+
/* 2 */
|
579
|
+
background-image: none;
|
580
|
+
/* 2 */
|
581
|
+
}
|
582
|
+
|
583
|
+
/*
|
584
|
+
Use the modern Firefox focus style for all focusable elements.
|
585
|
+
*/
|
586
|
+
|
587
|
+
:-moz-focusring {
|
588
|
+
outline: auto;
|
589
|
+
}
|
590
|
+
|
591
|
+
/*
|
592
|
+
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
593
|
+
*/
|
594
|
+
|
595
|
+
:-moz-ui-invalid {
|
596
|
+
box-shadow: none;
|
597
|
+
}
|
598
|
+
|
599
|
+
/*
|
600
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
601
|
+
*/
|
602
|
+
|
603
|
+
progress {
|
604
|
+
vertical-align: baseline;
|
605
|
+
}
|
606
|
+
|
607
|
+
/*
|
608
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
609
|
+
*/
|
610
|
+
|
611
|
+
::-webkit-inner-spin-button,
|
612
|
+
::-webkit-outer-spin-button {
|
613
|
+
height: auto;
|
614
|
+
}
|
615
|
+
|
616
|
+
/*
|
617
|
+
1. Correct the odd appearance in Chrome and Safari.
|
618
|
+
2. Correct the outline style in Safari.
|
619
|
+
*/
|
620
|
+
|
621
|
+
[type='search'] {
|
622
|
+
-webkit-appearance: textfield;
|
623
|
+
/* 1 */
|
624
|
+
outline-offset: -2px;
|
625
|
+
/* 2 */
|
626
|
+
}
|
627
|
+
|
628
|
+
/*
|
629
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
630
|
+
*/
|
631
|
+
|
632
|
+
::-webkit-search-decoration {
|
633
|
+
-webkit-appearance: none;
|
634
|
+
}
|
635
|
+
|
636
|
+
/*
|
637
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
638
|
+
2. Change font properties to `inherit` in Safari.
|
639
|
+
*/
|
640
|
+
|
641
|
+
::-webkit-file-upload-button {
|
642
|
+
-webkit-appearance: button;
|
643
|
+
/* 1 */
|
644
|
+
font: inherit;
|
645
|
+
/* 2 */
|
646
|
+
}
|
647
|
+
|
648
|
+
/*
|
649
|
+
Add the correct display in Chrome and Safari.
|
650
|
+
*/
|
651
|
+
|
652
|
+
summary {
|
653
|
+
display: list-item;
|
654
|
+
}
|
655
|
+
|
656
|
+
/*
|
657
|
+
Removes the default spacing and border for appropriate elements.
|
658
|
+
*/
|
659
|
+
|
660
|
+
blockquote,
|
661
|
+
dl,
|
662
|
+
dd,
|
663
|
+
h1,
|
664
|
+
h2,
|
665
|
+
h3,
|
666
|
+
h4,
|
667
|
+
h5,
|
668
|
+
h6,
|
669
|
+
hr,
|
670
|
+
figure,
|
671
|
+
p,
|
672
|
+
pre {
|
673
|
+
margin: 0;
|
674
|
+
}
|
675
|
+
|
676
|
+
fieldset {
|
677
|
+
margin: 0;
|
678
|
+
padding: 0;
|
679
|
+
}
|
680
|
+
|
681
|
+
legend {
|
682
|
+
padding: 0;
|
683
|
+
}
|
684
|
+
|
685
|
+
ol,
|
686
|
+
ul,
|
687
|
+
menu {
|
688
|
+
list-style: none;
|
689
|
+
margin: 0;
|
690
|
+
padding: 0;
|
691
|
+
}
|
692
|
+
|
693
|
+
/*
|
694
|
+
Reset default styling for dialogs.
|
695
|
+
*/
|
696
|
+
|
697
|
+
dialog {
|
698
|
+
padding: 0;
|
699
|
+
}
|
700
|
+
|
701
|
+
/*
|
702
|
+
Prevent resizing textareas horizontally by default.
|
703
|
+
*/
|
704
|
+
|
705
|
+
textarea {
|
706
|
+
resize: vertical;
|
707
|
+
}
|
708
|
+
|
709
|
+
/*
|
710
|
+
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
711
|
+
2. Set the default placeholder color to the user's configured gray 400 color.
|
712
|
+
*/
|
713
|
+
|
714
|
+
input::-moz-placeholder, textarea::-moz-placeholder {
|
715
|
+
opacity: 1;
|
716
|
+
/* 1 */
|
717
|
+
color: #9197A1;
|
718
|
+
/* 2 */
|
719
|
+
}
|
720
|
+
|
721
|
+
input::placeholder,
|
722
|
+
textarea::placeholder {
|
723
|
+
opacity: 1;
|
724
|
+
/* 1 */
|
725
|
+
color: #9197A1;
|
726
|
+
/* 2 */
|
727
|
+
}
|
728
|
+
|
729
|
+
/*
|
730
|
+
Set the default cursor for buttons.
|
731
|
+
*/
|
732
|
+
|
733
|
+
button,
|
734
|
+
[role="button"] {
|
735
|
+
cursor: pointer;
|
736
|
+
}
|
737
|
+
|
738
|
+
/*
|
739
|
+
Make sure disabled buttons don't get the pointer cursor.
|
740
|
+
*/
|
741
|
+
|
742
|
+
:disabled {
|
743
|
+
cursor: default;
|
744
|
+
}
|
745
|
+
|
746
|
+
/*
|
747
|
+
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
748
|
+
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
749
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
750
|
+
*/
|
751
|
+
|
752
|
+
img,
|
753
|
+
svg,
|
754
|
+
video,
|
755
|
+
canvas,
|
756
|
+
audio,
|
757
|
+
iframe,
|
758
|
+
embed,
|
759
|
+
object {
|
760
|
+
display: block;
|
761
|
+
/* 1 */
|
762
|
+
vertical-align: middle;
|
763
|
+
/* 2 */
|
764
|
+
}
|
765
|
+
|
766
|
+
/*
|
767
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
768
|
+
*/
|
769
|
+
|
770
|
+
img,
|
771
|
+
video {
|
772
|
+
max-width: 100%;
|
773
|
+
height: auto;
|
774
|
+
}
|
775
|
+
|
776
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
777
|
+
|
778
|
+
[hidden] {
|
779
|
+
display: none;
|
780
|
+
}
|
781
|
+
|
782
|
+
*, ::before, ::after {
|
783
|
+
--tw-border-spacing-x: 0;
|
784
|
+
--tw-border-spacing-y: 0;
|
785
|
+
--tw-translate-x: 0;
|
786
|
+
--tw-translate-y: 0;
|
787
|
+
--tw-rotate: 0;
|
788
|
+
--tw-skew-x: 0;
|
789
|
+
--tw-skew-y: 0;
|
790
|
+
--tw-scale-x: 1;
|
791
|
+
--tw-scale-y: 1;
|
792
|
+
--tw-pan-x: ;
|
793
|
+
--tw-pan-y: ;
|
794
|
+
--tw-pinch-zoom: ;
|
795
|
+
--tw-scroll-snap-strictness: proximity;
|
796
|
+
--tw-gradient-from-position: ;
|
797
|
+
--tw-gradient-via-position: ;
|
798
|
+
--tw-gradient-to-position: ;
|
799
|
+
--tw-ordinal: ;
|
800
|
+
--tw-slashed-zero: ;
|
801
|
+
--tw-numeric-figure: ;
|
802
|
+
--tw-numeric-spacing: ;
|
803
|
+
--tw-numeric-fraction: ;
|
804
|
+
--tw-ring-inset: ;
|
805
|
+
--tw-ring-offset-width: 0px;
|
806
|
+
--tw-ring-offset-color: #fff;
|
807
|
+
--tw-ring-color: rgb(8 134 222 / 0.5);
|
808
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
809
|
+
--tw-ring-shadow: 0 0 #0000;
|
810
|
+
--tw-shadow: 0 0 #0000;
|
811
|
+
--tw-shadow-colored: 0 0 #0000;
|
812
|
+
--tw-blur: ;
|
813
|
+
--tw-brightness: ;
|
814
|
+
--tw-contrast: ;
|
815
|
+
--tw-grayscale: ;
|
816
|
+
--tw-hue-rotate: ;
|
817
|
+
--tw-invert: ;
|
818
|
+
--tw-saturate: ;
|
819
|
+
--tw-sepia: ;
|
820
|
+
--tw-drop-shadow: ;
|
821
|
+
--tw-backdrop-blur: ;
|
822
|
+
--tw-backdrop-brightness: ;
|
823
|
+
--tw-backdrop-contrast: ;
|
824
|
+
--tw-backdrop-grayscale: ;
|
825
|
+
--tw-backdrop-hue-rotate: ;
|
826
|
+
--tw-backdrop-invert: ;
|
827
|
+
--tw-backdrop-opacity: ;
|
828
|
+
--tw-backdrop-saturate: ;
|
829
|
+
--tw-backdrop-sepia: ;
|
830
|
+
--tw-contain-size: ;
|
831
|
+
--tw-contain-layout: ;
|
832
|
+
--tw-contain-paint: ;
|
833
|
+
--tw-contain-style: ;
|
834
|
+
}
|
835
|
+
|
836
|
+
::backdrop {
|
837
|
+
--tw-border-spacing-x: 0;
|
838
|
+
--tw-border-spacing-y: 0;
|
839
|
+
--tw-translate-x: 0;
|
840
|
+
--tw-translate-y: 0;
|
841
|
+
--tw-rotate: 0;
|
842
|
+
--tw-skew-x: 0;
|
843
|
+
--tw-skew-y: 0;
|
844
|
+
--tw-scale-x: 1;
|
845
|
+
--tw-scale-y: 1;
|
846
|
+
--tw-pan-x: ;
|
847
|
+
--tw-pan-y: ;
|
848
|
+
--tw-pinch-zoom: ;
|
849
|
+
--tw-scroll-snap-strictness: proximity;
|
850
|
+
--tw-gradient-from-position: ;
|
851
|
+
--tw-gradient-via-position: ;
|
852
|
+
--tw-gradient-to-position: ;
|
853
|
+
--tw-ordinal: ;
|
854
|
+
--tw-slashed-zero: ;
|
855
|
+
--tw-numeric-figure: ;
|
856
|
+
--tw-numeric-spacing: ;
|
857
|
+
--tw-numeric-fraction: ;
|
858
|
+
--tw-ring-inset: ;
|
859
|
+
--tw-ring-offset-width: 0px;
|
860
|
+
--tw-ring-offset-color: #fff;
|
861
|
+
--tw-ring-color: rgb(8 134 222 / 0.5);
|
862
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
863
|
+
--tw-ring-shadow: 0 0 #0000;
|
864
|
+
--tw-shadow: 0 0 #0000;
|
865
|
+
--tw-shadow-colored: 0 0 #0000;
|
866
|
+
--tw-blur: ;
|
867
|
+
--tw-brightness: ;
|
868
|
+
--tw-contrast: ;
|
869
|
+
--tw-grayscale: ;
|
870
|
+
--tw-hue-rotate: ;
|
871
|
+
--tw-invert: ;
|
872
|
+
--tw-saturate: ;
|
873
|
+
--tw-sepia: ;
|
874
|
+
--tw-drop-shadow: ;
|
875
|
+
--tw-backdrop-blur: ;
|
876
|
+
--tw-backdrop-brightness: ;
|
877
|
+
--tw-backdrop-contrast: ;
|
878
|
+
--tw-backdrop-grayscale: ;
|
879
|
+
--tw-backdrop-hue-rotate: ;
|
880
|
+
--tw-backdrop-invert: ;
|
881
|
+
--tw-backdrop-opacity: ;
|
882
|
+
--tw-backdrop-saturate: ;
|
883
|
+
--tw-backdrop-sepia: ;
|
884
|
+
--tw-contain-size: ;
|
885
|
+
--tw-contain-layout: ;
|
886
|
+
--tw-contain-paint: ;
|
887
|
+
--tw-contain-style: ;
|
888
|
+
}
|
889
|
+
|
890
|
+
.static {
|
891
|
+
position: static;
|
892
|
+
}
|
893
|
+
|
894
|
+
.relative {
|
895
|
+
position: relative;
|
896
|
+
}
|
897
|
+
|
898
|
+
.-mb-1 {
|
899
|
+
margin-bottom: -0.25rem;
|
900
|
+
}
|
901
|
+
|
902
|
+
.-mt-px {
|
903
|
+
margin-top: -1px;
|
904
|
+
}
|
905
|
+
|
906
|
+
.block {
|
907
|
+
display: block;
|
908
|
+
}
|
909
|
+
|
910
|
+
.inline-block {
|
911
|
+
display: inline-block;
|
912
|
+
}
|
913
|
+
|
914
|
+
.flex {
|
915
|
+
display: flex;
|
916
|
+
}
|
917
|
+
|
918
|
+
.hidden {
|
919
|
+
display: none;
|
920
|
+
}
|
921
|
+
|
922
|
+
.h-3\.5 {
|
923
|
+
height: 0.875rem;
|
924
|
+
}
|
925
|
+
|
926
|
+
.\!max-h-4 {
|
927
|
+
max-height: 1rem !important;
|
928
|
+
}
|
929
|
+
|
930
|
+
.\!min-h-4 {
|
931
|
+
min-height: 1rem !important;
|
932
|
+
}
|
933
|
+
|
934
|
+
.w-5 {
|
935
|
+
width: 1.25rem;
|
936
|
+
}
|
937
|
+
|
938
|
+
.w-full {
|
939
|
+
width: 100%;
|
940
|
+
}
|
941
|
+
|
942
|
+
.max-w-4xl {
|
943
|
+
max-width: 56rem;
|
944
|
+
}
|
945
|
+
|
946
|
+
.grow-0 {
|
947
|
+
flex-grow: 0;
|
948
|
+
}
|
949
|
+
|
950
|
+
.flex-col {
|
951
|
+
flex-direction: column;
|
952
|
+
}
|
953
|
+
|
954
|
+
.items-center {
|
955
|
+
align-items: center;
|
956
|
+
}
|
957
|
+
|
958
|
+
.overflow-x-auto {
|
959
|
+
overflow-x: auto;
|
960
|
+
}
|
961
|
+
|
962
|
+
.bg-transparent {
|
963
|
+
background-color: transparent;
|
964
|
+
}
|
965
|
+
|
966
|
+
.py-2 {
|
967
|
+
padding-top: 0.5rem;
|
968
|
+
padding-bottom: 0.5rem;
|
969
|
+
}
|
970
|
+
|
971
|
+
.text-sm {
|
972
|
+
font-size: 0.875rem;
|
973
|
+
line-height: 1.25rem;
|
974
|
+
}
|
975
|
+
|
976
|
+
.font-bold {
|
977
|
+
font-weight: 700;
|
978
|
+
}
|
979
|
+
|
980
|
+
.rhino-editor .rhino-toolbar-button,
|
981
|
+
.rhino-editor::part(toolbar__button) {
|
982
|
+
--rhino-toolbar-icon-size: 18px;
|
983
|
+
display: flex;
|
984
|
+
align-items: center;
|
985
|
+
justify-content: center;
|
986
|
+
border-style: none;
|
987
|
+
}
|
988
|
+
|
989
|
+
.rhino-editor .rhino-toolbar-button:hover, .rhino-editor::part(toolbar__button):hover {
|
990
|
+
--tw-bg-opacity: 1;
|
991
|
+
background-color: rgb(227 229 232 / var(--tw-bg-opacity));
|
992
|
+
}
|
993
|
+
|
994
|
+
.rhino-editor .rhino-toolbar-button:hover, .rhino-editor::part(toolbar__button):hover {
|
995
|
+
--tw-shadow: 0 0 #0000;
|
996
|
+
--tw-shadow-colored: 0 0 #0000;
|
997
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
998
|
+
}
|
999
|
+
|
1000
|
+
.hidden-until-rhino-boots-up {
|
1001
|
+
display: none !important;
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
/*# sourceMappingURL=avo-rhino_field.css.map */
|