You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. .poll-dialog {
  2. font-size: 14px;
  3. font-weight: 400;
  4. line-height: 20px;
  5. h1, span, li, strong {
  6. color: #bce;
  7. }
  8. ol {
  9. margin: 0;
  10. }
  11. }
  12. .poll-question-field {
  13. padding: 8px 16px;
  14. padding-bottom: 24px;
  15. border-bottom: 1px solid #525252;
  16. }
  17. .poll-header {
  18. margin-bottom: 8px;
  19. }
  20. .poll-creator {
  21. color: #C2C2C2;
  22. font-weight: 600;
  23. margin: 4px 0 16px 0;
  24. }
  25. .poll-answer-container {
  26. background: #3D3D3D;
  27. border-radius: 3px;
  28. margin-bottom: 8px;
  29. @media (max-width: 580px) {
  30. &> span {
  31. padding: 8px 0;
  32. }
  33. svg {
  34. margin-top: 6px;
  35. }
  36. }
  37. }
  38. .poll-answer-option {
  39. font-weight: 400;
  40. display: block;
  41. margin: 4px;
  42. @media (max-width: 580px) {
  43. font-size: 16px;
  44. margin: 11px 8px
  45. }
  46. }
  47. .poll-answer-field-list, .poll-answer-list, .poll-result-list {
  48. list-style-type: none;
  49. padding: 0;
  50. margin: 0;
  51. }
  52. .poll-answer-field-list {
  53. padding: 0 16px;
  54. }
  55. ol.poll-result-list {
  56. margin-bottom: 1.5em;
  57. }
  58. .poll-result-list > li {
  59. margin-bottom: 16px;
  60. }
  61. .poll-answer-field {
  62. flex-direction: column;
  63. align-items: stretch;
  64. margin-bottom: 16;
  65. }
  66. .poll-answer-field:last-child {
  67. margin-bottom: 0;
  68. }
  69. .poll-create-option-row {
  70. display: 'flex';
  71. margin-bottom: 4;
  72. }
  73. // Needeed to override atlaskit default blue color
  74. .poll-create-container .jsYMHu {
  75. background: #292929;
  76. border-color: #808090;
  77. color: #fff // #808090
  78. }
  79. .poll-add-button {
  80. display: flex;
  81. justify-content: center;
  82. padding: 8px 16px;
  83. }
  84. .poll-remove-option-button {
  85. background: 0 0;
  86. border: none;
  87. color: #E04757;
  88. padding-left: 0;
  89. }
  90. .poll-create-add-option {
  91. border: none;
  92. background-color: #292929;
  93. padding: 3px;
  94. width: 100%;
  95. }
  96. .poll-icon-button, .poll-drag-handle {
  97. .jitsi-icon svg {
  98. fill: #929292;
  99. }
  100. }
  101. .poll-drag-handle {
  102. background-color: transparent;
  103. border: none;
  104. cursor: grab;
  105. padding-left: 8;
  106. padding-top: 8px;
  107. display: flex;
  108. }
  109. .poll-dragged {
  110. opacity: 0.5;
  111. * {
  112. cursor: grabbing !important;
  113. }
  114. }
  115. .poll-question {
  116. font-size: 16px;
  117. font-weight: 600;
  118. line-height: 26px;
  119. }
  120. .poll-answer-voters {
  121. font-weight: lighter;
  122. list-style-type: none;
  123. border: #616161 solid 1px;
  124. border-radius: 3px;
  125. padding: 2px 6px;
  126. margin: 4px 0px 12px;
  127. background-color: #616161;
  128. }
  129. .poll-answer-header {
  130. display: flex;
  131. justify-content: space-between;
  132. }
  133. .poll-answer-vote-name {
  134. flex-shrink: 1;
  135. overflow-wrap: anywhere
  136. }
  137. .poll-answer-vote-count-container{
  138. display: flex;
  139. }
  140. .poll-answer-vote-count {
  141. margin-left: 10px;
  142. white-space: nowrap;
  143. flex: 1;
  144. text-align: right;
  145. }
  146. .poll-answer-short-results{
  147. display: flex;
  148. min-width: 10em;
  149. justify-content: space-between;
  150. align-items: center;
  151. }
  152. .poll-bar-container, .poll-bar {
  153. border-radius: 3px;
  154. height: 6px;
  155. }
  156. .poll-bar-container {
  157. background-color: #616161;
  158. max-width: 160px;
  159. margin-top: 3px;
  160. flex: 1;
  161. }
  162. .poll-bar {
  163. background-color: #246FE5;
  164. }
  165. .poll-message-footer {
  166. display: flex;
  167. justify-content: space-between;
  168. align-items: center;
  169. font-size: 12px;
  170. margin-top: 5px;
  171. }
  172. .poll-notice {
  173. font-weight: 100;
  174. margin-right: 10px;
  175. }
  176. .poll-show-details {
  177. background-color: transparent;
  178. border: none;
  179. &:hover {
  180. text-decoration: underline;
  181. }
  182. }
  183. .poll-result-links {
  184. display: flex;
  185. flex-direction: row;
  186. justify-content: space-between;
  187. a.poll-detail-link, a.poll-change-vote-link {
  188. color: #669AEC;
  189. cursor: pointer;
  190. font-weight: 600;
  191. text-decoration: none;
  192. &:hover {
  193. color: #669AEC;
  194. }
  195. &:visited {
  196. color: #669AEC;
  197. }
  198. }
  199. }
  200. .polls-pane-content {
  201. height: 100%;
  202. position: relative;
  203. }
  204. .pane-content{
  205. display: flex;
  206. flex-direction: column;
  207. height: 100%;
  208. justify-content: center;
  209. align-items: center;
  210. width: 100%;
  211. }
  212. .empty-pane-icon {
  213. width: 50%;
  214. padding: 24px;
  215. }
  216. .empty-pane-icon svg {
  217. fill: #3D3D3D;
  218. width: 100%;
  219. height: auto;
  220. }
  221. .empty-pane-message {
  222. color: #fff;
  223. padding: 0 16px;
  224. text-align: center;
  225. }
  226. .poll-results, .poll-answer {
  227. background: #292929;
  228. border-radius: 8px;
  229. border: 1px solid #666666;
  230. margin: 16px;
  231. padding: 16px;
  232. word-break: break-word;
  233. }
  234. .poll-results {
  235. color: #fff;
  236. }
  237. .poll-answer {
  238. h1, strong ,span {
  239. color: #fff;
  240. }
  241. }
  242. .poll-create-label {
  243. color: #C2C2C2;
  244. display: flex;
  245. font-weight: 400;
  246. margin-bottom: 4;
  247. }
  248. .expandable-input{
  249. line-height: 18px;
  250. resize: none;
  251. width: 100%;
  252. height: 40px;
  253. box-sizing: border-box;
  254. overflow: hidden;
  255. border: 1px solid #666666;
  256. background-color: #141414;
  257. color: #FFF;
  258. border-radius: 6px;
  259. padding: 10px 16px;
  260. }
  261. #polls-panel {
  262. height: calc(100% - 102px);
  263. }
  264. .poll-container {
  265. font-size: 14px;
  266. font-weight: 600;
  267. height: calc(100% - 88px);
  268. line-height: 20px;
  269. overflow-y: auto;
  270. position: relative;
  271. & > * + *:not(.ignore-child) {
  272. margin-top: 16px;
  273. }
  274. @media (max-width: 580px) {
  275. height: calc(100% - 102px);
  276. }
  277. }
  278. .poll-create-header {
  279. color: #fff;
  280. font-size: 20px;
  281. line-height: 28px;
  282. margin: 20px 16px;
  283. font-weight: 600;
  284. }
  285. .poll-create-container {
  286. padding: 8px 0;
  287. }
  288. .poll-create-footer {
  289. background-color: #141414;
  290. bottom: 0;
  291. position: absolute;
  292. width: calc(100% - 32px);
  293. }
  294. .poll-footer {
  295. display: flex;
  296. justify-content: space-between;
  297. padding: 0 16px 16px 16px;
  298. }
  299. .poll-answer-footer {
  300. padding: 8px 0 0 0;
  301. }
  302. .poll-button {
  303. align-items: center;
  304. border: 0;
  305. border-radius: 6px;
  306. font-size: 14px;
  307. font-weight: 600;
  308. display: flex;
  309. justify-content: center;
  310. min-height: 40px;
  311. width: 100%;
  312. &:disabled {
  313. cursor: initial;
  314. }
  315. @media (max-width: 580px) {
  316. min-height: 48px;
  317. }
  318. }
  319. .poll-button-primary {
  320. background-color: #0056E0;
  321. &:hover {
  322. background-color: #246FE5;
  323. }
  324. &:active {
  325. background-color: #0045B3;
  326. }
  327. &:focus {
  328. background-color: #0045B3;
  329. border: 3px solid #99BBF3;
  330. }
  331. &:disabled {
  332. background-color: #00225A;
  333. color: #858585;
  334. }
  335. }
  336. .poll-button-secondary {
  337. background-color: #3D3D3D;
  338. &:hover {
  339. background-color: #525252;
  340. }
  341. &:active {
  342. background-color: #292929;
  343. }
  344. &:focus {
  345. background-color: #292929;
  346. border: 3px solid #858585;
  347. }
  348. &:disabled {
  349. background-color: #141414;
  350. color: #858585;
  351. }
  352. }
  353. .poll-button-short {
  354. max-width: 132px;
  355. }
  356. .poll-button-shortest {
  357. max-width: 117px;
  358. }
  359. .poll-button-short,
  360. .poll-button-shortest {
  361. @media (max-width: 580px) {
  362. min-width: 49%;
  363. }
  364. }