mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
feat: include the close icon styles in classless
This commit is contained in:
parent
357ab1f1a0
commit
49d289b626
10 changed files with 75 additions and 34 deletions
|
@ -2417,7 +2417,7 @@ dialog article > footer {
|
|||
dialog article > header > * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
dialog article > header .close {
|
||||
dialog article > header .close, dialog article > header a[rel=prev] {
|
||||
margin: 0;
|
||||
margin-left: var(--pico-spacing);
|
||||
float: right;
|
||||
|
@ -2433,7 +2433,7 @@ dialog article > footer button:not(:first-of-type),
|
|||
dialog article > footer [role=button]:not(:first-of-type) {
|
||||
margin-left: calc(var(--pico-spacing) * 0.5);
|
||||
}
|
||||
dialog article .close {
|
||||
dialog article .close, dialog article a[rel=prev] {
|
||||
display: block;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
|
@ -2447,7 +2447,7 @@ dialog article .close {
|
|||
opacity: 0.5;
|
||||
transition: opacity var(--pico-transition);
|
||||
}
|
||||
dialog article .close:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
|
||||
dialog article .close:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), dialog article a[rel=prev]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
|
||||
opacity: 1;
|
||||
}
|
||||
dialog:not([open]), dialog[open=false] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue