vote.css 9.9 KB

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