You are here

chosen.css in Drupal Mega Menu 8

Same filename and directory in other branches
  1. 8.x assets/includes/chosen/chosen.css
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com

Version 1.6.2
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2016 Harvest http://getharvest.com

MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
*/

/* @group Base */
.chosen-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.chosen-container * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.chosen-container .chosen-drop {
  position: absolute;
  top: 100%;
  left: -9999px;
  z-index: 1010;
  width: 100%;
  border: 1px solid #aaa;
  border-top: 0;
  background: #fff;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}
.chosen-container.chosen-with-drop .chosen-drop {
  left: 0;
}
.chosen-container a {
  cursor: pointer;
}
.chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
  margin-right: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: normal;
  color: #999999;
}
.chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
  content: ":";
  padding-left: 2px;
  vertical-align: top;
}

/* @end */
/* @group Single Chosen */
.chosen-container-single .chosen-single {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0 0 0 8px;
  height: 25px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background-color: #fff;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
  background: -webkit-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background: -moz-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background: -o-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-clip: padding-box;
  box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  line-height: 24px;
}
.chosen-container-single .chosen-default {
  color: #999;
}
.chosen-container-single .chosen-single span {
  display: block;
  overflow: hidden;
  margin-right: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chosen-container-single .chosen-single-with-deselect span {
  margin-right: 38px;
}
.chosen-container-single .chosen-single abbr {
  position: absolute;
  top: 6px;
  right: 26px;
  display: block;
  width: 12px;
  height: 12px;
  background: url('chosen-sprite.png') -42px 1px no-repeat;
  font-size: 1px;
}
.chosen-container-single .chosen-single abbr:hover {
  background-position: -42px -10px;
}
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
  background-position: -42px -10px;
}
.chosen-container-single .chosen-single div {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 18px;
  height: 100%;
}
.chosen-container-single .chosen-single div b {
  display: block;
  width: 100%;
  height: 100%;
  background: url('chosen-sprite.png') no-repeat 0px 2px;
}
.chosen-container-single .chosen-search {
  position: relative;
  z-index: 1010;
  margin: 0;
  padding: 3px 4px;
  white-space: nowrap;
}
.chosen-container-single .chosen-search input[type="text"] {
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  width: 100%;
  height: auto;
  outline: 0;
  border: 1px solid #aaa;
  background: white url('chosen-sprite.png') no-repeat 100% -20px;
  background: url('chosen-sprite.png') no-repeat 100% -20px;
  font-size: 1em;
  font-family: sans-serif;
  line-height: normal;
  border-radius: 0;
}
.chosen-container-single .chosen-drop {
  margin-top: -1px;
  border-radius: 0 0 4px 4px;
  background-clip: padding-box;
}
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
  position: absolute;
  left: -9999px;
}

/* @end */
/* @group Results */
.chosen-container .chosen-results {
  color: #444;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 4px 4px 0;
  padding: 0 0 0 4px;
  max-height: 240px;
  -webkit-overflow-scrolling: touch;
}
.chosen-container .chosen-results li {
  display: none;
  margin: 0;
  padding: 5px 6px;
  list-style: none;
  line-height: 15px;
  word-wrap: break-word;
  -webkit-touch-callout: none;
}
.chosen-container .chosen-results li.active-result {
  display: list-item;
  cursor: pointer;
}
.chosen-container .chosen-results li.disabled-result {
  display: list-item;
  color: #ccc;
  cursor: default;
}
.chosen-container .chosen-results li.highlighted {
  background-color: #3875d7;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
  background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
  background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
  background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
  background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
  color: #fff;
}
.chosen-container .chosen-results li.no-results {
  color: #777;
  display: list-item;
  background: #f4f4f4;
}
.chosen-container .chosen-results li.group-result {
  display: list-item;
  font-weight: bold;
  cursor: default;
}
.chosen-container .chosen-results li.group-option {
  padding-left: 15px;
}
.chosen-container .chosen-results li em {
  font-style: normal;
  text-decoration: underline;
}

