vote.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. .bx-vote .bx-vote-counter .bx-vote-counter-label {
  2. padding: 0;
  3. }
  4. .bx-vote .bx-vote-counter .bx-vote-counter-label .bx-vote-counter-text {
  5. margin: 0;
  6. }
  7. /*----------------------------------*/
  8. /*--- Likes based Element Styles ---*/
  9. /*----------------------------------*/
  10. .bx-vote-counter-likes span.bx-vote-counter-text {
  11. width: auto;
  12. height: auto;
  13. margin-left: 0.5rem;
  14. margin-right: 0.5rem;
  15. }
  16. /*--------------------------------------*/
  17. /*--- Reactions based Element Styles ---*/
  18. /*--------------------------------------*/
  19. .bx-vote-counter-wrapper-reactions .bx-vote-counter {
  20. display: inline-block;
  21. }
  22. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound {
  23. position: relative;
  24. }
  25. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter {
  26. display: block;
  27. }
  28. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-divided a.bx-vote-counter {
  29. margin-right: 0.5rem;
  30. }
  31. .bx-media-phone .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link,
  32. .bx-media-tablet .bx-layout-column-thin .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link,
  33. .bx-media-tablet .bx-layout-column-half .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .sys-ac-link {
  34. padding-left: 1.0rem;
  35. }
  36. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound a.bx-vote-counter.total-count,
  37. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter.total-count {
  38. width: auto;
  39. height: auto;
  40. margin-left: 0.5rem;
  41. margin-right: 0.5rem;
  42. }
  43. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound a.bx-vote-counter.total-count .sys-action-counter-text:first-child,
  44. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter.total-count .sys-action-counter-text:first-child {
  45. margin-left: 0;
  46. }
  47. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) {
  48. margin-left: -0.5rem;
  49. }
  50. .bx-media-phone .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count),
  51. .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),
  52. .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) {
  53. margin-left: -0.75rem;
  54. }
  55. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound .bx-vote-counter-label {
  56. padding: 0;
  57. }
  58. .bx-vote-counter-wrapper-reactions.bx-vote-counter-wrapper-reactions-compound span.bx-vote-counter:not(.total-count) span.bx-vote-counter-text {
  59. display: none;
  60. }
  61. .bx-vote-counter-wrapper-reactions.bx-vc-hidden,
  62. .bx-vote-counter-wrapper-reactions .bx-vote-counter.bx-vc-hidden {
  63. display: none;
  64. }
  65. .bx-menu-object-sys_vote_reactions_do li.bx-menu-item {
  66. padding: 0.25rem;
  67. }
  68. .bx-menu-object-sys_vote_reactions_do li.bx-menu-item .sys-icon {
  69. width: 2rem;
  70. height: 2rem;
  71. font-size: 1.5rem;
  72. }
  73. /*----------------------------------*/
  74. /*--- Stars based Element Styles ---*/
  75. /*----------------------------------*/
  76. .bx-vote-stars {
  77. -webkit-flex-direction: column;
  78. flex-direction: column;
  79. -webkit-align-items: flex-start;
  80. align-items: flex-start;
  81. }
  82. .bx-vote-stars .bx-vote-element-holder a.bx-vote-button,
  83. .bx-vote-stars .bx-vote-element-holder i.bx-vote-star,
  84. .bx-vote-stars .bx-vote-element-holder span.bx-vote-star {
  85. position: relative;
  86. display: inline-block;
  87. vertical-align: top;
  88. height: 1rem;
  89. width: 1rem;
  90. margin: 0;
  91. padding: 0;
  92. text-align: center;
  93. }
  94. /*--- Voted By ---*/
  95. div.bx-vote-by-list {}
  96. div.bx-vote-by-list-cnt {
  97. max-height: 12.5rem;
  98. min-width: 13.75rem;
  99. overflow: auto;
  100. }
  101. div.bx-vote-by-list div.bx-base-pofile-unit {
  102. float: none;
  103. margin-right: 0px;
  104. margin-bottom: 0px;
  105. }
  106. .bx-vote-bls-header {
  107. display: -webkit-flex;
  108. display: flex;
  109. margin: -1.25rem -1.25rem 0 -1.25rem;
  110. }
  111. .bx-vote-bls-content {
  112. margin-left: -0.5rem;
  113. margin-right: -0.5rem;
  114. }
  115. .bx-vote-bls-title,
  116. .bx-vote-bls-submenu {
  117. -webkit-flex: 0 1 auto;
  118. -ms-flex: 0 1 auto;
  119. flex: 0 1 auto;
  120. line-height: 3.125rem;
  121. }
  122. .bx-vote-bls-title,
  123. .bx-vote-bls-submenu-cnt,
  124. .bx-vote-bls-filler {
  125. height: 3.125rem;
  126. }
  127. .bx-vote-bls-title,
  128. .bx-vote-bls-filler {
  129. -webkit-flex-grow: 3;
  130. flex-grow: 3;
  131. border-bottom: 2px solid rgba(232, 232, 232, 1.0);
  132. }
  133. .bx-vote-bls-title {
  134. display: none;
  135. white-space: nowrap;
  136. font-size: 1rem;
  137. font-weight: 400;
  138. }
  139. .bx-vote-bls-submenu {
  140. overflow-x: auto;
  141. overflow-y: hidden;
  142. -webkit-overflow-scrolling: touch;
  143. }
  144. .bx-vote-bls-submenu-cnt {
  145. box-sizing: border-box;
  146. padding: 0 0.5rem;
  147. border-bottom-width: 2px;
  148. border-bottom-style: solid;
  149. }
  150. .bx-vote-bls-submenu::-webkit-scrollbar {
  151. width: 0.5rem;
  152. }
  153. .bx-vote-bls-submenu::-webkit-scrollbar-track {
  154. -webkit-border-radius: 0.5rem;
  155. border-radius: 0.5rem;
  156. background-color: rgba(0, 0, 0, 0.1);
  157. }
  158. .bx-vote-bls-submenu::-webkit-scrollbar-thumb {
  159. -webkit-border-radius: 0.5rem;
  160. border-radius: 0.5rem;
  161. background: rgba(255, 255, 255, 0.9);
  162. -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
  163. }
  164. .bx-vote-bls-submenu::-webkit-scrollbar-thumb:window-inactive {
  165. background: rgba(255, 255, 255, 0.4);
  166. }
  167. .bx-vote-bls-submenu-cnt ul {
  168. display: -webkit-flex;
  169. display: flex;
  170. }
  171. .bx-vote-bls-submenu-cnt ul li {
  172. -webkit-flex: 0 1 auto;
  173. -ms-flex: 0 1 auto;
  174. flex: 0 1 auto;
  175. box-sizing: border-box;
  176. height: 3.125rem;
  177. border-bottom: 2px solid transparent;
  178. border-radius: 0;
  179. line-height: 3.0rem;
  180. white-space: nowrap;
  181. }
  182. .bx-vote-bls-submenu-cnt ul li .bx-stl-mil,
  183. .bx-vote-bls-submenu-cnt ul li .bx-stl-mil-wo-gaps {
  184. border-width: 0;
  185. }
  186. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-pas .bx-menu-item-cnt,
  187. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act .bx-menu-item-inter {
  188. line-height: 3.0rem;
  189. }
  190. .bx-vote-bls-submenu-cnt ul li a.bx-menu-item-inter,
  191. .bx-vote-bls-submenu-cnt ul li div.bx-menu-item-inter {
  192. padding-top: 0;
  193. padding-bottom: 0;
  194. }
  195. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act > div {
  196. font-weight: bold;
  197. }
  198. .bx-vote-bls-content .bx-vote-by-list:not(.bx-vote-bl-summary) {
  199. display: none;
  200. }
  201. .bx-vote-bls-content .bx-vote-by-items {
  202. padding-left: 0.5rem;
  203. padding-right: 0.5rem;
  204. }
  205. .bx-vote-bls-content .bx-vote-by-item {
  206. position: relative;
  207. display: -webkit-flex;
  208. display: flex;
  209. -webkit-justify-content: space-between;
  210. justify-content: space-between;
  211. -webkit-align-items: center;
  212. align-items: center;
  213. }
  214. .bx-vote-bls-content .bx-vote-by-item:first-child {
  215. padding-top: 1rem;
  216. }
  217. .bx-vote-bls-content .bx-vote-by-item:last-child {
  218. padding-bottom: 0;
  219. }
  220. .bx-vote-bls-content .bx-vote-by-item:before,
  221. .bx-vote-bls-content .bx-vote-by-item:after {
  222. display: none;
  223. }