[CSS] Less redraws on details element hover feedback.

This commit is contained in:
Eliseu Amaro 2021-09-17 00:10:18 +01:00 committed by Diogo Peralta Cordeiro
parent 380eec5eb0
commit a4a7039786
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
2 changed files with 0 additions and 20 deletions

View File

@ -128,25 +128,6 @@ hr {
background: var(--bg2); background: var(--bg2);
} }
summary:focus,
summary:hover {
cursor: pointer !important;
color: var(--bg1);
padding-left: var(--unit-size);
padding-right: var(--unit-size);
background: var(--white);
border-radius: var(--unit-size);
transition: var(--cubic-transition);
}
summary:focus .icon-details-open,
summary:hover .icon-details-open {
fill: var(--bg1);
transition: var(--cubic-transition);
}
/* CHECKERBOARD BACKGROUND FOR TRANSPARENT IMAGES */ /* CHECKERBOARD BACKGROUND FOR TRANSPARENT IMAGES */
.note img { .note img {
background: background:

View File

@ -107,7 +107,6 @@
.section-title-settings summary:focus .icon-details-open, .section-title-settings summary:focus .icon-details-open,
.section-title-settings summary:hover .icon-details-open { .section-title-settings summary:hover .icon-details-open {
fill: var(--bg1);
transition: var(--cubic-transition); transition: var(--cubic-transition);
} }