multi-select-metro.css 1.9 KB

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