@phantompixeldev/retrocss 2.8.1 → 3.0.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.
package/dist/retro.css CHANGED
@@ -339,13 +339,13 @@
339
339
  --retro-font: MS Sans Serif, Microsoft Sans Serif, Arial, sans-serif;
340
340
  --retro-font-heading: MS Sans Serif, Microsoft Sans Serif, Arial, sans-serif;
341
341
  --retro-font-mono: Courier New, Courier, monospace;
342
- --retro-font-size: 0.875rem;
343
- --retro-font-size-xs: 0.6875rem;
344
- --retro-font-size-sm: 0.75rem;
345
- --retro-font-size-lg: 1rem;
346
- --retro-font-size-xl: 1.125rem;
347
- --retro-font-size-2xl: 1.375rem;
348
- --retro-font-size-3xl: 1.75rem;
342
+ --retro-font-size: 1rem;
343
+ --retro-font-size-xs: 0.75rem;
344
+ --retro-font-size-sm: 0.875rem;
345
+ --retro-font-size-lg: 1.125rem;
346
+ --retro-font-size-xl: 1.25rem;
347
+ --retro-font-size-2xl: 1.5rem;
348
+ --retro-font-size-3xl: 1.875rem;
349
349
  --retro-line-height: 1.5;
350
350
  --retro-line-height-tight: 1.25;
351
351
  --retro-font-weight-normal: 400;
@@ -628,7 +628,7 @@
628
628
  box-sizing: border-box;
629
629
  margin: 0;
630
630
  padding: 0;
631
- border-radius: 0 !important;
631
+ border-radius: 0;
632
632
  box-shadow: none;
633
633
  transition: none;
634
634
  }
