mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
Hide the details marker
Source: https://chromestatus.com/feature/6730096436051968
This commit is contained in:
parent
d12af72cab
commit
fc67f39278
7 changed files with 13 additions and 7 deletions
|
@ -1691,6 +1691,7 @@ details summary {
|
||||||
color: var(--accordion-close-summary-color);
|
color: var(--accordion-close-summary-color);
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
list-style-type: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color var(--transition);
|
transition: color var(--transition);
|
||||||
}
|
}
|
||||||
|
@ -1722,8 +1723,8 @@ details summary::after {
|
||||||
}
|
}
|
||||||
|
|
||||||
details summary:focus {
|
details summary:focus {
|
||||||
color: var(--accordion-active-summary-color);
|
|
||||||
outline: none;
|
outline: none;
|
||||||
|
color: var(--accordion-active-summary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
details summary ~ * {
|
details summary ~ * {
|
||||||
|
|
2
css/pico.classless.min.css
vendored
2
css/pico.classless.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1886,6 +1886,7 @@ details summary {
|
||||||
color: var(--accordion-close-summary-color);
|
color: var(--accordion-close-summary-color);
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
list-style-type: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color var(--transition);
|
transition: color var(--transition);
|
||||||
}
|
}
|
||||||
|
@ -1917,8 +1918,8 @@ details summary::after {
|
||||||
}
|
}
|
||||||
|
|
||||||
details summary:focus {
|
details summary:focus {
|
||||||
color: var(--accordion-active-summary-color);
|
|
||||||
outline: none;
|
outline: none;
|
||||||
|
color: var(--accordion-active-summary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
details summary ~ * {
|
details summary ~ * {
|
||||||
|
|
|
@ -1657,6 +1657,7 @@ details summary {
|
||||||
color: var(--accordion-close-summary-color);
|
color: var(--accordion-close-summary-color);
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
list-style-type: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color var(--transition);
|
transition: color var(--transition);
|
||||||
}
|
}
|
||||||
|
@ -1688,8 +1689,8 @@ details summary::after {
|
||||||
}
|
}
|
||||||
|
|
||||||
details summary:focus {
|
details summary:focus {
|
||||||
color: var(--accordion-active-summary-color);
|
|
||||||
outline: none;
|
outline: none;
|
||||||
|
color: var(--accordion-active-summary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
details summary ~ * {
|
details summary ~ * {
|
||||||
|
|
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
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -13,6 +13,7 @@ details {
|
||||||
color: var(--accordion-close-summary-color);
|
color: var(--accordion-close-summary-color);
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
list-style-type: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
@if $enable-transitions {
|
@if $enable-transitions {
|
||||||
|
@ -23,9 +24,11 @@ details {
|
||||||
&::-webkit-details-marker {
|
&::-webkit-details-marker {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::marker {
|
&::marker {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-moz-list-bullet {
|
&::-moz-list-bullet {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
@ -49,8 +52,8 @@ details {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
color: var(--accordion-active-summary-color);
|
|
||||||
outline: none;
|
outline: none;
|
||||||
|
color: var(--accordion-active-summary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
~ * {
|
~ * {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue