vote.css 9.0 KB

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