@massimo-cassandro/minimo 0.1.3 → 0.1.5

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.
Files changed (61) hide show
  1. package/package.json +4 -6
  2. package/src/components/auto-datatable/auto-datatable.css +355 -0
  3. package/src/components/auto-datatable/auto-datatable.js +154 -0
  4. package/src/components/init.js +7 -0
  5. package/src/components/modal-alert/flash-alerts.js +32 -0
  6. package/src/components/modal-alert/modal-alert.css +47 -0
  7. package/src/components/modal-alert/modal-alert.js +85 -0
  8. package/src/components/modal-content/modal-content.js +152 -0
  9. package/src/components/modal-content/modal-content.module.css +142 -0
  10. package/src/components/recaptcha/recaptcha.css +74 -0
  11. package/src/components/sf-macro/sf-macro.css +104 -0
  12. package/src/components/sf-macro/sf-macro.js +44 -0
  13. package/src/components/vanilla-cookie-consent/cookie-consent.css +20 -0
  14. package/src/components/vanilla-cookie-consent/cookie-consent.js +76 -0
  15. package/src/components/vanilla-cookie-consent/render-cookie-list.js +32 -0
  16. package/src/components/vanilla-cookie-consent/src/cookie-list.js +85 -0
  17. package/src/components/vanilla-cookie-consent/src/it-translation.js +38 -0
  18. package/src/components/vanilla-cookie-consent/src/run-analytics.js +54 -0
  19. package/src/components/vanilla-cookie-consent/src/run-recaptcha.js +71 -0
  20. package/src/css/alerts.css +95 -0
  21. package/src/css/anchors.css +40 -0
  22. package/src/css/buttons/btn-close.css +41 -0
  23. package/src/css/buttons/buttons.css +188 -0
  24. package/src/css/buttons/status-buttons.css +107 -0
  25. package/src/css/container.css +15 -0
  26. package/src/css/data-formats.css +30 -0
  27. package/src/css/details.css +19 -0
  28. package/src/css/dialog-content.css +72 -0
  29. package/src/css/flex.css +30 -0
  30. package/src/css/forms/form-edit-info.css +17 -0
  31. package/src/css/forms/forms.css +315 -0
  32. package/src/css/grid.css +63 -0
  33. package/src/css/headings.css +34 -0
  34. package/src/css/icons.css +114 -0
  35. package/src/css/inner-nav.css +11 -0
  36. package/src/css/layout-base.css +11 -0
  37. package/src/css/overlay.css +11 -0
  38. package/src/css/reset.css +59 -0
  39. package/src/css/spinners/TODO spinner-circle.css +54 -0
  40. package/src/css/spinners/TODO spinner-three-dots.css +14 -0
  41. package/src/css/spinners/spinner-circle-basic.css +15 -0
  42. package/src/css/spinners/spinner-trailing-dots.css +51 -0
  43. package/src/css/spinners/spinner-wrapper.css +20 -0
  44. package/src/css/svg.css +3 -0
  45. package/src/css/table.css +66 -0
  46. package/src/css/text.css +114 -0
  47. package/src/css/utilities.css +128 -0
  48. package/src/custom-media-default.css +16 -0
  49. package/src/custom-properties-default.css +278 -0
  50. package/src/index-template.css +49 -0
  51. package/src/index.js +0 -0
  52. package/src/js/alert-autoclose.js +9 -0
  53. package/src/js/create-blurhash-canvas.js +47 -0
  54. package/src/js/dialog-content.js +82 -0
  55. package/src/js/dismiss-alerts.js +6 -0
  56. package/src/js/forms.js +36 -0
  57. package/src/js/img-viewer-dom-builder.js +196 -0
  58. package/src/js/inner-nav.js +11 -0
  59. package/src/js/overlay.js +12 -0
  60. package/src/js/print-icon.js +51 -0
  61. package/src/js/spinner.js +30 -0
@@ -0,0 +1,114 @@
1
+ @use 'sass:map';
2
+
3
+ .icon {
4
+ display: inline-block;
5
+ width: 1em;
6
+ aspect-ratio: 1;
7
+
8
+ fill: currentColor;
9
+ stroke: none;
10
+
11
+ /* fill: none;
12
+ stroke: currentColor;
13
+ stroke-linecap: round;
14
+ stroke-linejoin: round;
15
+ stroke-width: 4px; */
16
+
17
+ /* &.icon-bold{
18
+ stroke-width: 8px;
19
+ } */
20
+
21
+ &.icon-lg {
22
+ width: 1.2em;
23
+ height: 1.2em;
24
+ }
25
+ &.icon-xl {
26
+ width: 1.4em;
27
+ height: 1.4em;
28
+ }
29
+ &.icon-xxl {
30
+ width: 2em;
31
+ height: 2em;
32
+ }
33
+ &.icon-4xl {
34
+ width: 8em;
35
+ height: 8em;
36
+ }
37
+
38
+ /* &.fill-icon {
39
+ fill: currentColor;
40
+ stroke: none;
41
+ } */
42
+
43
+ /* &.ratio3x4 {
44
+ height: auto;
45
+ aspect-ratio: 3 / 4;
46
+ }
47
+ &.ratio3x5 {
48
+ height: auto;
49
+ aspect-ratio: 3 / 5;
50
+ } */
51
+ &.baseline-shift-20 {
52
+ translate: 0 20%;
53
+ }
54
+ &.baseline-shift-30 {
55
+ translate: 0 30%;
56
+ }
57
+ &.baseline-negative-shift-20 {
58
+ translate: 0 -20%;
59
+ }
60
+ }
61
+
62
+ /* .duotone-light, .duotone-medium, .duotone-dark {
63
+ fill: currentColor;
64
+ stroke: none;
65
+ }
66
+ .duotone-light {
67
+ fill-opacity: .2;
68
+ }
69
+ .duotone-medium {
70
+ fill-opacity: .4;
71
+ }
72
+ .duotone-dark {
73
+ fill-opacity: .7;
74
+ } */
75
+
76
+ /* contenitore di icon con aggiunta di barra trasversale
77
+ <span class="icon-stroked-wrapper"><svg...></span> */
78
+ /* .icon-stroked-wrapper {
79
+ position: relative;
80
+ top: 2px;
81
+
82
+ &::after {
83
+ position: absolute;
84
+ top: 45%;
85
+ left: -6%;
86
+ width: 110%;
87
+ height: 3px;
88
+ content: '';
89
+ background-color: rgb(var(--ada-danger-rgb) / .7);
90
+ transform-origin: center;
91
+ rotate: 30deg;
92
+ translate: 0 -50%;
93
+ }
94
+
95
+ .icon{
96
+ position: relative;
97
+ top: -2px;
98
+ }
99
+ } */
100
+
101
+ /*
102
+ a .icon {
103
+ fill: $link-color;
104
+
105
+ &:hover {
106
+ fill: $link-hover-color;
107
+ }
108
+ }
109
+ */
110
+
111
+ .btn .icon {
112
+ position: relative;
113
+ /* top:3px; */
114
+ }
@@ -0,0 +1,11 @@
1
+ .inner-nav-main, .inner-nav {
2
+ display: flex;
3
+ gap: 1.5rem;
4
+ justify-content: flex-end;
5
+ margin: 1rem 0;
6
+ /* text-align: end; */
7
+
8
+ @media print {
9
+ display: none;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ html, body {
2
+ /* height: 100%; */
3
+ padding: 0;
4
+ margin: 0;
5
+ font-family: var(--font-family);
6
+ font-size: var(--font-size-base);
7
+ line-height: var(--line-height-base);
8
+ color: var(--text-color);
9
+ background-color: var(--body-bg-color);
10
+ scroll-behavior: smooth;
11
+ }
@@ -0,0 +1,11 @@
1
+ .overlay {
2
+ position: fixed;
3
+ inset: 0;
4
+ z-index: var(--z-index-overlay);
5
+ pointer-events: none;
6
+ background-color: color-mix(in srgb, var(--text-color) 20%, transparent);
7
+ }
8
+ .overlay-inverted {
9
+ background-color: color-mix(in srgb, var(--body-bg) 50%, transparent);
10
+
11
+ }
@@ -0,0 +1,59 @@
1
+ /*
2
+ Josh's Custom CSS Reset
3
+ https://www.joshwcomeau.com/css/custom-css-reset/
4
+ */
5
+ /* 1. Use a more-intuitive box-sizing model */
6
+ *, *::before, *::after {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ /* 2. Remove default margin */
11
+ * {
12
+ margin: 0;
13
+ }
14
+
15
+ /* 3. Enable keyword animations */
16
+ @media (prefers-reduced-motion: no-preference) {
17
+ html {
18
+ interpolate-size: allow-keywords;
19
+ }
20
+ }
21
+
22
+ body {
23
+ /* 4. Add accessible line-height */
24
+ line-height: 1.5;
25
+ /* 5. Improve text rendering */
26
+ -webkit-font-smoothing: antialiased;
27
+ }
28
+
29
+ /* 6. Improve media defaults */
30
+ img, picture, video, canvas, svg {
31
+ display: block;
32
+ max-width: 100%;
33
+ }
34
+
35
+ /* 7. Inherit fonts for form controls */
36
+ input, button, textarea, select {
37
+ font: inherit;
38
+ }
39
+
40
+ /* 8. Avoid text overflows */
41
+ p, h1, h2, h3, h4, h5, h6 {
42
+ overflow-wrap: break-word;
43
+ }
44
+
45
+ /* 9. Improve line wrapping */
46
+ p {
47
+ text-wrap: pretty;
48
+ }
49
+ h1, h2, h3, h4, h5, h6 {
50
+ text-wrap: balance;
51
+ }
52
+
53
+ /*
54
+ 10. Create a root stacking context
55
+ */
56
+ /* stylelint-disable-next-line selector-id-pattern, selector-max-id */
57
+ #root, #__next {
58
+ isolation: isolate;
59
+ }
@@ -0,0 +1,54 @@
1
+ /*
2
+ https://lukehaas.me/projects/css-spinners/ (#2)
3
+
4
+ <div class="spinner-wrapper"><div class="spinner">Loading...</div></div>
5
+ */
6
+
7
+
8
+ .spinner {
9
+ position: relative;
10
+ width: 10em;
11
+ height: 10em;
12
+ margin: 55px auto;
13
+ font-size: .7rem;
14
+ color: var(--spinner-color);
15
+ text-indent: -99999em;
16
+ box-shadow: inset 0 0 0 1em;
17
+ transform: translateZ(0);
18
+
19
+ &, &::before, &::after {
20
+ border-radius: 50%;
21
+ }
22
+
23
+ &::before, &::after {
24
+ position: absolute;
25
+ content: '';
26
+ }
27
+ }
28
+
29
+ .spinner::before {
30
+ top: -.1em;
31
+ left: -.1em;
32
+ width: 5.2em;
33
+ height: 10.2em;
34
+ border-radius: 10.2em 0 0 10.2em;
35
+ transform-origin: 5.1em 5.1em;
36
+ animation: spinner-load 2s infinite ease 1.5s;
37
+ }
38
+ .spinner::after {
39
+ top: -.1em;
40
+ left: 4.9em;
41
+ width: 5.2em;
42
+ height: 10.2em;
43
+ border-radius: 0 10.2em 10.2em 0;
44
+ transform-origin: 0.1em 5.1em;
45
+ animation: spinner-load 2s infinite ease;
46
+ }
47
+ @keyframes spinner-load {
48
+ 0% {
49
+ transform: rotate(0deg);
50
+ }
51
+ 100% {
52
+ transform: rotate(360deg);
53
+ }
54
+ }
@@ -0,0 +1,14 @@
1
+ /* HTML: <div class="loader"></div> */
2
+ /* https://css-loaders.com/dots/ #1 */
3
+ .spinner {
4
+ width: 80px;
5
+ aspect-ratio: 6;
6
+ margin-top: 2rem;
7
+ clip-path: inset(0 100% 0 0);
8
+ background: radial-gradient(circle closest-side, var(--text-color) 90%, transparent) 0 / calc(100% / 3) 100% space;
9
+ animation: l1 1s steps(4) infinite;
10
+ }
11
+
12
+ @keyframes l1 { to { clip-path: inset(0 -34% 0 0); } }
13
+
14
+
@@ -0,0 +1,15 @@
1
+ .spinner {
2
+ display: inline-block;
3
+ width: var(--spinner-size);
4
+ aspect-ratio: 1;
5
+ color: var(--spinner-color);
6
+ text-indent: -99999em;
7
+ border: var(--spinner-stroke) solid;
8
+ border-color: currentColor currentColor transparent;
9
+ border-radius: 50%;
10
+ animation: spinner-border .7s linear infinite;
11
+ }
12
+
13
+ @keyframes spinner-border {
14
+ to { transform: rotate(360deg); }
15
+ }
@@ -0,0 +1,51 @@
1
+ /*
2
+ https://projects.lukehaas.me/css-loaders/ (#6)
3
+
4
+ <div class="spinner-wrapper"><div class="spinner">Loading...</div></div>
5
+ */
6
+
7
+ .spinner {
8
+ position: relative;
9
+ width: 1em;
10
+ height: 1em;
11
+ /* margin: 2rem auto; */
12
+ overflow: hidden;
13
+ font-size: 3.5rem;
14
+ color: var(--text-color);
15
+ text-indent: -9999em;
16
+ border-radius: 50%;
17
+ transform: translateZ(0);
18
+ animation: loader 1.7s infinite ease, round 1.7s infinite ease;
19
+ }
20
+
21
+ @keyframes loader {
22
+ 0% {
23
+ box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
24
+ }
25
+ 5%,
26
+ 95% {
27
+ box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
28
+ }
29
+ 10%,
30
+ 59% {
31
+ box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
32
+ }
33
+ 20% {
34
+ box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
35
+ }
36
+ 38% {
37
+ box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
38
+ }
39
+ 100% {
40
+ box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
41
+ }
42
+ }
43
+
44
+ @keyframes round {
45
+ 0% {
46
+ transform: rotate(0deg);
47
+ }
48
+ 100% {
49
+ transform: rotate(360deg);
50
+ }
51
+ }
@@ -0,0 +1,20 @@
1
+ .spinner-overlay {
2
+ position: absolute;
3
+ inset: 0;
4
+ z-index: var(--z-index-overlay);
5
+ display: grid;
6
+ place-content: center;
7
+ pointer-events: none;
8
+ background-color: var(--spinner-overlay-color);
9
+ }
10
+
11
+ .spinner-wrapper {
12
+ position: absolute;
13
+ top: 1rem;
14
+ left: 50%;
15
+ display: grid;
16
+ place-content: center;
17
+ width: 4rem;
18
+ aspect-ratio: 1;
19
+ translate: -50%;
20
+ }
@@ -0,0 +1,3 @@
1
+ svg {
2
+ fill: currentColor;
3
+ }
@@ -0,0 +1,66 @@
1
+ /* wrapper per le tabelle per evitare che superino la largheza dello spazio disponibile */
2
+ .table-responsive {
3
+ max-width: 100%;
4
+ overflow-x: auto;
5
+ }
6
+
7
+ .table {
8
+
9
+ --alternate-row-bg: color-mix(in srgb, var(--stone-3) 40%, transparent);
10
+ --hover-row-bg: color-mix(in srgb, var(--blue-3) 20%, transparent);
11
+ --border-color: var(--stone-5);
12
+ --border: 1px solid var(--border-color);
13
+
14
+ width: 100%;
15
+ margin: 1rem 0;
16
+ border-collapse: collapse;
17
+
18
+ tr {
19
+ border-bottom: var(--border);
20
+ }
21
+ thead {
22
+ tr:last-child {
23
+ border-width: 3px;
24
+ }
25
+ }
26
+
27
+ tbody {
28
+ tr:nth-child(even) {
29
+ background-color: var(--alternate-row-bg);
30
+ }
31
+
32
+ @media (--mouse) {
33
+ tr:hover {
34
+ background-color: var(--hover-row-bg);
35
+ }
36
+ }
37
+ }
38
+
39
+
40
+ th, td {
41
+ padding: .3rem .6rem;
42
+ line-height: 1.3;
43
+ text-align: start;
44
+ vertical-align: top;
45
+ }
46
+
47
+ &.table-bordered {
48
+ border: var(--border);
49
+
50
+ th, td {
51
+ &:not(:first-child) {
52
+ border-inline-start: var(--border);
53
+ }
54
+ }
55
+ }
56
+
57
+ }
58
+
59
+
60
+ @media (prefers-color-scheme: dark) {
61
+ .table {
62
+ --alternate-row-bg: color-mix(in srgb, var(--stone-12) 60%, transparent);
63
+ --hover-row-bg: color-mix(in srgb, var(--blue-12) 60%, transparent);
64
+ --border-color: var(--stone-8);
65
+ }
66
+ }
@@ -0,0 +1,114 @@
1
+ /* stylelint-disable declaration-no-important */
2
+ p {
3
+ margin: 0 0 var(--spacing-sm);
4
+ }
5
+
6
+ a:link, .btn-link {
7
+ /* TODO rivedere, forse più complicato del necessario */
8
+ &:not(.btn) {
9
+ font-weight: var(--font-weight-semibold);
10
+ color: var(--link-color);
11
+ text-decoration: none;
12
+ }
13
+ }
14
+
15
+ a {
16
+ &:visited {
17
+ color: var(--link-visited-color);
18
+ }
19
+ }
20
+
21
+ a, .btn-link {
22
+ &:focus, &:focus-visible {
23
+ outline: 1px solid color-mix(in srgb, var(--link-color) 60%, transparent);
24
+ outline-offset: 2px;
25
+ }
26
+ &:hover {
27
+ text-decoration: underline;
28
+ text-underline-offset: 2px;
29
+ }
30
+ &:active {
31
+ color: var(--body-bg-color);
32
+ background-color: var(--link-color);
33
+ outline: 2px solid var(--link-color);
34
+ offset: 0;
35
+ }
36
+ }
37
+
38
+
39
+
40
+ strong, b {
41
+ font-weight: 700;
42
+ }
43
+ em, .italic {
44
+ font-style: italic;
45
+ }
46
+
47
+ .text-center {
48
+ text-align: center !important;
49
+ }
50
+ .text-right, .text-end {
51
+ text-align: end !important;
52
+ }
53
+ .text-nowrap {
54
+ white-space: nowrap;
55
+ }
56
+
57
+ .text-monospace {
58
+ font-family: var(--font-family-mono);
59
+ }
60
+ .text-truncate {
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ white-space: nowrap;
64
+ }
65
+
66
+ /* .text-nowrap-dskt {
67
+ @media (--media-large-viewport-up) {
68
+ white-space: nowrap;
69
+ }
70
+ } */
71
+
72
+ .font-italic {
73
+ font-style: italic;
74
+ }
75
+ .font-bold {
76
+ font-weight: var(--font-weight-bold);
77
+ }
78
+ .font-semibold {
79
+ font-weight: var(--font-weight-semibold);
80
+ }
81
+ .text-xs {
82
+ font-size: var(--font-size-xs);
83
+ }
84
+ small, .small, .text-sm {
85
+ font-size: var(--font-size-sm);
86
+ }
87
+ .text-md {
88
+ font-size: var(--font-size-md);
89
+ }
90
+
91
+ .text-muted {
92
+ color: var(--text-muted-color);
93
+ }
94
+
95
+ ul {
96
+ margin: 1rem 0;
97
+ list-style-type: disc;
98
+ }
99
+ li {
100
+ margin-left: 1.5rem;
101
+ }
102
+
103
+ .text-danger {
104
+ color: var(--status-danger-color);
105
+ }
106
+ .text-warning {
107
+ color: var(--status-warning-color);
108
+ }
109
+ .text-info {
110
+ color: var(--status-info-color);
111
+ }
112
+ .text-success {
113
+ color: var(--status-success-color);
114
+ }
@@ -0,0 +1,128 @@
1
+ /* da bootstrap */
2
+ /* stylelint-disable declaration-no-important */
3
+
4
+ .visually-hidden {
5
+ display: block;
6
+ width: 1px !important;
7
+ height: 1px !important;
8
+ padding: 0 !important;
9
+ margin: -1px !important;
10
+ overflow: hidden !important;
11
+ clip: rect(0, 0, 0, 0) !important;
12
+ white-space: nowrap !important;
13
+ border: 0 !important;
14
+ }
15
+
16
+ .overflow-hidden {
17
+ overflow: hidden;
18
+ }
19
+
20
+ @media (--desktop-up) {
21
+ .desktop-visually-hidden {
22
+ display: block;
23
+ width: 1px !important;
24
+ height: 1px !important;
25
+ padding: 0 !important;
26
+ margin: -1px !important;
27
+ overflow: hidden !important;
28
+ clip: rect(0, 0, 0, 0) !important;
29
+ white-space: nowrap !important;
30
+ border: 0 !important;
31
+ }
32
+ }
33
+
34
+ @media (--desktop-down) {
35
+ .small-screen-hidden {
36
+ display: none !important;
37
+ }
38
+ }
39
+
40
+
41
+ @media print {
42
+ .d-print-none {
43
+ display: none;
44
+ }
45
+ }
46
+
47
+ .d-none {
48
+ display: none !important;
49
+ }
50
+ /* .position-relative {
51
+ position: relative;
52
+ } */
53
+
54
+ /* .mobile-hidden {
55
+ @media (--media-large-viewport-down) {
56
+ display: none;
57
+ }
58
+ } */
59
+
60
+ /* .w-100 {
61
+ width: 100% !important;
62
+ } */
63
+ /* .w-auto {
64
+ width: auto !important;
65
+ } */
66
+
67
+ /* .mt-xxs {
68
+ margin-block-start: var(--spacing-xxs);
69
+ } */
70
+ .mt {
71
+ margin-block-start: var(--spacing-base);
72
+ }
73
+ .mt-lg {
74
+ margin-block-start: var(--spacing-lg);
75
+ }
76
+ .mt-xl {
77
+ margin-block-start: var(--spacing-xl);
78
+ }
79
+ .mt-auto {
80
+ margin-block-start: auto;
81
+ }
82
+ /* @media (--media-large-viewport-up) {
83
+
84
+ .mt-dsk-lg {
85
+ margin-block-start: var(--spacing-lg);
86
+ }
87
+ } */
88
+
89
+ .mb-0 {
90
+ margin-block-end: 0;
91
+ }
92
+ .mb {
93
+ margin-block-end: var(--spacing-base);
94
+ }
95
+ .mb-lg {
96
+ margin-block-end: var(--spacing-lg);
97
+ }
98
+ /* .mb-xl {
99
+ margin-block-end: var(--spacing-xl);
100
+ } */
101
+ /* @media (--media-large-viewport-up) {
102
+
103
+ .mb-dsk-lg {
104
+ margin-block-end: var(--spacing-lg);
105
+ }
106
+ } */
107
+
108
+ /* .grid-full-row {
109
+ grid-column: 1 / -1;
110
+ } */
111
+
112
+ .me {
113
+ margin-inline-end: var(--spacing-base);
114
+ }
115
+ .me-xs {
116
+ margin-inline-end: var(--spacing-xs);
117
+ }
118
+
119
+ .mx-lg {
120
+ margin-inline: var(--spacing-lg);
121
+ }
122
+
123
+ .mx-xl {
124
+ margin-inline: var(--spacing-xl);
125
+ }
126
+ .my-xl {
127
+ margin-block: var(--spacing-xl);
128
+ }
@@ -0,0 +1,16 @@
1
+ /*
2
+ 90rem : 1440px
3
+ 64rem : 1024px
4
+ 47.5rem : 760px
5
+ */
6
+
7
+ @custom-media --media-xlarge-viewport-up (width > 90rem);
8
+ @custom-media --media-large-viewport-up (width > 64rem);
9
+ @custom-media --media-medium-viewport-up (width > 47.5rem);
10
+
11
+ @custom-media --media-large-viewport-only (64rem < width <= 90rem);
12
+ @custom-media --media-medium-viewport-only (47.5rem < width <= 64rem);
13
+ @custom-media --media-small-viewport-only (width <= 47.5rem);
14
+
15
+ @custom-media --media-xlarge-viewport-down (max-width: 90rem);
16
+ @custom-media --media-large-viewport-down (max-width: 64rem);