aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/css/files.scss
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2020-08-05 15:40:13 +0200
committerJan C. Borchardt <hey@jancborchardt.net>2020-08-05 16:33:58 +0200
commite0664b575c646cd28a1a73e5e7ff2d724c54946e (patch)
treed247612e0695517d436c10dd5f586dae84c5c274 /apps/files/css/files.scss
parenta4d511d82767f54af086b366a6c08bc927cb870c (diff)
downloadnextcloud-server-e0664b575c646cd28a1a73e5e7ff2d724c54946e.tar.gz
nextcloud-server-e0664b575c646cd28a1a73e5e7ff2d724c54946e.zip
Adjust entry highlights of navigation and menus based on Vue component style
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/css/files.scss')
-rw-r--r--apps/files/css/files.scss27
1 files changed, 15 insertions, 12 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index e875e0da29a..e47e47d7f4b 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -21,9 +21,11 @@
.actions input, .actions button, .actions .button { margin:0; float:left; }
.actions .button a { color: #555; }
.actions .button a:hover,
-.actions .button a:focus,
+.actions .button a:focus {
+ background-color: var(--color-background-hover);
+}
.actions .button a:active {
- color: #333;
+ background-color: var(--color-primary-light);
}
.actions.creatable {
@@ -107,14 +109,12 @@
}
.app-files #app-content {
- transition: background-color 0.3s ease;
// force the width to be the full width to not go bigger than the screen
// flex will grow for the mobile view if necessary
width: calc(100% - 300px);
}
.file-drag, .file-drag #filestable tbody tr, .file-drag #filestable tbody tr:hover {
- transition: background-color 0.3s ease!important;
background-color: var(--color-primary-light) !important;
}
@@ -186,22 +186,23 @@
}
#filestable tbody tr {
- transition: background-color 0.3s ease;
height: 51px;
}
#filestable tbody tr:hover,
#filestable tbody tr:focus,
#filestable tbody .name:focus,
+#filestable tbody tr:hover .filename form,
+table tr.mouseOver td {
+ background-color: var(--color-background-hover);
+}
#filestable tbody tr:active,
#filestable tbody tr.highlighted,
#filestable tbody tr.highlighted .name:focus,
#filestable tbody tr.selected,
-#filestable tbody tr.searchresult,
-#filestable tbody tr:hover .filename form,
-table tr.mouseOver td {
- transition: background-color 0.3s ease;
- background-color: var(--color-background-dark);
+#filestable tbody tr.searchresult {
+ background-color: var(--color-primary-light);
}
+
tbody a { color: var(--color-main-text); }
span.conflict-path, span.extension, span.uploading, td.date {
@@ -625,6 +626,9 @@ a.action > img {
.fileActionsMenu a.action, a.action.action-share.shared-style {
opacity: .7;
}
+ .fileActionsMenu .action.permanent {
+ opacity: 1;
+ }
}
// Ellipsize long sharer names
@@ -878,8 +882,7 @@ table.dragshadow td.size {
.thumbnail-wrapper,
.nametext,
.fileactions {
- transition: background-color 0.3s ease;
- background-color: var(--color-background-dark);
+ background-color: var(--color-background-hover);
}
}
}