mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16:46:14 -04:00
Merge pull request #18 from remohammadi/main
This commit is contained in:
commit
828d1f3143
2 changed files with 48 additions and 0 deletions
|
@ -110,9 +110,17 @@
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
float: left;
|
float: left;
|
||||||
|
transform: rotate(90deg);
|
||||||
background-position: left center;
|
background-position: left center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&[open] {
|
||||||
|
> summary {
|
||||||
|
&::after {
|
||||||
|
transform: rotate(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,4 +129,44 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[dir="rtl"] {
|
||||||
|
#{$parent-selector} [role="search"],
|
||||||
|
#{$parent-selector} [role="group"] {
|
||||||
|
> *,
|
||||||
|
input:not([type="checkbox"], [type="radio"]),
|
||||||
|
select,
|
||||||
|
label {
|
||||||
|
&:not(:first-child) {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: auto;
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
border-top-left-radius: var(#{$css-var-prefix}border-radius);
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
border-bottom-left-radius: var(#{$css-var-prefix}border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:not(:last-child) {
|
||||||
|
border-top-right-radius: var(#{$css-var-prefix}border-radius);
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-bottom-right-radius: var(#{$css-var-prefix}border-radius);
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
[type="submit"],
|
||||||
|
[type="reset"],
|
||||||
|
[type="button"],
|
||||||
|
[role="button"],
|
||||||
|
input:not([type="checkbox"], [type="radio"]),
|
||||||
|
select,
|
||||||
|
label {
|
||||||
|
&:not(:first-child) {
|
||||||
|
margin-right: calc(var(#{$css-var-prefix}border-width) * -1);
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue