Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-30 14:20:37 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-30 14:20:37 +0300
commit733a015a93f19d5e9f7835db6799016cd9178e74 (patch)
treec6823ca4fbe5817944b183fc33bff9f2ee5153c4 /core/css/apps.scss
parent566800b29c3376ede04439a92545059146f99505 (diff)
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.scss27
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;
+ }
}
}