vote.css 10 KB

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