summaryrefslogtreecommitdiffstats
path: root/core/css/multiselect.css
blob: 99f0e039334120ab495afc903c5aa94ba3537d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
 This file is licensed under the Affero General Public License version 3 or later.
 See the COPYING-README file. */

 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;
 	z-index:49;
 }

 ul.multiselectoptions>li {
 	overflow:hidden;
 	white-space:nowrap;
 }

 div.multiselect {
 	display:inline-block;
 	max-width:400px;
 	min-width:100px;
 	padding-right:.6em;
 	position:relative;
 	vertical-align:bottom;
 }

 div.multiselect.active {
 	background-color:#fff;
 	border-bottom:none;
 	border-bottom-left-radius:0;
 	border-bottom-right-radius:0;
 	position:relative;
 	z-index:50;
 }

 div.multiselect>span:first-child {
 	float:left;
 	margin-right:2em;
 	overflow:hidden;
 	text-overflow:ellipsis;
 	width:90%;
 }

 div.multiselect>span:last-child {
 	position:absolute;
 	right:.8em;
 }

 ul.multiselectoptions input.new {
 	border-top-left-radius:0;
 	border-top-right-radius:0;
 	padding-bottom:.2em;
 	padding-top:.2em;
 	margin:0;
 }