Issue #3269341 by mherchel, KurtTrowbridge: Claro <details> element not rendering properly in forced colors
parent
a163e71341
commit
ab4a24f902
|
@ -169,15 +169,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active) {
|
@media (forced-colors: active) {
|
||||||
.claro-details__summary::before {
|
.claro-details__summary::before {
|
||||||
width: 0.5625rem;
|
width: 0.5625rem;
|
||||||
height: 0.5625rem;
|
height: 0.5625rem;
|
||||||
transition: transform var(--details-transform-transition-duration) ease-in 0s, margin var(--details-transform-transition-duration) ease-in 0s;
|
transition: transform var(--details-transform-transition-duration) ease-in 0s, margin var(--details-transform-transition-duration) ease-in 0s;
|
||||||
transform: rotate(135deg); /* LTR */
|
transform: rotate(135deg); /* LTR */
|
||||||
border: 0.125rem solid;
|
border-top: 0.125rem solid;
|
||||||
border-bottom-color: transparent;
|
border-right: 0.125rem solid;
|
||||||
border-left-color: transparent;
|
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -291,7 +290,7 @@
|
||||||
transform: rotate(-90deg); /* for LTR and RTL */
|
transform: rotate(-90deg); /* for LTR and RTL */
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active) {
|
@media (forced-colors: active) {
|
||||||
.claro-details__summary:hover::before,
|
.claro-details__summary:hover::before,
|
||||||
.claro-details__summary:hover:focus::before {
|
.claro-details__summary:hover:focus::before {
|
||||||
background: none;
|
background: none;
|
||||||
|
@ -559,7 +558,7 @@
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active) {
|
@media (forced-colors: active) {
|
||||||
.collapse-processed[open] > .claro-details__summary--accordion .details-title:not(:focus)::after,
|
.collapse-processed[open] > .claro-details__summary--accordion .details-title:not(:focus)::after,
|
||||||
.collapse-processed[open] > .claro-details__summary--accordion-item .details-title:not(:focus)::after,
|
.collapse-processed[open] > .claro-details__summary--accordion-item .details-title:not(:focus)::after,
|
||||||
.collapse-processed[open] > .claro-details__summary--vertical-tabs-item .details-title:not(:focus)::after {
|
.collapse-processed[open] > .claro-details__summary--vertical-tabs-item .details-title:not(:focus)::after {
|
||||||
|
|
|
@ -155,15 +155,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active) {
|
@media (forced-colors: active) {
|
||||||
.claro-details__summary::before {
|
.claro-details__summary::before {
|
||||||
width: 0.5625rem;
|
width: 0.5625rem;
|
||||||
height: 0.5625rem;
|
height: 0.5625rem;
|
||||||
transition: transform var(--details-transform-transition-duration) ease-in 0s, margin var(--details-transform-transition-duration) ease-in 0s;
|
transition: transform var(--details-transform-transition-duration) ease-in 0s, margin var(--details-transform-transition-duration) ease-in 0s;
|
||||||
transform: rotate(135deg); /* LTR */
|
transform: rotate(135deg); /* LTR */
|
||||||
border: 0.125rem solid;
|
border-top: 0.125rem solid;
|
||||||
border-bottom-color: transparent;
|
border-right: 0.125rem solid;
|
||||||
border-left-color: transparent;
|
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -272,7 +271,7 @@
|
||||||
transform: rotate(-90deg); /* for LTR and RTL */
|
transform: rotate(-90deg); /* for LTR and RTL */
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active) {
|
@media (forced-colors: active) {
|
||||||
.claro-details__summary:hover::before,
|
.claro-details__summary:hover::before,
|
||||||
.claro-details__summary:hover:focus::before {
|
.claro-details__summary:hover:focus::before {
|
||||||
background: none;
|
background: none;
|
||||||
|
@ -528,7 +527,7 @@
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active) {
|
@media (forced-colors: active) {
|
||||||
.collapse-processed[open] > .claro-details__summary--accordion .details-title:not(:focus)::after,
|
.collapse-processed[open] > .claro-details__summary--accordion .details-title:not(:focus)::after,
|
||||||
.collapse-processed[open] > .claro-details__summary--accordion-item .details-title:not(:focus)::after,
|
.collapse-processed[open] > .claro-details__summary--accordion-item .details-title:not(:focus)::after,
|
||||||
.collapse-processed[open] > .claro-details__summary--vertical-tabs-item .details-title:not(:focus)::after {
|
.collapse-processed[open] > .claro-details__summary--vertical-tabs-item .details-title:not(:focus)::after {
|
||||||
|
|
Loading…
Reference in New Issue