mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 18:26:14 -04:00
surpressimg sass warnings
This commit is contained in:
parent
4825b265c7
commit
a085c20d2f
247 changed files with 9469 additions and 10096 deletions
|
@ -230,7 +230,7 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-color: #373c44;
|
||||
--pico-text-selection-color: rgba(0, 166, 110, 0.25);
|
||||
--pico-muted-color: #646b79;
|
||||
--pico-muted-border-color: #e7eaf0;
|
||||
--pico-muted-border-color: rgb(231, 234, 239.5);
|
||||
--pico-primary: #007a50;
|
||||
--pico-primary-background: #007a50;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
|
@ -268,21 +268,21 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-h4-color: #4d535e;
|
||||
--pico-h5-color: #5c6370;
|
||||
--pico-h6-color: #646b79;
|
||||
--pico-mark-background-color: #fde7c0;
|
||||
--pico-mark-background-color: rgb(252.5, 230.5, 191.5);
|
||||
--pico-mark-color: #0f1114;
|
||||
--pico-ins-color: #1d6a54;
|
||||
--pico-del-color: #883935;
|
||||
--pico-ins-color: rgb(28.5, 105.5, 84);
|
||||
--pico-del-color: rgb(136, 56.5, 53);
|
||||
--pico-blockquote-border-color: var(--pico-muted-border-color);
|
||||
--pico-blockquote-footer-color: var(--pico-muted-color);
|
||||
--pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-table-border-color: var(--pico-muted-border-color);
|
||||
--pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375);
|
||||
--pico-code-background-color: #f3f5f7;
|
||||
--pico-code-background-color: rgb(243, 244.5, 246.75);
|
||||
--pico-code-color: #646b79;
|
||||
--pico-code-kbd-background-color: var(--pico-color);
|
||||
--pico-code-kbd-color: var(--pico-background-color);
|
||||
--pico-form-element-background-color: #fbfcfc;
|
||||
--pico-form-element-background-color: rgb(251, 251.5, 252.25);
|
||||
--pico-form-element-selected-background-color: #dfe3eb;
|
||||
--pico-form-element-border-color: #cfd5e2;
|
||||
--pico-form-element-color: #23262c;
|
||||
|
@ -291,11 +291,11 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-form-element-active-border-color: var(--pico-primary-border);
|
||||
--pico-form-element-focus-color: var(--pico-primary-border);
|
||||
--pico-form-element-disabled-opacity: 0.5;
|
||||
--pico-form-element-invalid-border-color: #b86a6b;
|
||||
--pico-form-element-invalid-active-border-color: #c84f48;
|
||||
--pico-form-element-invalid-border-color: rgb(183.5, 105.5, 106.5);
|
||||
--pico-form-element-invalid-active-border-color: rgb(200.25, 79.25, 72.25);
|
||||
--pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color);
|
||||
--pico-form-element-valid-border-color: #4c9b8a;
|
||||
--pico-form-element-valid-active-border-color: #279977;
|
||||
--pico-form-element-valid-border-color: rgb(76, 154.5, 137.5);
|
||||
--pico-form-element-valid-active-border-color: rgb(39, 152.75, 118.75);
|
||||
--pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color);
|
||||
--pico-switch-background-color: #bfc7d9;
|
||||
--pico-switch-checked-background-color: var(--pico-primary-background);
|
||||
|
@ -313,7 +313,7 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-card-background-color: var(--pico-background-color);
|
||||
--pico-card-border-color: var(--pico-muted-border-color);
|
||||
--pico-card-box-shadow: var(--pico-box-shadow);
|
||||
--pico-card-sectioning-background-color: #fbfcfc;
|
||||
--pico-card-sectioning-background-color: rgb(251, 251.5, 252.25);
|
||||
--pico-dropdown-background-color: #fff;
|
||||
--pico-dropdown-border-color: #eff1f4;
|
||||
--pico-dropdown-box-shadow: var(--pico-box-shadow);
|
||||
|
@ -325,8 +325,8 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-progress-color: var(--pico-primary-background);
|
||||
--pico-tooltip-background-color: var(--pico-contrast-background);
|
||||
--pico-tooltip-color: var(--pico-contrast-inverse);
|
||||
--pico-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 155, 138)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
||||
--pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200, 79, 72)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
||||
--pico-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 154.5, 137.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
||||
--pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200.25, 79.25, 72.25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
||||
}
|
||||
[data-theme=light] input:is([type=submit],
|
||||
[type=button],
|
||||
|
@ -346,7 +346,7 @@ details summary[role=button]:not(.outline)::after {
|
|||
@media only screen and (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme]) {
|
||||
color-scheme: dark;
|
||||
--pico-background-color: #13171f;
|
||||
--pico-background-color: rgb(19, 22.5, 30.5);
|
||||
--pico-color: #c2c7d0;
|
||||
--pico-text-selection-color: rgba(0, 180, 120, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
|
@ -381,7 +381,7 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-contrast-hover-underline: var(--pico-contrast-hover);
|
||||
--pico-contrast-focus: rgba(207, 213, 226, 0.25);
|
||||
--pico-contrast-inverse: #000;
|
||||
--pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 9, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 9, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 9, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 9, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 9, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 9, 12, 0.06), 0 0 0 0.0625rem rgba(7, 9, 12, 0.015);
|
||||
--pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 8.5, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 8.5, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 8.5, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 8.5, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 8.5, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 8.5, 12, 0.06), 0 0 0 0.0625rem rgba(7, 8.5, 12, 0.015);
|
||||
--pico-h1-color: #f0f1f3;
|
||||
--pico-h2-color: #e0e3e7;
|
||||
--pico-h3-color: #c2c7d0;
|
||||
|
@ -391,31 +391,31 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-mark-background-color: #014063;
|
||||
--pico-mark-color: #fff;
|
||||
--pico-ins-color: #62af9a;
|
||||
--pico-del-color: #ce7e7b;
|
||||
--pico-del-color: rgb(205.5, 126, 123);
|
||||
--pico-blockquote-border-color: var(--pico-muted-border-color);
|
||||
--pico-blockquote-footer-color: var(--pico-muted-color);
|
||||
--pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-table-border-color: var(--pico-muted-border-color);
|
||||
--pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375);
|
||||
--pico-code-background-color: #1a1f28;
|
||||
--pico-code-background-color: rgb(26, 30.5, 40.25);
|
||||
--pico-code-color: #8891a4;
|
||||
--pico-code-kbd-background-color: var(--pico-color);
|
||||
--pico-code-kbd-color: var(--pico-background-color);
|
||||
--pico-form-element-background-color: #1c212c;
|
||||
--pico-form-element-background-color: rgb(28, 33, 43.5);
|
||||
--pico-form-element-selected-background-color: #2a3140;
|
||||
--pico-form-element-border-color: #2a3140;
|
||||
--pico-form-element-color: #e0e3e7;
|
||||
--pico-form-element-placeholder-color: #8891a4;
|
||||
--pico-form-element-active-background-color: #1a1f28;
|
||||
--pico-form-element-active-background-color: rgb(26, 30.5, 40.25);
|
||||
--pico-form-element-active-border-color: var(--pico-primary-border);
|
||||
--pico-form-element-focus-color: var(--pico-primary-border);
|
||||
--pico-form-element-disabled-opacity: 0.5;
|
||||
--pico-form-element-invalid-border-color: #964a50;
|
||||
--pico-form-element-invalid-active-border-color: #b7403b;
|
||||
--pico-form-element-invalid-border-color: rgb(149.5, 74, 80);
|
||||
--pico-form-element-invalid-active-border-color: rgb(183.25, 63.5, 59);
|
||||
--pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color);
|
||||
--pico-form-element-valid-border-color: #2a7b6f;
|
||||
--pico-form-element-valid-active-border-color: #16896a;
|
||||
--pico-form-element-valid-active-border-color: rgb(22, 137, 105.5);
|
||||
--pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color);
|
||||
--pico-switch-background-color: #333c4e;
|
||||
--pico-switch-checked-background-color: var(--pico-primary-background);
|
||||
|
@ -433,20 +433,20 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-card-background-color: #181c25;
|
||||
--pico-card-border-color: var(--pico-card-background-color);
|
||||
--pico-card-box-shadow: var(--pico-box-shadow);
|
||||
--pico-card-sectioning-background-color: #1a1f28;
|
||||
--pico-card-sectioning-background-color: rgb(26, 30.5, 40.25);
|
||||
--pico-dropdown-background-color: #181c25;
|
||||
--pico-dropdown-border-color: #202632;
|
||||
--pico-dropdown-box-shadow: var(--pico-box-shadow);
|
||||
--pico-dropdown-color: var(--pico-color);
|
||||
--pico-dropdown-hover-background-color: #202632;
|
||||
--pico-loading-spinner-opacity: 0.5;
|
||||
--pico-modal-overlay-background-color: rgba(8, 9, 10, 0.75);
|
||||
--pico-modal-overlay-background-color: rgba(7.5, 8.5, 10, 0.75);
|
||||
--pico-progress-background-color: #202632;
|
||||
--pico-progress-color: var(--pico-primary-background);
|
||||
--pico-tooltip-background-color: var(--pico-contrast-background);
|
||||
--pico-tooltip-color: var(--pico-contrast-inverse);
|
||||
--pico-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
||||
--pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(150, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
||||
--pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
||||
}
|
||||
:root:not([data-theme]) input:is([type=submit],
|
||||
[type=button],
|
||||
|
@ -469,7 +469,7 @@ details summary[role=button]:not(.outline)::after {
|
|||
}
|
||||
[data-theme=dark] {
|
||||
color-scheme: dark;
|
||||
--pico-background-color: #13171f;
|
||||
--pico-background-color: rgb(19, 22.5, 30.5);
|
||||
--pico-color: #c2c7d0;
|
||||
--pico-text-selection-color: rgba(0, 180, 120, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
|
@ -504,7 +504,7 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-contrast-hover-underline: var(--pico-contrast-hover);
|
||||
--pico-contrast-focus: rgba(207, 213, 226, 0.25);
|
||||
--pico-contrast-inverse: #000;
|
||||
--pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 9, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 9, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 9, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 9, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 9, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 9, 12, 0.06), 0 0 0 0.0625rem rgba(7, 9, 12, 0.015);
|
||||
--pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 8.5, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 8.5, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 8.5, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 8.5, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 8.5, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 8.5, 12, 0.06), 0 0 0 0.0625rem rgba(7, 8.5, 12, 0.015);
|
||||
--pico-h1-color: #f0f1f3;
|
||||
--pico-h2-color: #e0e3e7;
|
||||
--pico-h3-color: #c2c7d0;
|
||||
|
@ -514,31 +514,31 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-mark-background-color: #014063;
|
||||
--pico-mark-color: #fff;
|
||||
--pico-ins-color: #62af9a;
|
||||
--pico-del-color: #ce7e7b;
|
||||
--pico-del-color: rgb(205.5, 126, 123);
|
||||
--pico-blockquote-border-color: var(--pico-muted-border-color);
|
||||
--pico-blockquote-footer-color: var(--pico-muted-color);
|
||||
--pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-table-border-color: var(--pico-muted-border-color);
|
||||
--pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375);
|
||||
--pico-code-background-color: #1a1f28;
|
||||
--pico-code-background-color: rgb(26, 30.5, 40.25);
|
||||
--pico-code-color: #8891a4;
|
||||
--pico-code-kbd-background-color: var(--pico-color);
|
||||
--pico-code-kbd-color: var(--pico-background-color);
|
||||
--pico-form-element-background-color: #1c212c;
|
||||
--pico-form-element-background-color: rgb(28, 33, 43.5);
|
||||
--pico-form-element-selected-background-color: #2a3140;
|
||||
--pico-form-element-border-color: #2a3140;
|
||||
--pico-form-element-color: #e0e3e7;
|
||||
--pico-form-element-placeholder-color: #8891a4;
|
||||
--pico-form-element-active-background-color: #1a1f28;
|
||||
--pico-form-element-active-background-color: rgb(26, 30.5, 40.25);
|
||||
--pico-form-element-active-border-color: var(--pico-primary-border);
|
||||
--pico-form-element-focus-color: var(--pico-primary-border);
|
||||
--pico-form-element-disabled-opacity: 0.5;
|
||||
--pico-form-element-invalid-border-color: #964a50;
|
||||
--pico-form-element-invalid-active-border-color: #b7403b;
|
||||
--pico-form-element-invalid-border-color: rgb(149.5, 74, 80);
|
||||
--pico-form-element-invalid-active-border-color: rgb(183.25, 63.5, 59);
|
||||
--pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color);
|
||||
--pico-form-element-valid-border-color: #2a7b6f;
|
||||
--pico-form-element-valid-active-border-color: #16896a;
|
||||
--pico-form-element-valid-active-border-color: rgb(22, 137, 105.5);
|
||||
--pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color);
|
||||
--pico-switch-background-color: #333c4e;
|
||||
--pico-switch-checked-background-color: var(--pico-primary-background);
|
||||
|
@ -556,20 +556,20 @@ details summary[role=button]:not(.outline)::after {
|
|||
--pico-card-background-color: #181c25;
|
||||
--pico-card-border-color: var(--pico-card-background-color);
|
||||
--pico-card-box-shadow: var(--pico-box-shadow);
|
||||
--pico-card-sectioning-background-color: #1a1f28;
|
||||
--pico-card-sectioning-background-color: rgb(26, 30.5, 40.25);
|
||||
--pico-dropdown-background-color: #181c25;
|
||||
--pico-dropdown-border-color: #202632;
|
||||
--pico-dropdown-box-shadow: var(--pico-box-shadow);
|
||||
--pico-dropdown-color: var(--pico-color);
|
||||
--pico-dropdown-hover-background-color: #202632;
|
||||
--pico-loading-spinner-opacity: 0.5;
|
||||
--pico-modal-overlay-background-color: rgba(8, 9, 10, 0.75);
|
||||
--pico-modal-overlay-background-color: rgba(7.5, 8.5, 10, 0.75);
|
||||
--pico-progress-background-color: #202632;
|
||||
--pico-progress-color: var(--pico-primary-background);
|
||||
--pico-tooltip-background-color: var(--pico-contrast-background);
|
||||
--pico-tooltip-color: var(--pico-contrast-inverse);
|
||||
--pico-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
||||
--pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(150, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
||||
--pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
||||
}
|
||||
[data-theme=dark] input:is([type=submit],
|
||||
[type=button],
|
||||
|
@ -1118,8 +1118,8 @@ tfoot td {
|
|||
border-bottom: 0;
|
||||
}
|
||||
|
||||
table.striped tbody tr:nth-child(odd) th,
|
||||
table.striped tbody tr:nth-child(odd) td {
|
||||
table.striped tbody tr:nth-child(odd of :not([hidden])) th,
|
||||
table.striped tbody tr:nth-child(odd of :not([hidden])) td {
|
||||
background-color: var(--pico-table-row-stripped-background-color);
|
||||
}
|
||||
|
||||
|
@ -1326,7 +1326,7 @@ textarea {
|
|||
border-width: 0;
|
||||
}
|
||||
|
||||
input:not([type=checkbox], [type=radio], [type=range]) {
|
||||
input:not([type=checkbox], [type=radio], [type=range], [type=date]) {
|
||||
height: calc(1rem * var(--pico-line-height) + var(--pico-form-element-spacing-vertical) * 2 + var(--pico-border-width) * 2);
|
||||
}
|
||||
|
||||
|
@ -1528,17 +1528,17 @@ textarea[aria-invalid] {
|
|||
background-size: 1rem var(--pico-icon-height) !important;
|
||||
}
|
||||
|
||||
:where(input, select, textarea, fieldset, .grid) + small {
|
||||
:where(input, select, textarea, fieldset, .grid, .dropdown) + small {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: calc(var(--pico-spacing) * -0.75);
|
||||
margin-bottom: var(--pico-spacing);
|
||||
color: var(--pico-muted-color);
|
||||
}
|
||||
:where(input, select, textarea, fieldset, .grid)[aria-invalid=false] + small {
|
||||
:where(input, select, textarea, fieldset, .grid, .dropdown)[aria-invalid=false] + small {
|
||||
color: var(--pico-ins-color);
|
||||
}
|
||||
:where(input, select, textarea, fieldset, .grid)[aria-invalid=true] + small {
|
||||
:where(input, select, textarea, fieldset, .grid, .dropdown)[aria-invalid=true] + small {
|
||||
color: var(--pico-del-color);
|
||||
}
|
||||
|
||||
|
@ -1993,7 +1993,7 @@ details.dropdown {
|
|||
position: relative;
|
||||
border-bottom: none;
|
||||
}
|
||||
details.dropdown summary::after,
|
||||
details.dropdown > summary::after,
|
||||
details.dropdown > button::after,
|
||||
details.dropdown > a::after {
|
||||
display: block;
|
||||
|
@ -2013,7 +2013,7 @@ nav details.dropdown {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
details.dropdown summary:not([role]) {
|
||||
details.dropdown > summary:not([role]) {
|
||||
height: calc(1rem * var(--pico-line-height) + var(--pico-form-element-spacing-vertical) * 2 + var(--pico-border-width) * 2);
|
||||
padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
|
||||
border: var(--pico-border-width) solid var(--pico-form-element-border-color);
|
||||
|
@ -2027,22 +2027,22 @@ details.dropdown summary:not([role]) {
|
|||
user-select: none;
|
||||
transition: background-color var(--pico-transition), border-color var(--pico-transition), color var(--pico-transition), box-shadow var(--pico-transition);
|
||||
}
|
||||
details.dropdown summary:not([role]):active, details.dropdown summary:not([role]):focus {
|
||||
details.dropdown > summary:not([role]):active, details.dropdown > summary:not([role]):focus {
|
||||
border-color: var(--pico-form-element-active-border-color);
|
||||
background-color: var(--pico-form-element-active-background-color);
|
||||
}
|
||||
details.dropdown summary:not([role]):focus {
|
||||
details.dropdown > summary:not([role]):focus {
|
||||
box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-form-element-focus-color);
|
||||
}
|
||||
details.dropdown summary:not([role]):focus-visible {
|
||||
details.dropdown > summary:not([role]):focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
details.dropdown summary:not([role])[aria-invalid=false] {
|
||||
details.dropdown > summary:not([role])[aria-invalid=false] {
|
||||
--pico-form-element-border-color: var(--pico-form-element-valid-border-color);
|
||||
--pico-form-element-active-border-color: var(--pico-form-element-valid-focus-color);
|
||||
--pico-form-element-focus-color: var(--pico-form-element-valid-focus-color);
|
||||
}
|
||||
details.dropdown summary:not([role])[aria-invalid=true] {
|
||||
details.dropdown > summary:not([role])[aria-invalid=true] {
|
||||
--pico-form-element-border-color: var(--pico-form-element-invalid-border-color);
|
||||
--pico-form-element-active-border-color: var(--pico-form-element-invalid-focus-color);
|
||||
--pico-form-element-focus-color: var(--pico-form-element-invalid-focus-color);
|
||||
|
@ -2052,18 +2052,18 @@ nav details.dropdown {
|
|||
display: inline;
|
||||
margin: calc(var(--pico-nav-element-spacing-vertical) * -1) 0;
|
||||
}
|
||||
nav details.dropdown summary::after {
|
||||
nav details.dropdown > summary::after {
|
||||
transform: rotate(0deg) translateX(0rem);
|
||||
}
|
||||
nav details.dropdown summary:not([role]) {
|
||||
nav details.dropdown > summary:not([role]) {
|
||||
height: calc(1rem * var(--pico-line-height) + var(--pico-nav-link-spacing-vertical) * 2);
|
||||
padding: calc(var(--pico-nav-link-spacing-vertical) - var(--pico-border-width) * 2) var(--pico-nav-link-spacing-horizontal);
|
||||
}
|
||||
nav details.dropdown summary:not([role]):focus-visible {
|
||||
nav details.dropdown > summary:not([role]):focus-visible {
|
||||
box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
|
||||
}
|
||||
|
||||
details.dropdown summary + ul {
|
||||
details.dropdown > summary + ul {
|
||||
display: flex;
|
||||
z-index: 99;
|
||||
position: absolute;
|
||||
|
@ -2084,23 +2084,23 @@ details.dropdown summary + ul {
|
|||
opacity: 0;
|
||||
transition: opacity var(--pico-transition), transform 0s ease-in-out 1s;
|
||||
}
|
||||
details.dropdown summary + ul[dir=rtl] {
|
||||
details.dropdown > summary + ul[dir=rtl] {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
details.dropdown summary + ul li {
|
||||
details.dropdown > summary + ul li {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
padding: calc(var(--pico-form-element-spacing-vertical) * 0.5) var(--pico-form-element-spacing-horizontal);
|
||||
list-style: none;
|
||||
}
|
||||
details.dropdown summary + ul li:first-of-type {
|
||||
details.dropdown > summary + ul li:first-of-type {
|
||||
margin-top: calc(var(--pico-form-element-spacing-vertical) * 0.5);
|
||||
}
|
||||
details.dropdown summary + ul li:last-of-type {
|
||||
details.dropdown > summary + ul li:last-of-type {
|
||||
margin-bottom: calc(var(--pico-form-element-spacing-vertical) * 0.5);
|
||||
}
|
||||
details.dropdown summary + ul li a {
|
||||
details.dropdown > summary + ul li a {
|
||||
display: block;
|
||||
margin: calc(var(--pico-form-element-spacing-vertical) * -0.5) calc(var(--pico-form-element-spacing-horizontal) * -1);
|
||||
padding: calc(var(--pico-form-element-spacing-vertical) * 0.5) var(--pico-form-element-spacing-horizontal);
|
||||
|
@ -2110,27 +2110,27 @@ details.dropdown summary + ul li a {
|
|||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
details.dropdown summary + ul li a:hover, details.dropdown summary + ul li a:focus, details.dropdown summary + ul li a:active, details.dropdown summary + ul li a:focus-visible, details.dropdown summary + ul li a[aria-current]:not([aria-current=false]) {
|
||||
details.dropdown > summary + ul li a:hover, details.dropdown > summary + ul li a:focus, details.dropdown > summary + ul li a:active, details.dropdown > summary + ul li a:focus-visible, details.dropdown > summary + ul li a[aria-current]:not([aria-current=false]) {
|
||||
background-color: var(--pico-dropdown-hover-background-color);
|
||||
}
|
||||
details.dropdown summary + ul li label {
|
||||
details.dropdown > summary + ul li label {
|
||||
width: 100%;
|
||||
}
|
||||
details.dropdown summary + ul li:has(label):hover {
|
||||
details.dropdown > summary + ul li:has(label):hover {
|
||||
background-color: var(--pico-dropdown-hover-background-color);
|
||||
}
|
||||
|
||||
details.dropdown[open] summary {
|
||||
details.dropdown[open] > summary {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
details.dropdown[open] summary + ul {
|
||||
details.dropdown[open] > summary + ul {
|
||||
transform: scaleY(1);
|
||||
opacity: 1;
|
||||
transition: opacity var(--pico-transition), transform 0s ease-in-out 0s;
|
||||
}
|
||||
|
||||
details.dropdown[open] summary::before {
|
||||
details.dropdown[open] > summary::before {
|
||||
display: block;
|
||||
z-index: 1;
|
||||
position: fixed;
|
||||
|
@ -2277,10 +2277,10 @@ label > details.dropdown {
|
|||
/**
|
||||
* Loading ([aria-busy=true])
|
||||
*/
|
||||
[aria-busy=true]:not(input, select, textarea, html) {
|
||||
[aria-busy=true]:not(input, select, textarea, html, form) {
|
||||
white-space: nowrap;
|
||||
}
|
||||
[aria-busy=true]:not(input, select, textarea, html)::before {
|
||||
[aria-busy=true]:not(input, select, textarea, html, form)::before {
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
|
@ -2290,10 +2290,10 @@ label > details.dropdown {
|
|||
content: "";
|
||||
vertical-align: -0.125em;
|
||||
}
|
||||
[aria-busy=true]:not(input, select, textarea, html):not(:empty)::before {
|
||||
[aria-busy=true]:not(input, select, textarea, html, form):not(:empty)::before {
|
||||
margin-inline-end: calc(var(--pico-spacing) * 0.5);
|
||||
}
|
||||
[aria-busy=true]:not(input, select, textarea, html):empty {
|
||||
[aria-busy=true]:not(input, select, textarea, html, form):empty {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
@ -2314,7 +2314,7 @@ a[aria-busy=true] {
|
|||
}
|
||||
|
||||
dialog {
|
||||
display: flex;
|
||||
display: grid;
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
@ -2327,50 +2327,49 @@ dialog {
|
|||
min-width: 100%;
|
||||
height: inherit;
|
||||
min-height: 100%;
|
||||
padding: 0;
|
||||
padding: var(--pico-spacing);
|
||||
border: 0;
|
||||
-webkit-backdrop-filter: var(--pico-modal-overlay-backdrop-filter);
|
||||
backdrop-filter: var(--pico-modal-overlay-backdrop-filter);
|
||||
background-color: var(--pico-modal-overlay-background-color);
|
||||
color: var(--pico-color);
|
||||
transform: scale(1);
|
||||
transition: transform var(--pico-transition);
|
||||
}
|
||||
dialog article {
|
||||
dialog > article {
|
||||
width: 100%;
|
||||
max-height: calc(100vh - var(--pico-spacing) * 2);
|
||||
margin: var(--pico-spacing);
|
||||
overflow: auto;
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
dialog article {
|
||||
dialog > article {
|
||||
max-width: 510px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
dialog article {
|
||||
dialog > article {
|
||||
max-width: 700px;
|
||||
}
|
||||
}
|
||||
dialog article > header > * {
|
||||
dialog > article > header > * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
dialog article > header .close, dialog article > header :is(a, button)[rel=prev] {
|
||||
dialog > article > header .close, dialog > article > header :is(a, button)[rel=prev] {
|
||||
margin: 0;
|
||||
margin-left: var(--pico-spacing);
|
||||
padding: 0;
|
||||
float: right;
|
||||
}
|
||||
dialog article > footer {
|
||||
dialog > article > footer {
|
||||
text-align: right;
|
||||
}
|
||||
dialog article > footer button,
|
||||
dialog article > footer [role=button] {
|
||||
dialog > article > footer button,
|
||||
dialog > article > footer [role=button] {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
dialog article > footer button:not(:first-of-type),
|
||||
dialog article > footer [role=button]:not(:first-of-type) {
|
||||
dialog > article > footer button:not(:first-of-type),
|
||||
dialog > article > footer [role=button]:not(:first-of-type) {
|
||||
margin-left: calc(var(--pico-spacing) * 0.5);
|
||||
}
|
||||
dialog article .close, dialog article :is(a, button)[rel=prev] {
|
||||
dialog > article .close, dialog > article :is(a, button)[rel=prev] {
|
||||
display: block;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
|
@ -2386,11 +2385,15 @@ dialog article .close, dialog article :is(a, button)[rel=prev] {
|
|||
opacity: 0.5;
|
||||
transition: opacity var(--pico-transition);
|
||||
}
|
||||
dialog article .close:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), dialog article :is(a, button)[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
|
||||
dialog > article .close:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), dialog > article :is(a, button)[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
|
||||
opacity: 1;
|
||||
}
|
||||
dialog:not([open]), dialog[open=false] {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
dialog:not([open]) article, dialog[open=false] article {
|
||||
transform: scale(0.7);
|
||||
}
|
||||
|
||||
.modal-is-open {
|
||||
|
@ -2404,6 +2407,10 @@ dialog:not([open]), dialog[open=false] {
|
|||
touch-action: auto;
|
||||
}
|
||||
|
||||
body:has(dialog[open]) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
:where(.modal-is-opening, .modal-is-closing) dialog,
|
||||
:where(.modal-is-opening, .modal-is-closing) dialog > article {
|
||||
animation-duration: 0.2s;
|
||||
|
@ -2611,7 +2618,7 @@ progress::-moz-progress-bar {
|
|||
[data-tooltip] {
|
||||
position: relative;
|
||||
}
|
||||
[data-tooltip]:not(a, button, input) {
|
||||
[data-tooltip]:not(a, button, input, [role=button]) {
|
||||
border-bottom: 1px dotted;
|
||||
text-decoration: none;
|
||||
cursor: help;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue