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
869da59717
commit
36e4d53e6c
252 changed files with 1422 additions and 998 deletions
|
@ -236,18 +236,18 @@ nav details.dropdown summary:focus-visible {
|
|||
color-scheme: light;
|
||||
--pico-background-color: #fff;
|
||||
--pico-color: #373c44;
|
||||
--pico-text-selection-color: rgba(244, 93, 44, 0.25);
|
||||
--pico-text-selection-color: rgba(205, 104, 224, 0.25);
|
||||
--pico-muted-color: #646b79;
|
||||
--pico-muted-border-color: rgb(231, 234, 239.5);
|
||||
--pico-primary: #bd3c13;
|
||||
--pico-primary-background: #d24317;
|
||||
--pico-primary: #aa40bf;
|
||||
--pico-primary-background: #9236a4;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(189, 60, 19, 0.5);
|
||||
--pico-primary-hover: #942d0d;
|
||||
--pico-primary-hover-background: #bd3c13;
|
||||
--pico-primary-underline: rgba(170, 64, 191, 0.5);
|
||||
--pico-primary-hover: #802e90;
|
||||
--pico-primary-hover-background: #802e90;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(244, 93, 44, 0.5);
|
||||
--pico-primary-focus: rgba(205, 104, 224, 0.5);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #5d6b89;
|
||||
--pico-secondary-background: #525f7a;
|
||||
|
@ -391,18 +391,18 @@ 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(245, 107, 61, 0.1875);
|
||||
--pico-text-selection-color: rgba(212, 125, 228, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #f56b3d;
|
||||
--pico-primary-background: #d24317;
|
||||
--pico-primary: #d47de4;
|
||||
--pico-primary-background: #9236a4;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(245, 107, 61, 0.5);
|
||||
--pico-primary-hover: #f8a283;
|
||||
--pico-primary-hover-background: #e74b1a;
|
||||
--pico-primary-underline: rgba(212, 125, 228, 0.5);
|
||||
--pico-primary-hover: #e2a3eb;
|
||||
--pico-primary-hover-background: #aa40bf;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(245, 107, 61, 0.375);
|
||||
--pico-primary-focus: rgba(212, 125, 228, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
|
@ -546,18 +546,18 @@ 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(245, 107, 61, 0.1875);
|
||||
--pico-text-selection-color: rgba(212, 125, 228, 0.1875);
|
||||
--pico-muted-color: #7b8495;
|
||||
--pico-muted-border-color: #202632;
|
||||
--pico-primary: #f56b3d;
|
||||
--pico-primary-background: #d24317;
|
||||
--pico-primary: #d47de4;
|
||||
--pico-primary-background: #9236a4;
|
||||
--pico-primary-border: var(--pico-primary-background);
|
||||
--pico-primary-underline: rgba(245, 107, 61, 0.5);
|
||||
--pico-primary-hover: #f8a283;
|
||||
--pico-primary-hover-background: #e74b1a;
|
||||
--pico-primary-underline: rgba(212, 125, 228, 0.5);
|
||||
--pico-primary-hover: #e2a3eb;
|
||||
--pico-primary-hover-background: #aa40bf;
|
||||
--pico-primary-hover-border: var(--pico-primary-hover-background);
|
||||
--pico-primary-hover-underline: var(--pico-primary-hover);
|
||||
--pico-primary-focus: rgba(245, 107, 61, 0.375);
|
||||
--pico-primary-focus: rgba(212, 125, 228, 0.375);
|
||||
--pico-primary-inverse: #fff;
|
||||
--pico-secondary: #969eaf;
|
||||
--pico-secondary-background: #525f7a;
|
||||
|
@ -768,6 +768,7 @@ main {
|
|||
@media (min-width: 576px) {
|
||||
.pico .container {
|
||||
max-width: 510px;
|
||||
padding-inline: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
|
@ -2798,15 +2799,17 @@ main {
|
|||
*/
|
||||
.pico details {
|
||||
display: block;
|
||||
margin-bottom: var(--pico-spacing);
|
||||
margin-block-end: var(--pico-spacing);
|
||||
}
|
||||
.pico details.hide-arrow > summary::after {
|
||||
display: none;
|
||||
content: none;
|
||||
}
|
||||
.pico details:not(.hide-arrow) > summary {
|
||||
padding-inline-end: calc(var(--pico-nav-link-spacing-horizontal) * 3.25);
|
||||
}
|
||||
.pico details summary {
|
||||
position: relative;
|
||||
padding-inline-end: var(--pico-block-spacing-horizontal);
|
||||
line-height: 1rem;
|
||||
list-style-type: none;
|
||||
cursor: pointer;
|
||||
|
@ -2858,7 +2861,7 @@ main {
|
|||
height: calc(1rem * var(--pico-line-height, 1.5));
|
||||
}
|
||||
.pico details[open] > summary {
|
||||
margin-bottom: var(--pico-spacing);
|
||||
margin-block-end: var(--pico-spacing);
|
||||
}
|
||||
.pico details[open] > summary:not([role]):not(:focus) {
|
||||
color: var(--pico-accordion-open-summary-color);
|
||||
|
@ -3154,7 +3157,7 @@ main {
|
|||
min-width: -moz-fit-content;
|
||||
min-width: fit-content;
|
||||
margin: 0;
|
||||
margin-top: var(--pico-outline-width);
|
||||
margin-block-start: var(--pico-outline-width);
|
||||
padding: 0;
|
||||
border: var(--pico-border-width) solid var(--pico-dropdown-border-color);
|
||||
border-radius: var(--pico-border-radius);
|
||||
|
@ -3171,19 +3174,19 @@ main {
|
|||
}
|
||||
.pico details.dropdown > summary + ul li {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
margin-block-end: 0;
|
||||
padding: calc(var(--pico-form-element-spacing-vertical) * 0.5) var(--pico-form-element-spacing-horizontal);
|
||||
list-style: none;
|
||||
}
|
||||
.pico details.dropdown > summary + ul li:first-of-type {
|
||||
margin-top: calc(var(--pico-form-element-spacing-vertical) * 0.5);
|
||||
margin-block-start: calc(var(--pico-form-element-spacing-vertical) * 0.5);
|
||||
}
|
||||
.pico details.dropdown > summary + ul li:last-of-type {
|
||||
margin-bottom: calc(var(--pico-form-element-spacing-vertical) * 0.5);
|
||||
margin-block-end: calc(var(--pico-form-element-spacing-vertical) * 0.5);
|
||||
}
|
||||
.pico details.dropdown > summary + ul li details {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
margin-block-end: 0;
|
||||
}
|
||||
.pico details.dropdown > summary + ul li details > summary {
|
||||
line-height: var(--pico-line-height);
|
||||
|
@ -3208,7 +3211,7 @@ main {
|
|||
background-color: var(--pico-dropdown-hover-background-color);
|
||||
}
|
||||
.pico details.dropdown[open] > summary {
|
||||
margin-bottom: 0;
|
||||
margin-block-end: 0;
|
||||
}
|
||||
.pico details.dropdown[open] > summary::before {
|
||||
display: block;
|
||||
|
@ -3230,7 +3233,7 @@ main {
|
|||
.pico nav details.dropdown {
|
||||
display: inline;
|
||||
margin: calc(var(--pico-nav-element-spacing-vertical) * -1) 0;
|
||||
margin-bottom: 0;
|
||||
margin-block-end: 0;
|
||||
}
|
||||
.pico nav details.dropdown.hide-arrow > summary::after {
|
||||
display: none;
|
||||
|
@ -3243,9 +3246,12 @@ main {
|
|||
.pico nav details.dropdown > summary:not([role]):focus-visible {
|
||||
box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus);
|
||||
}
|
||||
.pico nav details.dropdown:not(.hide-arrow) > summary {
|
||||
padding-inline-end: calc(var(--pico-nav-link-spacing-horizontal) * 3.25);
|
||||
}
|
||||
|
||||
.pico label > details.dropdown {
|
||||
margin-top: calc(var(--pico-spacing) * 0.25);
|
||||
margin-block-start: calc(var(--pico-spacing) * 0.25);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue