mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 02:36:15 -04:00
chore: resolved merge conflicts and updated styles, reduced markup
This commit is contained in:
parent
002008996d
commit
25d7c7983f
16 changed files with 137 additions and 168 deletions
|
@ -2034,11 +2034,11 @@ progress::-moz-progress-bar {
|
|||
}
|
||||
}
|
||||
details[role=dropdown] {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
details[role=dropdown] summary {
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
padding: calc(var(--spacing) * 0.5);
|
||||
border: var(--border-width) solid var(--form-element-border-color);
|
||||
|
@ -2048,11 +2048,7 @@ details[role=dropdown] summary {
|
|||
details[role=dropdown] summary::after {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
details[role=dropdown] summary + div {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
details[role=dropdown] summary + div ul {
|
||||
details[role=dropdown] summary + ul {
|
||||
z-index: 100;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
|
@ -2067,33 +2063,33 @@ details[role=dropdown] summary + div ul {
|
|||
background-color: var(--background-color);
|
||||
list-style: none;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li {
|
||||
details[role=dropdown] summary + ul li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li::marker {
|
||||
details[role=dropdown] summary + ul li::marker {
|
||||
content: "";
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=radio],
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox] {
|
||||
details[role=dropdown] summary + ul li input[type=radio],
|
||||
details[role=dropdown] summary + ul li input[type=checkbox] {
|
||||
display: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li label {
|
||||
details[role=dropdown] summary + ul li label {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: calc(var(--spacing) * 0.5);
|
||||
line-height: 1;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li label:hover {
|
||||
details[role=dropdown] summary + ul li label:hover {
|
||||
background-color: var(--secondary-focus);
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input:checked + label {
|
||||
details[role=dropdown] summary + ul li input:checked + label {
|
||||
background-color: var(--secondary-focus);
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox] + label:before {
|
||||
details[role=dropdown] summary + ul li input[type=checkbox] + label:before {
|
||||
display: inline-block;
|
||||
width: calc(var(--spacing) * 1.2);
|
||||
height: calc(var(--spacing) * 1.2);
|
||||
|
@ -2103,7 +2099,7 @@ details[role=dropdown] summary + div ul li input[type=checkbox] + label:before {
|
|||
content: "";
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox]:checked + label:before {
|
||||
details[role=dropdown] summary + ul li input[type=checkbox]:checked + label:before {
|
||||
background-image: var(--icon-checkbox);
|
||||
background-position: center;
|
||||
background-size: calc(var(--spacing) * 0.8) auto;
|
||||
|
|
File diff suppressed because one or more lines are too long
3
css/pico.classless.min.css
vendored
3
css/pico.classless.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
26
css/pico.css
26
css/pico.css
|
@ -2317,11 +2317,11 @@ progress::-moz-progress-bar {
|
|||
}
|
||||
}
|
||||
details[role=dropdown] {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
details[role=dropdown] summary {
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
padding: calc(var(--spacing) * 0.5);
|
||||
border: var(--border-width) solid var(--form-element-border-color);
|
||||
|
@ -2331,11 +2331,7 @@ details[role=dropdown] summary {
|
|||
details[role=dropdown] summary::after {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
details[role=dropdown] summary + div {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
details[role=dropdown] summary + div ul {
|
||||
details[role=dropdown] summary + ul {
|
||||
z-index: 100;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
|
@ -2350,33 +2346,33 @@ details[role=dropdown] summary + div ul {
|
|||
background-color: var(--background-color);
|
||||
list-style: none;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li {
|
||||
details[role=dropdown] summary + ul li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li::marker {
|
||||
details[role=dropdown] summary + ul li::marker {
|
||||
content: "";
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=radio],
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox] {
|
||||
details[role=dropdown] summary + ul li input[type=radio],
|
||||
details[role=dropdown] summary + ul li input[type=checkbox] {
|
||||
display: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li label {
|
||||
details[role=dropdown] summary + ul li label {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: calc(var(--spacing) * 0.5);
|
||||
line-height: 1;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li label:hover {
|
||||
details[role=dropdown] summary + ul li label:hover {
|
||||
background-color: var(--secondary-focus);
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input:checked + label {
|
||||
details[role=dropdown] summary + ul li input:checked + label {
|
||||
background-color: var(--secondary-focus);
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox] + label:before {
|
||||
details[role=dropdown] summary + ul li input[type=checkbox] + label:before {
|
||||
display: inline-block;
|
||||
width: calc(var(--spacing) * 1.2);
|
||||
height: calc(var(--spacing) * 1.2);
|
||||
|
@ -2386,7 +2382,7 @@ details[role=dropdown] summary + div ul li input[type=checkbox] + label:before {
|
|||
content: "";
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox]:checked + label:before {
|
||||
details[role=dropdown] summary + ul li input[type=checkbox]:checked + label:before {
|
||||
background-image: var(--icon-checkbox);
|
||||
background-position: center;
|
||||
background-size: calc(var(--spacing) * 0.8) auto;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2004,11 +2004,11 @@ progress::-moz-progress-bar {
|
|||
}
|
||||
}
|
||||
details[role=dropdown] {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
details[role=dropdown] summary {
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
padding: calc(var(--spacing) * 0.5);
|
||||
border: var(--border-width) solid var(--form-element-border-color);
|
||||
|
@ -2018,11 +2018,7 @@ details[role=dropdown] summary {
|
|||
details[role=dropdown] summary::after {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
details[role=dropdown] summary + div {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
details[role=dropdown] summary + div ul {
|
||||
details[role=dropdown] summary + ul {
|
||||
z-index: 100;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
|
@ -2037,33 +2033,33 @@ details[role=dropdown] summary + div ul {
|
|||
background-color: var(--background-color);
|
||||
list-style: none;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li {
|
||||
details[role=dropdown] summary + ul li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li::marker {
|
||||
details[role=dropdown] summary + ul li::marker {
|
||||
content: "";
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=radio],
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox] {
|
||||
details[role=dropdown] summary + ul li input[type=radio],
|
||||
details[role=dropdown] summary + ul li input[type=checkbox] {
|
||||
display: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li label {
|
||||
details[role=dropdown] summary + ul li label {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: calc(var(--spacing) * 0.5);
|
||||
line-height: 1;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li label:hover {
|
||||
details[role=dropdown] summary + ul li label:hover {
|
||||
background-color: var(--secondary-focus);
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input:checked + label {
|
||||
details[role=dropdown] summary + ul li input:checked + label {
|
||||
background-color: var(--secondary-focus);
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox] + label:before {
|
||||
details[role=dropdown] summary + ul li input[type=checkbox] + label:before {
|
||||
display: inline-block;
|
||||
width: calc(var(--spacing) * 1.2);
|
||||
height: calc(var(--spacing) * 1.2);
|
||||
|
@ -2073,7 +2069,7 @@ details[role=dropdown] summary + div ul li input[type=checkbox] + label:before {
|
|||
content: "";
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
details[role=dropdown] summary + div ul li input[type=checkbox]:checked + label:before {
|
||||
details[role=dropdown] summary + ul li input[type=checkbox]:checked + label:before {
|
||||
background-image: var(--icon-checkbox);
|
||||
background-position: center;
|
||||
background-size: calc(var(--spacing) * 0.8) auto;
|
||||
|
|
File diff suppressed because one or more lines are too long
2
css/pico.fluid.classless.min.css
vendored
2
css/pico.fluid.classless.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue