@phantompixeldev/retrocss 2.0.0 → 2.2.0

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
@@ -227,6 +227,7 @@
227
227
  --retro-teal: #008080; /* Fallback for IE11 */
228
228
  --retro-teal-rgb: 0, 128, 128; /* Fallback for IE11 */
229
229
  --retro-tan: #d2b48c; /* Fallback for IE11 */
230
+ --retro-tan-rgb: 210, 180, 140;
230
231
  --retro-pink: #ff69b4; /* Fallback for IE11 */
231
232
  --retro-pink-rgb: 255, 105, 180; /* Fallback for IE11 */
232
233
  --retro-lime: #32cd32; /* Fallback for IE11 */
@@ -459,6 +460,7 @@
459
460
  --retro-teal: #1abc9c;
460
461
  --retro-teal-rgb: 26, 188, 156;
461
462
  --retro-tan: #d4b483;
463
+ --retro-tan-rgb: 212, 180, 131;
462
464
  --retro-pink: #e84393;
463
465
  --retro-pink-rgb: 232, 67, 147;
464
466
  --retro-lime: #00b894;
@@ -1401,9 +1403,23 @@ h5, h6 {
1401
1403
  * <article class="retro-prose">...</article>
1402
1404
  */
1403
1405
  .retro-prose {
1404
- max-width: var(--retro-measure);
1405
1406
  line-height: var(--retro-line-height);
1406
1407
  }
1408
+ .retro-prose > p,
1409
+ .retro-prose > ul,
1410
+ .retro-prose > ol,
1411
+ .retro-prose > dl,
1412
+ .retro-prose > blockquote,
1413
+ .retro-prose > h1, .retro-prose > h2, .retro-prose > h3, .retro-prose > h4, .retro-prose > h5, .retro-prose > h6 {
1414
+ max-width: var(--retro-measure);
1415
+ }
1416
+ .retro-prose > pre,
1417
+ .retro-prose > table,
1418
+ .retro-prose > figure,
1419
+ .retro-prose > .retro-code,
1420
+ .retro-prose > .retro-table {
1421
+ max-width: 100%;
1422
+ }
1407
1423
  .retro-prose p, .retro-prose ul, .retro-prose ol, .retro-prose blockquote, .retro-prose pre {
1408
1424
  margin-bottom: var(--retro-spacing-md);
1409
1425
  }
@@ -1512,6 +1528,28 @@ h5, h6 {
1512
1528
  background: var(--retro-warning-active);
1513
1529
  }
1514
1530
 
1531
+ .retro-btn-info {
1532
+ background: var(--retro-info);
1533
+ color: var(--retro-info-fg);
1534
+ }
1535
+ .retro-btn-info:hover {
1536
+ background: var(--retro-info-hover);
1537
+ }
1538
+ .retro-btn-info:active {
1539
+ background: var(--retro-info-active);
1540
+ }
1541
+
1542
+ .retro-btn-teal {
1543
+ background: var(--retro-teal);
1544
+ color: var(--retro-teal-fg);
1545
+ }
1546
+ .retro-btn-teal:hover {
1547
+ background: var(--retro-teal-hover);
1548
+ }
1549
+ .retro-btn-teal:active {
1550
+ background: var(--retro-teal-active);
1551
+ }
1552
+
1515
1553
  .retro-btn-xs {
1516
1554
  font-size: var(--retro-font-size-xs);
1517
1555
  padding: 2px 8px;
@@ -1542,6 +1580,70 @@ h5, h6 {
1542
1580
  padding: 10px 24px;
1543
1581
  }
1544
1582
 
1583
+ .retro-btn-secondary {
1584
+ background: var(--retro-gray);
1585
+ color: var(--retro-gray-fg);
1586
+ }
1587
+ .retro-btn-secondary:hover {
1588
+ background: var(--retro-gray-hover);
1589
+ }
1590
+ .retro-btn-secondary:active {
1591
+ background: var(--retro-gray-active);
1592
+ }
1593
+
1594
+ .retro-btn-block {
1595
+ display: block;
1596
+ width: 100%;
1597
+ }
1598
+
1599
+ /**
1600
+ * @name Retro Avatar
1601
+ * @group components
1602
+ * @description
1603
+ * Square bevelled tile for a user glyph, emoji or initial. The demo pages were
1604
+ * hand-rolling this with inline width/height/flex styles on every instance.
1605
+ * @example html
1606
+ * <div class="retro-avatar retro-bg-primary">🧑‍💻</div>
1607
+ * <div class="retro-avatar retro-avatar-lg retro-bg-success">AB</div>
1608
+ */
1609
+ .retro-avatar {
1610
+ display: inline-flex;
1611
+ align-items: center;
1612
+ justify-content: center;
1613
+ flex-shrink: 0;
1614
+ width: 40px;
1615
+ height: 40px;
1616
+ font-size: var(--retro-font-size-lg);
1617
+ line-height: 1;
1618
+ font-weight: var(--retro-font-weight-bold);
1619
+ background: var(--retro-light);
1620
+ color: var(--retro-text);
1621
+ border: var(--retro-border-width-thick) solid var(--retro-border-dark);
1622
+ box-shadow: var(--retro-border-raised);
1623
+ overflow: hidden;
1624
+ user-select: none;
1625
+ }
1626
+ .retro-avatar img {
1627
+ width: 100%;
1628
+ height: 100%;
1629
+ object-fit: cover;
1630
+ }
1631
+ .retro-avatar-sm {
1632
+ width: 28px;
1633
+ height: 28px;
1634
+ font-size: var(--retro-font-size-sm);
1635
+ }
1636
+ .retro-avatar-lg {
1637
+ width: 56px;
1638
+ height: 56px;
1639
+ font-size: var(--retro-font-size-2xl);
1640
+ }
1641
+ .retro-avatar-xl {
1642
+ width: 72px;
1643
+ height: 72px;
1644
+ font-size: var(--retro-font-size-3xl);
1645
+ }
1646
+
1545
1647
  /* RetroCSS - A Retro-Inspired CSS Framework */
1546
1648
  /* Main SCSS file that imports all components */
1547
1649
  /* Core */
@@ -1922,6 +2024,69 @@ input[type=radio].retro-input:focus-visible {
1922
2024
  margin-right: 16px;
1923
2025
  }
1924
2026
 
2027
+ /**
2028
+ * @name Form Shell
2029
+ * @group components
2030
+ * @description
2031
+ * Wrapper and a few pieces the demo pages referenced but the framework never
2032
+ * shipped: .retro-form, .retro-input-icon, .retro-file-input, .retro-listbox.
2033
+ */
2034
+ .retro-form {
2035
+ display: flex;
2036
+ flex-direction: column;
2037
+ gap: var(--retro-spacing-md);
2038
+ width: 100%;
2039
+ }
2040
+
2041
+ .retro-input-icon {
2042
+ position: relative;
2043
+ display: flex;
2044
+ align-items: center;
2045
+ width: 100%;
2046
+ }
2047
+ .retro-input-icon > .retro-input,
2048
+ .retro-input-icon > input {
2049
+ width: 100%;
2050
+ padding-left: 2.2em;
2051
+ }
2052
+ .retro-input-icon > :first-child:not(input):not(.retro-input) {
2053
+ position: absolute;
2054
+ left: 0.6em;
2055
+ pointer-events: none;
2056
+ color: var(--retro-text-muted);
2057
+ line-height: 1;
2058
+ }
2059
+
2060
+ .retro-file-input {
2061
+ display: block;
2062
+ width: 100%;
2063
+ padding: var(--retro-spacing-xs);
2064
+ background: var(--retro-input-bg);
2065
+ color: var(--retro-input-text);
2066
+ border: var(--retro-border-width-thick) solid var(--retro-border-dark);
2067
+ box-shadow: var(--retro-border-sunken);
2068
+ font-family: var(--retro-font);
2069
+ font-size: var(--retro-font-size);
2070
+ }
2071
+
2072
+ .retro-listbox {
2073
+ width: 100%;
2074
+ padding: 0;
2075
+ background: var(--retro-input-bg);
2076
+ color: var(--retro-input-text);
2077
+ border: var(--retro-border-width-thick) solid var(--retro-border-dark);
2078
+ box-shadow: var(--retro-border-sunken);
2079
+ font-family: var(--retro-font);
2080
+ font-size: var(--retro-font-size);
2081
+ }
2082
+ .retro-listbox option {
2083
+ padding: var(--retro-spacing-xs) var(--retro-spacing-sm);
2084
+ }
2085
+ .retro-listbox option:checked {
2086
+ background: var(--retro-primary);
2087
+ color: var(--retro-primary-fg);
2088
+ }
2089
+
1925
2090
  /* RetroCSS - A Retro-Inspired CSS Framework */
1926
2091
  /* Main SCSS file that imports all components */
1927
2092
  /* Core */
@@ -2195,6 +2360,15 @@ input[type=radio].retro-input:focus-visible {
2195
2360
  display: block;
2196
2361
  }
2197
2362
 
2363
+ .retro-alert-header {
2364
+ width: 100%;
2365
+ margin: 0 0 var(--retro-spacing-xs);
2366
+ font-weight: var(--retro-font-weight-bold);
2367
+ font-size: var(--retro-font-size-lg);
2368
+ color: inherit;
2369
+ text-align: left;
2370
+ }
2371
+
2198
2372
  .retro-alert-body, .retro-toast-body {
2199
2373
  padding: 0;
2200
2374
  margin: 0;
@@ -2592,6 +2766,13 @@ input[type=radio].retro-input:focus-visible {
2592
2766
  letter-spacing: 0.5px;
2593
2767
  text-shadow: 1px 1px 0 rgba(var(--retro-black-rgb), 0.8), 0 1px 0 rgba(var(--retro-black-rgb), 0.8);
2594
2768
  }
2769
+ .retro-modal-close-floating {
2770
+ position: absolute;
2771
+ top: var(--retro-spacing-sm);
2772
+ right: var(--retro-spacing-sm);
2773
+ margin-left: 0;
2774
+ z-index: 1;
2775
+ }
2595
2776
  .retro-modal-close {
2596
2777
  display: flex;
2597
2778
  align-items: center;
@@ -3052,6 +3233,33 @@ input[type=radio].retro-input:focus-visible {
3052
3233
  z-index: 2;
3053
3234
  }
3054
3235
 
3236
+ /**
3237
+ * @name Tab Panes
3238
+ * @group components
3239
+ * @description
3240
+ * Panel bodies for the tabbed / underlined / button nav variants. Referenced by
3241
+ * the demos but never defined, so tab content rendered unstyled and every pane
3242
+ * stayed visible at once.
3243
+ */
3244
+ .retro-tab-pane {
3245
+ display: none;
3246
+ padding: var(--retro-spacing-md);
3247
+ background: var(--retro-bg);
3248
+ color: var(--retro-text);
3249
+ border: var(--retro-border-width-thick) solid var(--retro-border-dark);
3250
+ border-top: none;
3251
+ }
3252
+ .retro-tab-pane.active {
3253
+ display: block;
3254
+ }
3255
+
3256
+ .retro-tab-pane-underlined,
3257
+ .retro-tab-pane-buttons {
3258
+ border: none;
3259
+ padding: var(--retro-spacing-md) 0;
3260
+ background: transparent;
3261
+ }
3262
+
3055
3263
  /* RetroCSS - A Retro-Inspired CSS Framework */
3056
3264
  /* Main SCSS file that imports all components */
3057
3265
  /* Core */
@@ -3110,6 +3318,22 @@ input[type=radio].retro-input:focus-visible {
3110
3318
  background-position: 18px 0;
3111
3319
  }
3112
3320
  }
3321
+ .retro-progress-bar-success {
3322
+ background: var(--retro-success);
3323
+ }
3324
+
3325
+ .retro-progress-bar-danger {
3326
+ background: var(--retro-danger);
3327
+ }
3328
+
3329
+ .retro-progress-bar-warning {
3330
+ background: var(--retro-warning);
3331
+ }
3332
+
3333
+ .retro-progress-bar-info {
3334
+ background: var(--retro-info);
3335
+ }
3336
+
3113
3337
  .retro-badge {
3114
3338
  display: inline-flex;
3115
3339
  align-items: center;
@@ -4669,257 +4893,858 @@ input[type=datetime-local].retro-input.retro-input-sm {
4669
4893
  box-shadow: var(--retro-box-shadow-outset-button);
4670
4894
  }
4671
4895
 
4672
- .mt-0 {
4673
- margin-top: 0px !important;
4896
+ /**
4897
+ * @name Spacing Utilities
4898
+ * @group utilities
4899
+ * @description
4900
+ * Margin and padding on a numeric scale. Every page in this repo already used
4901
+ * the `retro-` prefixed names (retro-mt-5, retro-p-4); only the unprefixed
4902
+ * ones existed, so none of them did anything.
4903
+ *
4904
+ * Scale: 0=0 1=4px 2=8px 3=12px 4=16px 5=24px 6=32px 7=40px 8=48px
4905
+ * @example html
4906
+ * <div class="retro-mt-4 retro-px-5">…</div>
4907
+ */
4908
+ .retro-m-0 {
4909
+ margin: 0 !important;
4674
4910
  }
4675
4911
 
4676
- .mb-0 {
4677
- margin-bottom: 0px !important;
4912
+ .retro-mt-0 {
4913
+ margin-top: 0 !important;
4678
4914
  }
4679
4915
 
4680
- .ml-0 {
4681
- margin-left: 0px !important;
4916
+ .retro-mb-0 {
4917
+ margin-bottom: 0 !important;
4682
4918
  }
4683
4919
 
4684
- .mr-0 {
4685
- margin-right: 0px !important;
4920
+ .retro-ml-0 {
4921
+ margin-left: 0 !important;
4686
4922
  }
4687
4923
 
4688
- .mx-0 {
4689
- margin-left: 0px !important;
4690
- margin-right: 0px !important;
4924
+ .retro-mr-0 {
4925
+ margin-right: 0 !important;
4691
4926
  }
4692
4927
 
4693
- .my-0 {
4694
- margin-top: 0px !important;
4695
- margin-bottom: 0px !important;
4928
+ .retro-mx-0 {
4929
+ margin-left: 0 !important;
4930
+ margin-right: 0 !important;
4696
4931
  }
4697
4932
 
4698
- .pt-0 {
4699
- padding-top: 0px !important;
4933
+ .retro-my-0 {
4934
+ margin-top: 0 !important;
4935
+ margin-bottom: 0 !important;
4700
4936
  }
4701
4937
 
4702
- .pb-0 {
4703
- padding-bottom: 0px !important;
4938
+ .retro-p-0 {
4939
+ padding: 0 !important;
4704
4940
  }
4705
4941
 
4706
- .pl-0 {
4707
- padding-left: 0px !important;
4942
+ .retro-pt-0 {
4943
+ padding-top: 0 !important;
4708
4944
  }
4709
4945
 
4710
- .pr-0 {
4711
- padding-right: 0px !important;
4946
+ .retro-pb-0 {
4947
+ padding-bottom: 0 !important;
4712
4948
  }
4713
4949
 
4714
- .px-0 {
4715
- padding-left: 0px !important;
4716
- padding-right: 0px !important;
4950
+ .retro-pl-0 {
4951
+ padding-left: 0 !important;
4717
4952
  }
4718
4953
 
4719
- .py-0 {
4720
- padding-top: 0px !important;
4721
- padding-bottom: 0px !important;
4954
+ .retro-pr-0 {
4955
+ padding-right: 0 !important;
4722
4956
  }
4723
4957
 
4724
- .mt-1 {
4958
+ .retro-px-0 {
4959
+ padding-left: 0 !important;
4960
+ padding-right: 0 !important;
4961
+ }
4962
+
4963
+ .retro-py-0 {
4964
+ padding-top: 0 !important;
4965
+ padding-bottom: 0 !important;
4966
+ }
4967
+
4968
+ .retro-gap-0 {
4969
+ gap: 0 !important;
4970
+ }
4971
+
4972
+ .retro-m-1 {
4973
+ margin: 4px !important;
4974
+ }
4975
+
4976
+ .retro-mt-1 {
4725
4977
  margin-top: 4px !important;
4726
4978
  }
4727
4979
 
4728
- .mb-1 {
4980
+ .retro-mb-1 {
4729
4981
  margin-bottom: 4px !important;
4730
4982
  }
4731
4983
 
4732
- .ml-1 {
4984
+ .retro-ml-1 {
4733
4985
  margin-left: 4px !important;
4734
4986
  }
4735
4987
 
4736
- .mr-1 {
4988
+ .retro-mr-1 {
4737
4989
  margin-right: 4px !important;
4738
4990
  }
4739
4991
 
4740
- .mx-1 {
4992
+ .retro-mx-1 {
4741
4993
  margin-left: 4px !important;
4742
4994
  margin-right: 4px !important;
4743
4995
  }
4744
4996
 
4745
- .my-1 {
4997
+ .retro-my-1 {
4746
4998
  margin-top: 4px !important;
4747
4999
  margin-bottom: 4px !important;
4748
5000
  }
4749
5001
 
4750
- .pt-1 {
5002
+ .retro-p-1 {
5003
+ padding: 4px !important;
5004
+ }
5005
+
5006
+ .retro-pt-1 {
4751
5007
  padding-top: 4px !important;
4752
5008
  }
4753
5009
 
4754
- .pb-1 {
5010
+ .retro-pb-1 {
4755
5011
  padding-bottom: 4px !important;
4756
5012
  }
4757
5013
 
4758
- .pl-1 {
5014
+ .retro-pl-1 {
4759
5015
  padding-left: 4px !important;
4760
5016
  }
4761
5017
 
4762
- .pr-1 {
5018
+ .retro-pr-1 {
4763
5019
  padding-right: 4px !important;
4764
5020
  }
4765
5021
 
4766
- .px-1 {
5022
+ .retro-px-1 {
4767
5023
  padding-left: 4px !important;
4768
5024
  padding-right: 4px !important;
4769
5025
  }
4770
5026
 
4771
- .py-1 {
5027
+ .retro-py-1 {
4772
5028
  padding-top: 4px !important;
4773
5029
  padding-bottom: 4px !important;
4774
5030
  }
4775
5031
 
4776
- .mt-2 {
5032
+ .retro-gap-1 {
5033
+ gap: 4px !important;
5034
+ }
5035
+
5036
+ .retro-m-2 {
5037
+ margin: 8px !important;
5038
+ }
5039
+
5040
+ .retro-mt-2 {
4777
5041
  margin-top: 8px !important;
4778
5042
  }
4779
5043
 
4780
- .mb-2 {
5044
+ .retro-mb-2 {
4781
5045
  margin-bottom: 8px !important;
4782
5046
  }
4783
5047
 
4784
- .ml-2 {
5048
+ .retro-ml-2 {
4785
5049
  margin-left: 8px !important;
4786
5050
  }
4787
5051
 
4788
- .mr-2 {
5052
+ .retro-mr-2 {
4789
5053
  margin-right: 8px !important;
4790
5054
  }
4791
5055
 
4792
- .mx-2 {
5056
+ .retro-mx-2 {
4793
5057
  margin-left: 8px !important;
4794
5058
  margin-right: 8px !important;
4795
5059
  }
4796
5060
 
4797
- .my-2 {
5061
+ .retro-my-2 {
4798
5062
  margin-top: 8px !important;
4799
5063
  margin-bottom: 8px !important;
4800
5064
  }
4801
5065
 
4802
- .pt-2 {
5066
+ .retro-p-2 {
5067
+ padding: 8px !important;
5068
+ }
5069
+
5070
+ .retro-pt-2 {
4803
5071
  padding-top: 8px !important;
4804
5072
  }
4805
5073
 
4806
- .pb-2 {
5074
+ .retro-pb-2 {
4807
5075
  padding-bottom: 8px !important;
4808
5076
  }
4809
5077
 
4810
- .pl-2 {
5078
+ .retro-pl-2 {
4811
5079
  padding-left: 8px !important;
4812
5080
  }
4813
5081
 
4814
- .pr-2 {
5082
+ .retro-pr-2 {
4815
5083
  padding-right: 8px !important;
4816
5084
  }
4817
5085
 
4818
- .px-2 {
5086
+ .retro-px-2 {
4819
5087
  padding-left: 8px !important;
4820
5088
  padding-right: 8px !important;
4821
5089
  }
4822
5090
 
4823
- .py-2 {
5091
+ .retro-py-2 {
4824
5092
  padding-top: 8px !important;
4825
5093
  padding-bottom: 8px !important;
4826
5094
  }
4827
5095
 
4828
- .mt-3 {
5096
+ .retro-gap-2 {
5097
+ gap: 8px !important;
5098
+ }
5099
+
5100
+ .retro-m-3 {
5101
+ margin: 12px !important;
5102
+ }
5103
+
5104
+ .retro-mt-3 {
4829
5105
  margin-top: 12px !important;
4830
5106
  }
4831
5107
 
4832
- .mb-3 {
5108
+ .retro-mb-3 {
4833
5109
  margin-bottom: 12px !important;
4834
5110
  }
4835
5111
 
4836
- .ml-3 {
5112
+ .retro-ml-3 {
4837
5113
  margin-left: 12px !important;
4838
5114
  }
4839
5115
 
4840
- .mr-3 {
5116
+ .retro-mr-3 {
4841
5117
  margin-right: 12px !important;
4842
5118
  }
4843
5119
 
4844
- .mx-3 {
5120
+ .retro-mx-3 {
4845
5121
  margin-left: 12px !important;
4846
5122
  margin-right: 12px !important;
4847
5123
  }
4848
5124
 
4849
- .my-3 {
5125
+ .retro-my-3 {
4850
5126
  margin-top: 12px !important;
4851
5127
  margin-bottom: 12px !important;
4852
5128
  }
4853
5129
 
4854
- .pt-3 {
5130
+ .retro-p-3 {
5131
+ padding: 12px !important;
5132
+ }
5133
+
5134
+ .retro-pt-3 {
4855
5135
  padding-top: 12px !important;
4856
5136
  }
4857
5137
 
4858
- .pb-3 {
5138
+ .retro-pb-3 {
4859
5139
  padding-bottom: 12px !important;
4860
5140
  }
4861
5141
 
4862
- .pl-3 {
5142
+ .retro-pl-3 {
4863
5143
  padding-left: 12px !important;
4864
5144
  }
4865
5145
 
4866
- .pr-3 {
5146
+ .retro-pr-3 {
4867
5147
  padding-right: 12px !important;
4868
5148
  }
4869
5149
 
4870
- .px-3 {
5150
+ .retro-px-3 {
4871
5151
  padding-left: 12px !important;
4872
5152
  padding-right: 12px !important;
4873
5153
  }
4874
5154
 
4875
- .py-3 {
5155
+ .retro-py-3 {
4876
5156
  padding-top: 12px !important;
4877
5157
  padding-bottom: 12px !important;
4878
5158
  }
4879
5159
 
4880
- .mt-4 {
5160
+ .retro-gap-3 {
5161
+ gap: 12px !important;
5162
+ }
5163
+
5164
+ .retro-m-4 {
5165
+ margin: 16px !important;
5166
+ }
5167
+
5168
+ .retro-mt-4 {
4881
5169
  margin-top: 16px !important;
4882
5170
  }
4883
5171
 
4884
- .mb-4 {
5172
+ .retro-mb-4 {
4885
5173
  margin-bottom: 16px !important;
4886
5174
  }
4887
5175
 
4888
- .ml-4 {
5176
+ .retro-ml-4 {
4889
5177
  margin-left: 16px !important;
4890
5178
  }
4891
5179
 
4892
- .mr-4 {
5180
+ .retro-mr-4 {
4893
5181
  margin-right: 16px !important;
4894
5182
  }
4895
5183
 
4896
- .mx-4 {
5184
+ .retro-mx-4 {
4897
5185
  margin-left: 16px !important;
4898
5186
  margin-right: 16px !important;
4899
5187
  }
4900
5188
 
4901
- .my-4 {
5189
+ .retro-my-4 {
4902
5190
  margin-top: 16px !important;
4903
5191
  margin-bottom: 16px !important;
4904
5192
  }
4905
5193
 
4906
- .pt-4 {
5194
+ .retro-p-4 {
5195
+ padding: 16px !important;
5196
+ }
5197
+
5198
+ .retro-pt-4 {
4907
5199
  padding-top: 16px !important;
4908
5200
  }
4909
5201
 
4910
- .pb-4 {
5202
+ .retro-pb-4 {
4911
5203
  padding-bottom: 16px !important;
4912
5204
  }
4913
5205
 
4914
- .pl-4 {
5206
+ .retro-pl-4 {
4915
5207
  padding-left: 16px !important;
4916
5208
  }
4917
5209
 
4918
- .pr-4 {
5210
+ .retro-pr-4 {
4919
5211
  padding-right: 16px !important;
4920
5212
  }
4921
5213
 
4922
- .px-4 {
5214
+ .retro-px-4 {
5215
+ padding-left: 16px !important;
5216
+ padding-right: 16px !important;
5217
+ }
5218
+
5219
+ .retro-py-4 {
5220
+ padding-top: 16px !important;
5221
+ padding-bottom: 16px !important;
5222
+ }
5223
+
5224
+ .retro-gap-4 {
5225
+ gap: 16px !important;
5226
+ }
5227
+
5228
+ .retro-m-5 {
5229
+ margin: 24px !important;
5230
+ }
5231
+
5232
+ .retro-mt-5 {
5233
+ margin-top: 24px !important;
5234
+ }
5235
+
5236
+ .retro-mb-5 {
5237
+ margin-bottom: 24px !important;
5238
+ }
5239
+
5240
+ .retro-ml-5 {
5241
+ margin-left: 24px !important;
5242
+ }
5243
+
5244
+ .retro-mr-5 {
5245
+ margin-right: 24px !important;
5246
+ }
5247
+
5248
+ .retro-mx-5 {
5249
+ margin-left: 24px !important;
5250
+ margin-right: 24px !important;
5251
+ }
5252
+
5253
+ .retro-my-5 {
5254
+ margin-top: 24px !important;
5255
+ margin-bottom: 24px !important;
5256
+ }
5257
+
5258
+ .retro-p-5 {
5259
+ padding: 24px !important;
5260
+ }
5261
+
5262
+ .retro-pt-5 {
5263
+ padding-top: 24px !important;
5264
+ }
5265
+
5266
+ .retro-pb-5 {
5267
+ padding-bottom: 24px !important;
5268
+ }
5269
+
5270
+ .retro-pl-5 {
5271
+ padding-left: 24px !important;
5272
+ }
5273
+
5274
+ .retro-pr-5 {
5275
+ padding-right: 24px !important;
5276
+ }
5277
+
5278
+ .retro-px-5 {
5279
+ padding-left: 24px !important;
5280
+ padding-right: 24px !important;
5281
+ }
5282
+
5283
+ .retro-py-5 {
5284
+ padding-top: 24px !important;
5285
+ padding-bottom: 24px !important;
5286
+ }
5287
+
5288
+ .retro-gap-5 {
5289
+ gap: 24px !important;
5290
+ }
5291
+
5292
+ .retro-m-6 {
5293
+ margin: 32px !important;
5294
+ }
5295
+
5296
+ .retro-mt-6 {
5297
+ margin-top: 32px !important;
5298
+ }
5299
+
5300
+ .retro-mb-6 {
5301
+ margin-bottom: 32px !important;
5302
+ }
5303
+
5304
+ .retro-ml-6 {
5305
+ margin-left: 32px !important;
5306
+ }
5307
+
5308
+ .retro-mr-6 {
5309
+ margin-right: 32px !important;
5310
+ }
5311
+
5312
+ .retro-mx-6 {
5313
+ margin-left: 32px !important;
5314
+ margin-right: 32px !important;
5315
+ }
5316
+
5317
+ .retro-my-6 {
5318
+ margin-top: 32px !important;
5319
+ margin-bottom: 32px !important;
5320
+ }
5321
+
5322
+ .retro-p-6 {
5323
+ padding: 32px !important;
5324
+ }
5325
+
5326
+ .retro-pt-6 {
5327
+ padding-top: 32px !important;
5328
+ }
5329
+
5330
+ .retro-pb-6 {
5331
+ padding-bottom: 32px !important;
5332
+ }
5333
+
5334
+ .retro-pl-6 {
5335
+ padding-left: 32px !important;
5336
+ }
5337
+
5338
+ .retro-pr-6 {
5339
+ padding-right: 32px !important;
5340
+ }
5341
+
5342
+ .retro-px-6 {
5343
+ padding-left: 32px !important;
5344
+ padding-right: 32px !important;
5345
+ }
5346
+
5347
+ .retro-py-6 {
5348
+ padding-top: 32px !important;
5349
+ padding-bottom: 32px !important;
5350
+ }
5351
+
5352
+ .retro-gap-6 {
5353
+ gap: 32px !important;
5354
+ }
5355
+
5356
+ .retro-m-7 {
5357
+ margin: 40px !important;
5358
+ }
5359
+
5360
+ .retro-mt-7 {
5361
+ margin-top: 40px !important;
5362
+ }
5363
+
5364
+ .retro-mb-7 {
5365
+ margin-bottom: 40px !important;
5366
+ }
5367
+
5368
+ .retro-ml-7 {
5369
+ margin-left: 40px !important;
5370
+ }
5371
+
5372
+ .retro-mr-7 {
5373
+ margin-right: 40px !important;
5374
+ }
5375
+
5376
+ .retro-mx-7 {
5377
+ margin-left: 40px !important;
5378
+ margin-right: 40px !important;
5379
+ }
5380
+
5381
+ .retro-my-7 {
5382
+ margin-top: 40px !important;
5383
+ margin-bottom: 40px !important;
5384
+ }
5385
+
5386
+ .retro-p-7 {
5387
+ padding: 40px !important;
5388
+ }
5389
+
5390
+ .retro-pt-7 {
5391
+ padding-top: 40px !important;
5392
+ }
5393
+
5394
+ .retro-pb-7 {
5395
+ padding-bottom: 40px !important;
5396
+ }
5397
+
5398
+ .retro-pl-7 {
5399
+ padding-left: 40px !important;
5400
+ }
5401
+
5402
+ .retro-pr-7 {
5403
+ padding-right: 40px !important;
5404
+ }
5405
+
5406
+ .retro-px-7 {
5407
+ padding-left: 40px !important;
5408
+ padding-right: 40px !important;
5409
+ }
5410
+
5411
+ .retro-py-7 {
5412
+ padding-top: 40px !important;
5413
+ padding-bottom: 40px !important;
5414
+ }
5415
+
5416
+ .retro-gap-7 {
5417
+ gap: 40px !important;
5418
+ }
5419
+
5420
+ .retro-m-8 {
5421
+ margin: 48px !important;
5422
+ }
5423
+
5424
+ .retro-mt-8 {
5425
+ margin-top: 48px !important;
5426
+ }
5427
+
5428
+ .retro-mb-8 {
5429
+ margin-bottom: 48px !important;
5430
+ }
5431
+
5432
+ .retro-ml-8 {
5433
+ margin-left: 48px !important;
5434
+ }
5435
+
5436
+ .retro-mr-8 {
5437
+ margin-right: 48px !important;
5438
+ }
5439
+
5440
+ .retro-mx-8 {
5441
+ margin-left: 48px !important;
5442
+ margin-right: 48px !important;
5443
+ }
5444
+
5445
+ .retro-my-8 {
5446
+ margin-top: 48px !important;
5447
+ margin-bottom: 48px !important;
5448
+ }
5449
+
5450
+ .retro-p-8 {
5451
+ padding: 48px !important;
5452
+ }
5453
+
5454
+ .retro-pt-8 {
5455
+ padding-top: 48px !important;
5456
+ }
5457
+
5458
+ .retro-pb-8 {
5459
+ padding-bottom: 48px !important;
5460
+ }
5461
+
5462
+ .retro-pl-8 {
5463
+ padding-left: 48px !important;
5464
+ }
5465
+
5466
+ .retro-pr-8 {
5467
+ padding-right: 48px !important;
5468
+ }
5469
+
5470
+ .retro-px-8 {
5471
+ padding-left: 48px !important;
5472
+ padding-right: 48px !important;
5473
+ }
5474
+
5475
+ .retro-py-8 {
5476
+ padding-top: 48px !important;
5477
+ padding-bottom: 48px !important;
5478
+ }
5479
+
5480
+ .retro-gap-8 {
5481
+ gap: 48px !important;
5482
+ }
5483
+
5484
+ .retro-mx-auto {
5485
+ margin-left: auto !important;
5486
+ margin-right: auto !important;
5487
+ }
5488
+
5489
+ .retro-ml-auto {
5490
+ margin-left: auto !important;
5491
+ }
5492
+
5493
+ .retro-mr-auto {
5494
+ margin-right: auto !important;
5495
+ }
5496
+
5497
+ .mt-0 {
5498
+ margin-top: 0px !important;
5499
+ }
5500
+
5501
+ .mb-0 {
5502
+ margin-bottom: 0px !important;
5503
+ }
5504
+
5505
+ .ml-0 {
5506
+ margin-left: 0px !important;
5507
+ }
5508
+
5509
+ .mr-0 {
5510
+ margin-right: 0px !important;
5511
+ }
5512
+
5513
+ .mx-0 {
5514
+ margin-left: 0px !important;
5515
+ margin-right: 0px !important;
5516
+ }
5517
+
5518
+ .my-0 {
5519
+ margin-top: 0px !important;
5520
+ margin-bottom: 0px !important;
5521
+ }
5522
+
5523
+ .pt-0 {
5524
+ padding-top: 0px !important;
5525
+ }
5526
+
5527
+ .pb-0 {
5528
+ padding-bottom: 0px !important;
5529
+ }
5530
+
5531
+ .pl-0 {
5532
+ padding-left: 0px !important;
5533
+ }
5534
+
5535
+ .pr-0 {
5536
+ padding-right: 0px !important;
5537
+ }
5538
+
5539
+ .px-0 {
5540
+ padding-left: 0px !important;
5541
+ padding-right: 0px !important;
5542
+ }
5543
+
5544
+ .py-0 {
5545
+ padding-top: 0px !important;
5546
+ padding-bottom: 0px !important;
5547
+ }
5548
+
5549
+ .mt-1 {
5550
+ margin-top: 4px !important;
5551
+ }
5552
+
5553
+ .mb-1 {
5554
+ margin-bottom: 4px !important;
5555
+ }
5556
+
5557
+ .ml-1 {
5558
+ margin-left: 4px !important;
5559
+ }
5560
+
5561
+ .mr-1 {
5562
+ margin-right: 4px !important;
5563
+ }
5564
+
5565
+ .mx-1 {
5566
+ margin-left: 4px !important;
5567
+ margin-right: 4px !important;
5568
+ }
5569
+
5570
+ .my-1 {
5571
+ margin-top: 4px !important;
5572
+ margin-bottom: 4px !important;
5573
+ }
5574
+
5575
+ .pt-1 {
5576
+ padding-top: 4px !important;
5577
+ }
5578
+
5579
+ .pb-1 {
5580
+ padding-bottom: 4px !important;
5581
+ }
5582
+
5583
+ .pl-1 {
5584
+ padding-left: 4px !important;
5585
+ }
5586
+
5587
+ .pr-1 {
5588
+ padding-right: 4px !important;
5589
+ }
5590
+
5591
+ .px-1 {
5592
+ padding-left: 4px !important;
5593
+ padding-right: 4px !important;
5594
+ }
5595
+
5596
+ .py-1 {
5597
+ padding-top: 4px !important;
5598
+ padding-bottom: 4px !important;
5599
+ }
5600
+
5601
+ .mt-2 {
5602
+ margin-top: 8px !important;
5603
+ }
5604
+
5605
+ .mb-2 {
5606
+ margin-bottom: 8px !important;
5607
+ }
5608
+
5609
+ .ml-2 {
5610
+ margin-left: 8px !important;
5611
+ }
5612
+
5613
+ .mr-2 {
5614
+ margin-right: 8px !important;
5615
+ }
5616
+
5617
+ .mx-2 {
5618
+ margin-left: 8px !important;
5619
+ margin-right: 8px !important;
5620
+ }
5621
+
5622
+ .my-2 {
5623
+ margin-top: 8px !important;
5624
+ margin-bottom: 8px !important;
5625
+ }
5626
+
5627
+ .pt-2 {
5628
+ padding-top: 8px !important;
5629
+ }
5630
+
5631
+ .pb-2 {
5632
+ padding-bottom: 8px !important;
5633
+ }
5634
+
5635
+ .pl-2 {
5636
+ padding-left: 8px !important;
5637
+ }
5638
+
5639
+ .pr-2 {
5640
+ padding-right: 8px !important;
5641
+ }
5642
+
5643
+ .px-2 {
5644
+ padding-left: 8px !important;
5645
+ padding-right: 8px !important;
5646
+ }
5647
+
5648
+ .py-2 {
5649
+ padding-top: 8px !important;
5650
+ padding-bottom: 8px !important;
5651
+ }
5652
+
5653
+ .mt-3 {
5654
+ margin-top: 12px !important;
5655
+ }
5656
+
5657
+ .mb-3 {
5658
+ margin-bottom: 12px !important;
5659
+ }
5660
+
5661
+ .ml-3 {
5662
+ margin-left: 12px !important;
5663
+ }
5664
+
5665
+ .mr-3 {
5666
+ margin-right: 12px !important;
5667
+ }
5668
+
5669
+ .mx-3 {
5670
+ margin-left: 12px !important;
5671
+ margin-right: 12px !important;
5672
+ }
5673
+
5674
+ .my-3 {
5675
+ margin-top: 12px !important;
5676
+ margin-bottom: 12px !important;
5677
+ }
5678
+
5679
+ .pt-3 {
5680
+ padding-top: 12px !important;
5681
+ }
5682
+
5683
+ .pb-3 {
5684
+ padding-bottom: 12px !important;
5685
+ }
5686
+
5687
+ .pl-3 {
5688
+ padding-left: 12px !important;
5689
+ }
5690
+
5691
+ .pr-3 {
5692
+ padding-right: 12px !important;
5693
+ }
5694
+
5695
+ .px-3 {
5696
+ padding-left: 12px !important;
5697
+ padding-right: 12px !important;
5698
+ }
5699
+
5700
+ .py-3 {
5701
+ padding-top: 12px !important;
5702
+ padding-bottom: 12px !important;
5703
+ }
5704
+
5705
+ .mt-4 {
5706
+ margin-top: 16px !important;
5707
+ }
5708
+
5709
+ .mb-4 {
5710
+ margin-bottom: 16px !important;
5711
+ }
5712
+
5713
+ .ml-4 {
5714
+ margin-left: 16px !important;
5715
+ }
5716
+
5717
+ .mr-4 {
5718
+ margin-right: 16px !important;
5719
+ }
5720
+
5721
+ .mx-4 {
5722
+ margin-left: 16px !important;
5723
+ margin-right: 16px !important;
5724
+ }
5725
+
5726
+ .my-4 {
5727
+ margin-top: 16px !important;
5728
+ margin-bottom: 16px !important;
5729
+ }
5730
+
5731
+ .pt-4 {
5732
+ padding-top: 16px !important;
5733
+ }
5734
+
5735
+ .pb-4 {
5736
+ padding-bottom: 16px !important;
5737
+ }
5738
+
5739
+ .pl-4 {
5740
+ padding-left: 16px !important;
5741
+ }
5742
+
5743
+ .pr-4 {
5744
+ padding-right: 16px !important;
5745
+ }
5746
+
5747
+ .px-4 {
4923
5748
  padding-left: 16px !important;
4924
5749
  padding-right: 16px !important;
4925
5750
  }
@@ -4929,56 +5754,922 @@ input[type=datetime-local].retro-input.retro-input-sm {
4929
5754
  padding-bottom: 16px !important;
4930
5755
  }
4931
5756
 
4932
- .mt-5 {
4933
- margin-top: 20px !important;
5757
+ .mt-5 {
5758
+ margin-top: 20px !important;
5759
+ }
5760
+
5761
+ .mb-5 {
5762
+ margin-bottom: 20px !important;
5763
+ }
5764
+
5765
+ .ml-5 {
5766
+ margin-left: 20px !important;
5767
+ }
5768
+
5769
+ .mr-5 {
5770
+ margin-right: 20px !important;
5771
+ }
5772
+
5773
+ .mx-5 {
5774
+ margin-left: 20px !important;
5775
+ margin-right: 20px !important;
5776
+ }
5777
+
5778
+ .my-5 {
5779
+ margin-top: 20px !important;
5780
+ margin-bottom: 20px !important;
5781
+ }
5782
+
5783
+ .pt-5 {
5784
+ padding-top: 20px !important;
5785
+ }
5786
+
5787
+ .pb-5 {
5788
+ padding-bottom: 20px !important;
5789
+ }
5790
+
5791
+ .pl-5 {
5792
+ padding-left: 20px !important;
5793
+ }
5794
+
5795
+ .pr-5 {
5796
+ padding-right: 20px !important;
5797
+ }
5798
+
5799
+ .px-5 {
5800
+ padding-left: 20px !important;
5801
+ padding-right: 20px !important;
5802
+ }
5803
+
5804
+ .py-5 {
5805
+ padding-top: 20px !important;
5806
+ padding-bottom: 20px !important;
5807
+ }
5808
+
5809
+ /**
5810
+ * @name Flexbox & Display Utilities
5811
+ * @group utilities
5812
+ * @description
5813
+ * The grid utilities shipped gap/justify/align, but the flex primitives the
5814
+ * demo pages leaned on (retro-flex, retro-items-center, retro-flex-1) did not
5815
+ * exist, so those layouts fell back to plain block flow.
5816
+ */
5817
+ .retro-block {
5818
+ display: block !important;
5819
+ }
5820
+
5821
+ .retro-inline-block {
5822
+ display: inline-block !important;
5823
+ }
5824
+
5825
+ .retro-inline {
5826
+ display: inline !important;
5827
+ }
5828
+
5829
+ .retro-hidden {
5830
+ display: none !important;
5831
+ }
5832
+
5833
+ .retro-flex {
5834
+ display: flex !important;
5835
+ }
5836
+
5837
+ .retro-inline-flex {
5838
+ display: inline-flex !important;
5839
+ }
5840
+
5841
+ .retro-flex-row {
5842
+ flex-direction: row !important;
5843
+ }
5844
+
5845
+ .retro-flex-col {
5846
+ flex-direction: column !important;
5847
+ }
5848
+
5849
+ .retro-flex-wrap {
5850
+ flex-wrap: wrap !important;
5851
+ }
5852
+
5853
+ .retro-flex-nowrap {
5854
+ flex-wrap: nowrap !important;
5855
+ }
5856
+
5857
+ .retro-flex-1 {
5858
+ flex: 1 1 0% !important;
5859
+ min-width: 0;
5860
+ }
5861
+
5862
+ .retro-flex-auto {
5863
+ flex: 1 1 auto !important;
5864
+ min-width: 0;
5865
+ }
5866
+
5867
+ .retro-flex-none {
5868
+ flex: none !important;
5869
+ }
5870
+
5871
+ .retro-grow {
5872
+ flex-grow: 1 !important;
5873
+ }
5874
+
5875
+ .retro-shrink-0 {
5876
+ flex-shrink: 0 !important;
5877
+ }
5878
+
5879
+ .retro-items-start {
5880
+ align-items: flex-start !important;
5881
+ }
5882
+
5883
+ .retro-items-center {
5884
+ align-items: center !important;
5885
+ }
5886
+
5887
+ .retro-items-end {
5888
+ align-items: flex-end !important;
5889
+ }
5890
+
5891
+ .retro-items-stretch {
5892
+ align-items: stretch !important;
5893
+ }
5894
+
5895
+ .retro-items-baseline {
5896
+ align-items: baseline !important;
5897
+ }
5898
+
5899
+ .retro-justify-between {
5900
+ justify-content: space-between !important;
5901
+ }
5902
+
5903
+ .retro-justify-around {
5904
+ justify-content: space-around !important;
5905
+ }
5906
+
5907
+ .retro-justify-evenly {
5908
+ justify-content: space-evenly !important;
5909
+ }
5910
+
5911
+ .retro-self-start {
5912
+ align-self: flex-start !important;
5913
+ }
5914
+
5915
+ .retro-self-center {
5916
+ align-self: center !important;
5917
+ }
5918
+
5919
+ .retro-self-end {
5920
+ align-self: flex-end !important;
5921
+ }
5922
+
5923
+ .retro-relative {
5924
+ position: relative !important;
5925
+ }
5926
+
5927
+ .retro-absolute {
5928
+ position: absolute !important;
5929
+ }
5930
+
5931
+ .retro-sticky {
5932
+ position: sticky !important;
5933
+ }
5934
+
5935
+ /**
5936
+ * @name Sizing Utilities
5937
+ * @group utilities
5938
+ */
5939
+ .retro-w-full {
5940
+ width: 100% !important;
5941
+ }
5942
+
5943
+ .retro-w-auto {
5944
+ width: auto !important;
5945
+ }
5946
+
5947
+ .retro-h-full {
5948
+ height: 100% !important;
5949
+ }
5950
+
5951
+ .retro-max-w-full {
5952
+ max-width: 100% !important;
5953
+ }
5954
+
5955
+ .retro-min-w-0 {
5956
+ min-width: 0 !important;
5957
+ }
5958
+
5959
+ .retro-box-border {
5960
+ box-sizing: border-box !important;
5961
+ }
5962
+
5963
+ .retro-max-w-40 {
5964
+ max-width: 160px !important;
5965
+ }
5966
+
5967
+ .retro-min-w-40 {
5968
+ min-width: 160px !important;
5969
+ }
5970
+
5971
+ .retro-max-w-50 {
5972
+ max-width: 200px !important;
5973
+ }
5974
+
5975
+ .retro-min-w-50 {
5976
+ min-width: 200px !important;
5977
+ }
5978
+
5979
+ .retro-max-w-56 {
5980
+ max-width: 224px !important;
5981
+ }
5982
+
5983
+ .retro-min-w-56 {
5984
+ min-width: 224px !important;
5985
+ }
5986
+
5987
+ .retro-max-w-72 {
5988
+ max-width: 288px !important;
5989
+ }
5990
+
5991
+ .retro-min-w-72 {
5992
+ min-width: 288px !important;
5993
+ }
5994
+
5995
+ .retro-max-w-80 {
5996
+ max-width: 320px !important;
5997
+ }
5998
+
5999
+ .retro-min-w-80 {
6000
+ min-width: 320px !important;
6001
+ }
6002
+
6003
+ .retro-max-w-96 {
6004
+ max-width: 384px !important;
6005
+ }
6006
+
6007
+ .retro-min-w-96 {
6008
+ min-width: 384px !important;
6009
+ }
6010
+
6011
+ .retro-max-w-100 {
6012
+ max-width: 400px !important;
6013
+ }
6014
+
6015
+ .retro-min-w-100 {
6016
+ min-width: 400px !important;
6017
+ }
6018
+
6019
+ .retro-max-w-120 {
6020
+ max-width: 480px !important;
6021
+ }
6022
+
6023
+ .retro-min-w-120 {
6024
+ min-width: 480px !important;
6025
+ }
6026
+
6027
+ .retro-max-w-prose {
6028
+ max-width: var(--retro-measure) !important;
6029
+ }
6030
+
6031
+ .retro-max-w-sm {
6032
+ max-width: var(--retro-container-sm) !important;
6033
+ }
6034
+
6035
+ .retro-max-w-md {
6036
+ max-width: var(--retro-container-md) !important;
6037
+ }
6038
+
6039
+ .retro-max-w-lg {
6040
+ max-width: var(--retro-container-lg) !important;
6041
+ }
6042
+
6043
+ .retro-max-w-xl {
6044
+ max-width: var(--retro-container-xl) !important;
6045
+ }
6046
+
6047
+ .retro-max-w-xxl {
6048
+ max-width: var(--retro-container-xxl) !important;
6049
+ }
6050
+
6051
+ /**
6052
+ * @name Colour Utilities
6053
+ * @group utilities
6054
+ * @description
6055
+ * Background, text and border helpers built on the 2.0 token tiers.
6056
+ *
6057
+ * `retro-bg-<hue>` sets the fill **and** its matching on-fill text colour, so a
6058
+ * filled surface is legible in both themes without a second class. That pairing
6059
+ * is what the accessibility gate verifies, so these are AA by construction.
6060
+ *
6061
+ * `retro-bg-<hue>-subtle` is a low-alpha tint of the same hue for callout
6062
+ * panels; it keeps the normal body text colour on top.
6063
+ * @example html
6064
+ * <div class="retro-bg-primary retro-p-4">Readable in both themes</div>
6065
+ * <div class="retro-bg-success-subtle retro-p-4">Tinted callout</div>
6066
+ */
6067
+ .retro-bg-primary {
6068
+ background-color: var(--retro-primary) !important;
6069
+ color: var(--retro-primary-fg) !important;
6070
+ }
6071
+ .retro-bg-primary h1, .retro-bg-primary h2, .retro-bg-primary h3, .retro-bg-primary h4, .retro-bg-primary h5, .retro-bg-primary h6 {
6072
+ color: inherit;
6073
+ }
6074
+
6075
+ .retro-bg-primary-subtle {
6076
+ background-color: rgba(var(--retro-primary-rgb), 0.14) !important;
6077
+ color: var(--retro-text) !important;
6078
+ }
6079
+
6080
+ .retro-bg-primary-lightest {
6081
+ background-color: rgba(var(--retro-primary-rgb), 0.14) !important;
6082
+ color: var(--retro-text) !important;
6083
+ }
6084
+
6085
+ .retro-border-primary {
6086
+ border-color: var(--retro-primary) !important;
6087
+ }
6088
+
6089
+ .retro-bg-success {
6090
+ background-color: var(--retro-success) !important;
6091
+ color: var(--retro-success-fg) !important;
6092
+ }
6093
+ .retro-bg-success h1, .retro-bg-success h2, .retro-bg-success h3, .retro-bg-success h4, .retro-bg-success h5, .retro-bg-success h6 {
6094
+ color: inherit;
6095
+ }
6096
+
6097
+ .retro-bg-success-subtle {
6098
+ background-color: rgba(var(--retro-success-rgb), 0.14) !important;
6099
+ color: var(--retro-text) !important;
6100
+ }
6101
+
6102
+ .retro-bg-success-lightest {
6103
+ background-color: rgba(var(--retro-success-rgb), 0.14) !important;
6104
+ color: var(--retro-text) !important;
6105
+ }
6106
+
6107
+ .retro-border-success {
6108
+ border-color: var(--retro-success) !important;
6109
+ }
6110
+
6111
+ .retro-bg-danger {
6112
+ background-color: var(--retro-danger) !important;
6113
+ color: var(--retro-danger-fg) !important;
6114
+ }
6115
+ .retro-bg-danger h1, .retro-bg-danger h2, .retro-bg-danger h3, .retro-bg-danger h4, .retro-bg-danger h5, .retro-bg-danger h6 {
6116
+ color: inherit;
6117
+ }
6118
+
6119
+ .retro-bg-danger-subtle {
6120
+ background-color: rgba(var(--retro-danger-rgb), 0.14) !important;
6121
+ color: var(--retro-text) !important;
6122
+ }
6123
+
6124
+ .retro-bg-danger-lightest {
6125
+ background-color: rgba(var(--retro-danger-rgb), 0.14) !important;
6126
+ color: var(--retro-text) !important;
6127
+ }
6128
+
6129
+ .retro-border-danger {
6130
+ border-color: var(--retro-danger) !important;
6131
+ }
6132
+
6133
+ .retro-bg-warning {
6134
+ background-color: var(--retro-warning) !important;
6135
+ color: var(--retro-warning-fg) !important;
6136
+ }
6137
+ .retro-bg-warning h1, .retro-bg-warning h2, .retro-bg-warning h3, .retro-bg-warning h4, .retro-bg-warning h5, .retro-bg-warning h6 {
6138
+ color: inherit;
6139
+ }
6140
+
6141
+ .retro-bg-warning-subtle {
6142
+ background-color: rgba(var(--retro-warning-rgb), 0.14) !important;
6143
+ color: var(--retro-text) !important;
6144
+ }
6145
+
6146
+ .retro-bg-warning-lightest {
6147
+ background-color: rgba(var(--retro-warning-rgb), 0.14) !important;
6148
+ color: var(--retro-text) !important;
6149
+ }
6150
+
6151
+ .retro-border-warning {
6152
+ border-color: var(--retro-warning) !important;
6153
+ }
6154
+
6155
+ .retro-bg-info {
6156
+ background-color: var(--retro-info) !important;
6157
+ color: var(--retro-info-fg) !important;
6158
+ }
6159
+ .retro-bg-info h1, .retro-bg-info h2, .retro-bg-info h3, .retro-bg-info h4, .retro-bg-info h5, .retro-bg-info h6 {
6160
+ color: inherit;
6161
+ }
6162
+
6163
+ .retro-bg-info-subtle {
6164
+ background-color: rgba(var(--retro-info-rgb), 0.14) !important;
6165
+ color: var(--retro-text) !important;
6166
+ }
6167
+
6168
+ .retro-bg-info-lightest {
6169
+ background-color: rgba(var(--retro-info-rgb), 0.14) !important;
6170
+ color: var(--retro-text) !important;
6171
+ }
6172
+
6173
+ .retro-border-info {
6174
+ border-color: var(--retro-info) !important;
6175
+ }
6176
+
6177
+ .retro-bg-teal {
6178
+ background-color: var(--retro-teal) !important;
6179
+ color: var(--retro-teal-fg) !important;
6180
+ }
6181
+ .retro-bg-teal h1, .retro-bg-teal h2, .retro-bg-teal h3, .retro-bg-teal h4, .retro-bg-teal h5, .retro-bg-teal h6 {
6182
+ color: inherit;
6183
+ }
6184
+
6185
+ .retro-bg-teal-subtle {
6186
+ background-color: rgba(var(--retro-teal-rgb), 0.14) !important;
6187
+ color: var(--retro-text) !important;
6188
+ }
6189
+
6190
+ .retro-bg-teal-lightest {
6191
+ background-color: rgba(var(--retro-teal-rgb), 0.14) !important;
6192
+ color: var(--retro-text) !important;
6193
+ }
6194
+
6195
+ .retro-border-teal {
6196
+ border-color: var(--retro-teal) !important;
6197
+ }
6198
+
6199
+ .retro-bg-tan {
6200
+ background-color: var(--retro-tan) !important;
6201
+ color: var(--retro-tan-fg) !important;
6202
+ }
6203
+ .retro-bg-tan h1, .retro-bg-tan h2, .retro-bg-tan h3, .retro-bg-tan h4, .retro-bg-tan h5, .retro-bg-tan h6 {
6204
+ color: inherit;
4934
6205
  }
4935
6206
 
4936
- .mb-5 {
4937
- margin-bottom: 20px !important;
6207
+ .retro-bg-tan-subtle {
6208
+ background-color: rgba(var(--retro-tan-rgb), 0.14) !important;
6209
+ color: var(--retro-text) !important;
4938
6210
  }
4939
6211
 
4940
- .ml-5 {
4941
- margin-left: 20px !important;
6212
+ .retro-bg-tan-lightest {
6213
+ background-color: rgba(var(--retro-tan-rgb), 0.14) !important;
6214
+ color: var(--retro-text) !important;
4942
6215
  }
4943
6216
 
4944
- .mr-5 {
4945
- margin-right: 20px !important;
6217
+ .retro-border-tan {
6218
+ border-color: var(--retro-tan) !important;
4946
6219
  }
4947
6220
 
4948
- .mx-5 {
4949
- margin-left: 20px !important;
4950
- margin-right: 20px !important;
6221
+ .retro-bg-pink {
6222
+ background-color: var(--retro-pink) !important;
6223
+ color: var(--retro-pink-fg) !important;
6224
+ }
6225
+ .retro-bg-pink h1, .retro-bg-pink h2, .retro-bg-pink h3, .retro-bg-pink h4, .retro-bg-pink h5, .retro-bg-pink h6 {
6226
+ color: inherit;
4951
6227
  }
4952
6228
 
4953
- .my-5 {
4954
- margin-top: 20px !important;
4955
- margin-bottom: 20px !important;
6229
+ .retro-bg-pink-subtle {
6230
+ background-color: rgba(var(--retro-pink-rgb), 0.14) !important;
6231
+ color: var(--retro-text) !important;
4956
6232
  }
4957
6233
 
4958
- .pt-5 {
4959
- padding-top: 20px !important;
6234
+ .retro-bg-pink-lightest {
6235
+ background-color: rgba(var(--retro-pink-rgb), 0.14) !important;
6236
+ color: var(--retro-text) !important;
4960
6237
  }
4961
6238
 
4962
- .pb-5 {
4963
- padding-bottom: 20px !important;
6239
+ .retro-border-pink {
6240
+ border-color: var(--retro-pink) !important;
4964
6241
  }
4965
6242
 
4966
- .pl-5 {
4967
- padding-left: 20px !important;
6243
+ .retro-bg-lime {
6244
+ background-color: var(--retro-lime) !important;
6245
+ color: var(--retro-lime-fg) !important;
6246
+ }
6247
+ .retro-bg-lime h1, .retro-bg-lime h2, .retro-bg-lime h3, .retro-bg-lime h4, .retro-bg-lime h5, .retro-bg-lime h6 {
6248
+ color: inherit;
4968
6249
  }
4969
6250
 
4970
- .pr-5 {
4971
- padding-right: 20px !important;
6251
+ .retro-bg-lime-subtle {
6252
+ background-color: rgba(var(--retro-lime-rgb), 0.14) !important;
6253
+ color: var(--retro-text) !important;
4972
6254
  }
4973
6255
 
4974
- .px-5 {
4975
- padding-left: 20px !important;
4976
- padding-right: 20px !important;
6256
+ .retro-bg-lime-lightest {
6257
+ background-color: rgba(var(--retro-lime-rgb), 0.14) !important;
6258
+ color: var(--retro-text) !important;
4977
6259
  }
4978
6260
 
4979
- .py-5 {
4980
- padding-top: 20px !important;
4981
- padding-bottom: 20px !important;
6261
+ .retro-border-lime {
6262
+ border-color: var(--retro-lime) !important;
6263
+ }
6264
+
6265
+ .retro-bg-cyan {
6266
+ background-color: var(--retro-cyan) !important;
6267
+ color: var(--retro-cyan-fg) !important;
6268
+ }
6269
+ .retro-bg-cyan h1, .retro-bg-cyan h2, .retro-bg-cyan h3, .retro-bg-cyan h4, .retro-bg-cyan h5, .retro-bg-cyan h6 {
6270
+ color: inherit;
6271
+ }
6272
+
6273
+ .retro-bg-cyan-subtle {
6274
+ background-color: rgba(var(--retro-cyan-rgb), 0.14) !important;
6275
+ color: var(--retro-text) !important;
6276
+ }
6277
+
6278
+ .retro-bg-cyan-lightest {
6279
+ background-color: rgba(var(--retro-cyan-rgb), 0.14) !important;
6280
+ color: var(--retro-text) !important;
6281
+ }
6282
+
6283
+ .retro-border-cyan {
6284
+ border-color: var(--retro-cyan) !important;
6285
+ }
6286
+
6287
+ .retro-bg-orange {
6288
+ background-color: var(--retro-orange) !important;
6289
+ color: var(--retro-orange-fg) !important;
6290
+ }
6291
+ .retro-bg-orange h1, .retro-bg-orange h2, .retro-bg-orange h3, .retro-bg-orange h4, .retro-bg-orange h5, .retro-bg-orange h6 {
6292
+ color: inherit;
6293
+ }
6294
+
6295
+ .retro-bg-orange-subtle {
6296
+ background-color: rgba(var(--retro-orange-rgb), 0.14) !important;
6297
+ color: var(--retro-text) !important;
6298
+ }
6299
+
6300
+ .retro-bg-orange-lightest {
6301
+ background-color: rgba(var(--retro-orange-rgb), 0.14) !important;
6302
+ color: var(--retro-text) !important;
6303
+ }
6304
+
6305
+ .retro-border-orange {
6306
+ border-color: var(--retro-orange) !important;
6307
+ }
6308
+
6309
+ .retro-bg-brown {
6310
+ background-color: var(--retro-brown) !important;
6311
+ color: var(--retro-brown-fg) !important;
6312
+ }
6313
+ .retro-bg-brown h1, .retro-bg-brown h2, .retro-bg-brown h3, .retro-bg-brown h4, .retro-bg-brown h5, .retro-bg-brown h6 {
6314
+ color: inherit;
6315
+ }
6316
+
6317
+ .retro-bg-brown-subtle {
6318
+ background-color: rgba(var(--retro-brown-rgb), 0.14) !important;
6319
+ color: var(--retro-text) !important;
6320
+ }
6321
+
6322
+ .retro-bg-brown-lightest {
6323
+ background-color: rgba(var(--retro-brown-rgb), 0.14) !important;
6324
+ color: var(--retro-text) !important;
6325
+ }
6326
+
6327
+ .retro-border-brown {
6328
+ border-color: var(--retro-brown) !important;
6329
+ }
6330
+
6331
+ .retro-bg-violet {
6332
+ background-color: var(--retro-violet) !important;
6333
+ color: var(--retro-violet-fg) !important;
6334
+ }
6335
+ .retro-bg-violet h1, .retro-bg-violet h2, .retro-bg-violet h3, .retro-bg-violet h4, .retro-bg-violet h5, .retro-bg-violet h6 {
6336
+ color: inherit;
6337
+ }
6338
+
6339
+ .retro-bg-violet-subtle {
6340
+ background-color: rgba(var(--retro-violet-rgb), 0.14) !important;
6341
+ color: var(--retro-text) !important;
6342
+ }
6343
+
6344
+ .retro-bg-violet-lightest {
6345
+ background-color: rgba(var(--retro-violet-rgb), 0.14) !important;
6346
+ color: var(--retro-text) !important;
6347
+ }
6348
+
6349
+ .retro-border-violet {
6350
+ border-color: var(--retro-violet) !important;
6351
+ }
6352
+
6353
+ .retro-bg-gray {
6354
+ background-color: var(--retro-gray) !important;
6355
+ color: var(--retro-gray-fg) !important;
6356
+ }
6357
+ .retro-bg-gray h1, .retro-bg-gray h2, .retro-bg-gray h3, .retro-bg-gray h4, .retro-bg-gray h5, .retro-bg-gray h6 {
6358
+ color: inherit;
6359
+ }
6360
+
6361
+ .retro-bg-gray-subtle {
6362
+ background-color: rgba(var(--retro-gray-rgb), 0.14) !important;
6363
+ color: var(--retro-text) !important;
6364
+ }
6365
+
6366
+ .retro-bg-gray-lightest {
6367
+ background-color: rgba(var(--retro-gray-rgb), 0.14) !important;
6368
+ color: var(--retro-text) !important;
6369
+ }
6370
+
6371
+ .retro-border-gray {
6372
+ border-color: var(--retro-gray) !important;
6373
+ }
6374
+
6375
+ .retro-bg-maroon {
6376
+ background-color: var(--retro-maroon) !important;
6377
+ color: var(--retro-maroon-fg) !important;
6378
+ }
6379
+ .retro-bg-maroon h1, .retro-bg-maroon h2, .retro-bg-maroon h3, .retro-bg-maroon h4, .retro-bg-maroon h5, .retro-bg-maroon h6 {
6380
+ color: inherit;
6381
+ }
6382
+
6383
+ .retro-bg-maroon-subtle {
6384
+ background-color: rgba(var(--retro-maroon-rgb), 0.14) !important;
6385
+ color: var(--retro-text) !important;
6386
+ }
6387
+
6388
+ .retro-bg-maroon-lightest {
6389
+ background-color: rgba(var(--retro-maroon-rgb), 0.14) !important;
6390
+ color: var(--retro-text) !important;
6391
+ }
6392
+
6393
+ .retro-border-maroon {
6394
+ border-color: var(--retro-maroon) !important;
6395
+ }
6396
+
6397
+ .retro-bg-gold {
6398
+ background-color: var(--retro-gold) !important;
6399
+ color: var(--retro-gold-fg) !important;
6400
+ }
6401
+ .retro-bg-gold h1, .retro-bg-gold h2, .retro-bg-gold h3, .retro-bg-gold h4, .retro-bg-gold h5, .retro-bg-gold h6 {
6402
+ color: inherit;
6403
+ }
6404
+
6405
+ .retro-bg-gold-subtle {
6406
+ background-color: rgba(var(--retro-gold-rgb), 0.14) !important;
6407
+ color: var(--retro-text) !important;
6408
+ }
6409
+
6410
+ .retro-bg-gold-lightest {
6411
+ background-color: rgba(var(--retro-gold-rgb), 0.14) !important;
6412
+ color: var(--retro-text) !important;
6413
+ }
6414
+
6415
+ .retro-border-gold {
6416
+ border-color: var(--retro-gold) !important;
6417
+ }
6418
+
6419
+ .retro-bg-navy {
6420
+ background-color: var(--retro-navy) !important;
6421
+ color: var(--retro-navy-fg) !important;
6422
+ }
6423
+ .retro-bg-navy h1, .retro-bg-navy h2, .retro-bg-navy h3, .retro-bg-navy h4, .retro-bg-navy h5, .retro-bg-navy h6 {
6424
+ color: inherit;
6425
+ }
6426
+
6427
+ .retro-bg-navy-subtle {
6428
+ background-color: rgba(var(--retro-navy-rgb), 0.14) !important;
6429
+ color: var(--retro-text) !important;
6430
+ }
6431
+
6432
+ .retro-bg-navy-lightest {
6433
+ background-color: rgba(var(--retro-navy-rgb), 0.14) !important;
6434
+ color: var(--retro-text) !important;
6435
+ }
6436
+
6437
+ .retro-border-navy {
6438
+ border-color: var(--retro-navy) !important;
6439
+ }
6440
+
6441
+ .retro-bg-olive {
6442
+ background-color: var(--retro-olive) !important;
6443
+ color: var(--retro-olive-fg) !important;
6444
+ }
6445
+ .retro-bg-olive h1, .retro-bg-olive h2, .retro-bg-olive h3, .retro-bg-olive h4, .retro-bg-olive h5, .retro-bg-olive h6 {
6446
+ color: inherit;
6447
+ }
6448
+
6449
+ .retro-bg-olive-subtle {
6450
+ background-color: rgba(var(--retro-olive-rgb), 0.14) !important;
6451
+ color: var(--retro-text) !important;
6452
+ }
6453
+
6454
+ .retro-bg-olive-lightest {
6455
+ background-color: rgba(var(--retro-olive-rgb), 0.14) !important;
6456
+ color: var(--retro-text) !important;
6457
+ }
6458
+
6459
+ .retro-border-olive {
6460
+ border-color: var(--retro-olive) !important;
6461
+ }
6462
+
6463
+ .retro-bg-silver {
6464
+ background-color: var(--retro-silver) !important;
6465
+ color: var(--retro-silver-fg) !important;
6466
+ }
6467
+ .retro-bg-silver h1, .retro-bg-silver h2, .retro-bg-silver h3, .retro-bg-silver h4, .retro-bg-silver h5, .retro-bg-silver h6 {
6468
+ color: inherit;
6469
+ }
6470
+
6471
+ .retro-bg-silver-subtle {
6472
+ background-color: rgba(var(--retro-silver-rgb), 0.14) !important;
6473
+ color: var(--retro-text) !important;
6474
+ }
6475
+
6476
+ .retro-bg-silver-lightest {
6477
+ background-color: rgba(var(--retro-silver-rgb), 0.14) !important;
6478
+ color: var(--retro-text) !important;
6479
+ }
6480
+
6481
+ .retro-border-silver {
6482
+ border-color: var(--retro-silver) !important;
6483
+ }
6484
+
6485
+ /* Surfaces */
6486
+ .retro-bg-body {
6487
+ background-color: var(--retro-body-bg) !important;
6488
+ color: var(--retro-text) !important;
6489
+ }
6490
+
6491
+ .retro-body-bg {
6492
+ background-color: var(--retro-body-bg) !important;
6493
+ }
6494
+
6495
+ .retro-bg-surface,
6496
+ .retro-bg-white {
6497
+ background-color: var(--retro-bg) !important;
6498
+ color: var(--retro-text) !important;
6499
+ }
6500
+
6501
+ .retro-bg-light,
6502
+ .retro-bg-lightest {
6503
+ background-color: var(--retro-light) !important;
6504
+ color: var(--retro-text) !important;
6505
+ }
6506
+
6507
+ .retro-bg-dark {
6508
+ background-color: var(--retro-body-bg-dark) !important;
6509
+ color: #fff !important;
6510
+ }
6511
+ .retro-bg-dark h1, .retro-bg-dark h2, .retro-bg-dark h3, .retro-bg-dark h4, .retro-bg-dark h5, .retro-bg-dark h6 {
6512
+ color: inherit;
6513
+ }
6514
+
6515
+ .retro-bg-transparent {
6516
+ background-color: transparent !important;
6517
+ }
6518
+
6519
+ /* Text */
6520
+ .retro-text-body {
6521
+ color: var(--retro-text) !important;
6522
+ }
6523
+
6524
+ .retro-text-muted,
6525
+ .retro-text-secondary {
6526
+ color: var(--retro-text-muted) !important;
6527
+ }
6528
+
6529
+ .retro-text-white,
6530
+ .retro-text-inverse {
6531
+ color: var(--retro-text-inverse) !important;
6532
+ }
6533
+
6534
+ .retro-text-left {
6535
+ text-align: left !important;
6536
+ }
6537
+
6538
+ .retro-text-center {
6539
+ text-align: center !important;
6540
+ }
6541
+
6542
+ .retro-text-right {
6543
+ text-align: right !important;
6544
+ }
6545
+
6546
+ .retro-font-normal {
6547
+ font-weight: var(--retro-font-weight-normal) !important;
6548
+ }
6549
+
6550
+ .retro-font-bold {
6551
+ font-weight: var(--retro-font-weight-bold) !important;
6552
+ }
6553
+
6554
+ .retro-text-2xl {
6555
+ font-size: var(--retro-font-size-2xl) !important;
6556
+ }
6557
+
6558
+ .retro-text-3xl {
6559
+ font-size: var(--retro-font-size-3xl) !important;
6560
+ }
6561
+
6562
+ /* Borders */
6563
+ .retro-border {
6564
+ border: var(--retro-border-width) solid var(--retro-border-dark) !important;
6565
+ }
6566
+
6567
+ .retro-border-2 {
6568
+ border: var(--retro-border-width-thick) solid var(--retro-border-dark) !important;
6569
+ }
6570
+
6571
+ .retro-border-0 {
6572
+ border: 0 !important;
6573
+ }
6574
+
6575
+ .retro-border-t-0 {
6576
+ border-top: 0 !important;
6577
+ }
6578
+
6579
+ .retro-border-b-0 {
6580
+ border-bottom: 0 !important;
6581
+ }
6582
+
6583
+ .retro-border-top {
6584
+ border-top: var(--retro-border-width-thick) solid var(--retro-border-dark) !important;
6585
+ }
6586
+
6587
+ .retro-border-bottom {
6588
+ border-bottom: var(--retro-border-width-thick) solid var(--retro-border-dark) !important;
6589
+ }
6590
+
6591
+ .retro-border-left {
6592
+ border-left: var(--retro-border-width-thick) solid var(--retro-border-dark) !important;
6593
+ }
6594
+
6595
+ .retro-border-right {
6596
+ border-right: var(--retro-border-width-thick) solid var(--retro-border-dark) !important;
6597
+ }
6598
+
6599
+ .retro-border-black {
6600
+ border-color: var(--retro-border-dark) !important;
6601
+ }
6602
+
6603
+ .retro-border-gray {
6604
+ border-color: var(--retro-border-medium) !important;
6605
+ }
6606
+
6607
+ .retro-border-light {
6608
+ border-color: var(--retro-border-light) !important;
6609
+ }
6610
+
6611
+ .retro-border-muted {
6612
+ border-color: var(--retro-text-muted) !important;
6613
+ }
6614
+
6615
+ /**
6616
+ * @name Effect Utilities
6617
+ * @group utilities
6618
+ * @description
6619
+ * Bevels and shadows. The Win9x look is built from hard-edged insets rather
6620
+ * than soft blur, so `retro-raised` / `retro-sunken` are usually what you want;
6621
+ * the `retro-shadow-*` scale is there for depth on floating surfaces.
6622
+ */
6623
+ .retro-raised {
6624
+ box-shadow: var(--retro-border-raised) !important;
6625
+ }
6626
+
6627
+ .retro-sunken {
6628
+ box-shadow: var(--retro-border-sunken) !important;
6629
+ }
6630
+
6631
+ .retro-shadow-none {
6632
+ box-shadow: none !important;
6633
+ }
6634
+
6635
+ .retro-shadow-sm {
6636
+ box-shadow: var(--retro-box-shadow-subtle) !important;
6637
+ }
6638
+
6639
+ .retro-shadow-md {
6640
+ box-shadow: var(--retro-box-shadow-medium) !important;
6641
+ }
6642
+
6643
+ .retro-shadow-lg {
6644
+ box-shadow: 3px 3px 0 var(--retro-border-medium), 0 4px 12px rgba(var(--retro-black-rgb), 0.18) !important;
6645
+ }
6646
+
6647
+ .retro-rounded {
6648
+ border-radius: 4px !important;
6649
+ }
6650
+
6651
+ .retro-rounded-lg {
6652
+ border-radius: 8px !important;
6653
+ }
6654
+
6655
+ .retro-rounded-full {
6656
+ border-radius: 9999px !important;
6657
+ }
6658
+
6659
+ .retro-rounded-none {
6660
+ border-radius: 0 !important;
6661
+ }
6662
+
6663
+ .retro-overflow-hidden {
6664
+ overflow: hidden !important;
6665
+ }
6666
+
6667
+ .retro-overflow-auto {
6668
+ overflow: auto !important;
6669
+ }
6670
+
6671
+ .retro-overflow-x-auto {
6672
+ overflow-x: auto !important;
4982
6673
  }
4983
6674
 
4984
6675
  /* RetroCSS - A Retro-Inspired CSS Framework */
@@ -5853,24 +7544,53 @@ input[type=datetime-local].retro-input.retro-input-sm {
5853
7544
  grid-template-columns: repeat(3, 1fr);
5854
7545
  }
5855
7546
  }
5856
- .main-content {
5857
- margin-left: 220px;
7547
+ /**
7548
+ * @name Layout
7549
+ * @group utilities
7550
+ * @description
7551
+ * Page shell: an optional sidebar beside a main content column.
7552
+ *
7553
+ * This lived in index.html's inline <style> while every page in the repo used
7554
+ * the class, so the five example pages — which carry no <style> block — got no
7555
+ * layout at all. The sidebar and the content stacked as plain blocks, leaving a
7556
+ * tall empty gap and pushing the content far below the fold.
7557
+ *
7558
+ * @example html
7559
+ * <div class="retro-main-layout">
7560
+ * <aside class="retro-sidebar">...</aside>
7561
+ * <div class="main-content">...</div>
7562
+ * </div>
7563
+ */
7564
+ .retro-main-layout {
7565
+ display: flex;
7566
+ flex-direction: column;
7567
+ gap: var(--retro-spacing-md);
7568
+ width: 100%;
7569
+ max-width: var(--retro-container-xxl);
7570
+ margin: 0 auto;
7571
+ padding: 0 var(--retro-spacing-md);
7572
+ box-sizing: border-box;
5858
7573
  }
5859
-
5860
- @media (max-width: 768px) {
5861
- .main-content {
5862
- margin-left: 0 !important;
5863
- width: 100vw !important;
5864
- max-width: 100vw !important;
5865
- box-sizing: border-box;
5866
- }
5867
- .retro-container, .demo-section {
5868
- width: 100vw !important;
5869
- max-width: 100vw !important;
5870
- box-sizing: border-box;
5871
- margin-left: 0 !important;
5872
- padding: 0 var(--retro-spacing-md) !important;
7574
+ @media (min-width: 768px) {
7575
+ .retro-main-layout {
7576
+ flex-direction: row;
7577
+ align-items: flex-start;
5873
7578
  }
5874
7579
  }
7580
+ .retro-main-layout > .retro-sidebar {
7581
+ flex: 0 0 auto;
7582
+ }
7583
+ .retro-main-layout > .main-content,
7584
+ .retro-main-layout > main {
7585
+ flex: 1 1 auto;
7586
+ min-width: 0;
7587
+ width: 100%;
7588
+ }
7589
+
7590
+ .main-content {
7591
+ width: 100%;
7592
+ min-width: 0;
7593
+ box-sizing: border-box;
7594
+ }
5875
7595
 
5876
7596
  /*# sourceMappingURL=retro.css.map */