mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 18:06:14 -04:00
Build CSS
This commit is contained in:
parent
3c91189543
commit
4af8d138c5
255 changed files with 1803 additions and 5709 deletions
115
docs/pico.css
115
docs/pico.css
|
@ -1,6 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* Pico CSS ✨ v2.2.5 (https://github.com/Yohn/PicoCSS)
|
||||
* Pico CSS ✨ v2.2.6 (https://github.com/Yohn/PicoCSS)
|
||||
* Copyright 2019-2025 - Licensed under MIT
|
||||
*/
|
||||
/**
|
||||
|
@ -236,19 +236,19 @@ nav details.dropdown summary:focus-visible {
|
|||
color-scheme: light;
|
||||
--pico-background-color: #fff;
|
||||
--pico-color: #373c44;
|
||||
--pico-text-selection-color: rgba(183, 136, 0, 0.25);
|
||||
--pico-text-selection-color: rgba(240, 96, 72, 0.25);
|
||||
--pico-muted-color: #646b79;
|
||||
--pico-muted-border-color: rgb(231, 234, 239.5);
|
||||
--pico-primary: #876400;
|
||||
--pico-primary-background: #ffbf00;
|
||||
--pico-primary: #c52f21;
|
||||
--pico-primary-background: #c52f21;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(135, 100, 0, 0.5);
|
||||
--pico-primary-hover: #694d00;
|
||||
--pico-primary-hover-background: #e8ae01;
|
||||
--pico-primary-underline: rgba(197, 47, 33, 0.5);
|
||||
--pico-primary-hover: #9b2318;
|
||||
--pico-primary-hover-background: #af291d;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(183, 136, 0, 0.5);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-primary-focus: rgba(240, 96, 72, 0.5);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #5d6b89;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -312,7 +312,7 @@ nav details.dropdown summary:focus-visible {
|
|||
--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);
|
||||
|
@ -347,7 +347,7 @@ nav details.dropdown summary:focus-visible {
|
|||
[data-theme=light] details summary[role=button]:not(.outline, .contrast, .secondary)::after,
|
||||
:root:not([data-theme=dark]) details summary[role=button]:not(.outline, .contrast, .secondary)::after,
|
||||
:host(:not([data-theme=dark])) details summary[role=button]:not(.outline, .contrast, .secondary)::after {
|
||||
filter: brightness(100) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
[data-theme=light] details summary.secondary[role=button]::after,
|
||||
:root:not([data-theme=dark]) details summary.secondary[role=button]::after,
|
||||
|
@ -362,7 +362,7 @@ nav details.dropdown summary:focus-visible {
|
|||
[data-theme=light] [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before,
|
||||
:root:not([data-theme=dark]) [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before,
|
||||
:host(:not([data-theme=dark])) [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before {
|
||||
filter: brightness(0) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
[data-theme=light] input:is([type=submit],
|
||||
[type=button],
|
||||
|
@ -391,19 +391,19 @@ nav details.dropdown summary:focus-visible {
|
|||
color-scheme: dark;
|
||||
--pico-background-color: rgb(19, 22.5, 30.5);
|
||||
--pico-color: #c2c7d0;
|
||||
--pico-text-selection-color: rgba(199, 148, 0, 0.1875);
|
||||
--pico-text-selection-color: rgba(241, 121, 97, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #c79400;
|
||||
--pico-primary-background: #ffbf00;
|
||||
--pico-primary: #f17961;
|
||||
--pico-primary-background: #c52f21;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(199, 148, 0, 0.5);
|
||||
--pico-primary-hover: #e8ae01;
|
||||
--pico-primary-hover-background: #fecc63;
|
||||
--pico-primary-underline: rgba(241, 121, 97, 0.5);
|
||||
--pico-primary-hover: #f5a390;
|
||||
--pico-primary-hover-background: #d93526;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(199, 148, 0, 0.375);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-primary-focus: rgba(241, 121, 97, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -467,7 +467,7 @@ nav details.dropdown summary:focus-visible {
|
|||
--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);
|
||||
|
@ -527,7 +527,7 @@ nav details.dropdown summary:focus-visible {
|
|||
}
|
||||
:root:not([data-theme]) details summary[role=button]:not(.outline, .contrast, .secondary)::after,
|
||||
:host(:not([data-theme])) details summary[role=button]:not(.outline, .contrast, .secondary)::after {
|
||||
filter: brightness(100) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
:root:not([data-theme]) details summary.secondary[role=button]::after,
|
||||
:host(:not([data-theme])) details summary.secondary[role=button]::after {
|
||||
|
@ -539,26 +539,26 @@ nav details.dropdown summary:focus-visible {
|
|||
}
|
||||
:root:not([data-theme]) [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before,
|
||||
:host(:not([data-theme])) [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::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(199, 148, 0, 0.1875);
|
||||
--pico-text-selection-color: rgba(241, 121, 97, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #c79400;
|
||||
--pico-primary-background: #ffbf00;
|
||||
--pico-primary: #f17961;
|
||||
--pico-primary-background: #c52f21;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(199, 148, 0, 0.5);
|
||||
--pico-primary-hover: #e8ae01;
|
||||
--pico-primary-hover-background: #fecc63;
|
||||
--pico-primary-underline: rgba(241, 121, 97, 0.5);
|
||||
--pico-primary-hover: #f5a390;
|
||||
--pico-primary-hover-background: #d93526;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(199, 148, 0, 0.375);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-primary-focus: rgba(241, 121, 97, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -622,7 +622,7 @@ nav details.dropdown summary:focus-visible {
|
|||
--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);
|
||||
|
@ -670,7 +670,7 @@ nav details.dropdown summary:focus-visible {
|
|||
--pico-form-element-focus-color: var(--pico-primary-focus);
|
||||
}
|
||||
[data-theme=dark] details summary[role=button]:not(.outline, .contrast, .secondary)::after {
|
||||
filter: brightness(100) invert(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
[data-theme=dark] details summary.secondary[role=button]::after {
|
||||
filter: brightness(100) invert(0);
|
||||
|
@ -679,7 +679,7 @@ nav details.dropdown summary:focus-visible {
|
|||
filter: brightness(100) invert(1);
|
||||
}
|
||||
[data-theme=dark] [aria-busy=true]:not(input, select, textarea, html, form):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before {
|
||||
filter: brightness(100) invert(0);
|
||||
filter: brightness(100) invert(1);
|
||||
}
|
||||
|
||||
progress,
|
||||
|
@ -1772,48 +1772,13 @@ table > caption {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
table.striped > tbody > tr:nth-child(odd) > th,
|
||||
table.striped > tbody > tr:nth-child(odd) > td {
|
||||
background: var(--pico-table-row-stripped-background-color);
|
||||
table.striped {
|
||||
/* clean-css ignore:start */
|
||||
}
|
||||
table.striped > tbody > tr:nth-child(even) > th,
|
||||
table.striped > tbody > tr:nth-child(even) > td {
|
||||
background: var(--pico-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] {
|
||||
display: none;
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr:nth-child(odd) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr:nth-child(odd) > td {
|
||||
background: var(--pico-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr:nth-child(even) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr:nth-child(even) > td {
|
||||
background: var(--pico-table-row-stripped-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr:nth-child(odd) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr:nth-child(odd) > td {
|
||||
background: var(--pico-table-row-stripped-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr:nth-child(even) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr:nth-child(even) > td {
|
||||
background: var(--pico-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(odd) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(odd) > td {
|
||||
background: var(--pico-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(even) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(even) > td {
|
||||
background: var(--pico-table-row-stripped-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(odd) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(odd) > td {
|
||||
background: var(--pico-table-row-stripped-background-color);
|
||||
}
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(even) > th,
|
||||
table.striped > tbody > tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr[hidden] ~ tr:nth-child(even) > td {
|
||||
background: var(--pico-background-color);
|
||||
table.striped tbody tr:nth-child(odd of :not([hidden])) th,
|
||||
table.striped tbody tr:nth-child(odd of :not([hidden])) td {
|
||||
/* clean-css ignore:end */
|
||||
background-color: var(--pico-table-row-stripped-background-color);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue