diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-20 13:34:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 13:34:51 +0100 |
commit | a9de88e96e56529256834729361fc3e975d29334 (patch) | |
tree | 9901eefce328313b6203412b837f5163fe860226 /core/css | |
parent | 53418f2795abb423286ea4551f47ffcd9dabc254 (diff) | |
parent | 5e5cced48cc912f3dcd71013483f62dbb56d7362 (diff) | |
download | nextcloud-server-a9de88e96e56529256834729361fc3e975d29334.tar.gz nextcloud-server-a9de88e96e56529256834729361fc3e975d29334.zip |
Merge pull request #12350 from nextcloud/filepicker-sorting
Enable sorting in file picker
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/styles.scss | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss index 9b7da393698..da270893e66 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: 80%; + 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); |