vote.css 9.9 KB

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