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