multi-select.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @charset "UTF-8";
  2. .ms-container:before {
  3. position: relative;
  4. top: 68px;
  5. left: 3.5%;
  6. display: inline-block;
  7. font-family: "Web Icons";
  8. font-size: inherit;
  9. font-style: normal;
  10. font-weight: normal;
  11. content: "";
  12. -webkit-transform: translate(0, 0);
  13. transform: translate(0, 0);
  14. text-rendering: auto; }
  15. .ms-container:after {
  16. display: block;
  17. height: 0;
  18. min-height: 0;
  19. clear: both;
  20. font-size: 0;
  21. line-height: 0;
  22. visibility: hidden;
  23. content: "."; }
  24. .ms-container .ms-selectable, .ms-container .ms-selection {
  25. float: left;
  26. width: 45%;
  27. color: #76838f;
  28. background: #fff; }
  29. .ms-container .ms-selection {
  30. float: right; }
  31. .ms-container .ms-list {
  32. position: relative;
  33. height: 160px;
  34. padding: 3px;
  35. overflow-y: auto;
  36. border: 1px solid #e4eaec;
  37. border-radius: 0.215rem;
  38. transition: border linear .2s, box-shadow linear .2s; }
  39. .ms-container .ms-list.ms-focus {
  40. border-color: rgba(82, 168, 236, 0.8);
  41. outline: 0;
  42. outline: thin dotted \9; }
  43. .ms-container ul {
  44. padding: 0;
  45. margin: 0;
  46. list-style-type: none; }
  47. .ms-container .ms-optgroup-container {
  48. width: 100%; }
  49. .ms-container .ms-optgroup-label {
  50. padding: 5px 0 0 7px;
  51. margin: 0;
  52. font-weight: 500;
  53. color: #76838f;
  54. cursor: pointer; }
  55. .ms-container .ms-selectable li.ms-elem-selectable, .ms-container .ms-selection li.ms-elem-selection {
  56. padding: 5px 10px 5px 20px; }
  57. .ms-container .ms-selectable li.ms-hover, .ms-container .ms-selection li.ms-hover {
  58. color: #fff;
  59. text-decoration: none;
  60. cursor: pointer;
  61. background-color: #589ffc; }
  62. .ms-container .ms-selectable li.disabled, .ms-container .ms-selection li.disabled {
  63. color: #76838f;
  64. cursor: text;
  65. background-color: #e4eaec; }
  66. @media (min-width: 1200px) {
  67. .ms-container {
  68. width: 450px; } }
  69. @media (min-width: 992px) and (max-width: 1199.98px) {
  70. .ms-container {
  71. width: 350px; } }
  72. @media (min-width: 480px) and (max-width: 991.98px) {
  73. .ms-container {
  74. width: 100%; } }
  75. @media (max-width: 479.98px) {
  76. .ms-container {
  77. width: 100%; }
  78. .ms-container:before {
  79. top: 190px;
  80. left: 50%;
  81. margin-left: -8px; }
  82. .ms-container .ms-selectable, .ms-container .ms-selection {
  83. display: block;
  84. width: 100%; }
  85. .ms-container .ms-selectable {
  86. margin-bottom: 40px; } }