vote.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  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-element-holder a.bx-vote-do-vote {
  77. position: relative;
  78. display: inline-block;
  79. }
  80. .bx-vote-reactions .bx-vote-counter-holder.bx-btn-border {
  81. border-width: 0px;
  82. }
  83. .bx-vote-counter-wrapper-reactions .bx-vote-counter {
  84. display: inline-block;
  85. }
  86. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound {
  87. position: relative;
  88. padding-left: 8px;
  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.total-count,
  97. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter.total-count {
  98. margin-left: 0.5rem;
  99. }
  100. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) {
  101. width: 2.0rem;
  102. height: 2.0rem;
  103. box-sizing: border-box;
  104. margin-left: -0.5rem;
  105. }
  106. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) span.bx-vote-counter-text {
  107. display: none;
  108. }
  109. .bx-vote-counter-wrapper-reactions.bx-vc-hidden,
  110. .bx-vote-counter-wrapper-reactions .bx-vote-counter.bx-vc-hidden {
  111. display: none;
  112. }
  113. /*--- Counter Styles ---*/
  114. .bx-vote-counter .bx-vote-counter-label.bx-def-valign-center .bx-vote-counter-text {
  115. line-height: normal;
  116. }
  117. .bx-vote-counter.bx-vote-counter-likes span.bx-vote-counter-icon,
  118. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter.bx-vote-counter-reactions span.bx-vote-counter-icon {
  119. position: relative;
  120. box-sizing: border-box;
  121. width: 2.0rem;
  122. height: 2.0rem;
  123. background-color: rgba(232, 232, 232, 1.0);
  124. border: 1px solid #ffffff;
  125. border-radius: 1rem;
  126. line-height: normal;
  127. font-size: 1.0rem;
  128. }
  129. .bx-vote-counter.bx-vote-counter-likes span.bx-vote-counter-icon:not(.bx-def-align-center),
  130. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter.bx-vote-counter-reactions span.bx-vote-counter-icon:not(.bx-def-align-center) {
  131. display: inline-block;
  132. line-height: 1.9rem;
  133. text-align: center;
  134. }
  135. .bx-vote-counter span.bx-vote-counter-icon .sys-icon {
  136. vertical-align: top;
  137. }
  138. /*--- Voted By ---*/
  139. div.bx-vote-by-list {}
  140. div.bx-vote-by-list-cnt {
  141. max-height: 200px;
  142. max-height: 12.5rem;
  143. min-width: 220px;
  144. min-width: 13.75rem;
  145. overflow: auto;
  146. }
  147. div.bx-vote-by-list div.bx-base-pofile-unit {
  148. float: none;
  149. margin-right: 0px;
  150. margin-bottom: 0px;
  151. }
  152. .bx-vote-bls-header {
  153. display: -webkit-flex;
  154. display: flex;
  155. margin: -1.25rem -1.25rem 0 -1.25rem;
  156. border-bottom-color: #e6f0fa;
  157. border-bottom-width: 2px;
  158. }
  159. .bx-vote-bls-title,
  160. .bx-vote-bls-submenu {
  161. -webkit-flex: 0 1 auto;
  162. -ms-flex: 0 1 auto;
  163. flex: 0 1 auto;
  164. line-height: 3.125rem;
  165. }
  166. .bx-vote-bls-title,
  167. .bx-vote-bls-submenu-cnt,
  168. .bx-vote-bls-filler {
  169. height: 3.125rem;
  170. }
  171. .bx-vote-bls-title,
  172. .bx-vote-bls-filler {
  173. -webkit-flex-grow: 3;
  174. flex-grow: 3;
  175. border-bottom: 2px solid rgba(232, 232, 232, 1.0);
  176. }
  177. .bx-vote-bls-title {
  178. display: none;
  179. white-space: nowrap;
  180. font-size: 1rem;
  181. font-weight: 400;
  182. }
  183. .bx-vote-bls-submenu {
  184. overflow-x: auto;
  185. overflow-y: hidden;
  186. -webkit-overflow-scrolling: touch;
  187. }
  188. .bx-vote-bls-submenu-cnt {
  189. box-sizing: border-box;
  190. padding: 0 0.5rem;
  191. border-bottom: 2px solid rgba(232, 232, 232, 1.0);
  192. }
  193. .bx-vote-bls-submenu::-webkit-scrollbar {
  194. width: 0.5rem;
  195. }
  196. .bx-vote-bls-submenu::-webkit-scrollbar-track {
  197. -webkit-border-radius: 0.5rem;
  198. border-radius: 0.5rem;
  199. background-color: rgba(0, 0, 0, 0.1);
  200. }
  201. .bx-vote-bls-submenu::-webkit-scrollbar-thumb {
  202. -webkit-border-radius: 0.5rem;
  203. border-radius: 0.5rem;
  204. background: rgba(255, 255, 255, 0.9);
  205. -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
  206. }
  207. .bx-vote-bls-submenu::-webkit-scrollbar-thumb:window-inactive {
  208. background: rgba(255, 255, 255, 0.4);
  209. }
  210. .bx-vote-bls-submenu-cnt ul {
  211. display: -webkit-flex;
  212. display: flex;
  213. }
  214. .bx-vote-bls-submenu-cnt ul li {
  215. -webkit-flex: 0 1 auto;
  216. -ms-flex: 0 1 auto;
  217. flex: 0 1 auto;
  218. box-sizing: border-box;
  219. height: 3.125rem;
  220. border-bottom: 2px solid rgba(232, 232, 232, 1.0);
  221. border-radius: 0;
  222. line-height: 3.125rem;
  223. white-space: nowrap;
  224. }
  225. .bx-vote-bls-submenu-cnt ul li div {
  226. padding: 0 0.625rem;
  227. }
  228. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act {
  229. border-bottom-color: #364f6b;
  230. }
  231. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act > div {
  232. font-weight: bold;
  233. }
  234. .bx-vote-bls-content .bx-vote-by-list:not(.bx-vote-bl-summary) {
  235. display: none;
  236. }
  237. .bx-vote-bls-content .bx-vote-by-item {
  238. position: relative;
  239. display: -webkit-flex;
  240. display: flex;
  241. -webkit-justify-content: space-between;
  242. justify-content: space-between;
  243. -webkit-align-items: center;
  244. align-items: center;
  245. }
  246. .bx-vote-bls-content .bx-vote-by-item:first-child {
  247. padding-top: 1rem;
  248. }
  249. .bx-vote-bls-content .bx-vote-by-item:last-child {
  250. padding-bottom: 0;
  251. }
  252. .bx-vote-bls-content .bx-vote-by-item:before,
  253. .bx-vote-bls-content .bx-vote-by-item:after {
  254. display: none;
  255. }
  256. /*----------------------------------*/
  257. /*--- Stars based Element Styles ---*/
  258. /*----------------------------------*/
  259. .bx-vote-stars,
  260. .bx-vote-stars .bx-vote-do,
  261. .bx-vote-stars .bx-vote-element-holder,
  262. .bx-vote-stars .bx-vote-counter-holder {
  263. position: relative;
  264. display: inline-block;
  265. vertical-align: top;
  266. line-height: 16px;
  267. line-height: 1rem;
  268. font-size: 16px;
  269. font-size: 1rem;
  270. }
  271. .bx-vote-stars .bx-vote-counter-holder {
  272. border-width: 0px;
  273. }
  274. /*--- Stars Styles ---*/
  275. div.bx-vote-element {
  276. position: relative;
  277. display: inline-block;
  278. }
  279. div.bx-vote-underlay {}
  280. div.bx-vote-slider {
  281. position: absolute;
  282. z-index: 1;
  283. top: 0px;
  284. left: 0px;
  285. white-space: nowrap;
  286. overflow: hidden;
  287. }
  288. .bx-vote-stars .bx-vote-element-holder a.bx-vote-button,
  289. .bx-vote-stars .bx-vote-element-holder i.bx-vote-star,
  290. .bx-vote-stars .bx-vote-element-holder span.bx-vote-star {
  291. position: relative;
  292. display: inline-block;
  293. vertical-align: top;
  294. height: 16px;
  295. width: 16px;
  296. margin: 0;
  297. padding: 0;
  298. text-align: center;
  299. }
  300. div.bx-vote-underlay i.bx-vote-star,
  301. div.bx-vote-underlay span.bx-vote-star {
  302. color: rgba(255, 204, 102, 1);
  303. }
  304. div.bx-vote-slider i.bx-vote-star,
  305. div.bx-vote-slider span.bx-vote-star,
  306. div.bx-vote-buttons a:hover i.bx-vote-star,
  307. div.bx-vote-buttons a:hover span.bx-vote-star {
  308. color: rgba(255, 100, 0, 1);
  309. }
  310. div.bx-vote-buttons {
  311. position: absolute;
  312. z-index: 2;
  313. top: 0px;
  314. left: 0px;
  315. }
  316. div.bx-vote-buttons a:hover {
  317. text-decoration: none;
  318. }
  319. div.bx-vote-buttons i.bx-vote-star,
  320. div.bx-vote-buttons span.bx-vote-star {
  321. color: transparent;
  322. }