vote.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. .bx-vote .sys-action-element-holder .sys-action-do-icon svg,
  2. .bx-vote-counter .bx-vote-counter-label .bx-vote-counter-icon svg {
  3. width: 1.25rem;
  4. height: 1.25rem;
  5. }
  6. .bx-vote .bx-vote-counter .bx-vote-counter-label {
  7. padding: 0;
  8. }
  9. .bx-vote .bx-vote-counter .bx-vote-counter-label .bx-vote-counter-text {
  10. margin: 0;
  11. }
  12. /*----------------------------------*/
  13. /*--- Likes based Element Styles ---*/
  14. /*----------------------------------*/
  15. .bx-vote-counter-likes span.bx-vote-counter-text {
  16. width: auto;
  17. height: auto;
  18. }
  19. /*--------------------------------------*/
  20. /*--- Reactions based Element Styles ---*/
  21. /*--------------------------------------*/
  22. .bx-vote-counter-wrapper-reactions .bx-vote-counter {
  23. display: inline-block;
  24. }
  25. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound {
  26. position: relative;
  27. }
  28. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter {
  29. display: block;
  30. }
  31. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-divided a.bx-vote-counter {
  32. margin-right: 0.5rem;
  33. }
  34. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link {
  35. padding: 0.25rem 0.25rem 0.25rem 0.75rem;
  36. }
  37. .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link {
  38. padding-left: 0.25rem;
  39. padding-right: 0.75rem;
  40. }
  41. .bx-media-phone .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link,
  42. .bx-media-tablet .bx-layout-column-thin .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link,
  43. .bx-media-tablet .bx-layout-column-half .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link {
  44. padding-left: 1.0rem;
  45. }
  46. .bx-media-phone .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link,
  47. .bx-media-tablet .bx-dir-rtl .bx-layout-column-thin .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link,
  48. .bx-media-tablet .bx-dir-rtl .bx-layout-column-half .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link {
  49. padding-left: 0.25rem;
  50. padding-right: 1.0rem;
  51. }
  52. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound a.bx-vote-counter.total-count,
  53. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter.total-count {
  54. width: auto;
  55. height: auto;
  56. margin-left: 0.5rem;
  57. }
  58. .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound a.bx-vote-counter.total-count,
  59. .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter.total-count {
  60. margin-left: 0;
  61. margin-right: 0.5rem;
  62. }
  63. .bx-dir-ltr .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound a.bx-vote-counter.total-count .sys-action-counter-text:first-child,
  64. .bx-dir-ltr .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter.total-count .sys-action-counter-text:first-child {
  65. margin-left: 0;
  66. }
  67. .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound a.bx-vote-counter.total-count .sys-action-counter-text:first-child,
  68. .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter.total-count .sys-action-counter-text:first-child {
  69. margin-right: 0;
  70. }
  71. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) {
  72. margin-left: -0.5rem;
  73. }
  74. .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) {
  75. margin-left: 0;
  76. margin-right: -0.5rem;
  77. }
  78. .bx-media-phone .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count),
  79. .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),
  80. .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) {
  81. margin-left: -0.75rem;
  82. }
  83. .bx-media-phone .bx-dir-rtl .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count),
  84. .bx-media-tablet .bx-dir-rtl .bx-layout-column-thin .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count),
  85. .bx-media-tablet .bx-dir-rtl .bx-layout-column-half .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) {
  86. margin-left: 0;
  87. margin-right: -0.75rem;
  88. }
  89. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter-label {
  90. padding: 0;
  91. }
  92. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) span.bx-vote-counter-text {
  93. display: none;
  94. }
  95. .bx-vote-counter-wrapper-reactions.bx-vc-hidden,
  96. .bx-vote-counter-wrapper-reactions .bx-vote-counter.bx-vc-hidden {
  97. display: none;
  98. }
  99. .bx-menu-object-sys_vote_reactions_do li.bx-menu-item {
  100. padding: 0.25rem;
  101. }
  102. .bx-menu-object-sys_vote_reactions_do li.bx-menu-item .sys-icon {
  103. width: 2rem;
  104. height: 2rem;
  105. font-size: 1.5rem;
  106. }
  107. @media (any-pointer: fine) {
  108. .bx-popup-vote-reactions .bx-popup-close-wrapper {
  109. display:none;
  110. }
  111. }
  112. /*----------------------------------*/
  113. /*--- Stars based Element Styles ---*/
  114. /*----------------------------------*/
  115. .bx-vote-stars {
  116. -webkit-flex-direction: column;
  117. flex-direction: column;
  118. -webkit-align-items: flex-start;
  119. align-items: flex-start;
  120. }
  121. .bx-vote-stars .bx-vote-element-holder a.bx-vote-button,
  122. .bx-vote-stars .bx-vote-element-holder i.bx-vote-star,
  123. .bx-vote-stars .bx-vote-element-holder span.bx-vote-star {
  124. position: relative;
  125. display: inline-block;
  126. vertical-align: top;
  127. height: 1rem;
  128. width: 1rem;
  129. margin: 0;
  130. padding: 0;
  131. text-align: center;
  132. }
  133. /*--- Voted By ---*/
  134. div.bx-vote-by-list {}
  135. div.bx-vote-by-list-cnt {
  136. max-height: 12.5rem;
  137. min-width: 13.75rem;
  138. overflow: auto;
  139. }
  140. div.bx-vote-by-list div.bx-base-pofile-unit {
  141. float: none;
  142. margin-right: 0px;
  143. margin-bottom: 0px;
  144. }
  145. .bx-vote-bls-header {
  146. display: -webkit-flex;
  147. display: flex;
  148. margin: -1.25rem -1.25rem 0 -1.25rem;
  149. }
  150. .bx-vote-bls-content {
  151. margin-left: -0.5rem;
  152. margin-right: -0.5rem;
  153. }
  154. .bx-vote-bls-title,
  155. .bx-vote-bls-submenu {
  156. -webkit-flex: 0 1 auto;
  157. -ms-flex: 0 1 auto;
  158. flex: 0 1 auto;
  159. line-height: 3.125rem;
  160. }
  161. .bx-vote-bls-title,
  162. .bx-vote-bls-submenu-cnt,
  163. .bx-vote-bls-filler {
  164. height: 3.125rem;
  165. }
  166. .bx-vote-bls-title,
  167. .bx-vote-bls-filler {
  168. -webkit-flex-grow: 3;
  169. flex-grow: 3;
  170. border-bottom: 2px solid rgba(232, 232, 232, 1.0);
  171. }
  172. .bx-vote-bls-title {
  173. display: none;
  174. white-space: nowrap;
  175. font-size: 1rem;
  176. font-weight: 400;
  177. }
  178. .bx-vote-bls-submenu {
  179. overflow-x: auto;
  180. overflow-y: hidden;
  181. -webkit-overflow-scrolling: touch;
  182. }
  183. .bx-vote-bls-submenu-cnt {
  184. box-sizing: border-box;
  185. padding: 0 0.5rem;
  186. border-bottom-width: 2px;
  187. border-bottom-style: solid;
  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 transparent;
  217. border-radius: 0;
  218. line-height: 3.0rem;
  219. white-space: nowrap;
  220. }
  221. .bx-vote-bls-submenu-cnt ul li .bx-stl-mil,
  222. .bx-vote-bls-submenu-cnt ul li .bx-stl-mil-wo-gaps {
  223. border-width: 0;
  224. }
  225. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-pas .bx-menu-item-cnt,
  226. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act .bx-menu-item-inter {
  227. line-height: 3.0rem;
  228. }
  229. .bx-vote-bls-submenu-cnt ul li a.bx-menu-item-inter,
  230. .bx-vote-bls-submenu-cnt ul li div.bx-menu-item-inter {
  231. padding-top: 0;
  232. padding-bottom: 0;
  233. }
  234. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act > div {
  235. font-weight: bold;
  236. }
  237. .bx-vote-bls-content .bx-vote-by-list:not(.bx-vote-bl-summary) {
  238. display: none;
  239. }
  240. .bx-vote-bls-content .bx-vote-by-items {
  241. padding-left: 0.5rem;
  242. padding-right: 0.5rem;
  243. }
  244. .bx-vote-bls-content .bx-vote-by-item {
  245. position: relative;
  246. display: -webkit-flex;
  247. display: flex;
  248. -webkit-justify-content: space-between;
  249. justify-content: space-between;
  250. -webkit-align-items: center;
  251. align-items: center;
  252. }
  253. .bx-vote-bls-content .bx-vote-by-item:first-child {
  254. padding-top: 1rem;
  255. }
  256. .bx-vote-bls-content .bx-vote-by-item:last-child {
  257. padding-bottom: 0;
  258. }
  259. .bx-vote-bls-content .bx-vote-by-item:before,
  260. .bx-vote-bls-content .bx-vote-by-item:after {
  261. display: none;
  262. }