/* @end */
/* @group Multi Chosen */
.chosen-container-multi .chosen-choices {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0 5px;
  width: 100%;
  height: auto;
  border: 1px solid #aaa;
  background-color: #fff;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
  background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
  background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
  background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
  cursor: text;
}
.chosen-container-multi .chosen-choices li {
  float: left;
  list-style: none;
}
.chosen-container-multi .chosen-choices li.search-field {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  margin: 1px 0;
  padding: 0;
  height: 25px;
  outline: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  color: #999;
  font-size: 100%;
  font-family: sans-serif;
  line-height: normal;
  border-radius: 0;
}
.chosen-container-multi .chosen-choices li.search-choice {
  position: relative;
  margin: 3px 5px 3px 0;
  padding: 3px 20px 3px 5px;
  border: 1px solid #aaa;
  max-width: 100%;
  border-radius: 3px;
  background-color: #eeeeee;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
  background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-size: 100% 19px;
  background-repeat: repeat-x;
  background-clip: padding-box;
  box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  color: #333;
  line-height: 13px;
  cursor: default;
}
.chosen-container-multi .chosen-choices li.search-choice span {
  word-wrap: break-word;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  position: absolute;
  top: 4px;
  right: 3px;
  display: block;
  width: 12px;
  height: 12px;
  background: url('chosen-sprite.png') -42px 1px no-repeat;
  font-size: 1px;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
  background-position: -42px -10px;
}
.chosen-container-multi .chosen-choices li.search-choice-disabled {
  padding-right: 5px;
  border: 1px solid #ccc;
  background-color: #e4e4e4;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
  background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  color: #666;
}
.chosen-container-multi .chosen-choices li.search-choice-focus {
  background: #d4d4d4;
}
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
  background-position: -42px -10px;
}
.chosen-container-multi .chosen-results {
  margin: 0;
  padding: 0;
}
.chosen-container-multi .chosen-drop .result-selected {
  display: list-item;
  color: #ccc;
  cursor: default;
}

/* @end */
/* @group Active  */
.chosen-container-active .chosen-single {
  border: 1px solid #5897fb;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.chosen-container-active.chosen-with-drop .chosen-single {
  border: 1px solid #aaa;
  -moz-border-radius-bottomright: 0;
  border-bottom-right-radius: 0;
  -moz-border-radius-bottomleft: 0;
  border-bottom-left-radius: 0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
  background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);
  background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%);
  background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%);
  background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
  box-shadow: 0 1px 0 #fff inset;
}
.chosen-container-active.chosen-with-drop .chosen-single div {
  border-left: none;
  background: transparent;
}
.chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -18px 2px;
}
.chosen-container-active .chosen-choices {
  border: 1px solid #5897fb;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
  color: #222 !important;
}

/* @end */
/* @group Disabled Support */
.chosen-disabled {
  opacity: 0.5 !important;
  cursor: default;
}
.chosen-disabled .chosen-single {
  cursor: default;
}
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
  cursor: default;
}

