mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 10:26:13 -04:00
Merge branch 'dev' of https://github.com/picocss/pico
This commit is contained in:
commit
75e49031ba
238 changed files with 726 additions and 604 deletions
|
@ -560,7 +560,6 @@ input:not([type=submit],
|
|||
text-underline-offset: var(--pico-text-underline-offset);
|
||||
text-rendering: optimizeLegibility;
|
||||
overflow-wrap: break-word;
|
||||
cursor: default;
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
@ -2027,7 +2026,7 @@ main {
|
|||
.pico dialog article > header > * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pico dialog article > header a[rel=prev] {
|
||||
.pico dialog article > header :is(a, button)[rel=prev] {
|
||||
margin: 0;
|
||||
margin-left: var(--pico-spacing);
|
||||
float: right;
|
||||
|
@ -2043,21 +2042,23 @@ main {
|
|||
.pico dialog article > footer [role=button]:not(:first-of-type) {
|
||||
margin-left: calc(var(--pico-spacing) * 0.5);
|
||||
}
|
||||
.pico dialog article a[rel=prev] {
|
||||
.pico dialog article :is(a, button)[rel=prev] {
|
||||
display: block;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin-top: calc(var(--pico-spacing) * -1);
|
||||
margin-bottom: var(--pico-spacing);
|
||||
margin-left: auto;
|
||||
border: none;
|
||||
background-image: var(--pico-icon-close);
|
||||
background-position: center;
|
||||
background-size: auto 1rem;
|
||||
background-repeat: no-repeat;
|
||||
background-color: transparent;
|
||||
opacity: 0.5;
|
||||
transition: opacity var(--pico-transition);
|
||||
}
|
||||
.pico dialog article a[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
|
||||
.pico dialog article :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