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:
authorJan C. Borchardt <hey@jancborchardt.net>2020-08-05 18:35:58 +0300
committerGitHub <noreply@github.com>2020-08-05 18:35:58 +0300
commit5cc978657efb44c124560f06d788f09edd81639e (patch)
tree328b1315324279d6807523e5788bd415230e65bf /apps/files
parent55473dd2eb042078b7fc5aef37e7b7fb614554fa (diff)
parente0664b575c646cd28a1a73e5e7ff2d724c54946e (diff)
Merge pull request #22115 from nextcloud/design/entry-highlighting
Adjust entry highlights of navigation and menus based on Vue component style
Diffstat (limited to 'apps/files')
-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);
}
}
}