/* @end */
/* @group Right to Left */
.chosen-rtl {
  text-align: right;
}
.chosen-rtl .chosen-single {
  overflow: visible;
  padding: 0 8px 0 0;
}
.chosen-rtl .chosen-single span {
  margin-right: 0;
  margin-left: 26px;
  direction: rtl;
}
.chosen-rtl .chosen-single-with-deselect span {
  margin-left: 38px;
}
.chosen-rtl .chosen-single div {
  right: auto;
  left: 3px;
}
.chosen-rtl .chosen-single abbr {
  right: auto;
  left: 26px;
}
.chosen-rtl .chosen-choices li {
  float: right;
}
.chosen-rtl .chosen-choices li.search-field input[type="text"] {
  direction: rtl;
}
.chosen-rtl .chosen-choices li.search-choice {
  margin: 3px 5px 3px 0;
  padding: 3px 5px 3px 19px;
}
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
  right: auto;
  left: 4px;
}
.chosen-rtl.chosen-container-single-nosearch .chosen-search,
.chosen-rtl .chosen-drop {
  left: 9999px;
}
.chosen-rtl.chosen-container-single .chosen-results {
  margin: 0 0 4px 4px;
  padding: 0 4px 0 0;
}
.chosen-rtl .chosen-results li.group-option {
  padding-right: 15px;
  padding-left: 0;
}
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
  border-right: none;
}
.chosen-rtl .chosen-search input[type="text"] {
  padding: 4px 5px 4px 20px;
  background: white url('chosen-sprite.png') no-repeat -30px -20px;
  background: url('chosen-sprite.png') no-repeat -30px -20px;
  direction: rtl;
}
.chosen-rtl.chosen-container-single .chosen-single div b {
  background-position: 6px 2px;
}
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
  background-position: -12px 2px;
}

/* @end */
/* @group Retina compatibility */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
  .chosen-rtl .chosen-search input[type="text"],
  .chosen-container-single .chosen-single abbr,
  .chosen-container-single .chosen-single div b,
  .chosen-container-single .chosen-search input[type="text"],
  .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
  .chosen-container .chosen-results-scroll-down span,
  .chosen-container .chosen-results-scroll-up span {
    background-image: url('chosen-sprite@2x.png') !important;
    background-size: 52px 37px !important;
    background-repeat: no-repeat !important;
  }
}
/* @end */

File

