mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 02:16:15 -04:00
Build CSS
This commit is contained in:
parent
ba48bb50da
commit
8601e960a0
255 changed files with 2283 additions and 2913 deletions
|
@ -1,6 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* Pico CSS ✨ v2.2.7 (https://github.com/Yohn/PicoCSS)
|
||||
* Pico CSS ✨ v2.2.8 (https://github.com/Yohn/PicoCSS)
|
||||
* Copyright 2019-2025 - Licensed under MIT
|
||||
*/
|
||||
/**
|
||||
|
@ -1009,11 +1009,13 @@ main {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
/* clean-css ignore:start */
|
||||
.pico table.striped tbody tr:nth-child(odd of :not([hidden])) th,
|
||||
.pico table.striped tbody tr:nth-child(odd of :not([hidden])) td {
|
||||
background-color: var(--pico-table-row-stripped-background-color);
|
||||
}
|
||||
|
||||
/* clean-css ignore:end */
|
||||
/**
|
||||
* Embedded content
|
||||
*/
|
||||
|
@ -1985,18 +1987,18 @@ main {
|
|||
.pico section[role=form] > textarea + label,
|
||||
.pico section[role=form] > select + label {
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
top: 0.55rem;
|
||||
left: 0.8rem;
|
||||
transform: translateY(-50%);
|
||||
transform: translateY(0%);
|
||||
background: var(--pico-form-element-background-color);
|
||||
color: var(--pico-form-element-placeholder-color);
|
||||
cursor: text;
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
.pico section[role=form] > input:not(:-moz-placeholder-shown) + label, .pico section[role=form] > textarea:not(:-moz-placeholder-shown) + label {
|
||||
top: -5%;
|
||||
top: 0;
|
||||
padding: calc(var(--pico-spacing) * 0.15) calc(var(--pico-spacing) * 0.5);
|
||||
transform: translateY(-55%) scale(0.8);
|
||||
transform: translateY(-50%) scale(0.8);
|
||||
color: var(--pico-form-element-active-border-color);
|
||||
font-size: var(--pico-font-size);
|
||||
line-height: 1.15;
|
||||
|
@ -2009,27 +2011,14 @@ main {
|
|||
.pico section[role=form] > textarea:focus + label,
|
||||
.pico section[role=form] > select:focus + label,
|
||||
.pico section[role=form] > select:has(option:checked:not([disabled])) + label {
|
||||
top: -5%;
|
||||
top: 0;
|
||||
padding: calc(var(--pico-spacing) * 0.15) calc(var(--pico-spacing) * 0.5);
|
||||
transform: translateY(-55%) scale(0.8);
|
||||
transform: translateY(-50%) scale(0.8);
|
||||
color: var(--pico-form-element-active-border-color);
|
||||
font-size: var(--pico-font-size);
|
||||
line-height: 1.15;
|
||||
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
.pico section[role=form] > textarea + label {
|
||||
top: 1rem;
|
||||
transform: translateY(0);
|
||||
}
|
||||
.pico section[role=form] > textarea:not(:-moz-placeholder-shown) + label {
|
||||
top: 0;
|
||||
transform: translateY(-50%) scale(0.8);
|
||||
}
|
||||
.pico section[role=form] > textarea:not(:placeholder-shown) + label,
|
||||
.pico section[role=form] > textarea:focus + label {
|
||||
top: 0;
|
||||
transform: translateY(-50%) scale(0.8);
|
||||
}
|
||||
.pico section[role=form] > input:user-invalid:not(:-moz-placeholder-shown) + label, .pico section[role=form] > textarea:user-invalid:not(:-moz-placeholder-shown) + label {
|
||||
color: var(--pico-form-element-invalid-border-color);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue