diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-02-03 18:00:39 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-02-17 19:32:45 +0100 |
commit | c732764eb5159b893cdb97fc780937a883f48b58 (patch) | |
tree | a05baf8134bfd395211efe44ee1fb4009b4ede2d /core/css | |
parent | 14d1abf63f88943d376b29e31ac04265456db2a4 (diff) | |
download | nextcloud-server-c732764eb5159b893cdb97fc780937a883f48b58.tar.gz nextcloud-server-c732764eb5159b893cdb97fc780937a883f48b58.zip |
Improve users list scrolling performance
- fixed JS error when avatar mode is disabled
- added spinner at the bottom of the table
- scroll detection now happens earlier
- single/multiselect init is deferred so that the new rows are first appended
into the list (more responsive) and initialized afterwards
- disabled users sorting after add (assuming they are always sorted on
the server side)
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/multiselect.css | 8 | ||||
-rw-r--r-- | core/css/styles.css | 12 |
2 files changed, 19 insertions, 1 deletions
diff --git a/core/css/multiselect.css b/core/css/multiselect.css index 60f2f47e698..8d949e7cdb7 100644 --- a/core/css/multiselect.css +++ b/core/css/multiselect.css @@ -48,7 +48,7 @@ ul.multiselectoptions > li input[type='checkbox']:checked+label { font-weight: bold; } -div.multiselect { +div.multiselect, select.multiselect { display: inline-block; max-width: 400px; min-width: 150px; @@ -58,6 +58,12 @@ div.multiselect { vertical-align: bottom; } +/* To make a select look like a multiselect until it's initialized */ +select.multiselect { + height: 30px; + min-width: 113px; +} + div.multiselect.active { background-color: #fff; position: relative; diff --git a/core/css/styles.css b/core/css/styles.css index bee44785f12..cbfab618ec4 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -933,3 +933,15 @@ div.crumb:active { opacity:.7; } +.appear { + opacity: 1; + transition: opacity 500ms ease 0s; + -moz-transition: opacity 500ms ease 0s; + -ms-transition: opacity 500ms ease 0s; + -o-transition: opacity 500ms ease 0s; + -webkit-transition: opacity 500ms ease 0s; +} +.appear.transparent { + opacity: 0; +} + |