chore: enable stylelint standard config (#6442)

* chore: enable stylelint standard config

* remove empty line

* fix
This commit is contained in:
Joshua Chen 2022-01-22 21:26:35 +08:00 committed by GitHub
parent 2f4b2e1790
commit e40cafccd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 94 additions and 78 deletions

View file

@ -26,7 +26,7 @@ CSS variables, meant to be overridden by final theme
display: none;
}
.details > summary:before {
.details > summary::before {
position: absolute;
top: 0.45rem;
left: 0;
@ -45,9 +45,9 @@ CSS variables, meant to be overridden by final theme
}
/* When JS disabled/failed to load: we use the open property for arrow animation: */
.details[open]:not(.isBrowser) > summary:before,
.details[open]:not(.isBrowser) > summary::before,
/* When JS works: we use the data-attribute for arrow animation */
.details[data-collapsed='false'].isBrowser > summary:before {
.details[data-collapsed='false'].isBrowser > summary::before {
transform: rotate(90deg);
}