mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
Styles reordering for better slim version
This commit is contained in:
parent
b37ef21253
commit
67e865d32c
10 changed files with 133 additions and 120 deletions
|
@ -837,7 +837,7 @@ textarea {
|
|||
border-width: 0;
|
||||
}
|
||||
|
||||
input:not([type="checkbox"]):not([type="radio"]) {
|
||||
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
|
||||
height: calc(1.5rem + 1.5rem + 2px);
|
||||
}
|
||||
|
||||
|
@ -848,6 +848,13 @@ fieldset {
|
|||
border: 0;
|
||||
}
|
||||
|
||||
label,
|
||||
fieldset legend {
|
||||
display: block;
|
||||
margin-bottom: 0.125rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
input:not([type="checkbox"]):not([type="radio"]),
|
||||
select,
|
||||
textarea,
|
||||
|
@ -856,13 +863,6 @@ form small {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
label,
|
||||
fieldset legend {
|
||||
display: block;
|
||||
margin-bottom: 0.125rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
|
||||
select,
|
||||
textarea {
|
||||
|
@ -873,12 +873,6 @@ textarea {
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
input:not([type="checkbox"]):not([type="radio"]),
|
||||
select,
|
||||
textarea {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
|
@ -907,12 +901,6 @@ textarea:focus {
|
|||
border-color: var(--primary);
|
||||
}
|
||||
|
||||
input:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
box-shadow: 0 0 0 0.2rem var(--primary-focus);
|
||||
}
|
||||
|
||||
input[readonly], input[disabled],
|
||||
select[readonly],
|
||||
select[disabled],
|
||||
|
@ -943,6 +931,18 @@ textarea[disabled] {
|
|||
opacity: .5;
|
||||
}
|
||||
|
||||
input:not([type="checkbox"]):not([type="radio"]),
|
||||
select,
|
||||
textarea {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
input:not([type="range"]):not([type="file"]):focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
box-shadow: 0 0 0 0.2rem var(--primary-focus);
|
||||
}
|
||||
|
||||
select::-ms-expand {
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue