rails_accordion 0.1.10.pre.beta → 0.1.11.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,527 @@
1
+ /*
2
+ ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com
3
+ */
4
+
5
+ /*
6
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
7
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
8
+ */
9
+
10
+ *,
11
+ ::before,
12
+ ::after {
13
+ box-sizing: border-box;
14
+ /* 1 */
15
+ border-width: 0;
16
+ /* 2 */
17
+ border-style: solid;
18
+ /* 2 */
19
+ border-color: #e5e7eb;
20
+ /* 2 */
21
+ }
22
+
23
+ ::before,
24
+ ::after {
25
+ --tw-content: '';
26
+ }
27
+
28
+ /*
29
+ 1. Use a consistent sensible line-height in all browsers.
30
+ 2. Prevent adjustments of font size after orientation changes in iOS.
31
+ 3. Use a more readable tab size.
32
+ 4. Use the user's configured `sans` font-family by default.
33
+ 5. Use the user's configured `sans` font-feature-settings by default.
34
+ 6. Use the user's configured `sans` font-variation-settings by default.
35
+ */
36
+
37
+ html {
38
+ line-height: 1.5;
39
+ /* 1 */
40
+ -webkit-text-size-adjust: 100%;
41
+ /* 2 */
42
+ /* 3 */
43
+ tab-size: 4;
44
+ /* 3 */
45
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
46
+ /* 4 */
47
+ font-feature-settings: normal;
48
+ /* 5 */
49
+ font-variation-settings: normal;
50
+ /* 6 */
51
+ }
52
+
53
+ /*
54
+ 1. Remove the margin in all browsers.
55
+ 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
56
+ */
57
+
58
+ body {
59
+ margin: 0;
60
+ /* 1 */
61
+ line-height: inherit;
62
+ /* 2 */
63
+ }
64
+
65
+ /*
66
+ 1. Add the correct height in Firefox.
67
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
68
+ 3. Ensure horizontal rules are visible by default.
69
+ */
70
+
71
+ hr {
72
+ height: 0;
73
+ /* 1 */
74
+ color: inherit;
75
+ /* 2 */
76
+ border-top-width: 1px;
77
+ /* 3 */
78
+ }
79
+
80
+ /*
81
+ Add the correct text decoration in Chrome, Edge, and Safari.
82
+ */
83
+
84
+ abbr:where([title]) {
85
+ -webkit-text-decoration: underline dotted;
86
+ text-decoration: underline dotted;
87
+ }
88
+
89
+ /*
90
+ Remove the default font size and weight for headings.
91
+ */
92
+
93
+ h1,
94
+ h2,
95
+ h3,
96
+ h4,
97
+ h5,
98
+ h6 {
99
+ font-size: inherit;
100
+ font-weight: inherit;
101
+ }
102
+
103
+ /*
104
+ Reset links to optimize for opt-in styling instead of opt-out.
105
+ */
106
+
107
+ a {
108
+ color: inherit;
109
+ text-decoration: inherit;
110
+ }
111
+
112
+ /*
113
+ Add the correct font weight in Edge and Safari.
114
+ */
115
+
116
+ b,
117
+ strong {
118
+ font-weight: bolder;
119
+ }
120
+
121
+ /*
122
+ 1. Use the user's configured `mono` font family by default.
123
+ 2. Correct the odd `em` font sizing in all browsers.
124
+ */
125
+
126
+ code,
127
+ kbd,
128
+ samp,
129
+ pre {
130
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
131
+ /* 1 */
132
+ font-size: 1em;
133
+ /* 2 */
134
+ }
135
+
136
+ /*
137
+ Add the correct font size in all browsers.
138
+ */
139
+
140
+ small {
141
+ font-size: 80%;
142
+ }
143
+
144
+ /*
145
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
146
+ */
147
+
148
+ sub,
149
+ sup {
150
+ font-size: 75%;
151
+ line-height: 0;
152
+ position: relative;
153
+ vertical-align: baseline;
154
+ }
155
+
156
+ sub {
157
+ bottom: -0.25em;
158
+ }
159
+
160
+ sup {
161
+ top: -0.5em;
162
+ }
163
+
164
+ /*
165
+ 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)
166
+ 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)
167
+ 3. Remove gaps between table borders by default.
168
+ */
169
+
170
+ table {
171
+ text-indent: 0;
172
+ /* 1 */
173
+ border-color: inherit;
174
+ /* 2 */
175
+ border-collapse: collapse;
176
+ /* 3 */
177
+ }
178
+
179
+ /*
180
+ 1. Change the font styles in all browsers.
181
+ 2. Remove the margin in Firefox and Safari.
182
+ 3. Remove default padding in all browsers.
183
+ */
184
+
185
+ button,
186
+ input,
187
+ optgroup,
188
+ select,
189
+ textarea {
190
+ font-family: inherit;
191
+ /* 1 */
192
+ font-size: 100%;
193
+ /* 1 */
194
+ font-weight: inherit;
195
+ /* 1 */
196
+ line-height: inherit;
197
+ /* 1 */
198
+ color: inherit;
199
+ /* 1 */
200
+ margin: 0;
201
+ /* 2 */
202
+ padding: 0;
203
+ /* 3 */
204
+ }
205
+
206
+ /*
207
+ Remove the inheritance of text transform in Edge and Firefox.
208
+ */
209
+
210
+ button,
211
+ select {
212
+ text-transform: none;
213
+ }
214
+
215
+ /*
216
+ 1. Correct the inability to style clickable types in iOS and Safari.
217
+ 2. Remove default button styles.
218
+ */
219
+
220
+ button,
221
+ [type='button'],
222
+ [type='reset'],
223
+ [type='submit'] {
224
+ -webkit-appearance: button;
225
+ /* 1 */
226
+ background-color: transparent;
227
+ /* 2 */
228
+ background-image: none;
229
+ /* 2 */
230
+ }
231
+
232
+ /*
233
+ Use the modern Firefox focus style for all focusable elements.
234
+ */
235
+
236
+ :-moz-focusring {
237
+ outline: auto;
238
+ }
239
+
240
+ /*
241
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
242
+ */
243
+
244
+ :-moz-ui-invalid {
245
+ box-shadow: none;
246
+ }
247
+
248
+ /*
249
+ Add the correct vertical alignment in Chrome and Firefox.
250
+ */
251
+
252
+ progress {
253
+ vertical-align: baseline;
254
+ }
255
+
256
+ /*
257
+ Correct the cursor style of increment and decrement buttons in Safari.
258
+ */
259
+
260
+ ::-webkit-inner-spin-button,
261
+ ::-webkit-outer-spin-button {
262
+ height: auto;
263
+ }
264
+
265
+ /*
266
+ 1. Correct the odd appearance in Chrome and Safari.
267
+ 2. Correct the outline style in Safari.
268
+ */
269
+
270
+ [type='search'] {
271
+ -webkit-appearance: textfield;
272
+ /* 1 */
273
+ outline-offset: -2px;
274
+ /* 2 */
275
+ }
276
+
277
+ /*
278
+ Remove the inner padding in Chrome and Safari on macOS.
279
+ */
280
+
281
+ ::-webkit-search-decoration {
282
+ -webkit-appearance: none;
283
+ }
284
+
285
+ /*
286
+ 1. Correct the inability to style clickable types in iOS and Safari.
287
+ 2. Change font properties to `inherit` in Safari.
288
+ */
289
+
290
+ ::-webkit-file-upload-button {
291
+ -webkit-appearance: button;
292
+ /* 1 */
293
+ font: inherit;
294
+ /* 2 */
295
+ }
296
+
297
+ /*
298
+ Add the correct display in Chrome and Safari.
299
+ */
300
+
301
+ summary {
302
+ display: list-item;
303
+ }
304
+
305
+ /*
306
+ Removes the default spacing and border for appropriate elements.
307
+ */
308
+
309
+ blockquote,
310
+ dl,
311
+ dd,
312
+ h1,
313
+ h2,
314
+ h3,
315
+ h4,
316
+ h5,
317
+ h6,
318
+ hr,
319
+ figure,
320
+ p,
321
+ pre {
322
+ margin: 0;
323
+ }
324
+
325
+ fieldset {
326
+ margin: 0;
327
+ padding: 0;
328
+ }
329
+
330
+ legend {
331
+ padding: 0;
332
+ }
333
+
334
+ ol,
335
+ ul,
336
+ menu {
337
+ list-style: none;
338
+ margin: 0;
339
+ padding: 0;
340
+ }
341
+
342
+ /*
343
+ Prevent resizing textareas horizontally by default.
344
+ */
345
+
346
+ textarea {
347
+ resize: vertical;
348
+ }
349
+
350
+ /*
351
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
352
+ 2. Set the default placeholder color to the user's configured gray 400 color.
353
+ */
354
+
355
+ input::placeholder,
356
+ textarea::placeholder {
357
+ opacity: 1;
358
+ /* 1 */
359
+ color: #9ca3af;
360
+ /* 2 */
361
+ }
362
+
363
+ /*
364
+ Set the default cursor for buttons.
365
+ */
366
+
367
+ button,
368
+ [role="button"] {
369
+ cursor: pointer;
370
+ }
371
+
372
+ /*
373
+ Make sure disabled buttons don't get the pointer cursor.
374
+ */
375
+
376
+ :disabled {
377
+ cursor: default;
378
+ }
379
+
380
+ /*
381
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
382
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
383
+ This can trigger a poorly considered lint error in some tools but is included by design.
384
+ */
385
+
386
+ img,
387
+ svg,
388
+ video,
389
+ canvas,
390
+ audio,
391
+ iframe,
392
+ embed,
393
+ object {
394
+ display: block;
395
+ /* 1 */
396
+ vertical-align: middle;
397
+ /* 2 */
398
+ }
399
+
400
+ /*
401
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
402
+ */
403
+
404
+ img,
405
+ video {
406
+ max-width: 100%;
407
+ height: auto;
408
+ }
409
+
410
+ /* Make elements with the HTML hidden attribute stay hidden by default */
411
+
412
+ [hidden] {
413
+ display: none;
414
+ }
415
+
416
+ *, ::before, ::after {
417
+ --tw-border-spacing-x: 0;
418
+ --tw-border-spacing-y: 0;
419
+ --tw-translate-x: 0;
420
+ --tw-translate-y: 0;
421
+ --tw-rotate: 0;
422
+ --tw-skew-x: 0;
423
+ --tw-skew-y: 0;
424
+ --tw-scale-x: 1;
425
+ --tw-scale-y: 1;
426
+ --tw-pan-x: ;
427
+ --tw-pan-y: ;
428
+ --tw-pinch-zoom: ;
429
+ --tw-scroll-snap-strictness: proximity;
430
+ --tw-gradient-from-position: ;
431
+ --tw-gradient-via-position: ;
432
+ --tw-gradient-to-position: ;
433
+ --tw-ordinal: ;
434
+ --tw-slashed-zero: ;
435
+ --tw-numeric-figure: ;
436
+ --tw-numeric-spacing: ;
437
+ --tw-numeric-fraction: ;
438
+ --tw-ring-inset: ;
439
+ --tw-ring-offset-width: 0px;
440
+ --tw-ring-offset-color: #fff;
441
+ --tw-ring-color: rgb(59 130 246 / 0.5);
442
+ --tw-ring-offset-shadow: 0 0 #0000;
443
+ --tw-ring-shadow: 0 0 #0000;
444
+ --tw-shadow: 0 0 #0000;
445
+ --tw-shadow-colored: 0 0 #0000;
446
+ --tw-blur: ;
447
+ --tw-brightness: ;
448
+ --tw-contrast: ;
449
+ --tw-grayscale: ;
450
+ --tw-hue-rotate: ;
451
+ --tw-invert: ;
452
+ --tw-saturate: ;
453
+ --tw-sepia: ;
454
+ --tw-drop-shadow: ;
455
+ --tw-backdrop-blur: ;
456
+ --tw-backdrop-brightness: ;
457
+ --tw-backdrop-contrast: ;
458
+ --tw-backdrop-grayscale: ;
459
+ --tw-backdrop-hue-rotate: ;
460
+ --tw-backdrop-invert: ;
461
+ --tw-backdrop-opacity: ;
462
+ --tw-backdrop-saturate: ;
463
+ --tw-backdrop-sepia: ;
464
+ }
465
+
466
+ ::backdrop {
467
+ --tw-border-spacing-x: 0;
468
+ --tw-border-spacing-y: 0;
469
+ --tw-translate-x: 0;
470
+ --tw-translate-y: 0;
471
+ --tw-rotate: 0;
472
+ --tw-skew-x: 0;
473
+ --tw-skew-y: 0;
474
+ --tw-scale-x: 1;
475
+ --tw-scale-y: 1;
476
+ --tw-pan-x: ;
477
+ --tw-pan-y: ;
478
+ --tw-pinch-zoom: ;
479
+ --tw-scroll-snap-strictness: proximity;
480
+ --tw-gradient-from-position: ;
481
+ --tw-gradient-via-position: ;
482
+ --tw-gradient-to-position: ;
483
+ --tw-ordinal: ;
484
+ --tw-slashed-zero: ;
485
+ --tw-numeric-figure: ;
486
+ --tw-numeric-spacing: ;
487
+ --tw-numeric-fraction: ;
488
+ --tw-ring-inset: ;
489
+ --tw-ring-offset-width: 0px;
490
+ --tw-ring-offset-color: #fff;
491
+ --tw-ring-color: rgb(59 130 246 / 0.5);
492
+ --tw-ring-offset-shadow: 0 0 #0000;
493
+ --tw-ring-shadow: 0 0 #0000;
494
+ --tw-shadow: 0 0 #0000;
495
+ --tw-shadow-colored: 0 0 #0000;
496
+ --tw-blur: ;
497
+ --tw-brightness: ;
498
+ --tw-contrast: ;
499
+ --tw-grayscale: ;
500
+ --tw-hue-rotate: ;
501
+ --tw-invert: ;
502
+ --tw-saturate: ;
503
+ --tw-sepia: ;
504
+ --tw-drop-shadow: ;
505
+ --tw-backdrop-blur: ;
506
+ --tw-backdrop-brightness: ;
507
+ --tw-backdrop-contrast: ;
508
+ --tw-backdrop-grayscale: ;
509
+ --tw-backdrop-hue-rotate: ;
510
+ --tw-backdrop-invert: ;
511
+ --tw-backdrop-opacity: ;
512
+ --tw-backdrop-saturate: ;
513
+ --tw-backdrop-sepia: ;
514
+ }
515
+
516
+ .accordion_content {
517
+ height: 0px;
518
+ width: 100%;
519
+ overflow: hidden;
520
+ transition-property: all;
521
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
522
+ transition-duration: 300ms;
523
+ }
524
+
525
+ .accordion_toggle {
526
+ cursor: pointer;
527
+ }