diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-30 13:20:37 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-30 13:20:37 +0200 |
commit | 733a015a93f19d5e9f7835db6799016cd9178e74 (patch) | |
tree | c6823ca4fbe5817944b183fc33bff9f2ee5153c4 /core/css/apps.scss | |
parent | 566800b29c3376ede04439a92545059146f99505 (diff) | |
download | nextcloud-server-733a015a93f19d5e9f7835db6799016cd9178e74.tar.gz nextcloud-server-733a015a93f19d5e9f7835db6799016cd9178e74.zip |
Only lower opacity of the avatar if the checkbox is cheked on the content-list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/apps.scss')
-rw-r--r-- | core/css/apps.scss | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index d8b2def9e5f..ae941f326e9 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -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; + } } } |