nextcloud/core/css/multiselect.css

86 lines
1.6 KiB
CSS
Raw Normal View History

2013-06-11 18:02:30 +02:00
/* Copyright (c) 2011, Jan-Christoph Borchardt, http: //jancborchardt.net
2013-06-11 18:01:50 +02:00
This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */
2013-06-11 18:01:50 +02:00
ul.multiselectoptions {
2013-06-11 18:02:30 +02:00
background-color: #fff;
border: 1px solid #ddd;
border-top: none;
box-shadow: 0 1px 1px #ddd;
padding-top: .5em;
position: absolute;
max-height: 20em;
overflow-y: auto;
z-index: 49;
2013-06-11 18:01:50 +02:00
}
2012-10-24 13:09:05 +02:00
2013-06-11 18:01:50 +02:00
ul.multiselectoptions.down {
2013-06-11 18:02:30 +02:00
border-bottom-left-radius: .5em;
border-bottom-right-radius: .5em;
width: 100%; /* do not cut off group names */
2013-06-11 18:01:50 +02:00
}
2012-12-03 18:56:15 +01:00
2013-06-11 18:01:50 +02:00
ul.multiselectoptions.up {
2013-06-11 18:02:30 +02:00
border-top-left-radius: .5em;
border-top-right-radius: .5em;
2013-06-11 18:01:50 +02:00
}
2012-12-03 18:56:15 +01:00
2013-06-11 18:01:50 +02:00
ul.multiselectoptions>li {
2013-06-11 18:02:30 +02:00
overflow: hidden;
white-space: nowrap;
2013-06-11 18:01:50 +02:00
}
2012-10-24 13:09:05 +02:00
2013-06-11 18:01:50 +02:00
ul.multiselectoptions>li>input[type="checkbox"] {
2013-06-11 18:02:30 +02:00
margin-top: 3px;
margin-right: 5px;
margin-left: 3px;
2013-06-11 18:01:50 +02:00
}
2013-04-23 15:34:16 +02:00
2013-06-11 18:01:50 +02:00
div.multiselect {
2013-06-11 18:02:30 +02:00
display: inline-block;
max-width: 400px;
min-width: 100px;
padding-right: .6em;
position: relative;
vertical-align: bottom;
2013-06-11 18:01:50 +02:00
}
2012-10-24 13:09:05 +02:00
2013-06-11 18:01:50 +02:00
div.multiselect.active {
2013-06-11 18:02:30 +02:00
background-color: #fff;
position: relative;
z-index: 50;
2013-06-11 18:01:50 +02:00
}
2012-12-03 18:56:15 +01:00
2013-06-11 18:01:50 +02:00
div.multiselect.up {
2013-06-11 18:02:30 +02:00
border-top: 0 none;
border-top-left-radius: 0;
border-top-right-radius: 0;
2013-06-11 18:01:50 +02:00
}
2012-12-03 18:56:15 +01:00
2013-06-11 18:01:50 +02:00
div.multiselect.down {
2013-06-11 18:02:30 +02:00
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
2013-06-11 18:01:50 +02:00
}
2012-10-24 13:09:05 +02:00
2013-06-11 18:01:50 +02:00
div.multiselect>span:first-child {
2013-06-11 18:02:30 +02:00
float: left;
margin-right: 2em;
overflow: hidden;
text-overflow: ellipsis;
width: 90%;
2013-06-11 18:01:50 +02:00
}
2012-10-24 13:09:05 +02:00
2013-06-11 18:01:50 +02:00
div.multiselect>span:last-child {
2013-06-11 18:02:30 +02:00
position: absolute;
right: .8em;
2013-06-11 18:01:50 +02:00
}
2012-10-24 13:09:05 +02:00
2013-06-11 18:01:50 +02:00
ul.multiselectoptions input.new {
2013-06-11 18:02:30 +02:00
border-top-left-radius: 0;
border-top-right-radius: 0;
padding-bottom: .2em;
padding-top: .2em;
margin: 0;
2013-06-11 18:01:50 +02:00
}