selectize.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. .selectize-dropdown-header {
  2. position: relative;
  3. padding: 5px 8px;
  4. background: #f8f8f8;
  5. border-bottom: 1px solid #d0d0d0;
  6. -webkit-border-radius: 3px 3px 0 0;
  7. -moz-border-radius: 3px 3px 0 0;
  8. border-radius: 3px 3px 0 0;
  9. }
  10. .selectize-dropdown-header-close {
  11. position: absolute;
  12. top: 50%;
  13. right: 8px;
  14. margin-top: -12px;
  15. font-size: 20px !important;
  16. line-height: 20px;
  17. color: #303030;
  18. opacity: 0.4;
  19. }
  20. .selectize-dropdown-header-close:hover {
  21. color: #000000;
  22. }
  23. .selectize-dropdown.plugin-optgroup_columns .optgroup {
  24. float: left;
  25. border-top: 0 none;
  26. border-right: 1px solid #f2f2f2;
  27. -webkit-box-sizing: border-box;
  28. -moz-box-sizing: border-box;
  29. box-sizing: border-box;
  30. }
  31. .selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
  32. border-right: 0 none;
  33. }
  34. .selectize-dropdown.plugin-optgroup_columns .optgroup:before {
  35. display: none;
  36. }
  37. .selectize-dropdown.plugin-optgroup_columns .optgroup-header {
  38. border-top: 0 none;
  39. }
  40. .selectize-control.plugin-remove_button [data-value] {
  41. position: relative;
  42. padding-right: 24px !important;
  43. }
  44. .selectize-control.plugin-remove_button [data-value] .remove {
  45. position: absolute;
  46. top: 0;
  47. right: 0;
  48. bottom: 0;
  49. display: inline-block;
  50. width: 17px;
  51. padding: 2px 0 0 0;
  52. font-size: 12px;
  53. font-weight: bold;
  54. color: inherit;
  55. text-align: center;
  56. text-decoration: none;
  57. vertical-align: middle;
  58. border-left: 1px solid #0073bb;
  59. -webkit-border-radius: 0 2px 2px 0;
  60. -moz-border-radius: 0 2px 2px 0;
  61. border-radius: 0 2px 2px 0;
  62. -webkit-box-sizing: border-box;
  63. -moz-box-sizing: border-box;
  64. box-sizing: border-box;
  65. }
  66. .selectize-control.plugin-remove_button [data-value] .remove:hover {
  67. background: rgba(0, 0, 0, 0.05);
  68. }
  69. .selectize-control.plugin-remove_button [data-value].active .remove {
  70. border-left-color: #00578d;
  71. }
  72. .selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
  73. background: none;
  74. }
  75. .selectize-control.plugin-remove_button .disabled [data-value] .remove {
  76. border-left-color: #aaaaaa;
  77. }
  78. .selectize-control {
  79. position: relative;
  80. }
  81. .selectize-dropdown {
  82. font-family: inherit;
  83. font-size: 13px;
  84. -webkit-font-smoothing: inherit;
  85. line-height: 18px;
  86. color: #303030;
  87. }
  88. .selectize-control.single {
  89. display: inline-block;
  90. cursor: text;
  91. background: #ffffff;
  92. }
  93. .selectize-dropdown {
  94. position: absolute;
  95. z-index: 10;
  96. margin: -1px 0 0 0;
  97. background: #ffffff;
  98. border: 1px solid #d0d0d0;
  99. border-top: 0 none;
  100. -webkit-border-radius: 0 0 3px 3px;
  101. -moz-border-radius: 0 0 3px 3px;
  102. border-radius: 0 0 3px 3px;
  103. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  104. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  105. -webkit-box-sizing: border-box;
  106. -moz-box-sizing: border-box;
  107. box-sizing: border-box;
  108. }
  109. .selectize-dropdown [data-selectable] {
  110. overflow: hidden;
  111. cursor: pointer;
  112. }
  113. .selectize-dropdown [data-selectable] .highlight {
  114. background: rgba(125, 168, 208, 0.2);
  115. -webkit-border-radius: 1px;
  116. -moz-border-radius: 1px;
  117. border-radius: 1px;
  118. }
  119. .selectize-dropdown [data-selectable],
  120. .selectize-dropdown .optgroup-header {
  121. padding: 5px 8px;
  122. }
  123. .selectize-dropdown .optgroup:first-child .optgroup-header {
  124. border-top: 0 none;
  125. }
  126. .selectize-dropdown .optgroup-header {
  127. color: #303030;
  128. cursor: default;
  129. background: #ffffff;
  130. }
  131. .selectize-dropdown .active {
  132. color: #495c68;
  133. background-color: #f5fafd;
  134. }
  135. .selectize-dropdown .active.create {
  136. color: #495c68;
  137. }
  138. .selectize-dropdown .create {
  139. color: rgba(48, 48, 48, 0.5);
  140. }
  141. .selectize-dropdown-content {
  142. max-height: 200px;
  143. overflow-x: hidden;
  144. overflow-y: auto;
  145. .title {
  146. font-weight: bold;
  147. }
  148. .description {
  149. padding-left: 16px;
  150. }
  151. }
  152. .selectize-dropdown .optgroup-header {
  153. padding-top: 7px;
  154. font-size: 0.85em;
  155. font-weight: bold;
  156. }
  157. .selectize-dropdown .optgroup {
  158. border-top: 1px solid #f0f0f0;
  159. }
  160. .selectize-dropdown .optgroup:first-child {
  161. border-top: 0 none;
  162. }
  163. .custom-select {
  164. height: auto;
  165. }