Explorar el Código

Only lower opacity of the avatar if the checkbox is cheked on the content-list

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v14.0.0beta2
John Molakvoæ (skjnldsv) hace 5 años
padre
commit
733a015a93
No account linked to committer's email address
Se han modificado 1 ficheros con 16 adiciones y 11 borrados
  1. 16
    11
      core/css/apps.scss

+ 16
- 11
core/css/apps.scss Ver fichero

@@ -1110,20 +1110,25 @@ $popovericon-size: 16px;
width: 40px;
display: flex;
z-index: 50;
+ .app-content-list-item-icon {
opacity: .7;
}
}

.app-content-list-item-checkbox.checkbox + label {
top: 14px;
left: 7px;
&::before {
margin: 0;
.app-content-list-item-checkbox.checkbox {
&:checked {
// if checked, lower the opacity of the avatar
+ label + .app-content-list-item-icon {
opacity: .7;
}
}
/* Hide the star, priority to the checkbox */
~ .app-content-list-item-star {
display: none;
+ label {
top: 14px;
left: 7px;
&::before {
margin: 0;
}
/* Hide the star, priority to the checkbox */
~ .app-content-list-item-star {
display: none;
}
}
}


Cargando…
Cancelar
Guardar