mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
Build CSS
This commit is contained in:
parent
973e8a0fd8
commit
cde9f1169e
252 changed files with 2820 additions and 1560 deletions
|
@ -232,19 +232,19 @@ nav details.dropdown summary:focus-visible {
|
|||
color-scheme: light;
|
||||
--pico-background-color: #fff;
|
||||
--pico-color: #373c44;
|
||||
--pico-text-selection-color: rgba(0, 166, 110, 0.25);
|
||||
--pico-text-selection-color: rgba(145, 145, 145, 0.25);
|
||||
--pico-muted-color: #646b79;
|
||||
--pico-muted-border-color: rgb(231, 234, 239.5);
|
||||
--pico-primary: #007a50;
|
||||
--pico-primary-background: #007a50;
|
||||
--pico-primary: #6a6a6a;
|
||||
--pico-primary-background: #ababab;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(0, 122, 80, 0.5);
|
||||
--pico-primary-hover: #005f3d;
|
||||
--pico-primary-hover-background: #006d46;
|
||||
--pico-primary-underline: rgba(106, 106, 106, 0.5);
|
||||
--pico-primary-hover: #525252;
|
||||
--pico-primary-hover-background: #9e9e9e;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(0, 166, 110, 0.5);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-primary-focus: rgba(145, 145, 145, 0.5);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-secondary: #5d6b89;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -308,7 +308,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 rgba(0, 0, 0, 0);
|
||||
--pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
|
||||
--pico-range-border-color: #dfe3eb;
|
||||
--pico-range-active-border-color: #bfc7d9;
|
||||
--pico-range-thumb-border-color: var(--pico-background-color);
|
||||
|
@ -343,7 +343,7 @@ nav details.dropdown summary:focus-visible {
|
|||
[data-theme=light] .pico details summary[role=button]:not(.outline, .contrast, .secondary)::after,
|
||||
:root:not([data-theme=dark]) .pico details summary[role=button]:not(.outline, .contrast, .secondary)::after,
|
||||
:host(:not([data-theme=dark])) .pico details summary[role=button]:not(.outline, .contrast, .secondary)::after {
|
||||
filter: brightness(100) invert(0);
|
||||
filter: brightness(100) invert(1);
|
||||
}
|
||||
[data-theme=light] .pico details summary.secondary[role=button]::after,
|
||||
:root:not([data-theme=dark]) .pico details summary.secondary[role=button]::after,
|
||||
|
@ -358,7 +358,7 @@ nav details.dropdown summary:focus-visible {
|
|||
[data-theme=light] .pico [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]) .pico [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])) .pico [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(0) invert(1);
|
||||
}
|
||||
[data-theme=light] input:is([type=submit],
|
||||
[type=button],
|
||||
|
@ -387,19 +387,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(0, 180, 120, 0.1875);
|
||||
--pico-text-selection-color: rgba(158, 158, 158, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #00b478;
|
||||
--pico-primary-background: #007a50;
|
||||
--pico-primary: #9e9e9e;
|
||||
--pico-primary-background: #ababab;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(0, 180, 120, 0.5);
|
||||
--pico-primary-hover: #00cc88;
|
||||
--pico-primary-hover-background: #00895a;
|
||||
--pico-primary-underline: rgba(158, 158, 158, 0.5);
|
||||
--pico-primary-hover: #b9b9b9;
|
||||
--pico-primary-hover-background: #b9b9b9;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(0, 180, 120, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-primary-focus: rgba(158, 158, 158, 0.375);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -463,7 +463,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 rgba(0, 0, 0, 0);
|
||||
--pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
|
||||
--pico-range-border-color: #202632;
|
||||
--pico-range-active-border-color: #2a3140;
|
||||
--pico-range-thumb-border-color: var(--pico-background-color);
|
||||
|
@ -523,7 +523,7 @@ nav details.dropdown summary:focus-visible {
|
|||
}
|
||||
:root:not([data-theme]) .pico details summary[role=button]:not(.outline, .contrast, .secondary)::after,
|
||||
:host(:not([data-theme])) .pico details summary[role=button]:not(.outline, .contrast, .secondary)::after {
|
||||
filter: brightness(100) invert(0);
|
||||
filter: brightness(100) invert(1);
|
||||
}
|
||||
:root:not([data-theme]) .pico details summary.secondary[role=button]::after,
|
||||
:host(:not([data-theme])) .pico details summary.secondary[role=button]::after {
|
||||
|
@ -535,26 +535,26 @@ nav details.dropdown summary:focus-visible {
|
|||
}
|
||||
:root:not([data-theme]) .pico [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])) .pico [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(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
}
|
||||
[data-theme=dark] {
|
||||
color-scheme: dark;
|
||||
--pico-background-color: rgb(19, 22.5, 30.5);
|
||||
--pico-color: #c2c7d0;
|
||||
--pico-text-selection-color: rgba(0, 180, 120, 0.1875);
|
||||
--pico-text-selection-color: rgba(158, 158, 158, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #00b478;
|
||||
--pico-primary-background: #007a50;
|
||||
--pico-primary: #9e9e9e;
|
||||
--pico-primary-background: #ababab;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(0, 180, 120, 0.5);
|
||||
--pico-primary-hover: #00cc88;
|
||||
--pico-primary-hover-background: #00895a;
|
||||
--pico-primary-underline: rgba(158, 158, 158, 0.5);
|
||||
--pico-primary-hover: #b9b9b9;
|
||||
--pico-primary-hover-background: #b9b9b9;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(0, 180, 120, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-primary-focus: rgba(158, 158, 158, 0.375);
|
||||
--pico-primary-inverse: #000;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
--pico-secondary-border: var(--pico-secondary-background);
|
||||
|
@ -618,7 +618,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 rgba(0, 0, 0, 0);
|
||||
--pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
|
||||
--pico-range-border-color: #202632;
|
||||
--pico-range-active-border-color: #2a3140;
|
||||
--pico-range-thumb-border-color: var(--pico-background-color);
|
||||
|
@ -666,7 +666,7 @@ nav details.dropdown summary:focus-visible {
|
|||
--pico-form-element-focus-color: var(--pico-primary-focus);
|
||||
}
|
||||
[data-theme=dark] .pico details summary[role=button]:not(.outline, .contrast, .secondary)::after {
|
||||
filter: brightness(100) invert(0);
|
||||
filter: brightness(100) invert(1);
|
||||
}
|
||||
[data-theme=dark] .pico details summary.secondary[role=button]::after {
|
||||
filter: brightness(100) invert(0);
|
||||
|
@ -675,7 +675,7 @@ nav details.dropdown summary:focus-visible {
|
|||
filter: brightness(100) invert(1);
|
||||
}
|
||||
[data-theme=dark] .pico [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(1);
|
||||
filter: brightness(100) invert(0);
|
||||
}
|
||||
|
||||
.pico progress,
|
||||
|
@ -3549,16 +3549,26 @@ main {
|
|||
border-bottom-right-radius: var(--pico-border-radius);
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
[dir=rtl] button:not(:first-child),
|
||||
[dir=rtl] [type=submit]:not(:first-child),
|
||||
[dir=rtl] [type=reset]:not(:first-child),
|
||||
[dir=rtl] [type=button]:not(:first-child),
|
||||
[dir=rtl] [role=button]:not(:first-child),
|
||||
[dir=rtl] input:not([type=checkbox], [type=radio]):not(:first-child),
|
||||
[dir=rtl] select:not(:first-child),
|
||||
[dir=rtl] label:not(:first-child),
|
||||
[dir=rtl] > legend:not(:first-child),
|
||||
[dir=rtl] > details > summary:not(:first-child) {
|
||||
[dir=rtl] .pico [role=search] button:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] [type=submit]:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] [type=reset]:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] [type=button]:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] [role=button]:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] input:not([type=checkbox], [type=radio]):not(:first-child),
|
||||
[dir=rtl] .pico [role=search] select:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] label:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] > legend:not(:first-child),
|
||||
[dir=rtl] .pico [role=search] > details > summary:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] button:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] [type=submit]:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] [type=reset]:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] [type=button]:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] [role=button]:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] input:not([type=checkbox], [type=radio]):not(:first-child),
|
||||
[dir=rtl] .pico [role=group] select:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] label:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] > legend:not(:first-child),
|
||||
[dir=rtl] .pico [role=group] > details > summary:not(:first-child) {
|
||||
margin-right: calc(var(--pico-border-width) * -1);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue