summaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-11-08 13:30:39 +0100
committerJulius Härtl <jus@bitgrid.net>2018-11-16 14:12:41 +0100
commit3e11337b3b4c36df20d5565d60d05995b0314363 (patch)
tree560eb9976da313fa391c83ad62a52d2e52b2bffc /core/css/styles.scss
parent09efdfb4e640a748d9f7af1d120a4315028d969a (diff)
downloadnextcloud-server-3e11337b3b4c36df20d5565d60d05995b0314363.tar.gz
nextcloud-server-3e11337b3b4c36df20d5565d60d05995b0314363.zip
Allow sorting in the file picker
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss41
1 files changed, 41 insertions, 0 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 9b7da393698..62d2bb45c96 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -773,6 +773,47 @@ code {
margin-bottom: 50px;
}
.filelist {
+ thead {
+ tr {
+ border-bottom: 1px solid var(--color-border);
+ background-color: var(--color-main-background);
+ th {
+ width: auto;
+ border: none;
+ }
+ }
+ }
+ th .columntitle {
+ display: block;
+ padding: 15px;
+ height: 50px;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ vertical-align: middle;
+ }
+ th .columntitle.name {
+ padding-left: 5px;
+ margin-left: 50px;
+ }
+
+ th .sort-indicator {
+ width: 10px;
+ height: 8px;
+ margin-left: 5px;
+ display: inline-block;
+ vertical-align: text-bottom;
+ opacity: .3;
+ }
+ .sort-indicator.hidden,
+ th:hover .sort-indicator.hidden,
+ th:focus .sort-indicator.hidden {
+ visibility: hidden;
+ }
+ th:hover .sort-indicator.hidden,
+ th:focus .sort-indicator.hidden {
+ visibility: visible;
+ }
+
td {
padding: 14px;
border-bottom: 1px solid var(--color-border);