vote.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. /*--- Voted By ---*/
  2. div.bx-vote-by-list {}
  3. div.bx-vote-by-list-cnt {
  4. max-height: 200px;
  5. max-height: 12.5rem;
  6. min-width: 220px;
  7. min-width: 13.75rem;
  8. overflow: auto;
  9. }
  10. div.bx-vote-by-list div.bx-base-pofile-unit {
  11. float: none;
  12. margin-right: 0px;
  13. margin-bottom: 0px;
  14. }
  15. /*--- Vote Element Styles ---*/
  16. div.bx-vote div.bx-vote-element-holder,
  17. div.bx-vote div.bx-vote-counter-holder {
  18. position: relative;
  19. float: left;
  20. }
  21. /*----------------------------------*/
  22. /*--- Likes based Element Styles ---*/
  23. /*----------------------------------*/
  24. .bx-vote-likes .bx-vote-element-holder,
  25. .bx-vote-likes .bx-vote-counter-holder {
  26. line-height: 20px;
  27. line-height: 1.25rem;
  28. }
  29. .bx-vote-likes-button .bx-vote-element-holder,
  30. .bx-vote-likes-button .bx-vote-counter-holder {
  31. line-height: 36px;
  32. line-height: 2.2rem;
  33. }
  34. .bx-vote-likes-button-small .bx-vote-element-holder,
  35. .bx-vote-likes-button-small .bx-vote-counter-holder {
  36. line-height: 24px;
  37. line-height: 1.6rem;
  38. }
  39. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled,
  40. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled .sys-icon {
  41. color: #ddd;
  42. }
  43. .bx-vote-likes-button .bx-vote-counter-holder,
  44. .bx-vote-likes-button-small .bx-vote-counter-holder {
  45. font-size: 1.5rem;
  46. }
  47. .bx-vote-likes .bx-vote-counter-holder.bx-btn-border {
  48. border-width: 0px;
  49. }
  50. /*--------------------------------------*/
  51. /*--- Reactions based Element Styles ---*/
  52. /*--------------------------------------*/
  53. .bx-vote-reactions .bx-vote-element-holder,
  54. .bx-vote-reactions .bx-vote-counter-holder {
  55. line-height: 20px;
  56. line-height: 1.25rem;
  57. }
  58. .bx-vote-reactions-button .bx-vote-element-holder,
  59. .bx-vote-reactions-button .bx-vote-counter-holder {
  60. line-height: 36px;
  61. line-height: 2.2rem;
  62. }
  63. .bx-vote-reactions-button-small .bx-vote-element-holder,
  64. .bx-vote-reactions-button-small .bx-vote-counter-holder {
  65. line-height: 24px;
  66. line-height: 1.6rem;
  67. }
  68. .bx-vote-reactions .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled,
  69. .bx-vote-reactions .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled .sys-icon {
  70. color: #ddd;
  71. }
  72. .bx-vote-reactions-button .bx-vote-counter-holder,
  73. .bx-vote-reactions-button-small .bx-vote-counter-holder {
  74. font-size: 1.5rem;
  75. }
  76. .bx-vote-reactions .bx-vote-counter-holder.bx-btn-border {
  77. border-width: 0px;
  78. }
  79. .bx-vote-counter-wrapper-reactions .bx-vote-counter {
  80. display: inline-block;
  81. }
  82. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound {
  83. position: relative;
  84. display: -webkit-flex;
  85. display: flex;
  86. -webkit-align-items: center;
  87. align-items: center;
  88. padding-left: 4px;
  89. }
  90. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter {
  91. display: block;
  92. }
  93. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-divided a.bx-vote-counter {
  94. margin-right: 0.5rem;
  95. }
  96. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound a.bx-vote-counter {
  97. margin-left: 0.5rem;
  98. }
  99. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter {
  100. width: 1.0rem;
  101. height: 1.0rem;
  102. box-sizing: border-box;
  103. margin: 4px 0 4px -4px;
  104. }
  105. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:first-child {
  106. margin-left: 0;
  107. }
  108. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter > span {
  109. vertical-align: top;
  110. }
  111. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter > span:not(.bx-vote-counter-icon) {
  112. display: none;
  113. }
  114. .bx-vote-counter-wrapper-reactions .bx-vote-counter.bx-vc-hidden {
  115. display: none;
  116. }
  117. /*--- Counter Styles ---*/
  118. .bx-vote-counter.bx-vote-counter-likes span.bx-vote-counter-icon,
  119. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter.bx-vote-counter-reactions span.bx-vote-counter-icon {
  120. position: relative;
  121. display: inline-block;
  122. box-sizing: border-box;
  123. width: 1.25rem;
  124. height: 1.25rem;
  125. background-color: rgba(215, 215, 215, 1.0);
  126. border: 1px solid #ffffff;
  127. border-radius: 1rem;
  128. line-height: 1.125rem;
  129. text-align: center;
  130. font-size: 0.625rem;
  131. }
  132. .bx-vote-counter.bx-vote-counter-likes span.bx-vote-counter-icon {
  133. margin-top: 4px;
  134. margin-bottom: 4px;
  135. }
  136. .bx-vote-counter span.bx-vote-counter-icon .sys-icon {
  137. vertical-align: top;
  138. }
  139. .bx-vote-counter.bx-vote-counter-likes span.bx-vote-counter-icon .sys-icon {
  140. color: #334455;
  141. }
  142. /*--- Voted By ---*/
  143. div.bx-vote-by-list {}
  144. div.bx-vote-by-list-cnt {
  145. max-height: 200px;
  146. max-height: 12.5rem;
  147. min-width: 220px;
  148. min-width: 13.75rem;
  149. overflow: auto;
  150. }
  151. div.bx-vote-by-list div.bx-base-pofile-unit {
  152. float: none;
  153. margin-right: 0px;
  154. margin-bottom: 0px;
  155. }
  156. .bx-vote-bls-header {
  157. display: -webkit-flex;
  158. display: flex;
  159. margin: -1.25rem -1.25rem 0 -1.25rem;
  160. border-bottom-color: #e6f0fa;
  161. border-bottom-width: 2px;
  162. }
  163. .bx-vote-bls-title,
  164. .bx-vote-bls-submenu {
  165. -webkit-flex: 0 1 auto;
  166. -ms-flex: 0 1 auto;
  167. flex: 0 1 auto;
  168. line-height: 3.125rem;
  169. }
  170. .bx-vote-bls-title,
  171. .bx-vote-bls-submenu-cnt,
  172. .bx-vote-bls-filler {
  173. height: 3.125rem;
  174. }
  175. .bx-vote-bls-title,
  176. .bx-vote-bls-filler {
  177. -webkit-flex-grow: 3;
  178. flex-grow: 3;
  179. border-bottom: 2px solid rgba(0,0,0,0.1);
  180. }
  181. .bx-vote-bls-title {
  182. display: none;
  183. white-space: nowrap;
  184. font-size: 1rem;
  185. font-weight: 400;
  186. }
  187. .bx-vote-bls-submenu {
  188. overflow-x: auto;
  189. overflow-y: hidden;
  190. -webkit-overflow-scrolling: touch;
  191. }
  192. .bx-vote-bls-submenu::-webkit-scrollbar {
  193. width: 0.5rem;
  194. }
  195. .bx-vote-bls-submenu::-webkit-scrollbar-track {
  196. -webkit-border-radius: 0.5rem;
  197. border-radius: 0.5rem;
  198. background-color: rgba(0, 0, 0, 0.1);
  199. }
  200. .bx-vote-bls-submenu::-webkit-scrollbar-thumb {
  201. -webkit-border-radius: 0.5rem;
  202. border-radius: 0.5rem;
  203. background: rgba(255, 255, 255, 0.9);
  204. -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
  205. }
  206. .bx-vote-bls-submenu::-webkit-scrollbar-thumb:window-inactive {
  207. background: rgba(255, 255, 255, 0.4);
  208. }
  209. .bx-vote-bls-submenu-cnt ul {
  210. display: -webkit-flex;
  211. display: flex;
  212. }
  213. .bx-vote-bls-submenu-cnt ul li {
  214. -webkit-flex: 0 1 auto;
  215. -ms-flex: 0 1 auto;
  216. flex: 0 1 auto;
  217. box-sizing: border-box;
  218. height: 3.125rem;
  219. border-bottom: 2px solid rgba(0,0,0,0.1);
  220. border-radius: 0;
  221. line-height: 3.125rem;
  222. white-space: nowrap;
  223. }
  224. .bx-vote-bls-submenu-cnt ul li div {
  225. padding: 0 0.625rem;
  226. }
  227. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act {
  228. border-bottom-color: #364f6b;
  229. }
  230. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act > div {
  231. font-weight: bold;
  232. }
  233. .bx-vote-bls-content .bx-vote-by-list:not(.bx-vote-bl-summary) {
  234. display: none;
  235. }
  236. .bx-vote-bls-content .bx-vote-by-item {
  237. position: relative;
  238. display: -webkit-flex;
  239. display: flex;
  240. -webkit-align-items: center;
  241. align-items: center;
  242. }
  243. .bx-vote-bls-content .bx-vote-by-item:first-child {
  244. padding-top: 1rem;
  245. }
  246. .bx-vote-bls-content .bx-vote-by-item:last-child {
  247. padding-bottom: 0;
  248. }
  249. /*----------------------------------*/
  250. /*--- Stars based Element Styles ---*/
  251. /*----------------------------------*/
  252. .bx-vote-stars,
  253. .bx-vote-stars .bx-vote-do,
  254. .bx-vote-stars .bx-vote-element-holder,
  255. .bx-vote-stars .bx-vote-counter-holder {
  256. position: relative;
  257. display: inline-block;
  258. vertical-align: top;
  259. line-height: 16px;
  260. line-height: 1rem;
  261. font-size: 16px;
  262. font-size: 1rem;
  263. }
  264. .bx-vote-stars .bx-vote-counter-holder {
  265. border-width: 0px;
  266. }
  267. /*--- Stars Styles ---*/
  268. div.bx-vote-element {
  269. position: relative;
  270. display: inline-block;
  271. }
  272. div.bx-vote-underlay {}
  273. div.bx-vote-slider {
  274. position: absolute;
  275. z-index: 1;
  276. top: 0px;
  277. left: 0px;
  278. white-space: nowrap;
  279. overflow: hidden;
  280. }
  281. .bx-vote-stars .bx-vote-element-holder a.bx-vote-button,
  282. .bx-vote-stars .bx-vote-element-holder i.bx-vote-star,
  283. .bx-vote-stars .bx-vote-element-holder span.bx-vote-star {
  284. position: relative;
  285. display: inline-block;
  286. vertical-align: top;
  287. height: 16px;
  288. width: 16px;
  289. margin: 0;
  290. padding: 0;
  291. text-align: center;
  292. }
  293. div.bx-vote-underlay i.bx-vote-star,
  294. div.bx-vote-underlay span.bx-vote-star {
  295. color: rgba(255, 204, 102, 1);
  296. }
  297. div.bx-vote-slider i.bx-vote-star,
  298. div.bx-vote-slider span.bx-vote-star,
  299. div.bx-vote-buttons a:hover i.bx-vote-star,
  300. div.bx-vote-buttons a:hover span.bx-vote-star {
  301. color: rgba(255, 100, 0, 1);
  302. }
  303. div.bx-vote-buttons {
  304. position: absolute;
  305. z-index: 2;
  306. top: 0px;
  307. left: 0px;
  308. }
  309. div.bx-vote-buttons a:hover {
  310. text-decoration: none;
  311. }
  312. div.bx-vote-buttons i.bx-vote-star,
  313. div.bx-vote-buttons span.bx-vote-star {
  314. color: transparent;
  315. }