showcase-rails 0.3.2 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,588 +1,29 @@
1
1
  /*
2
- ! tailwindcss v3.2.7 | MIT License | https://tailwindcss.com
3
- */
2
+ ! tailwindcss v3.2.7 | MIT License | https://tailwindcss.com
3
+ */
4
4
 
5
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
- */
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
9
 
10
- *,
11
- ::before,
12
- ::after {
10
+ * {
13
11
  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
12
  }
27
13
 
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
- */
35
-
36
14
  html {
37
15
  line-height: 1.5;
38
- /* 1 */
39
- -webkit-text-size-adjust: 100%;
40
- /* 2 */
41
- -moz-tab-size: 4;
42
- /* 3 */
43
- -o-tab-size: 4;
44
- tab-size: 4;
45
- /* 3 */
46
16
  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";
47
- /* 4 */
48
- font-feature-settings: normal;
49
- /* 5 */
50
17
  }
51
18
 
52
- /*
53
- 1. Remove the margin in all browsers.
54
- 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
55
- */
56
-
57
19
  body {
58
20
  margin: 0;
59
- /* 1 */
60
- line-height: inherit;
61
- /* 2 */
62
- }
63
-
64
- /*
65
- 1. Add the correct height in Firefox.
66
- 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
67
- 3. Ensure horizontal rules are visible by default.
68
- */
69
-
70
- hr {
71
- height: 0;
72
- /* 1 */
73
- color: inherit;
74
- /* 2 */
75
- border-top-width: 1px;
76
- /* 3 */
77
- }
78
-
79
- /*
80
- Add the correct text decoration in Chrome, Edge, and Safari.
81
- */
82
-
83
- abbr:where([title]) {
84
- -webkit-text-decoration: underline dotted;
85
- text-decoration: underline dotted;
86
- }
87
-
88
- /*
89
- Remove the default font size and weight for headings.
90
- */
91
-
92
- h1,
93
- h2,
94
- h3,
95
- h4,
96
- h5,
97
- h6 {
98
- font-size: inherit;
99
- font-weight: inherit;
100
- }
101
-
102
- /*
103
- Reset links to optimize for opt-in styling instead of opt-out.
104
- */
105
-
106
- a {
107
- color: inherit;
108
- text-decoration: inherit;
109
21
  }
110
22
 
111
- /*
112
- Add the correct font weight in Edge and Safari.
113
- */
114
-
115
- b,
116
- strong {
117
- font-weight: bolder;
118
- }
119
-
120
- /*
121
- 1. Use the user's configured `mono` font family by default.
122
- 2. Correct the odd `em` font sizing in all browsers.
123
- */
124
-
125
- code,
126
- kbd,
127
- samp,
128
23
  pre {
24
+ margin: 0;
129
25
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
130
- /* 1 */
131
26
  font-size: 1em;
132
- /* 2 */
133
- }
134
-
135
- /*
136
- Add the correct font size in all browsers.
137
- */
138
-
139
- small {
140
- font-size: 80%;
141
- }
142
-
143
- /*
144
- Prevent `sub` and `sup` elements from affecting the line height in all browsers.
145
- */
146
-
147
- sub,
148
- sup {
149
- font-size: 75%;
150
- line-height: 0;
151
- position: relative;
152
- vertical-align: baseline;
153
- }
154
-
155
- sub {
156
- bottom: -0.25em;
157
- }
158
-
159
- sup {
160
- top: -0.5em;
161
- }
162
-
163
- /*
164
- 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)
165
- 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)
166
- 3. Remove gaps between table borders by default.
167
- */
168
-
169
- table {
170
- text-indent: 0;
171
- /* 1 */
172
- border-color: inherit;
173
- /* 2 */
174
- border-collapse: collapse;
175
- /* 3 */
176
- }
177
-
178
- /*
179
- 1. Change the font styles in all browsers.
180
- 2. Remove the margin in Firefox and Safari.
181
- 3. Remove default padding in all browsers.
182
- */
183
-
184
- button,
185
- input,
186
- optgroup,
187
- select,
188
- textarea {
189
- font-family: inherit;
190
- /* 1 */
191
- font-size: 100%;
192
- /* 1 */
193
- font-weight: inherit;
194
- /* 1 */
195
- line-height: inherit;
196
- /* 1 */
197
- color: inherit;
198
- /* 1 */
199
- margin: 0;
200
- /* 2 */
201
- padding: 0;
202
- /* 3 */
203
- }
204
-
205
- /*
206
- Remove the inheritance of text transform in Edge and Firefox.
207
- */
208
-
209
- button,
210
- select {
211
- text-transform: none;
212
- }
213
-
214
- /*
215
- 1. Correct the inability to style clickable types in iOS and Safari.
216
- 2. Remove default button styles.
217
- */
218
-
219
- button,
220
- [type='button'],
221
- [type='reset'],
222
- [type='submit'] {
223
- -webkit-appearance: button;
224
- /* 1 */
225
- background-color: transparent;
226
- /* 2 */
227
- background-image: none;
228
- /* 2 */
229
- }
230
-
231
- /*
232
- Use the modern Firefox focus style for all focusable elements.
233
- */
234
-
235
- :-moz-focusring {
236
- outline: auto;
237
- }
238
-
239
- /*
240
- Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
241
- */
242
-
243
- :-moz-ui-invalid {
244
- box-shadow: none;
245
- }
246
-
247
- /*
248
- Add the correct vertical alignment in Chrome and Firefox.
249
- */
250
-
251
- progress {
252
- vertical-align: baseline;
253
- }
254
-
255
- /*
256
- Correct the cursor style of increment and decrement buttons in Safari.
257
- */
258
-
259
- ::-webkit-inner-spin-button,
260
- ::-webkit-outer-spin-button {
261
- height: auto;
262
- }
263
-
264
- /*
265
- 1. Correct the odd appearance in Chrome and Safari.
266
- 2. Correct the outline style in Safari.
267
- */
268
-
269
- [type='search'] {
270
- -webkit-appearance: textfield;
271
- /* 1 */
272
- outline-offset: -2px;
273
- /* 2 */
274
- }
275
-
276
- /*
277
- Remove the inner padding in Chrome and Safari on macOS.
278
- */
279
-
280
- ::-webkit-search-decoration {
281
- -webkit-appearance: none;
282
- }
283
-
284
- /*
285
- 1. Correct the inability to style clickable types in iOS and Safari.
286
- 2. Change font properties to `inherit` in Safari.
287
- */
288
-
289
- ::-webkit-file-upload-button {
290
- -webkit-appearance: button;
291
- /* 1 */
292
- font: inherit;
293
- /* 2 */
294
- }
295
-
296
- /*
297
- Add the correct display in Chrome and Safari.
298
- */
299
-
300
- summary {
301
- display: list-item;
302
- }
303
-
304
- /*
305
- Removes the default spacing and border for appropriate elements.
306
- */
307
-
308
- blockquote,
309
- dl,
310
- dd,
311
- h1,
312
- h2,
313
- h3,
314
- h4,
315
- h5,
316
- h6,
317
- hr,
318
- figure,
319
- p,
320
- pre {
321
- margin: 0;
322
- }
323
-
324
- fieldset {
325
- margin: 0;
326
- padding: 0;
327
- }
328
-
329
- legend {
330
- padding: 0;
331
- }
332
-
333
- ol,
334
- ul,
335
- menu {
336
- list-style: none;
337
- margin: 0;
338
- padding: 0;
339
- }
340
-
341
- /*
342
- Prevent resizing textareas horizontally by default.
343
- */
344
-
345
- textarea {
346
- resize: vertical;
347
- }
348
-
349
- /*
350
- 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
351
- 2. Set the default placeholder color to the user's configured gray 400 color.
352
- */
353
-
354
- input::-moz-placeholder, textarea::-moz-placeholder {
355
- opacity: 1;
356
- /* 1 */
357
- color: #9ca3af;
358
- /* 2 */
359
- }
360
-
361
- input::placeholder,
362
- textarea::placeholder {
363
- opacity: 1;
364
- /* 1 */
365
- color: #9ca3af;
366
- /* 2 */
367
- }
368
-
369
- /*
370
- Set the default cursor for buttons.
371
- */
372
-
373
- button,
374
- [role="button"] {
375
- cursor: pointer;
376
- }
377
-
378
- /*
379
- Make sure disabled buttons don't get the pointer cursor.
380
- */
381
-
382
- :disabled {
383
- cursor: default;
384
- }
385
-
386
- /*
387
- 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
388
- 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
389
- This can trigger a poorly considered lint error in some tools but is included by design.
390
- */
391
-
392
- img,
393
- svg,
394
- video,
395
- canvas,
396
- audio,
397
- iframe,
398
- embed,
399
- object {
400
- display: block;
401
- /* 1 */
402
- vertical-align: middle;
403
- /* 2 */
404
- }
405
-
406
- /*
407
- Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
408
- */
409
-
410
- img,
411
- video {
412
- max-width: 100%;
413
- height: auto;
414
- }
415
-
416
- /* Make elements with the HTML hidden attribute stay hidden by default */
417
-
418
- [hidden] {
419
- display: none;
420
- }
421
-
422
- [type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
423
- -webkit-appearance: none;
424
- -moz-appearance: none;
425
- appearance: none;
426
- background-color: #fff;
427
- border-color: #6b7280;
428
- border-width: 1px;
429
- border-radius: 0px;
430
- padding-top: 0.5rem;
431
- padding-right: 0.75rem;
432
- padding-bottom: 0.5rem;
433
- padding-left: 0.75rem;
434
- font-size: 1rem;
435
- line-height: 1.5rem;
436
- --tw-shadow: 0 0 #0000;
437
- }
438
-
439
- [type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
440
- outline: 2px solid transparent;
441
- outline-offset: 2px;
442
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
443
- --tw-ring-offset-width: 0px;
444
- --tw-ring-offset-color: #fff;
445
- --tw-ring-color: #2563eb;
446
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
447
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
448
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
449
- border-color: #2563eb;
450
- }
451
-
452
- input::-moz-placeholder, textarea::-moz-placeholder {
453
- color: #6b7280;
454
- opacity: 1;
455
- }
456
-
457
- input::placeholder,textarea::placeholder {
458
- color: #6b7280;
459
- opacity: 1;
460
- }
461
-
462
- ::-webkit-datetime-edit-fields-wrapper {
463
- padding: 0;
464
- }
465
-
466
- ::-webkit-date-and-time-value {
467
- min-height: 1.5em;
468
- }
469
-
470
- ::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
471
- padding-top: 0;
472
- padding-bottom: 0;
473
- }
474
-
475
- select {
476
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
477
- background-position: right 0.5rem center;
478
- background-repeat: no-repeat;
479
- background-size: 1.5em 1.5em;
480
- padding-right: 2.5rem;
481
- -webkit-print-color-adjust: exact;
482
- print-color-adjust: exact;
483
- }
484
-
485
- [multiple] {
486
- background-image: initial;
487
- background-position: initial;
488
- background-repeat: unset;
489
- background-size: initial;
490
- padding-right: 0.75rem;
491
- -webkit-print-color-adjust: unset;
492
- print-color-adjust: unset;
493
- }
494
-
495
- [type='checkbox'],[type='radio'] {
496
- -webkit-appearance: none;
497
- -moz-appearance: none;
498
- appearance: none;
499
- padding: 0;
500
- -webkit-print-color-adjust: exact;
501
- print-color-adjust: exact;
502
- display: inline-block;
503
- vertical-align: middle;
504
- background-origin: border-box;
505
- -webkit-user-select: none;
506
- -moz-user-select: none;
507
- user-select: none;
508
- flex-shrink: 0;
509
- height: 1rem;
510
- width: 1rem;
511
- color: #2563eb;
512
- background-color: #fff;
513
- border-color: #6b7280;
514
- border-width: 1px;
515
- --tw-shadow: 0 0 #0000;
516
- }
517
-
518
- [type='checkbox'] {
519
- border-radius: 0px;
520
- }
521
-
522
- [type='radio'] {
523
- border-radius: 100%;
524
- }
525
-
526
- [type='checkbox']:focus,[type='radio']:focus {
527
- outline: 2px solid transparent;
528
- outline-offset: 2px;
529
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
530
- --tw-ring-offset-width: 2px;
531
- --tw-ring-offset-color: #fff;
532
- --tw-ring-color: #2563eb;
533
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
534
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
535
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
536
- }
537
-
538
- [type='checkbox']:checked,[type='radio']:checked {
539
- border-color: transparent;
540
- background-color: currentColor;
541
- background-size: 100% 100%;
542
- background-position: center;
543
- background-repeat: no-repeat;
544
- }
545
-
546
- [type='checkbox']:checked {
547
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
548
- }
549
-
550
- [type='radio']:checked {
551
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
552
- }
553
-
554
- [type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
555
- border-color: transparent;
556
- background-color: currentColor;
557
- }
558
-
559
- [type='checkbox']:indeterminate {
560
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
561
- border-color: transparent;
562
- background-color: currentColor;
563
- background-size: 100% 100%;
564
- background-position: center;
565
- background-repeat: no-repeat;
566
- }
567
-
568
- [type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
569
- border-color: transparent;
570
- background-color: currentColor;
571
- }
572
-
573
- [type='file'] {
574
- background: unset;
575
- border-color: inherit;
576
- border-width: 0;
577
- border-radius: 0;
578
- padding: 0;
579
- font-size: unset;
580
- line-height: inherit;
581
- }
582
-
583
- [type='file']:focus {
584
- outline: 1px solid ButtonText;
585
- outline: 1px auto -webkit-focus-ring-color;
586
27
  }
