popup.css 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. .pop-over {
  2. background: #fff;
  3. border-radius: 0.4vw;
  4. border: 1px solid #dbdbdb;
  5. border-bottom-color: #c2c2c2;
  6. box-shadow: 0 0.2vh 0.8vh rgba(0,0,0,0.3);
  7. position: absolute;
  8. /* Wider default to fit full color palette */
  9. width: min(380px, 55vw);
  10. z-index: 99999;
  11. margin-top: 0.7vh;
  12. }
  13. .pop-over hr {
  14. margin: 0.5vh 0px;
  15. }
  16. .pop-over p,
  17. .pop-over textarea,
  18. .pop-over input[type="text"],
  19. .pop-over input[type="email"],
  20. .pop-over input[type="password"],
  21. .pop-over input[type="file"] {
  22. width: 100%;
  23. }
  24. .pop-over select {
  25. width: 100%;
  26. margin-bottom: 1.8vh;
  27. }
  28. .pop-over textarea {
  29. height: 9vh;
  30. }
  31. .pop-over form a span {
  32. padding: 0 0.7vw;
  33. }
  34. .pop-over .header {
  35. height: 4.5vh;
  36. position: relative;
  37. margin-bottom: 1vh;
  38. background: #f7f7f7;
  39. border-bottom: 1px solid #dcdcdc;
  40. color: #666;
  41. }
  42. .pop-over .header .header-title {
  43. display: block;
  44. line-height: 4vh;
  45. padding-top: 0.5vh;
  46. margin: 0 1.3vw;
  47. font-weight: bold;
  48. overflow: hidden;
  49. text-overflow: ellipsis;
  50. white-space: nowrap;
  51. }
  52. .pop-over .header .back-btn {
  53. float: left;
  54. overflow: hidden;
  55. width: 4vw;
  56. transition: width 0.2s;
  57. }
  58. .pop-over .header .back-btn i.fa {
  59. margin: 1.3vw;
  60. margin-top: 1.5vh;
  61. }
  62. .pop-over .header .back-btn.is-hidden {
  63. width: 0;
  64. }
  65. .pop-over .header .close-btn {
  66. padding: 1.3vh 1.3vw 1.3vh 0.5vw;
  67. position: absolute;
  68. top: 0;
  69. right: 0;
  70. }
  71. .pop-over.no-title .header {
  72. background: none;
  73. }
  74. .pop-over .content-wrapper {
  75. width: 100%;
  76. overflow: hidden;
  77. }
  78. .pop-over .content-container {
  79. width: 100%;
  80. max-height: 70vh;
  81. transition: transform 0.2s;
  82. }
  83. .pop-over .content-container .content {
  84. /* Match wider popover, leave padding */
  85. width: 100%;
  86. padding: 0 1.3vw 1.3vh;
  87. box-sizing: border-box;
  88. /* Ensure content is not shifted left */
  89. margin-left: 0 !important;
  90. transform: none !important;
  91. }
  92. /* Utility: remove left gutter inside specific popups */
  93. .pop-over .content .flush-left {
  94. margin-left: 0;
  95. padding-left: 0;
  96. width: 100%;
  97. }
  98. /* Swimlane popups: remove left gutter, align content fully left */
  99. .pop-over .content form.swimlane-color-popup,
  100. .pop-over .content .swimlane-height-popup {
  101. margin-left: 0;
  102. padding-left: 0;
  103. width: 100%;
  104. }
  105. /* Color selection popups: ensure proper alignment */
  106. .pop-over .content form.swimlane-color-popup .palette-colors,
  107. .pop-over .content form.edit-label .palette-colors,
  108. .pop-over .content form.create-label .palette-colors {
  109. margin-left: 0;
  110. padding-left: 0;
  111. width: 100%;
  112. }
  113. /* Color palette items: ensure proper positioning */
  114. .pop-over .content .palette-colors .palette-color {
  115. margin-left: 0;
  116. margin-right: 2px;
  117. margin-bottom: 2px;
  118. }
  119. /* Global fix for all popup content to prevent left shifting */
  120. .pop-over .content * {
  121. margin-left: 0 !important;
  122. transform: none !important;
  123. }
  124. /* Override any potential left shifting for specific elements */
  125. .pop-over .content form,
  126. .pop-over .content .palette-colors,
  127. .pop-over .content .pop-over-list,
  128. .pop-over .content .flush-left {
  129. margin-left: 0 !important;
  130. padding-left: 0 !important;
  131. transform: none !important;
  132. }
  133. /* Fix popup depth containers that cause left shifting */
  134. .pop-over .popup-container-depth-1,
  135. .pop-over .popup-container-depth-2,
  136. .pop-over .popup-container-depth-3,
  137. .pop-over .popup-container-depth-4,
  138. .pop-over .popup-container-depth-5,
  139. .pop-over .popup-container-depth-6 {
  140. transform: none !important;
  141. margin-left: 0 !important;
  142. padding-left: 0 !important;
  143. }
  144. /* Ensure buttons don’t reserve left space; align to flow */
  145. .pop-over .content form.swimlane-color-popup .primary.confirm,
  146. .pop-over .content form.swimlane-color-popup .negate.wide.right,
  147. .pop-over .content .swimlane-height-popup .primary.confirm,
  148. .pop-over .content .swimlane-height-popup .negate.wide.right {
  149. float: none;
  150. margin-left: 0;
  151. }
  152. .pop-over .content-container .content.no-height {
  153. height: 2.5vh;
  154. }
  155. .pop-over .quiet {
  156. /* padding: 6px 6px 4px;*/
  157. }
  158. .pop-over.search-over {
  159. background: #f0f0f0;
  160. min-height: 14vh;
  161. }
  162. .pop-over.search-over .header {
  163. display: none;
  164. }
  165. .pop-over.search-over .content {
  166. padding: 8px 4px 8px 10px;
  167. margin-right: 8px;
  168. }
  169. .pop-over .at-form .at-error,
  170. .pop-over .at-form .at-result {
  171. padding: 8px 12px;
  172. margin: 0 0 10px 0;
  173. }
  174. .pop-over .at-form .at-error {
  175. background: #ef9a9a;
  176. }
  177. .pop-over .at-form .at-result {
  178. background: #b2dfdb;
  179. }
  180. .pop-over .sk-spinner {
  181. margin: 40px auto;
  182. }
  183. .pop-over .popup-container-depth-1 {
  184. transform: translateX(-300px);
  185. }
  186. .pop-over .popup-container-depth-2 {
  187. transform: translateX(-600px);
  188. }
  189. .pop-over .popup-container-depth-3 {
  190. transform: translateX(-900px);
  191. }
  192. .pop-over .popup-container-depth-4 {
  193. transform: translateX(-1200px);
  194. }
  195. .pop-over .popup-container-depth-5 {
  196. transform: translateX(-1500px);
  197. }
  198. .pop-over .popup-container-depth-6 {
  199. transform: translateX(-1800px);
  200. }
  201. .select-members-list,
  202. .select-avatars-list {
  203. margin-bottom: 8px;
  204. }
  205. .pop-over-list li {
  206. display: block;
  207. clear: both;
  208. }
  209. .pop-over-list li > a {
  210. clear: both;
  211. cursor: pointer;
  212. display: block;
  213. font-weight: 700;
  214. padding: 1.5px 10px;
  215. position: relative;
  216. margin: 0;
  217. text-decoration: none;
  218. overflow: hidden;
  219. line-height: 33px;
  220. display:flex;
  221. /* flex-wrap:wrap;*/
  222. gap:5px;
  223. align-items: center;
  224. }
  225. .pop-over-list li > a > .member{
  226. align-self: flex-start;
  227. flex:0 0 auto;
  228. }
  229. .pop-over-list li > a .item-name {
  230. display: block;
  231. width: auto;
  232. padding-right: 22px;
  233. }
  234. .pop-over-list li > a:not(.disabled):hover {
  235. background-color: #005377;
  236. color: #fff;
  237. }
  238. .pop-over-list li > a:not(.disabled):hover .sub-name,
  239. .pop-over-list li > a:not(.disabled):hover .quiet {
  240. color: #eee;
  241. }
  242. .pop-over-list li > a:not(.disabled):hover .unread-indicator {
  243. background: #fff;
  244. }
  245. .pop-over-list li > a .sub-name {
  246. color: #8c8c8c;
  247. display: block;
  248. font-size: 12px;
  249. font-weight: 400;
  250. line-height: 15px;
  251. }
  252. .pop-over-list li > a.current {
  253. background-color: #e2e6e9;
  254. }
  255. .pop-over-list li > a:active {
  256. background-color: #2e85b8;
  257. }
  258. .pop-over-list li > a.disabled {
  259. color: #8c8c8c;
  260. cursor: default;
  261. }
  262. .pop-over-list li > a.disabled .vis-icon {
  263. opacity: 0.35;
  264. }
  265. .pop-over-list li > a.disabled:hover {
  266. background: none;
  267. }
  268. .pop-over-list li > a.disabled:hover .sub-name,
  269. .pop-over-list li > a.disabled:hover .quiet {
  270. color: #8c8c8c;
  271. }
  272. .pop-over-list li > a.disabled:active {
  273. background: none;
  274. }
  275. .pop-over-list.inset li > a {
  276. border-radius: 3px;
  277. margin: 0;
  278. }
  279. .pop-over-list .pop-over-list.checkable .fa-check {
  280. display: none;
  281. position: absolute;
  282. top: 6px;
  283. right: 12px;
  284. }
  285. .pop-over-list .pop-over-list.checkable li.active a {
  286. padding-right: 28px;
  287. }
  288. .pop-over-list .pop-over-list.checkable li.active a .fa-check {
  289. display: block;
  290. }
  291. .pop-over.miniprofile .header {
  292. border-bottom-color: transparent;
  293. height: 30px;
  294. position: absolute;
  295. right: 0;
  296. top: 0;
  297. width: 60px;
  298. z-index: 1;
  299. }
  300. .pop-over.miniprofile .header-title {
  301. display: none;
  302. }
  303. .pop-over.miniprofile .pop-over-list {
  304. padding-top: 8px;
  305. }
  306. .pop-over.miniprofile .miniprofile-header {
  307. margin-top: 8px;
  308. min-height: 56px;
  309. position: relative;
  310. }
  311. .pop-over.miniprofile .miniprofile-header .member,
  312. .pop-over.miniprofile .miniprofile-header .avatar {
  313. position: absolute;
  314. top: 2px;
  315. left: 2px;
  316. height: 50px;
  317. width: 50px;
  318. }
  319. .pop-over.miniprofile .miniprofile-header .info {
  320. margin: 0 0 0 64px;
  321. word-wrap: break-word;
  322. }
  323. .pop-over.miniprofile .miniprofile-header .info h3 a {
  324. text-decoration: none;
  325. }
  326. .pop-over.miniprofile .miniprofile-header .info h3 a:hover {
  327. text-decoration: underline;
  328. }
  329. @media screen and (max-width: 800px) {
  330. .pop-over {
  331. width: 100%;
  332. height: 100%;
  333. overflow: hidden;
  334. margin-top: 0px;
  335. border: 0px solid #dbdbdb;
  336. }
  337. .pop-over .header {
  338. color: #fff;
  339. background: #2980b9;
  340. height: 48px;
  341. padding: 0px 0px;
  342. border: 0px;
  343. margin: 0px 0px;
  344. width: 100%;
  345. position: absolute;
  346. top: 0px;
  347. }
  348. .pop-over .header .header-title {
  349. font-size: 20px;
  350. font-weight: normal;
  351. padding-top: 8px;
  352. }
  353. .pop-over .header .back-btn {
  354. width: 30px;
  355. padding: 8px 12px 8px 12px;
  356. }
  357. .pop-over .header .back-btn i.fa {
  358. color: #fff;
  359. }
  360. .pop-over .header .close-btn {
  361. padding: 10px 12px;
  362. }
  363. .pop-over .header .close-btn i.fa {
  364. font-size: 24px;
  365. color: #fff;
  366. }
  367. .pop-over .content-wrapper {
  368. width: 100%;
  369. height: calc(100% - 48px);
  370. overflow-y: scroll;
  371. overflow-x: hidden;
  372. margin: 48px 0px 0px 0px;
  373. }
  374. .pop-over .content-container {
  375. width: 100%;
  376. height: 100%;
  377. max-height: 100%;
  378. }
  379. .pop-over .content-container .content {
  380. width: calc(100% - 20px);
  381. height: calc(100% - 20px);
  382. padding: 10px;
  383. }
  384. .pop-over .content-container .content form {
  385. margin: 10px 10px;
  386. width: calc(100% - 20px);
  387. }
  388. .pop-over .content-container .content p,
  389. .pop-over .content-container .content textarea,
  390. .pop-over .content-container .content input[type="text"],
  391. .pop-over .content-container .content input[type="email"],
  392. .pop-over .content-container .content input[type="password"],
  393. .pop-over .content-container .content input[type="file"] {
  394. width: 100%;
  395. box-sizing: border-box;
  396. }
  397. .pop-over .pop-over-list li > a {
  398. width: calc(100% - 20px);
  399. margin: 0px 0px;
  400. }
  401. .pop-over .popup-container-depth-1 {
  402. transform: none !important;
  403. }
  404. .pop-over .popup-container-depth-2 {
  405. transform: none !important;
  406. }
  407. .pop-over .popup-container-depth-3 {
  408. transform: none !important;
  409. }
  410. .pop-over .popup-container-depth-4 {
  411. transform: none !important;
  412. }
  413. .pop-over .popup-container-depth-5 {
  414. transform: none !important;
  415. }
  416. .pop-over .popup-container-depth-6 {
  417. transform: none !important;
  418. }
  419. }