| 1 |
.ms-container{ |
| 2 |
background: transparent url('../img/switch.png') no-repeat 50% 50%; |
| 3 |
width: 370px; |
| 4 |
} |
| 5 |
|
| 6 |
.ms-container:after{ |
| 7 |
content: "."; |
| 8 |
display: block; |
| 9 |
height: 0; |
| 10 |
line-height: 0; |
| 11 |
font-size: 0; |
| 12 |
clear: both; |
| 13 |
min-height: 0; |
| 14 |
visibility: hidden; |
| 15 |
} |
| 16 |
|
| 17 |
.ms-container .ms-selectable, .ms-container .ms-selection{ |
| 18 |
background: #fff; |
| 19 |
color: #555555; |
| 20 |
float: left; |
| 21 |
width: 45%; |
| 22 |
} |
| 23 |
.ms-container .ms-selection{ |
| 24 |
float: right; |
| 25 |
} |
| 26 |
|
| 27 |
.ms-container .ms-list{ |
| 28 |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); |
| 29 |
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); |
| 30 |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); |
| 31 |
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s; |
| 32 |
-moz-transition: border linear 0.2s, box-shadow linear 0.2s; |
| 33 |
-ms-transition: border linear 0.2s, box-shadow linear 0.2s; |
| 34 |
-o-transition: border linear 0.2s, box-shadow linear 0.2s; |
| 35 |
transition: border linear 0.2s, box-shadow linear 0.2s; |
| 36 |
border: 1px solid #ccc; |
| 37 |
-webkit-border-radius: 3px; |
| 38 |
-moz-border-radius: 3px; |
| 39 |
border-radius: 3px; |
| 40 |
position: relative; |
| 41 |
height: 200px; |
| 42 |
padding: 0; |
| 43 |
overflow-y: auto; |
| 44 |
} |
| 45 |
|
| 46 |
.ms-container .ms-list.ms-focus{ |
| 47 |
border-color: rgba(82, 168, 236, 0.8); |
| 48 |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); |
| 49 |
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); |
| 50 |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); |
| 51 |
outline: 0; |
| 52 |
outline: thin dotted \9; |
| 53 |
} |
| 54 |
|
| 55 |
.ms-container ul{ |
| 56 |
margin: 0; |
| 57 |
list-style-type: none; |
| 58 |
padding: 0; |
| 59 |
} |
| 60 |
|
| 61 |
.ms-container .ms-optgroup-container{ |
| 62 |
width: 100%; |
| 63 |
} |
| 64 |
|
| 65 |
.ms-container .ms-optgroup-label{ |
| 66 |
margin: 0; |
| 67 |
padding: 5px 0px 0px 5px; |
| 68 |
cursor: pointer; |
| 69 |
color: #999; |
| 70 |
} |
| 71 |
|
| 72 |
.ms-container .ms-selectable li.ms-elem-selectable, |
| 73 |
.ms-container .ms-selection li.ms-elem-selection{ |
| 74 |
border-bottom: 1px #eee solid; |
| 75 |
padding: 2px 10px; |
| 76 |
color: #555; |
| 77 |
font-size: 14px; |
| 78 |
} |
| 79 |
|
| 80 |
.ms-container .ms-selectable li.ms-hover, |
| 81 |
.ms-container .ms-selection li.ms-hover{ |
| 82 |
cursor: pointer; |
| 83 |
color: #fff; |
| 84 |
text-decoration: none; |
| 85 |
background-color: #08c; |
| 86 |
} |
| 87 |
|
| 88 |
.ms-container .ms-selectable li.disabled, |
| 89 |
.ms-container .ms-selection li.disabled{ |
| 90 |
background-color: #eee; |
| 91 |
color: #aaa; |
| 92 |
cursor: text; |
| 93 |
} |
| 94 |
|