Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

_polls.scss 7.2KB

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