assets/includes/chosen/chosen.css
View source
  1. /*!
  2. Chosen, a Select Box Enhancer for jQuery and Prototype
  3. by Patrick Filler for Harvest, http://getharvest.com
  4. Version 1.6.2
  5. Full source at https://github.com/harvesthq/chosen
  6. Copyright (c) 2011-2016 Harvest http://getharvest.com
  7. MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
  8. This file is generated by `grunt build`, do not edit it by hand.
  9. */
  10. /* @group Base */
  11. .chosen-container {
  12. position: relative;
  13. display: inline-block;
  14. vertical-align: middle;
  15. font-size: 13px;
  16. -webkit-user-select: none;
  17. -moz-user-select: none;
  18. user-select: none;
  19. }
  20. .chosen-container * {
  21. -webkit-box-sizing: border-box;
  22. -moz-box-sizing: border-box;
  23. box-sizing: border-box;
  24. }
  25. .chosen-container .chosen-drop {
  26. position: absolute;
  27. top: 100%;
  28. left: -9999px;
  29. z-index: 1010;
  30. width: 100%;
  31. border: 1px solid #aaa;
  32. border-top: 0;
  33. background: #fff;
  34. box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  35. }
  36. .chosen-container.chosen-with-drop .chosen-drop {
  37. left: 0;
  38. }
  39. .chosen-container a {
  40. cursor: pointer;
  41. }
  42. .chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
  43. margin-right: 4px;
  44. overflow: hidden;
  45. white-space: nowrap;
  46. text-overflow: ellipsis;
  47. font-weight: normal;
  48. color: #999999;
  49. }
  50. .chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
  51. content: ":";
  52. padding-left: 2px;
  53. vertical-align: top;
  54. }
  55. /* @end */
  56. /* @group Single Chosen */
  57. .chosen-container-single .chosen-single {
  58. position: relative;
  59. display: block;
  60. overflow: hidden;
  61. padding: 0 0 0 8px;
  62. height: 25px;
  63. border: 1px solid #aaa;
  64. border-radius: 5px;
  65. background-color: #fff;
  66. background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
  67. background: -webkit-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  68. background: -moz-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  69. background: -o-linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  70. background: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  71. background-clip: padding-box;
  72. box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
  73. color: #444;
  74. text-decoration: none;
  75. white-space: nowrap;
  76. line-height: 24px;
  77. }
  78. .chosen-container-single .chosen-default {
  79. color: #999;
  80. }
  81. .chosen-container-single .chosen-single span {
  82. display: block;
  83. overflow: hidden;
  84. margin-right: 26px;
  85. text-overflow: ellipsis;
  86. white-space: nowrap;
  87. }
  88. .chosen-container-single .chosen-single-with-deselect span {
  89. margin-right: 38px;
  90. }
  91. .chosen-container-single .chosen-single abbr {
  92. position: absolute;
  93. top: 6px;
  94. right: 26px;
  95. display: block;
  96. width: 12px;
  97. height: 12px;
  98. background: url('chosen-sprite.png') -42px 1px no-repeat;
  99. font-size: 1px;
  100. }
  101. .chosen-container-single .chosen-single abbr:hover {
  102. background-position: -42px -10px;
  103. }
  104. .chosen-container-single.chosen-disabled .chosen-single abbr:hover {
  105. background-position: -42px -10px;
  106. }
  107. .chosen-container-single .chosen-single div {
  108. position: absolute;
  109. top: 0;
  110. right: 0;
  111. display: block;
  112. width: 18px;
  113. height: 100%;
  114. }
  115. .chosen-container-single .chosen-single div b {
  116. display: block;
  117. width: 100%;
  118. height: 100%;
  119. background: url('chosen-sprite.png') no-repeat 0px 2px;
  120. }
  121. .chosen-container-single .chosen-search {
  122. position: relative;
  123. z-index: 1010;
  124. margin: 0;
  125. padding: 3px 4px;
  126. white-space: nowrap;
  127. }
  128. .chosen-container-single .chosen-search input[type="text"] {
  129. margin: 1px 0;
  130. padding: 4px 20px 4px 5px;
  131. width: 100%;
  132. height: auto;
  133. outline: 0;
  134. border: 1px solid #aaa;
  135. background: white url('chosen-sprite.png') no-repeat 100% -20px;
  136. background: url('chosen-sprite.png') no-repeat 100% -20px;
  137. font-size: 1em;
  138. font-family: sans-serif;
  139. line-height: normal;
  140. border-radius: 0;
  141. }
  142. .chosen-container-single .chosen-drop {
  143. margin-top: -1px;
  144. border-radius: 0 0 4px 4px;
  145. background-clip: padding-box;
  146. }
  147. .chosen-container-single.chosen-container-single-nosearch .chosen-search {
  148. position: absolute;
  149. left: -9999px;
  150. }
  151. /* @end */
  152. /* @group Results */
  153. .chosen-container .chosen-results {
  154. color: #444;
  155. position: relative;
  156. overflow-x: hidden;
  157. overflow-y: auto;
  158. margin: 0 4px 4px 0;
  159. padding: 0 0 0 4px;
  160. max-height: 240px;
  161. -webkit-overflow-scrolling: touch;
  162. }
  163. .chosen-container .chosen-results li {
  164. display: none;
  165. margin: 0;
  166. padding: 5px 6px;
  167. list-style: none;
  168. line-height: 15px;
  169. word-wrap: break-word;
  170. -webkit-touch-callout: none;
  171. }
  172. .chosen-container .chosen-results li.active-result {
  173. display: list-item;
  174. cursor: pointer;
  175. }
  176. .chosen-container .chosen-results li.disabled-result {
  177. display: list-item;
  178. color: #ccc;
  179. cursor: default;
  180. }
  181. .chosen-container .chosen-results li.highlighted {
  182. background-color: #3875d7;
  183. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
  184. background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
  185. background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
  186. background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
  187. background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
  188. color: #fff;
  189. }
  190. .chosen-container .chosen-results li.no-results {
  191. color: #777;
  192. display: list-item;
  193. background: #f4f4f4;
  194. }
  195. .chosen-container .chosen-results li.group-result {
  196. display: list-item;
  197. font-weight: bold;
  198. cursor: default;
  199. }
  200. .chosen-container .chosen-results li.group-option {
  201. padding-left: 15px;
  202. }
  203. .chosen-container .chosen-results li em {
  204. font-style: normal;
  205. text-decoration: underline;
  206. }
  207. /* @end */
  208. /* @group Multi Chosen */
  209. .chosen-container-multi .chosen-choices {
  210. position: relative;
  211. overflow: hidden;
  212. margin: 0;
  213. padding: 0 5px;
  214. width: 100%;
  215. height: auto;
  216. border: 1px solid #aaa;
  217. background-color: #fff;
  218. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  219. background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
  220. background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
  221. background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
  222. background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
  223. cursor: text;
  224. }
  225. .chosen-container-multi .chosen-choices li {
  226. float: left;
  227. list-style: none;
  228. }
  229. .chosen-container-multi .chosen-choices li.search-field {
  230. margin: 0;
  231. padding: 0;
  232. white-space: nowrap;
  233. }
  234. .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  235. margin: 1px 0;
  236. padding: 0;
  237. height: 25px;
  238. outline: 0;
  239. border: 0 !important;
  240. background: transparent !important;
  241. box-shadow: none;
  242. color: #999;
  243. font-size: 100%;
  244. font-family: sans-serif;
  245. line-height: normal;
  246. border-radius: 0;
  247. }
  248. .chosen-container-multi .chosen-choices li.search-choice {
  249. position: relative;
  250. margin: 3px 5px 3px 0;
  251. padding: 3px 20px 3px 5px;
  252. border: 1px solid #aaa;
  253. max-width: 100%;
  254. border-radius: 3px;
  255. background-color: #eeeeee;
  256. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
  257. background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  258. background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  259. background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  260. background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  261. background-size: 100% 19px;
  262. background-repeat: repeat-x;
  263. background-clip: padding-box;
  264. box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  265. color: #333;
  266. line-height: 13px;
  267. cursor: default;
  268. }
  269. .chosen-container-multi .chosen-choices li.search-choice span {
  270. word-wrap: break-word;
  271. }
  272. .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  273. position: absolute;
  274. top: 4px;
  275. right: 3px;
  276. display: block;
  277. width: 12px;
  278. height: 12px;
  279. background: url('chosen-sprite.png') -42px 1px no-repeat;
  280. font-size: 1px;
  281. }
  282. .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
  283. background-position: -42px -10px;
  284. }
  285. .chosen-container-multi .chosen-choices li.search-choice-disabled {
  286. padding-right: 5px;
  287. border: 1px solid #ccc;
  288. background-color: #e4e4e4;
  289. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
  290. background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  291. background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  292. background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  293. background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  294. color: #666;
  295. }
  296. .chosen-container-multi .chosen-choices li.search-choice-focus {
  297. background: #d4d4d4;
  298. }
  299. .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
  300. background-position: -42px -10px;
  301. }
  302. .chosen-container-multi .chosen-results {
  303. margin: 0;
  304. padding: 0;
  305. }
  306. .chosen-container-multi .chosen-drop .result-selected {
  307. display: list-item;
  308. color: #ccc;
  309. cursor: default;
  310. }
  311. /* @end */
  312. /* @group Active */
  313. .chosen-container-active .chosen-single {
  314. border: 1px solid #5897fb;
  315. box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  316. }
  317. .chosen-container-active.chosen-with-drop .chosen-single {
  318. border: 1px solid #aaa;
  319. -moz-border-radius-bottomright: 0;
  320. border-bottom-right-radius: 0;
  321. -moz-border-radius-bottomleft: 0;
  322. border-bottom-left-radius: 0;
  323. background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
  324. background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);
  325. background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%);
  326. background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%);
  327. background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
  328. box-shadow: 0 1px 0 #fff inset;
  329. }
  330. .chosen-container-active.chosen-with-drop .chosen-single div {
  331. border-left: none;
  332. background: transparent;
  333. }
  334. .chosen-container-active.chosen-with-drop .chosen-single div b {
  335. background-position: -18px 2px;
  336. }
  337. .chosen-container-active .chosen-choices {
  338. border: 1px solid #5897fb;
  339. box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  340. }
  341. .chosen-container-active .chosen-choices li.search-field input[type="text"] {
  342. color: #222 !important;
  343. }
  344. /* @end */
  345. /* @group Disabled Support */
  346. .chosen-disabled {
  347. opacity: 0.5 !important;
  348. cursor: default;
  349. }
  350. .chosen-disabled .chosen-single {
  351. cursor: default;
  352. }
  353. .chosen-disabled .chosen-choices .search-choice .search-choice-close {
  354. cursor: default;
  355. }
  356. /* @end */
  357. /* @group Right to Left */
  358. .chosen-rtl {
  359. text-align: right;
  360. }
  361. .chosen-rtl .chosen-single {
  362. overflow: visible;
  363. padding: 0 8px 0 0;
  364. }
  365. .chosen-rtl .chosen-single span {
  366. margin-right: 0;
  367. margin-left: 26px;
  368. direction: rtl;
  369. }
  370. .chosen-rtl .chosen-single-with-deselect span {
  371. margin-left: 38px;
  372. }
  373. .chosen-rtl .chosen-single div {
  374. right: auto;
  375. left: 3px;
  376. }
  377. .chosen-rtl .chosen-single abbr {
  378. right: auto;
  379. left: 26px;
  380. }
  381. .chosen-rtl .chosen-choices li {
  382. float: right;
  383. }
  384. .chosen-rtl .chosen-choices li.search-field input[type="text"] {
  385. direction: rtl;
  386. }
  387. .chosen-rtl .chosen-choices li.search-choice {
  388. margin: 3px 5px 3px 0;
  389. padding: 3px 5px 3px 19px;
  390. }
  391. .chosen-rtl .chosen-choices li.search-choice .search-choice-close {
  392. right: auto;
  393. left: 4px;
  394. }
  395. .chosen-rtl.chosen-container-single-nosearch .chosen-search,
  396. .chosen-rtl .chosen-drop {
  397. left: 9999px;
  398. }
  399. .chosen-rtl.chosen-container-single .chosen-results {
  400. margin: 0 0 4px 4px;
  401. padding: 0 4px 0 0;
  402. }
  403. .chosen-rtl .chosen-results li.group-option {
  404. padding-right: 15px;
  405. padding-left: 0;
  406. }
  407. .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
  408. border-right: none;
  409. }
  410. .chosen-rtl .chosen-search input[type="text"] {
  411. padding: 4px 5px 4px 20px;
  412. background: white url('chosen-sprite.png') no-repeat -30px -20px;
  413. background: url('chosen-sprite.png') no-repeat -30px -20px;
  414. direction: rtl;
  415. }
  416. .chosen-rtl.chosen-container-single .chosen-single div b {
  417. background-position: 6px 2px;
  418. }
  419. .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
  420. background-position: -12px 2px;
  421. }
  422. /* @end */
  423. /* @group Retina compatibility */
  424. @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
  425. .chosen-rtl .chosen-search input[type="text"],
  426. .chosen-container-single .chosen-single abbr,
  427. .chosen-container-single .chosen-single div b,
  428. .chosen-container-single .chosen-search input[type="text"],
  429. .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
  430. .chosen-container .chosen-results-scroll-down span,
  431. .chosen-container .chosen-results-scroll-up span {
  432. background-image: url('chosen-sprite@2x.png') !important;
  433. background-size: 52px 37px !important;
  434. background-repeat: no-repeat !important;
  435. }
  436. }
  437. /* @end */