You are here

autocomplete.css in Open Social 8.5

.ui-autocomplete.ui-widget-content {
  -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
          box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
  background: white;
  padding: 0;
  list-style: none;
  max-height: 305px;
  overflow-y: auto;
}

.ui-autocomplete.ui-widget-content.upward {
  bottom: 38px;
  top: auto !important;
}

.ui-autocomplete.ui-widget-content .ui-menu-item {
  font-size: 0.875rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #555555;
  cursor: pointer;
}

.ui-autocomplete.ui-widget-content .ui-menu-item > a {
  padding: 7px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ui-autocomplete.ui-widget-content .ui-menu-item .ui-state-active {
  background-color: #e6e6e6;
}

.ui-autocomplete.ui-widget-content .ui-menu-item .mention__avatar {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 24px;
          flex: 0 0 24px;
  max-width: 24px;
  margin-right: 10px;
}

.ui-autocomplete.ui-widget-content .ui-menu-item .mention__name {
  -ms-flex-item-align: center;
      align-self: center;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.ui-autocomplete.ui-widget-content .ui-menu-item:hover {
  background: #e6e6e6;
  border: 0;
}

.ui-autocomplete.ui-widget-content::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f7f7f7;
}

.ui-autocomplete.ui-widget-content::-webkit-scrollbar {
  width: 12px;
  background-color: #f7f7f7;
}

.ui-autocomplete.ui-widget-content::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #777777;
}

.ui-autocomplete {
  margin-top: -1px;
  padding-top: 0;
  padding-bottom: 0;
}

.ui-front {
  z-index: 1060;
}

.ui-widget-header {
  font-weight: 700;
}

.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
  margin: 0;
}

/* Interaction states
----------------------------------*/
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
  color: #555555;
}

.ui-autocomplete .ui-state-hover,
.ui-autocomplete .ui-state-focus {
  background: #e6e6e6;
}

.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited {
  color: #212121;
  text-decoration: none;
}

.ui-autocomplete .ui-state-active a,
.ui-autocomplete .ui-state-active a:link,
.ui-autocomplete .ui-state-active a:visited {
  color: #212121;
  text-decoration: none;
}

/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  border: 1px solid #e6e6e6;
  background: #e6e6e6;
  color: #363636;
}

.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
  color: #363636;
}

.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
  border: 1px solid #cd0a0a;
  background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
  color: #cd0a0a;
}

.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
  color: #cd0a0a;
}

.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
  color: #cd0a0a;
}

.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
  font-weight: bold;
}

.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
  opacity: .7;
  filter: Alpha(Opacity=70);
  /* support: IE8 */
  font-weight: normal;
}

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
  opacity: .35;
  filter: Alpha(Opacity=35);
  /* support: IE8 */
  background-image: none;
}

.ui-state-disabled .ui-icon {
  filter: Alpha(Opacity=35);
  /* support: IE8 - See #6059 */
}

/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
  display: none;
}

.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.ui-helper-reset {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  line-height: 1.3;
  text-decoration: none;
  font-size: 100%;
  list-style: none;
}

.ui-helper-clearfix {
  min-height: 0;
  /* support: IE7 */
}

.ui-helper-zfix {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  filter: Alpha(Opacity=0);
  /* support: IE8 */
}

/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
  cursor: default !important;
}

/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

File

themes/socialbase/assets/css/autocomplete.css
View source
  1. .ui-autocomplete.ui-widget-content {
  2. -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
  3. box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
  4. background: white;
  5. padding: 0;
  6. list-style: none;
  7. max-height: 305px;
  8. overflow-y: auto;
  9. }
  10. .ui-autocomplete.ui-widget-content.upward {
  11. bottom: 38px;
  12. top: auto !important;
  13. }
  14. .ui-autocomplete.ui-widget-content .ui-menu-item {
  15. font-size: 0.875rem;
  16. overflow: hidden;
  17. white-space: nowrap;
  18. text-overflow: ellipsis;
  19. color: #555555;
  20. cursor: pointer;
  21. }
  22. .ui-autocomplete.ui-widget-content .ui-menu-item > a {
  23. padding: 7px 10px;
  24. display: -webkit-box;
  25. display: -ms-flexbox;
  26. display: flex;
  27. }
  28. .ui-autocomplete.ui-widget-content .ui-menu-item .ui-state-active {
  29. background-color: #e6e6e6;
  30. }
  31. .ui-autocomplete.ui-widget-content .ui-menu-item .mention__avatar {
  32. -webkit-box-flex: 0;
  33. -ms-flex: 0 0 24px;
  34. flex: 0 0 24px;
  35. max-width: 24px;
  36. margin-right: 10px;
  37. }
  38. .ui-autocomplete.ui-widget-content .ui-menu-item .mention__name {
  39. -ms-flex-item-align: center;
  40. align-self: center;
  41. -webkit-box-flex: 1;
  42. -ms-flex-positive: 1;
  43. flex-grow: 1;
  44. }
  45. .ui-autocomplete.ui-widget-content .ui-menu-item:hover {
  46. background: #e6e6e6;
  47. border: 0;
  48. }
  49. .ui-autocomplete.ui-widget-content::-webkit-scrollbar-track {
  50. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  51. background-color: #f7f7f7;
  52. }
  53. .ui-autocomplete.ui-widget-content::-webkit-scrollbar {
  54. width: 12px;
  55. background-color: #f7f7f7;
  56. }
  57. .ui-autocomplete.ui-widget-content::-webkit-scrollbar-thumb {
  58. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  59. background-color: #777777;
  60. }
  61. .ui-autocomplete {
  62. margin-top: -1px;
  63. padding-top: 0;
  64. padding-bottom: 0;
  65. }
  66. .ui-front {
  67. z-index: 1060;
  68. }
  69. .ui-widget-header {
  70. font-weight: 700;
  71. }
  72. .ui-menu .ui-state-focus,
  73. .ui-menu .ui-state-active {
  74. margin: 0;
  75. }
  76. /* Interaction states
  77. ----------------------------------*/
  78. .ui-state-default a,
  79. .ui-state-default a:link,
  80. .ui-state-default a:visited {
  81. color: #555555;
  82. }
  83. .ui-autocomplete .ui-state-hover,
  84. .ui-autocomplete .ui-state-focus {
  85. background: #e6e6e6;
  86. }
  87. .ui-state-hover a,
  88. .ui-state-hover a:hover,
  89. .ui-state-hover a:link,
  90. .ui-state-hover a:visited,
  91. .ui-state-focus a,
  92. .ui-state-focus a:hover,
  93. .ui-state-focus a:link,
  94. .ui-state-focus a:visited {
  95. color: #212121;
  96. text-decoration: none;
  97. }
  98. .ui-autocomplete .ui-state-active a,
  99. .ui-autocomplete .ui-state-active a:link,
  100. .ui-autocomplete .ui-state-active a:visited {
  101. color: #212121;
  102. text-decoration: none;
  103. }
  104. /* Interaction Cues
  105. ----------------------------------*/
  106. .ui-state-highlight,
  107. .ui-widget-content .ui-state-highlight,
  108. .ui-widget-header .ui-state-highlight {
  109. border: 1px solid #e6e6e6;
  110. background: #e6e6e6;
  111. color: #363636;
  112. }
  113. .ui-state-highlight a,
  114. .ui-widget-content .ui-state-highlight a,
  115. .ui-widget-header .ui-state-highlight a {
  116. color: #363636;
  117. }
  118. .ui-state-error,
  119. .ui-widget-content .ui-state-error,
  120. .ui-widget-header .ui-state-error {
  121. border: 1px solid #cd0a0a;
  122. background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
  123. color: #cd0a0a;
  124. }
  125. .ui-state-error a,
  126. .ui-widget-content .ui-state-error a,
  127. .ui-widget-header .ui-state-error a {
  128. color: #cd0a0a;
  129. }
  130. .ui-state-error-text,
  131. .ui-widget-content .ui-state-error-text,
  132. .ui-widget-header .ui-state-error-text {
  133. color: #cd0a0a;
  134. }
  135. .ui-priority-primary,
  136. .ui-widget-content .ui-priority-primary,
  137. .ui-widget-header .ui-priority-primary {
  138. font-weight: bold;
  139. }
  140. .ui-priority-secondary,
  141. .ui-widget-content .ui-priority-secondary,
  142. .ui-widget-header .ui-priority-secondary {
  143. opacity: .7;
  144. filter: Alpha(Opacity=70);
  145. /* support: IE8 */
  146. font-weight: normal;
  147. }
  148. .ui-state-disabled,
  149. .ui-widget-content .ui-state-disabled,
  150. .ui-widget-header .ui-state-disabled {
  151. opacity: .35;
  152. filter: Alpha(Opacity=35);
  153. /* support: IE8 */
  154. background-image: none;
  155. }
  156. .ui-state-disabled .ui-icon {
  157. filter: Alpha(Opacity=35);
  158. /* support: IE8 - See #6059 */
  159. }
  160. /* Layout helpers
  161. ----------------------------------*/
  162. .ui-helper-hidden {
  163. display: none;
  164. }
  165. .ui-helper-hidden-accessible {
  166. border: 0;
  167. clip: rect(0 0 0 0);
  168. height: 1px;
  169. margin: -1px;
  170. overflow: hidden;
  171. padding: 0;
  172. position: absolute;
  173. width: 1px;
  174. }
  175. .ui-helper-reset {
  176. margin: 0;
  177. padding: 0;
  178. border: 0;
  179. outline: 0;
  180. line-height: 1.3;
  181. text-decoration: none;
  182. font-size: 100%;
  183. list-style: none;
  184. }
  185. .ui-helper-clearfix {
  186. min-height: 0;
  187. /* support: IE7 */
  188. }
  189. .ui-helper-zfix {
  190. width: 100%;
  191. height: 100%;
  192. top: 0;
  193. left: 0;
  194. position: absolute;
  195. opacity: 0;
  196. filter: Alpha(Opacity=0);
  197. /* support: IE8 */
  198. }
  199. /* Interaction Cues
  200. ----------------------------------*/
  201. .ui-state-disabled {
  202. cursor: default !important;
  203. }
  204. /* Misc visuals
  205. ----------------------------------*/
  206. /* Overlays */
  207. .ui-widget-overlay {
  208. position: fixed;
  209. top: 0;
  210. left: 0;
  211. width: 100%;
  212. height: 100%;
  213. }