aboutsummaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-11 10:23:04 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-01-11 10:23:04 -0800
commit954b559d48ad6910daab498c8d1981eac2ab47a0 (patch)
tree47c0c6d4bd483be573f3f3e024d63ced3d1b5f26 /core/css
parent1f6eb68ef91c5743b058d6d8f10a4a20ee3d6d96 (diff)
parent5f795d3aac1db8981874e06e56c7cb18eed9ae7c (diff)
downloadnextcloud-server-954b559d48ad6910daab498c8d1981eac2ab47a0.tar.gz
nextcloud-server-954b559d48ad6910daab498c8d1981eac2ab47a0.zip
Merge pull request #994 from owncloud/enhanced_multiSelect
Enhanced multiSelect
Diffstat (limited to 'core/css')
-rw-r--r--core/css/multiselect.css27
1 files changed, 23 insertions, 4 deletions
diff --git a/core/css/multiselect.css b/core/css/multiselect.css
index 99f0e039334..31c8ef88eb9 100644
--- a/core/css/multiselect.css
+++ b/core/css/multiselect.css
@@ -5,15 +5,25 @@
ul.multiselectoptions {
background-color:#fff;
border:1px solid #ddd;
- border-bottom-left-radius:.5em;
- border-bottom-right-radius:.5em;
border-top:none;
box-shadow:0 1px 1px #ddd;
padding-top:.5em;
position:absolute;
+ max-height: 20em;
+ overflow-y: auto;
z-index:49;
}
+ ul.multiselectoptions.down {
+ border-bottom-left-radius:.5em;
+ border-bottom-right-radius:.5em;
+ }
+
+ ul.multiselectoptions.up {
+ border-top-left-radius:.5em;
+ border-top-right-radius:.5em;
+ }
+
ul.multiselectoptions>li {
overflow:hidden;
white-space:nowrap;
@@ -30,11 +40,20 @@
div.multiselect.active {
background-color:#fff;
+ position:relative;
+ z-index:50;
+ }
+
+ div.multiselect.up {
+ border-top:0 none;
+ border-top-left-radius:0;
+ border-top-right-radius:0;
+ }
+
+ div.multiselect.down {
border-bottom:none;
border-bottom-left-radius:0;
border-bottom-right-radius:0;
- position:relative;
- z-index:50;
}
div.multiselect>span:first-child {