vote.css 6.4 KB

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