mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 10:26:13 -04:00
refactor: clean
This commit is contained in:
parent
00f1486a04
commit
65bedda83a
3 changed files with 3 additions and 4 deletions
|
@ -124,8 +124,8 @@
|
|||
// Margin-top for nested lists
|
||||
// 1. Remove the margin on nested lists in Chrome, Edge, IE, and Safari
|
||||
:where(dl, ol, ul) :where(dl, ol, ul) {
|
||||
margin: 0; // 1
|
||||
margin-top: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
||||
margin: 0; // 1
|
||||
margin-top: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
||||
}
|
||||
|
||||
ul li {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
// 1. Hack to display the outline on the focused file selector button
|
||||
// with the forced overflow hidden on the input[type="file"] element.
|
||||
input[type="file"] {
|
||||
[type="file"] {
|
||||
#{$✨}color: var(#{$✨}muted-color);
|
||||
margin-left: calc(var(#{$✨}outline-width) * -1); // 1
|
||||
padding: calc(var(#{$✨}form-element-spacing-vertical) * 0.5) 0;
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]) {
|
||||
&[type="search"] {
|
||||
padding-inline-start: calc(var(#{$✨}form-element-spacing-horizontal) + 1.75rem);
|
||||
border-radius: 5rem;
|
||||
background-image: var(#{$✨}icon-search);
|
||||
background-position: center left 1.125rem;
|
||||
background-size: 1rem auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue