You are here

autocomplete.css in Open Social 8.9

.ui-autocomplete.ui-widget-content {
  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: 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 {
  flex: 0 0 24px;
  max-width: 24px;
  margin-right: 10px;
}

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