1
0

vote.css 7.2 KB

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