@@ -977,7 +977,6 @@ h5, h6 {
977
977
  font-size: var(--retro-font-size-2xl);
978
978
  font-weight: var(--retro-font-weight-bold);
979
979
  text-transform: uppercase;
980
- letter-spacing: 0.08em;
981
980
  padding: 0.5rem 1.2rem;
982
981
  margin-bottom: 0.5rem;
983
982
  color: var(--retro-text);
@@ -1040,6 +1039,7 @@ h5, h6 {
1040
1039
  .retro-heading-primary, .retro-heading-success, .retro-heading-warning, .retro-heading-danger, .retro-heading-info, .retro-heading-teal, .retro-heading-pink, .retro-heading-lime {
1041
1040
  padding: var(--retro-spacing-sm) var(--retro-spacing-md);
1042
1041
  margin-bottom: var(--retro-spacing-md);
1042
+ min-width: 0;
1043
1043
  border: 2px solid;
1044
1044
  position: relative;
1045
1045
  font-family: var(--retro-font-heading);
@@ -1440,6 +1440,16 @@ h5, h6 {
1440
1440
  .retro-code .retro-code-copy:active {
1441
1441
  box-shadow: inset 1px 1px 0 var(--retro-shadow-light), inset -1px -1px 0 var(--retro-border-dark);
1442
1442
  }
1443
+ .retro-code .retro-code-copy.retro-code-copy-ok {
1444
+ background: var(--retro-success);
1445
+ color: var(--retro-success-fg);
1446
+ border-color: var(--retro-success-active);
1447
+ }
1448
+ .retro-code .retro-code-copy.retro-code-copy-fail {
1449
+ background: var(--retro-danger);
1450
+ color: var(--retro-danger-fg);
1451
+ border-color: var(--retro-danger-active);
1452
+ }
1443
1453
  .retro-code code {
1444
1454
  display: block;
1445
1455
  padding: 1.2rem;
@@ -1779,7 +1789,7 @@ h5, h6 {
1779
1789
  text-shadow: none;
1780
1790
  padding: 8px 16px;
1781
1791
  font-weight: bold;
1782
- font-size: 0.875rem;
1792
+ font-size: 1rem;
1783
1793
  user-select: none;
1784
1794
  display: block;
1785
1795
  text-align: left;
@@ -1789,7 +1799,7 @@ h5, h6 {
1789
1799
  padding: 16px 16px;
1790
1800
  background: var(--retro-card-content-bg);
1791
1801
  border-top: 2px solid var(--retro-card-content-bg);
1792
- font-size: 0.875rem;
1802
+ font-size: 1rem;
1793
1803
  color: var(--retro-card-content-text);
1794
1804
  min-height: 2em;
1795
1805
  text-align: left;
@@ -1800,7 +1810,7 @@ h5, h6 {
1800
1810
  border-top: 2px solid var(--retro-card-footer-bg);
1801
1811
  color: var(--retro-card-footer-text);
1802
1812
  padding: 8px 16px;
1803
- font-size: 0.75rem;
1813
+ font-size: 0.875rem;
1804
1814
  text-align: left;
1805
1815
  }
1806
1816
 
@@ -1814,7 +1824,7 @@ h5, h6 {
1814
1824
 
1815
1825
  .retro-card-compact .retro-card-content {
1816
1826
  padding: 4px 8px;
1817
- font-size: 0.75rem;
1827
+ font-size: 0.875rem;
1818
1828
  }
1819
1829
 
1820
1830
  /* RetroCSS - A Retro-Inspired CSS Framework */
@@ -1961,7 +1971,7 @@ input[type=color].retro-input {
1961
1971
  width: 48px;
1962
1972
  height: 36px;
1963
1973
  padding: 2px;
1964
- border-radius: 4px;
1974
+ border-radius: var(--retro-border-radius);
1965
1975
  border: 2px solid var(--retro-border-dark);
1966
1976
  background: var(--retro-input-bg);
1967
1977
  box-shadow: 1px 1px 0 var(--retro-border-light);
@@ -1973,7 +1983,7 @@ input[type=range].retro-input {
1973
1983
  background: transparent;
1974
1984
  appearance: none;
1975
1985
  height: 6px;
1976
- border-radius: 4px;
1986
+ border-radius: var(--retro-border-radius);
1977
1987
  outline: none;
1978
1988
  border: 2px solid var(--retro-border-dark);
1979
1989
  box-shadow: 1px 1px 0 var(--retro-border-light);
@@ -1983,7 +1993,7 @@ input[type=range].retro-input::-webkit-slider-thumb {
1983
1993
  appearance: none;
1984
1994
  width: 18px;
1985
1995
  height: 18px;
1986
- border-radius: 4px;
1996
+ border-radius: var(--retro-border-radius);
1987
1997
  background: var(--retro-primary);
1988
1998
  border: 2px solid var(--retro-border-dark);
1989
1999
  box-shadow: 1px 1px 0 var(--retro-border-light);
@@ -1993,7 +2003,7 @@ input[type=range].retro-input::-webkit-slider-thumb {
1993
2003
  input[type=range].retro-input::-moz-range-thumb {
1994
2004
  width: 18px;
1995
2005
  height: 18px;
1996
- border-radius: 4px;
2006
+ border-radius: var(--retro-border-radius);
1997
2007
  background: var(--retro-primary);
1998
2008
  border: 2px solid var(--retro-border-dark);
1999
2009
  box-shadow: 1px 1px 0 var(--retro-border-light);
@@ -2003,7 +2013,7 @@ input[type=range].retro-input::-moz-range-thumb {
2003
2013
  input[type=range].retro-input::-ms-thumb {
2004
2014
  width: 18px;
2005
2015
  height: 18px;
2006
- border-radius: 4px;
2016
+ border-radius: var(--retro-border-radius);
2007
2017
  background: var(--retro-primary);
2008
2018
  border: 2px solid var(--retro-border-dark);
2009
2019
  box-shadow: 1px 1px 0 var(--retro-border-light);
@@ -2013,7 +2023,7 @@ input[type=range].retro-input::-ms-thumb {
2013
2023
  input[type=range].retro-input::-webkit-slider-runnable-track {
2014
2024
  height: 6px;
2015
2025
  background: var(--retro-input-bg);
2016
- border-radius: 4px;
2026
+ border-radius: var(--retro-border-radius);
2017
2027
  }
2018
2028
 
2019
2029
  input[type=range].retro-input::-ms-fill-lower,
@@ -2576,7 +2586,7 @@ input[type=radio].retro-input:focus-visible {
2576
2586
  min-width: 0;
2577
2587
  }
2578
2588
 
2579
- .retro-toast-close {
2589
+ .retro-alert-close, .retro-toast-close {
2580
2590
  background: none;
2581
2591
  border: none;
2582
2592
  color: inherit;
@@ -2584,12 +2594,15 @@ input[type=radio].retro-input:focus-visible {
2584
2594
  font-weight: bold;
2585
2595
  margin-left: auto;
2586
2596
  cursor: pointer;
2587
- opacity: 0.7;
2588
- transition: opacity 0.2s;
2597
+ opacity: 1;
2598
+ line-height: 1;
2599
+ padding: 0 0.25em;
2600
+ transition: background-color 0.2s;
2589
2601
  }
2590
2602
 
2591
- .retro-toast-close:hover {
2592
- opacity: 1;
2603
+ .retro-alert-close:hover, .retro-toast-close:hover,
2604
+ .retro-alert-close:focus-visible, .retro-toast-close:focus-visible {
2605
+ background-color: rgba(var(--retro-shadow-rgb), 0.18);
2593
2606
  }
2594
2607
 
2595
2608
  .retro-alert-primary {
@@ -2735,7 +2748,7 @@ input[type=radio].retro-input:focus-visible {
2735
2748
  background-color: var(--retro-table-bg);
2736
2749
  color: var(--retro-table-header-text);
2737
2750
  font-family: var(--retro-font);
2738
- font-size: 0.875rem;
2751
+ font-size: 1rem;
2739
2752
  box-shadow: var(--retro-box-shadow-outset-button);
2740
2753
  overflow-x: auto;
2741
2754
  margin-bottom: var(--retro-spacing-md);
@@ -2765,12 +2778,43 @@ input[type=radio].retro-input:focus-visible {
2765
2778
  .retro-table tbody tr:hover {
2766
2779
  background-color: var(--retro-table-striped-bg);
2767
2780
  }
2781
+ .retro-table thead th.retro-th-sortable {
2782
+ cursor: pointer;
2783
+ user-select: none;
2784
+ padding-right: calc(var(--retro-spacing-md) + 14px);
2785
+ position: relative;
2786
+ }
2787
+ .retro-table thead th.retro-th-sortable:hover {
2788
+ background-color: var(--retro-primary);
2789
+ color: var(--retro-primary-fg);
2790
+ }
2791
+ .retro-table thead th.retro-th-sortable:focus-visible {
2792
+ outline: 2px solid var(--retro-border-light);
2793
+ outline-offset: -3px;
2794
+ }
2795
+ .retro-table thead th.retro-th-sortable::after {
2796
+ content: "\11 95";
2797
+ position: absolute;
2798
+ right: 6px;
2799
+ top: 50%;
2800
+ transform: translateY(-50%);
2801
+ font-size: var(--retro-font-size-xs);
2802
+ opacity: 0.45;
2803
+ }
2804
+ .retro-table thead th.retro-th-sortable.asc::after {
2805
+ content: "\15 B2";
2806
+ opacity: 1;
2807
+ }
2808
+ .retro-table thead th.retro-th-sortable.desc::after {
2809
+ content: "\15 BC";
2810
+ opacity: 1;
2811
+ }
2768
2812
  .retro-table.retro-table-striped tbody tr:nth-child(odd) {
2769
2813
  background-color: var(--retro-table-striped-bg);
2770
2814
  }
2771
2815
  .retro-table.retro-table-striped tbody tr:nth-child(odd):hover {
2772
2816
  background-color: var(--retro-primary);
2773
- color: var(--retro-white);
2817
+ color: var(--retro-primary-fg);
2774
2818
  }
2775
2819
  .retro-table.retro-table-bordered {
2776
2820
  border: 2px solid var(--retro-border-dark);
@@ -2808,6 +2852,27 @@ input[type=radio].retro-input:focus-visible {
2808
2852
  width: 16px;
2809
2853
  }
2810
2854
 
2855
+ /**
2856
+ * @name Responsive Table Wrapper
2857
+ * @group components
2858
+ * @description
2859
+ * Horizontal scroll container for a wide table. `table-responsive.js` wraps
2860
+ * every `.retro-table` in this class — but the styles had been commented out,
2861
+ * so the wrapper was inert and wide tables simply overflowed the page on
2862
+ * narrow viewports.
2863
+ */
2864
+ .retro-table-responsive {
2865
+ display: block;
2866
+ width: 100%;
2867
+ max-width: 100%;
2868
+ min-width: 0;
2869
+ overflow-x: auto;
2870
+ -webkit-overflow-scrolling: touch;
2871
+ }
2872
+ .retro-table-responsive > .retro-table {
2873
+ margin-bottom: 0;
2874
+ }
2875
+
2811
2876
  /* RetroCSS - A Retro-Inspired CSS Framework */
2812
2877
  /* Main SCSS file that imports all components */
2813
2878
  /* Core */
@@ -3050,7 +3115,7 @@ input[type=radio].retro-input:focus-visible {
3050
3115
  }
3051
3116
  .retro-nav-item.active, .active.retro-tab {
3052
3117
  background: var(--retro-primary);
3053
- color: var(--retro-white);
3118
+ color: var(--retro-primary-fg);
3054
3119
  text-shadow: 0 1px 2px var(--retro-border-dark), 0 0 2px var(--retro-border-light);
3055
3120
  outline: 2px solid var(--retro-border-light);
3056
3121
  outline-offset: -2px;
@@ -3071,7 +3136,7 @@ input[type=radio].retro-input:focus-visible {
3071
3136
  }
3072
3137
 
3073
3138
  .retro-tab {
3074
- border-radius: 4px 4px 0 0;
3139
+ border-radius: var(--retro-border-radius) var(--retro-border-radius) 0 0;
3075
3140
  margin-right: -1px;
3076
3141
  margin-bottom: 0;
3077
3142
  background: var(--retro-light);
@@ -3125,6 +3190,7 @@ input[type=radio].retro-input:focus-visible {
3125
3190
  display: flex;
3126
3191
  flex-direction: column;
3127
3192
  width: max-content;
3193
+ max-width: 100%;
3128
3194
  border: 2px solid var(--retro-border-dark);
3129
3195
  background: var(--retro-light);
3130
3196
  padding: 0;
@@ -3165,11 +3231,11 @@ input[type=radio].retro-input:focus-visible {
3165
3231
  }
3166
3232
  .retro-nav-pills .retro-nav-item:hover, .retro-nav-pills .retro-tab:hover {
3167
3233
  background: var(--retro-primary);
3168
- color: var(--retro-white);
3234
+ color: var(--retro-primary-fg);
3169
3235
  }
3170
3236
  .retro-nav-pills .retro-nav-item.active, .retro-nav-pills .active.retro-tab {
3171
3237
  background: var(--retro-primary);
3172
- color: var(--retro-white);
3238
+ color: var(--retro-primary-fg);
3173
3239
  font-weight: bold;
3174
3240
  box-shadow: 0 1px 4px rgba(var(--retro-primary-rgb), 0.35) inset;
3175
3241
  }
@@ -3251,6 +3317,7 @@ input[type=radio].retro-input:focus-visible {
3251
3317
 
3252
3318
  .retro-nav-tabbed {
3253
3319
  display: flex;
3320
+ flex-wrap: wrap;
3254
3321
  padding: 0;
3255
3322
  margin: 0 0 -1px 0;
3256
3323
  background: transparent;
@@ -3284,6 +3351,7 @@ input[type=radio].retro-input:focus-visible {
3284
3351
 
3285
3352
  .retro-nav-underlined {
3286
3353
  display: flex;
3354
+ flex-wrap: wrap;
3287
3355
  padding: 0;
3288
3356
  margin: 0;
3289
3357
  background: transparent;
@@ -3326,6 +3394,7 @@ input[type=radio].retro-input:focus-visible {
3326
3394
 
3327
3395
  .retro-nav-buttons {
3328
3396
  display: inline-flex;
3397
+ flex-wrap: wrap;
3329
3398
  padding: 0;
3330
3399
  margin: 0;
3331
3400
  background: transparent;
@@ -3345,13 +3414,13 @@ input[type=radio].retro-input:focus-visible {
3345
3414
  }
3346
3415
  .retro-nav-buttons .retro-nav-item:first-child, .retro-nav-buttons .retro-tab:first-child {
3347
3416
  border-left: 2px solid var(--retro-border-dark);
3348
- border-top-left-radius: 3px;
3349
- border-bottom-left-radius: 3px;
3417
+ border-top-left-radius: var(--retro-border-radius);
3418
+ border-bottom-left-radius: var(--retro-border-radius);
3350
3419
  }
3351
3420
  .retro-nav-buttons .retro-nav-item:last-child, .retro-nav-buttons .retro-tab:last-child {
3352
3421
  border-right: 2px solid var(--retro-border-dark);
3353
- border-top-right-radius: 3px;
3354
- border-bottom-right-radius: 3px;
3422
+ border-top-right-radius: var(--retro-border-radius);
3423
+ border-bottom-right-radius: var(--retro-border-radius);
3355
3424
  }
3356
3425
  .retro-nav-buttons .retro-nav-item:hover, .retro-nav-buttons .retro-tab:hover {
3357
3426
  background: var(--retro-white);
@@ -3360,7 +3429,7 @@ input[type=radio].retro-input:focus-visible {
3360
3429
  }
3361
3430
  .retro-nav-buttons .retro-nav-item.active, .retro-nav-buttons .active.retro-tab {
3362
3431
  background: var(--retro-primary);
3363
- color: var(--retro-white);
3432
+ color: var(--retro-primary-fg);
3364
3433
  z-index: 2;
3365
3434
  }
3366
3435
 
@@ -3785,7 +3854,7 @@ input[type=radio].retro-input:focus-visible {
3785
3854
  min-width: 36px;
3786
3855
  padding: 4px 12px;
3787
3856
  font-size: var(--retro-font-size-lg);
3788
- border-radius: 2px;
3857
+ border-radius: var(--retro-border-radius);
3789
3858
  border: 2px solid var(--retro-border-dark);
3790
3859
  background: var(--retro-light);
3791
3860
  color: var(--retro-black);
@@ -3796,7 +3865,7 @@ input[type=radio].retro-input:focus-visible {
3796
3865
  .retro-pagination .retro-btn.active,
3797
3866
  .retro-pagination .retro-btn:active {
3798
3867
  background: var(--retro-primary);
3799
- color: var(--retro-white);
3868
+ color: var(--retro-primary-fg);
3800
3869
  font-weight: bold;
3801
3870
  border-color: var(--retro-primary);
3802
3871
  }
@@ -3807,11 +3876,12 @@ input[type=radio].retro-input:focus-visible {
3807
3876
  .retro-breadcrumbs {
3808
3877
  display: flex;
3809
3878
  align-items: center;
3879
+ flex-wrap: wrap;
3810
3880
  font-family: var(--retro-font);
3811
3881
  font-size: var(--retro-font-size-lg);
3812
3882
  background: var(--retro-card-bg);
3813
3883
  padding: 6px 12px;
3814
- border-radius: 2px;
3884
+ border-radius: var(--retro-border-radius);
3815
3885
  border: 1px solid var(--retro-border-dark);
3816
3886
  box-shadow: 1px 1px 0 var(--retro-border-light);
3817
3887
  gap: 4px;
@@ -3824,7 +3894,7 @@ input[type=radio].retro-input:focus-visible {
3824
3894
  align-items: center;
3825
3895
  gap: 2px;
3826
3896
  padding: 4px 10px;
3827
- border-radius: 2px;
3897
+ border-radius: var(--retro-border-radius);
3828
3898
  transition: background 0.2s;
3829
3899
  }
3830
3900
  .retro-breadcrumb.active {
@@ -3857,7 +3927,7 @@ input[type=radio].retro-input:focus-visible {
3857
3927
  }
3858
3928
  .retro-dropdown.open .retro-dropdown-toggle {
3859
3929
  background: var(--retro-primary);
3860
- color: var(--retro-white);
3930
+ color: var(--retro-primary-fg);
3861
3931
  border-color: var(--retro-primary-dark);
3862
3932
  }
3863
3933
 
@@ -3868,7 +3938,7 @@ input[type=radio].retro-input:focus-visible {
3868
3938
  justify-content: space-between;
3869
3939
  background: var(--retro-dropdown-bg);
3870
3940
  border: 2px solid var(--retro-border-dark);
3871
- border-radius: 2px;
3941
+ border-radius: var(--retro-border-radius);
3872
3942
  padding: 6px 16px;
3873
3943
  font-family: var(--retro-font);
3874
3944
  font-size: var(--retro-font-size-lg);
@@ -3900,7 +3970,7 @@ input[type=radio].retro-input:focus-visible {
3900
3970
  min-width: 100%;
3901
3971
  background: var(--retro-dropdown-bg);
3902
3972
  border: 2px solid var(--retro-border-dark);
3903
- border-radius: 2px;
3973
+ border-radius: var(--retro-border-radius);
3904
3974
  box-shadow: 2px 2px 0 var(--retro-border-light);
3905
3975
  z-index: 1000;
3906
3976
  margin-top: 2px;
@@ -3933,7 +4003,7 @@ input[type=radio].retro-input:focus-visible {
3933
4003
  }
3934
4004
  .retro-dropdown-item:hover {
3935
4005
  background: var(--retro-primary);
3936
- color: var(--retro-white);
4006
+ color: var(--retro-primary-fg);
3937
4007
  }
3938
4008
  .retro-dropdown-item:active {
3939
4009
  background: var(--retro-primary-dark);
@@ -3949,7 +4019,7 @@ input[type=radio].retro-input:focus-visible {
3949
4019
  align-items: flex-start;
3950
4020
  background: var(--retro-input-bg);
3951
4021
  border: 2px dashed var(--retro-border-dark);
3952
- border-radius: 4px;
4022
+ border-radius: var(--retro-border-radius);
3953
4023
  padding: 16px;
3954
4024
  box-shadow: 1px 1px 0 var(--retro-border-light);
3955
4025
  min-width: 260px;
@@ -3972,7 +4042,7 @@ input[type=radio].retro-input:focus-visible {
3972
4042
  text-align: center;
3973
4043
  background: var(--retro-input-bg);
3974
4044
  border: 1px solid var(--retro-border-medium);
3975
- border-radius: 4px;
4045
+ border-radius: var(--retro-border-radius);
3976
4046
  color: var(--retro-text-muted);
3977
4047
  font-size: var(--retro-font-size-lg);
3978
4048
  margin-top: 8px;
@@ -3995,7 +4065,7 @@ input[type=radio].retro-input:focus-visible {
3995
4065
  gap: 6px;
3996
4066
  background: var(--retro-input-bg);
3997
4067
  border: 2px solid var(--retro-border-dark);
3998
- border-radius: 4px;
4068
+ border-radius: var(--retro-border-radius);
3999
4069
  padding: 8px 12px;
4000
4070
  min-width: 220px;
4001
4071
  }
@@ -4051,7 +4121,7 @@ input[type=radio].retro-input:focus-visible {
4051
4121
  position: relative;
4052
4122
  background: var(--retro-input-bg);
4053
4123
  border: 2px solid var(--retro-border-dark);
4054
- border-radius: 4px;
4124
+ border-radius: var(--retro-border-radius);
4055
4125
  padding: 4px 12px;
4056
4126
  min-width: 220px;
4057
4127
  }
@@ -4080,7 +4150,7 @@ input[type=radio].retro-input:focus-visible {
4080
4150
  width: 100%;
4081
4151
  background: var(--retro-input-bg);
4082
4152
  border: 2px solid var(--retro-border-dark);
4083
- border-radius: 0 0 4px 4px;
4153
+ border-radius: 0 0 var(--retro-border-radius) var(--retro-border-radius);
4084
4154
  box-shadow: 2px 2px 0 var(--retro-border-light);
4085
4155
  z-index: 10;
4086
4156
  }
@@ -4102,7 +4172,7 @@ input[type=radio].retro-input:focus-visible {
4102
4172
  }
4103
4173
  .retro-search-suggestion:hover {
4104
4174
  background: var(--retro-primary);
4105
- color: var(--retro-white);
4175
+ color: var(--retro-primary-fg);
4106
4176
  }
4107
4177
 
4108
4178
  /* RetroCSS - A Retro-Inspired CSS Framework */
@@ -4116,13 +4186,13 @@ input[type=radio].retro-input:focus-visible {
4116
4186
 
4117
4187
  .retro-rating-star {
4118
4188
  font-size: var(--retro-font-size-3xl);
4119
- color: var(--retro-border-dark);
4189
+ color: var(--retro-text-muted);
4120
4190
  cursor: pointer;
4121
4191
  transition: color 0.2s, text-shadow 0.2s, border 0.2s;
4122
4192
  text-shadow: 1px 1px 0 var(--retro-border-light);
4123
4193
  user-select: none;
4124
4194
  border: 2px solid var(--retro-border-dark);
4125
- border-radius: 6px;
4195
+ border-radius: var(--retro-border-radius);
4126
4196
  background: var(--retro-bg);
4127
4197
  padding: 2px 2px 0 2px;
4128
4198
  margin-right: 2px;
@@ -4170,7 +4240,7 @@ input[type=radio].retro-input:focus-visible {
4170
4240
  display: inline-block;
4171
4241
  vertical-align: middle;
4172
4242
  box-sizing: border-box;
4173
- border-radius: 2px;
4243
+ border-radius: var(--retro-border-radius);
4174
4244
  }
4175
4245
 
4176
4246
  .retro-divider-dashed {
@@ -4246,14 +4316,12 @@ input[type=radio].retro-input:focus-visible {
4246
4316
  background: var(--retro-black);
4247
4317
  color: var(--retro-white);
4248
4318
  font-size: var(--retro-font-size-sm);
4249
- border-radius: 4px;
4319
+ border-radius: var(--retro-border-radius);
4250
4320
  white-space: nowrap;
4251
4321
  box-shadow: 3px 3px 0 rgba(var(--retro-shadow-rgb), 0.2);
4252
4322
  z-index: 1050;
4253
4323
  pointer-events: none;
4254
- opacity: 0;
4255
- visibility: hidden;
4256
- transition: opacity 0.2s, visibility 0.2s;
4324
+ display: none;
4257
4325
  font-family: var(--retro-font);
4258
4326
  max-width: 200px;
4259
4327
  line-height: 1.4;
@@ -4268,8 +4336,7 @@ input[type=radio].retro-input:focus-visible {
4268
4336
  /* Active state */
4269
4337
  }
4270
4338
  .retro-tooltip.show {
4271
- opacity: 1;
4272
- visibility: visible;
4339
+ display: block;
4273
4340
  }
4274
4341
  .retro-tooltip {
4275
4342
  /* Positions */
@@ -4345,7 +4412,7 @@ input[type=radio].retro-input:focus-visible {
4345
4412
  }
4346
4413
  .retro-tooltip.retro-tooltip-primary {
4347
4414
  background: var(--retro-primary);
4348
- color: var(--retro-white);
4415
+ color: var(--retro-primary-fg);
4349
4416
  }
4350
4417
  .retro-tooltip.retro-tooltip-primary.retro-tooltip-top::after {
4351
4418
  border-top-color: var(--retro-primary);
@@ -4361,7 +4428,7 @@ input[type=radio].retro-input:focus-visible {
4361
4428
  }
4362
4429
  .retro-tooltip.retro-tooltip-success {
4363
4430
  background: var(--retro-success);
4364
- color: var(--retro-white);
4431
+ color: var(--retro-success-fg);
4365
4432
  }
4366
4433
  .retro-tooltip.retro-tooltip-success.retro-tooltip-top::after {
4367
4434
  border-top-color: var(--retro-success);
@@ -4393,7 +4460,7 @@ input[type=radio].retro-input:focus-visible {
4393
4460
  }
4394
4461
  .retro-tooltip.retro-tooltip-danger {
4395
4462
  background: var(--retro-danger);
4396
- color: var(--retro-white);
4463
+ color: var(--retro-danger-fg);
4397
4464
  }
4398
4465
  .retro-tooltip.retro-tooltip-danger.retro-tooltip-top::after {
4399
4466
  border-top-color: var(--retro-danger);
@@ -4418,13 +4485,13 @@ input[type=radio].retro-input:focus-visible {
4418
4485
  font-size: var(--retro-font-size);
4419
4486
  background: var(--retro-list-bg);
4420
4487
  color: var(--retro-list-text);
4421
- border-radius: 6px;
4488
+ border-radius: var(--retro-border-radius);
4422
4489
  box-shadow: 0 1px 4px rgba(var(--retro-shadow-rgb), 0.04);
4423
4490
  }
4424
4491
  .retro-list li {
4425
4492
  padding: var(--retro-spacing-sm) var(--retro-spacing-md);
4426
4493
  transition: background 0.2s, box-shadow 0.2s;
4427
- border-radius: 4px;
4494
+ border-radius: var(--retro-border-radius);
4428
4495
  position: relative;
4429
4496
  margin-bottom: 2px;
4430
4497
  }
@@ -4474,7 +4541,7 @@ input[type=radio].retro-input:focus-visible {
4474
4541
  }
4475
4542
  .retro-list-hover li:hover, .retro-list-hover li:focus-visible {
4476
4543
  background-color: var(--retro-primary);
4477
- color: var(--retro-white);
4544
+ color: var(--retro-primary-fg);
4478
4545
  box-shadow: 0 2px 8px rgba(var(--retro-shadow-rgb), 0.06);
4479
4546
  outline: none;
4480
4547
  }
@@ -4504,11 +4571,11 @@ ol.retro-list li::before {
4504
4571
  width: 2em;
4505
4572
  height: 2em;
4506
4573
  background: var(--retro-primary);
4507
- color: var(--retro-white);
4574
+ color: var(--retro-primary-fg);
4508
4575
  font-weight: bold;
4509
4576
  font-family: inherit;
4510
4577
  font-size: 1.1em;
4511
- border-radius: 4px;
4578
+ border-radius: var(--retro-border-radius);
4512
4579
  display: flex;
4513
4580
  align-items: center;
4514
4581
  justify-content: center;
@@ -4532,8 +4599,8 @@ ol.retro-list li ol.retro-list li::before {
4532
4599
  height: 1.5em;
4533
4600
  font-size: 0.95em;
4534
4601
  background: var(--retro-success);
4535
- color: var(--retro-white);
4536
- border-radius: 4px;
4602
+ color: var(--retro-success-fg);
4603
+ border-radius: var(--retro-border-radius);
4537
4604
  border: 2px solid var(--retro-border-medium);
4538
4605
  top: 0.1em;
4539
4606
  }
@@ -4830,7 +4897,7 @@ input[type=datetime-local].retro-input.retro-input-sm {
4830
4897
  border: 2px solid var(--retro-border-dark);
4831
4898
  box-shadow: 2px 2px 8px rgba(var(--retro-shadow-rgb), 0.12), 1px 1px 0 var(--retro-border-light);
4832
4899
  padding: 4px 16px;
4833
- border-radius: 4px;
4900
+ border-radius: var(--retro-border-radius);
4834
4901
  filter: blur(0.2px);
4835
4902
  font-weight: bold;
4836
4903
  }
@@ -4863,7 +4930,7 @@ input[type=datetime-local].retro-input.retro-input-sm {
4863
4930
  .retro-sidebar {
4864
4931
  background: var(--retro-sidebar-bg);
4865
4932
  border: 1px solid var(--retro-border-medium);
4866
- border-radius: 4px;
4933
+ border-radius: var(--retro-border-radius);
4867
4934
  padding: var(--retro-spacing-md, 16px);
4868
4935
  width: 100%;
4869
4936
  height: auto;
@@ -4925,7 +4992,7 @@ input[type=datetime-local].retro-input.retro-input-sm {
4925
4992
  background: var(--retro-bg);
4926
4993
  border: 1px solid var(--retro-border-medium);
4927
4994
  padding: 6px 10px;
4928
- border-radius: 4px;
4995
+ border-radius: var(--retro-border-radius);
4929
4996
  cursor: pointer;
4930
4997
  margin-bottom: var(--retro-spacing-sm, 8px);
4931
4998
  }
@@ -7633,17 +7700,6 @@ input[type=datetime-local].retro-input.retro-input-sm {
7633
7700
  container-name: retro-container;
7634
7701
  }
7635
7702
 
7636
- @container retro-container (min-width: 20rem) {}
7637
- @container retro-container (min-width: 30rem) {}
7638
- @container retro-container (min-width: 40rem) {}
7639
- @container retro-container (min-width: 50rem) {}
7640
- @container retro-container (min-aspect-ratio: 16/9) {}
7641
- @container retro-container (max-aspect-ratio: 4/3) {}
7642
- @container retro-container (orientation: landscape) {}
7643
- @container retro-container (orientation: portrait) {}
7644
- @container retro-container (min-width: 20rem) and (max-width: 30rem) {}
7645
- @container retro-container (min-width: 30rem) and (max-width: 40rem) {}
7646
- @container retro-container (min-width: 40rem) and (max-width: 50rem) {}
7647
7703
  @container retro-container (max-width: 20rem) {
7648
7704
  .retro-cq-hide {
7649
7705
  display: none;