mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
Build CSS
This commit is contained in:
parent
35dff83b3b
commit
db3dc3b43f
255 changed files with 15414 additions and 15288 deletions
|
@ -1,6 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* Pico CSS ✨ v2.2.6 (https://github.com/Yohn/PicoCSS)
|
||||
* Pico CSS ✨ v2.2.7 (https://github.com/Yohn/PicoCSS)
|
||||
* Copyright 2019-2025 - Licensed under MIT
|
||||
*/
|
||||
/**
|
||||
|
@ -203,19 +203,19 @@ input:not([type=submit],
|
|||
color-scheme: light;
|
||||
--pico-background-color: #fff;
|
||||
--pico-color: #373c44;
|
||||
--pico-text-selection-color: rgba(158, 146, 0, 0.25);
|
||||
--pico-text-selection-color: rgba(2, 154, 232, 0.25);
|
||||
--pico-muted-color: #646b79;
|
||||
--pico-muted-border-color: rgb(231, 234, 239.5);
|
||||
--pico-primary: #756b00;
|
||||
--pico-primary-background: #f2df0d;
|
||||
--pico-primary: #0172ad;
|
||||
--pico-primary-background: #0172ad;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(117, 107, 0, 0.5);
|
||||
--pico-primary-hover: #5b5300;
|
||||
--pico-primary-hover-background: #e8d600;
|
||||
--pico-primary-underline: rgba(1, 114, 173, 0.5);
|
||||
--pico-primary-hover: #015887;
|
||||
--pico-primary-hover-background: #02659a;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(158, 146, 0, 0.5);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-primary-focus: rgba(2, 154, 232, 0.5);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #5d6b89;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -279,7 +279,7 @@ input:not([type=submit],
|
|||
--pico-switch-background-color: #bfc7d9;
|
||||
--pico-switch-checked-background-color: var(--pico-primary-background);
|
||||
--pico-switch-color: #fff;
|
||||
--pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
|
||||
--pico-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-range-border-color: #dfe3eb;
|
||||
--pico-range-active-border-color: #bfc7d9;
|
||||
--pico-range-thumb-border-color: var(--pico-background-color);
|
||||
|
@ -309,12 +309,12 @@ input:not([type=submit],
|
|||
[data-theme=light] .pico details summary[role=button]::after,
|
||||
:root:not([data-theme=dark]) .pico details summary[role=button]::after,
|
||||
:host(:not([data-theme=dark])) .pico details summary[role=button]::after {
|
||||
filter: brightness(100) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
[data-theme=light] .pico [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button])::before,
|
||||
:root:not([data-theme=dark]) .pico [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button])::before,
|
||||
:host(:not([data-theme=dark])) .pico [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button])::before {
|
||||
filter: brightness(0) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
[data-theme=light] input:is([type=submit],
|
||||
[type=button],
|
||||
|
@ -343,19 +343,19 @@ input:not([type=submit],
|
|||
color-scheme: dark;
|
||||
--pico-background-color: rgb(19, 22.5, 30.5);
|
||||
--pico-color: #c2c7d0;
|
||||
--pico-text-selection-color: rgba(173, 159, 0, 0.1875);
|
||||
--pico-text-selection-color: rgba(1, 170, 255, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #ad9f00;
|
||||
--pico-primary-background: #f2df0d;
|
||||
--pico-primary: #01aaff;
|
||||
--pico-primary-background: #0172ad;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(173, 159, 0, 0.5);
|
||||
--pico-primary-hover: #caba01;
|
||||
--pico-primary-hover-background: rgb(247.5, 232, 96.5);
|
||||
--pico-primary-underline: rgba(1, 170, 255, 0.5);
|
||||
--pico-primary-hover: #79c0ff;
|
||||
--pico-primary-hover-background: #017fc0;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(173, 159, 0, 0.375);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-primary-focus: rgba(1, 170, 255, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -419,7 +419,7 @@ input:not([type=submit],
|
|||
--pico-switch-background-color: #333c4e;
|
||||
--pico-switch-checked-background-color: var(--pico-primary-background);
|
||||
--pico-switch-color: #fff;
|
||||
--pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
|
||||
--pico-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-range-border-color: #202632;
|
||||
--pico-range-active-border-color: #2a3140;
|
||||
--pico-range-thumb-border-color: var(--pico-background-color);
|
||||
|
@ -462,30 +462,30 @@ input:not([type=submit],
|
|||
}
|
||||
:root:not([data-theme]) .pico details summary[role=button]::after,
|
||||
:host(:not([data-theme])) .pico details summary[role=button]::after {
|
||||
filter: brightness(100) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
:root:not([data-theme]) .pico [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button])::before,
|
||||
:host(:not([data-theme])) .pico [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button])::before {
|
||||
filter: brightness(100) invert(0);
|
||||
filter: brightness(100) invert(1);
|
||||
}
|
||||
}
|
||||
[data-theme=dark] {
|
||||
color-scheme: dark;
|
||||
--pico-background-color: rgb(19, 22.5, 30.5);
|
||||
--pico-color: #c2c7d0;
|
||||
--pico-text-selection-color: rgba(173, 159, 0, 0.1875);
|
||||
--pico-text-selection-color: rgba(1, 170, 255, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #ad9f00;
|
||||
--pico-primary-background: #f2df0d;
|
||||
--pico-primary: #01aaff;
|
||||
--pico-primary-background: #0172ad;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(173, 159, 0, 0.5);
|
||||
--pico-primary-hover: #caba01;
|
||||
--pico-primary-hover-background: rgb(247.5, 232, 96.5);
|
||||
--pico-primary-underline: rgba(1, 170, 255, 0.5);
|
||||
--pico-primary-hover: #79c0ff;
|
||||
--pico-primary-hover-background: #017fc0;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(173, 159, 0, 0.375);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-primary-focus: rgba(1, 170, 255, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -549,7 +549,7 @@ input:not([type=submit],
|
|||
--pico-switch-background-color: #333c4e;
|
||||
--pico-switch-checked-background-color: var(--pico-primary-background);
|
||||
--pico-switch-color: #fff;
|
||||
--pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
|
||||
--pico-switch-thumb-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
||||
--pico-range-border-color: #202632;
|
||||
--pico-range-active-border-color: #2a3140;
|
||||
--pico-range-thumb-border-color: var(--pico-background-color);
|
||||
|
@ -585,10 +585,10 @@ input:not([type=submit],
|
|||
--pico-form-element-focus-color: var(--pico-primary-focus);
|
||||
}
|
||||
[data-theme=dark] .pico details summary[role=button]::after {
|
||||
filter: brightness(100) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
[data-theme=dark] .pico [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button])::before {
|
||||
filter: brightness(100) invert(0);
|
||||
filter: brightness(100) invert(1);
|
||||
}
|
||||
|
||||
.pico progress,
|
||||
|
@ -2113,8 +2113,8 @@ main {
|
|||
/**
|
||||
* Card (<article>, role="article")
|
||||
*/
|
||||
.pico article:not(:has(> form)),
|
||||
.pico [role=article]:not(:has(> form)),
|
||||
.pico article:not(:has(> form:first-child)),
|
||||
.pico [role=article]:not(:has(> form:first-child)),
|
||||
.pico article > form,
|
||||
.pico [role=article] > form {
|
||||
margin-bottom: var(--pico-block-spacing-vertical);
|
||||
|
@ -2123,10 +2123,10 @@ main {
|
|||
background: var(--pico-card-background-color);
|
||||
box-shadow: var(--pico-card-box-shadow);
|
||||
}
|
||||
.pico article:not(:has(> form)) > header,
|
||||
.pico article:not(:has(> form)) > footer,
|
||||
.pico [role=article]:not(:has(> form)) > header,
|
||||
.pico [role=article]:not(:has(> form)) > footer,
|
||||
.pico article:not(:has(> form:first-child)) > header,
|
||||
.pico article:not(:has(> form:first-child)) > footer,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer,
|
||||
.pico article > form > header,
|
||||
.pico article > form > footer,
|
||||
.pico [role=article] > form > header,
|
||||
|
@ -2136,8 +2136,8 @@ main {
|
|||
padding: calc(var(--pico-block-spacing-vertical) * 0.66) var(--pico-block-spacing-horizontal);
|
||||
background-color: var(--pico-card-sectioning-background-color);
|
||||
}
|
||||
.pico article:not(:has(> form)) > header,
|
||||
.pico [role=article]:not(:has(> form)) > header,
|
||||
.pico article:not(:has(> form:first-child)) > header,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header,
|
||||
.pico article > form > header,
|
||||
.pico [role=article] > form > header {
|
||||
margin-top: calc(var(--pico-block-spacing-vertical) * -1);
|
||||
|
@ -2146,18 +2146,18 @@ main {
|
|||
border-top-right-radius: var(--pico-border-radius);
|
||||
border-top-left-radius: var(--pico-border-radius);
|
||||
}
|
||||
.pico article:not(:has(> form)) > header > h1,
|
||||
.pico article:not(:has(> form)) > header > h2,
|
||||
.pico article:not(:has(> form)) > header > h3,
|
||||
.pico article:not(:has(> form)) > header > h4,
|
||||
.pico article:not(:has(> form)) > header > h5,
|
||||
.pico article:not(:has(> form)) > header > h6,
|
||||
.pico [role=article]:not(:has(> form)) > header > h1,
|
||||
.pico [role=article]:not(:has(> form)) > header > h2,
|
||||
.pico [role=article]:not(:has(> form)) > header > h3,
|
||||
.pico [role=article]:not(:has(> form)) > header > h4,
|
||||
.pico [role=article]:not(:has(> form)) > header > h5,
|
||||
.pico [role=article]:not(:has(> form)) > header > h6,
|
||||
.pico article:not(:has(> form:first-child)) > header > h1,
|
||||
.pico article:not(:has(> form:first-child)) > header > h2,
|
||||
.pico article:not(:has(> form:first-child)) > header > h3,
|
||||
.pico article:not(:has(> form:first-child)) > header > h4,
|
||||
.pico article:not(:has(> form:first-child)) > header > h5,
|
||||
.pico article:not(:has(> form:first-child)) > header > h6,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > h1,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > h2,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > h3,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > h4,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > h5,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > h6,
|
||||
.pico article > form > header > h1,
|
||||
.pico article > form > header > h2,
|
||||
.pico article > form > header > h3,
|
||||
|
@ -2172,18 +2172,18 @@ main {
|
|||
.pico [role=article] > form > header > h6 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pico article:not(:has(> form)) > header > hgroup > h1,
|
||||
.pico article:not(:has(> form)) > header > hgroup > h2,
|
||||
.pico article:not(:has(> form)) > header > hgroup > h3,
|
||||
.pico article:not(:has(> form)) > header > hgroup > h4,
|
||||
.pico article:not(:has(> form)) > header > hgroup > h5,
|
||||
.pico article:not(:has(> form)) > header > hgroup > h6,
|
||||
.pico [role=article]:not(:has(> form)) > header > hgroup > h1,
|
||||
.pico [role=article]:not(:has(> form)) > header > hgroup > h2,
|
||||
.pico [role=article]:not(:has(> form)) > header > hgroup > h3,
|
||||
.pico [role=article]:not(:has(> form)) > header > hgroup > h4,
|
||||
.pico [role=article]:not(:has(> form)) > header > hgroup > h5,
|
||||
.pico [role=article]:not(:has(> form)) > header > hgroup > h6,
|
||||
.pico article:not(:has(> form:first-child)) > header > hgroup > h1,
|
||||
.pico article:not(:has(> form:first-child)) > header > hgroup > h2,
|
||||
.pico article:not(:has(> form:first-child)) > header > hgroup > h3,
|
||||
.pico article:not(:has(> form:first-child)) > header > hgroup > h4,
|
||||
.pico article:not(:has(> form:first-child)) > header > hgroup > h5,
|
||||
.pico article:not(:has(> form:first-child)) > header > hgroup > h6,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > hgroup > h1,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > hgroup > h2,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > hgroup > h3,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > hgroup > h4,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > hgroup > h5,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > header > hgroup > h6,
|
||||
.pico article > form > header > hgroup > h1,
|
||||
.pico article > form > header > hgroup > h2,
|
||||
.pico article > form > header > hgroup > h3,
|
||||
|
@ -2198,8 +2198,8 @@ main {
|
|||
.pico [role=article] > form > header > hgroup > h6 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pico article:not(:has(> form)) > footer,
|
||||
.pico [role=article]:not(:has(> form)) > footer,
|
||||
.pico article:not(:has(> form:first-child)) > footer,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer,
|
||||
.pico article > form > footer,
|
||||
.pico [role=article] > form > footer {
|
||||
margin-top: var(--pico-block-spacing-vertical);
|
||||
|
@ -2208,22 +2208,22 @@ main {
|
|||
border-bottom-right-radius: var(--pico-border-radius);
|
||||
border-bottom-left-radius: var(--pico-border-radius);
|
||||
}
|
||||
.pico article:not(:has(> form)) > footer [type=submit],
|
||||
.pico article:not(:has(> form)) > footer [type=reset],
|
||||
.pico article:not(:has(> form)) > footer [type=button],
|
||||
.pico article:not(:has(> form)) > footer [role=group],
|
||||
.pico article:not(:has(> form)) > footer p,
|
||||
.pico article:not(:has(> form)) > footer nav,
|
||||
.pico article:not(:has(> form)) > footer ul,
|
||||
.pico article:not(:has(> form)) > footer ol,
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=submit],
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=reset],
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=button],
|
||||
.pico [role=article]:not(:has(> form)) > footer [role=group],
|
||||
.pico [role=article]:not(:has(> form)) > footer p,
|
||||
.pico [role=article]:not(:has(> form)) > footer nav,
|
||||
.pico [role=article]:not(:has(> form)) > footer ul,
|
||||
.pico [role=article]:not(:has(> form)) > footer ol,
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=submit],
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=reset],
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=button],
|
||||
.pico article:not(:has(> form:first-child)) > footer [role=group],
|
||||
.pico article:not(:has(> form:first-child)) > footer p,
|
||||
.pico article:not(:has(> form:first-child)) > footer nav,
|
||||
.pico article:not(:has(> form:first-child)) > footer ul,
|
||||
.pico article:not(:has(> form:first-child)) > footer ol,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=submit],
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=reset],
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=button],
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [role=group],
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer p,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer nav,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer ul,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer ol,
|
||||
.pico article > form > footer [type=submit],
|
||||
.pico article > form > footer [type=reset],
|
||||
.pico article > form > footer [type=button],
|
||||
|
@ -2243,22 +2243,22 @@ main {
|
|||
margin-bottom: 0px;
|
||||
/* Also remove if next input after button is a hidden input */
|
||||
}
|
||||
.pico article:not(:has(> form)) > footer [type=submit]:last-child,
|
||||
.pico article:not(:has(> form)) > footer [type=reset]:last-child,
|
||||
.pico article:not(:has(> form)) > footer [type=button]:last-child,
|
||||
.pico article:not(:has(> form)) > footer [role=group]:last-child,
|
||||
.pico article:not(:has(> form)) > footer p:last-child,
|
||||
.pico article:not(:has(> form)) > footer nav:last-child,
|
||||
.pico article:not(:has(> form)) > footer ul:last-child,
|
||||
.pico article:not(:has(> form)) > footer ol:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=submit]:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=reset]:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=button]:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer [role=group]:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer p:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer nav:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer ul:last-child,
|
||||
.pico [role=article]:not(:has(> form)) > footer ol:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=submit]:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=reset]:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=button]:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer [role=group]:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer p:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer nav:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer ul:last-child,
|
||||
.pico article:not(:has(> form:first-child)) > footer ol:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=submit]:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=reset]:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=button]:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [role=group]:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer p:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer nav:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer ul:last-child,
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer ol:last-child,
|
||||
.pico article > form > footer [type=submit]:last-child,
|
||||
.pico article > form > footer [type=reset]:last-child,
|
||||
.pico article > form > footer [type=button]:last-child,
|
||||
|
@ -2277,22 +2277,22 @@ main {
|
|||
.pico [role=article] > form > footer ol:last-child {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.pico article:not(:has(> form)) > footer [type=submit]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form)) > footer [type=reset]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form)) > footer [type=button]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form)) > footer [role=group]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form)) > footer p:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form)) > footer nav:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form)) > footer ul:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form)) > footer ol:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=submit]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=reset]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer [type=button]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer [role=group]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer p:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer nav:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer ul:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form)) > footer ol:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=submit]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=reset]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer [type=button]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer [role=group]:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer p:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer nav:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer ul:has(+ [type=hidden]),
|
||||
.pico article:not(:has(> form:first-child)) > footer ol:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=submit]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=reset]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [type=button]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer [role=group]:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer p:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer nav:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer ul:has(+ [type=hidden]),
|
||||
.pico [role=article]:not(:has(> form:first-child)) > footer ol:has(+ [type=hidden]),
|
||||
.pico article > form > footer [type=submit]:has(+ [type=hidden]),
|
||||
.pico article > form > footer [type=reset]:has(+ [type=hidden]),
|
||||
.pico article > form > footer [type=button]:has(+ [type=hidden]),
|
||||
|
@ -2663,6 +2663,23 @@ main {
|
|||
--pico-scrollbar-width: 0px;
|
||||
}
|
||||
|
||||
.pico dialog:not(.modal-fs, .modal-xlg, .modal-lg, .modal-md, .modal-sm) > article:not(:has(> form:first-child)),
|
||||
.pico dialog:not(.modal-fs, .modal-xlg, .modal-lg, .modal-md, .modal-sm) > article > form:first-child {
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
.pico dialog:not(.modal-fs, .modal-xlg, .modal-lg, .modal-md, .modal-sm) > article:not(:has(> form:first-child)),
|
||||
.pico dialog:not(.modal-fs, .modal-xlg, .modal-lg, .modal-md, .modal-sm) > article > form:first-child {
|
||||
max-width: 510px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.pico dialog:not(.modal-fs, .modal-xlg, .modal-lg, .modal-md, .modal-sm) > article:not(:has(> form:first-child)),
|
||||
.pico dialog:not(.modal-fs, .modal-xlg, .modal-lg, .modal-md, .modal-sm) > article > form:first-child {
|
||||
max-width: 700px;
|
||||
}
|
||||
}
|
||||
|
||||
.pico dialog {
|
||||
display: grid;
|
||||
z-index: 999;
|
||||
|
@ -2686,51 +2703,35 @@ main {
|
|||
transform: scale(1);
|
||||
transition: transform var(--pico-transition);
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)),
|
||||
.pico dialog > article > form {
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
.pico dialog > article:not(:has(> form)),
|
||||
.pico dialog > article > form {
|
||||
max-width: 510px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.pico dialog > article:not(:has(> form)),
|
||||
.pico dialog > article > form {
|
||||
max-width: 700px;
|
||||
}
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)) > header > *,
|
||||
.pico dialog > article > form > header > * {
|
||||
.pico dialog > article:not(:has(> form:first-child)) > header > *,
|
||||
.pico dialog > article > form:first-child > header > * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)) > header :is(a, button)[rel=prev],
|
||||
.pico dialog > article > form > header :is(a, button)[rel=prev] {
|
||||
.pico dialog > article:not(:has(> form:first-child)) > header :is(a, button)[rel=prev],
|
||||
.pico dialog > article > form:first-child > header :is(a, button)[rel=prev] {
|
||||
margin: 0;
|
||||
margin-left: var(--pico-spacing);
|
||||
padding: 0;
|
||||
float: right;
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)) > footer,
|
||||
.pico dialog > article > form > footer {
|
||||
.pico dialog > article:not(:has(> form:first-child)) > footer,
|
||||
.pico dialog > article > form:first-child > footer {
|
||||
text-align: right;
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)) > footer button,
|
||||
.pico dialog > article:not(:has(> form)) > footer [role=button],
|
||||
.pico dialog > article > form > footer button,
|
||||
.pico dialog > article > form > footer [role=button] {
|
||||
.pico dialog > article:not(:has(> form:first-child)) > footer button,
|
||||
.pico dialog > article:not(:has(> form:first-child)) > footer [role=button],
|
||||
.pico dialog > article > form:first-child > footer button,
|
||||
.pico dialog > article > form:first-child > footer [role=button] {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)) > footer button:not(:first-of-type),
|
||||
.pico dialog > article:not(:has(> form)) > footer [role=button]:not(:first-of-type),
|
||||
.pico dialog > article > form > footer button:not(:first-of-type),
|
||||
.pico dialog > article > form > footer [role=button]:not(:first-of-type) {
|
||||
.pico dialog > article:not(:has(> form:first-child)) > footer button:not(:first-of-type),
|
||||
.pico dialog > article:not(:has(> form:first-child)) > footer [role=button]:not(:first-of-type),
|
||||
.pico dialog > article > form:first-child > footer button:not(:first-of-type),
|
||||
.pico dialog > article > form:first-child > footer [role=button]:not(:first-of-type) {
|
||||
margin-left: calc(var(--pico-spacing) * 0.5);
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)) :is(a, button)[rel=prev],
|
||||
.pico dialog > article > form :is(a, button)[rel=prev] {
|
||||
.pico dialog > article:not(:has(> form:first-child)) :is(a, button)[rel=prev],
|
||||
.pico dialog > article > form:first-child :is(a, button)[rel=prev] {
|
||||
display: block;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
|
@ -2746,8 +2747,8 @@ main {
|
|||
opacity: 0.5;
|
||||
transition: opacity var(--pico-transition);
|
||||
}
|
||||
.pico dialog > article:not(:has(> form)) :is(a, button)[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus),
|
||||
.pico dialog > article > form :is(a, button)[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
|
||||
.pico dialog > article:not(:has(> form:first-child)) :is(a, button)[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus),
|
||||
.pico dialog > article > form:first-child :is(a, button)[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
|
||||
opacity: 1;
|
||||
}
|
||||
.pico dialog:not([open]), .pico dialog[open=false] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue