summaryrefslogtreecommitdiffstats
path: root/core/css/apps.scss
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-08-01 09:42:38 +0200
committerGitHub <noreply@github.com>2018-08-01 09:42:38 +0200
commit27d4ff8b4eb9c4c480faf0f112fc931dc7fdc343 (patch)
treed8d47b5559f67f0a06c54df40a5e0d1bd79509d0 /core/css/apps.scss
parent6a9bee478d302c34c8f6a095807b595fc2b5bf90 (diff)
parent733a015a93f19d5e9f7835db6799016cd9178e74 (diff)
downloadnextcloud-server-27d4ff8b4eb9c4c480faf0f112fc931dc7fdc343.tar.gz
nextcloud-server-27d4ff8b4eb9c4c480faf0f112fc931dc7fdc343.zip
Merge pull request #10448 from nextcloud/list-opacity-fix
Only lower opacity of the avatar if the checkbox is checked on the content-list
Diffstat (limited to 'core/css/apps.scss')
-rw-r--r--core/css/apps.scss27
1 files changed, 16 insertions, 11 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 02603562c6f..63dd5759a7f 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -1104,20 +1104,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;
+ }
}
}