587
28
 
588
29
  *, ::before, ::after {
@@ -679,6 +120,15 @@ select {
679
120
  --tw-backdrop-sepia: ;
680
121
  }
681
122
 
123
+ .sc-link {
124
+ color: inherit !important;
125
+ text-decoration-line: none;
126
+ }
127
+
128
+ .sc-link:hover {
129
+ text-decoration-line: underline;
130
+ }
131
+
682
132
  .sc-relative {
683
133
  position: relative;
684
134
  }
@@ -691,6 +141,10 @@ select {
691
141
  grid-column: span 9 / span 9;
692
142
  }
693
143
 
144
+ .sc-m-0 {
145
+ margin: 0px;
146
+ }
147
+
694
148
  .sc-m-2 {
695
149
  margin: 0.5rem;
696
150
  }
@@ -707,6 +161,10 @@ select {
707
161
  margin-top: 0.25rem;
708
162
  }
709
163
 
164
+ .sc-block {
165
+ display: block;
166
+ }
167
+
710
168
  .sc-inline-block {
711
169
  display: inline-block;
712
170
  }
@@ -723,6 +181,10 @@ select {
723
181
  display: grid;
724
182
  }
725
183
 
184
+ .sc-list-item {
185
+ display: list-item;
186
+ }
187
+
726
188
  .sc-h-full {
727
189
  height: 100%;
728
190
  }
@@ -788,12 +250,6 @@ select {
788
250
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
789
251
  }
790
252
 
791
- .sc-space-y-4 > :not([hidden]) ~ :not([hidden]) {
792
- --tw-space-y-reverse: 0;
793
- margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
794
- margin-bottom: calc(1rem * var(--tw-space-y-reverse));
795
- }
796
-
797
253
  .sc-space-y-8 > :not([hidden]) ~ :not([hidden]) {
798
254
  --tw-space-y-reverse: 0;
799
255
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
@@ -839,6 +295,10 @@ select {
839
295
  border-width: 1px;
840
296
  }
841
297
 
298
+ .sc-border-0 {
299
+ border-width: 0px;
300
+ }
301
+
842
302
  .sc-border-2 {
843
303
  border-width: 2px;
844
304
  }
@@ -851,6 +311,10 @@ select {
851
311
  border-top-width: 1px;
852
312
  }
853
313
 
314
+ .sc-border-solid {
315
+ border-style: solid;
316
+ }
317
+
854
318
  .sc-border-gray-200 {
855
319
  --tw-border-opacity: 1;
856
320
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
@@ -875,6 +339,10 @@ select {
875
339
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
876
340
  }
877
341
 
342
+ .sc-p-0 {
343
+ padding: 0px;
344
+ }
345
+
878
346
  .sc-p-12 {
879
347
  padding: 3rem;
880
348
  }
@@ -903,15 +371,18 @@ select {
903
371
  padding-bottom: 0.5rem;
904
372
  }
905
373
 
906
- .sc-py-5 {
907
- padding-top: 1.25rem;
908
- padding-bottom: 1.25rem;
374
+ .sc-pb-2 {
375
+ padding-bottom: 0.5rem;
909
376
  }
910
377
 
911
378
  .sc-pl-4 {
912
379
  padding-left: 1rem;
913
380
  }
914
381
 
382
+ .sc-pt-5 {
383
+ padding-top: 1.25rem;
384
+ }
385
+
915
386
  .sc-pt-7 {
916
387
  padding-top: 1.75rem;
917
388
  }
@@ -998,10 +469,6 @@ select {
998
469
  background-color: rgb(238 242 255 / var(--tw-bg-opacity));
999
470
  }
1000
471
 
1001
- .hover\:sc-underline:hover {
1002
- text-decoration-line: underline;
1003
- }
1004
-
1005
472
  @media (prefers-color-scheme: dark) {
1006
473
  .dark\:sc-bg-neutral-700\/50 {
1007
474
  background-color: rgb(64 64 64 / 0.5);
@@ -1046,4 +513,4 @@ select {
1046
513
  .xl\:sc-col-span-2 {
1047
514
  grid-column: span 2 / span 2;
1048
515
  }
1049
- }
516
+ }