You are here

autocomplete.css in Open Social 8.2

.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;
}

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