popup.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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: 5000px;
  80. max-height: 70vh;
  81. transition: transform 0.2s;
  82. }
  83. .pop-over .content-container .content {
  84. /* Match wider popover, leave padding */
  85. width: min(360px, 52vw);
  86. padding: 0 1.3vw 1.3vh;
  87. float: left;
  88. }
  89. /* Utility: remove left gutter inside specific popups */
  90. .pop-over .content .flush-left {
  91. margin-left: -1.3vw;
  92. padding-left: 0;
  93. width: calc(100% + 1.3vw);
  94. }
  95. /* Swimlane popups: remove left gutter, align content fully left */
  96. .pop-over .content form.swimlane-color-popup,
  97. .pop-over .content .swimlane-height-popup {
  98. margin-left: -1.3vw;
  99. padding-left: 0;
  100. width: calc(100% + 1.3vw);
  101. }
  102. /* Ensure buttons don’t reserve left space; align to flow */
  103. .pop-over .content form.swimlane-color-popup .primary.confirm,
  104. .pop-over .content form.swimlane-color-popup .negate.wide.right,
  105. .pop-over .content .swimlane-height-popup .primary.confirm,
  106. .pop-over .content .swimlane-height-popup .negate.wide.right {
  107. float: none;
  108. margin-left: 0;
  109. }
  110. .pop-over .content-container .content.no-height {
  111. height: 2.5vh;
  112. }
  113. .pop-over .quiet {
  114. /* padding: 6px 6px 4px;*/
  115. }
  116. .pop-over.search-over {
  117. background: #f0f0f0;
  118. min-height: 14vh;
  119. }
  120. .pop-over.search-over .header {
  121. display: none;
  122. }
  123. .pop-over.search-over .content {
  124. padding: 8px 4px 8px 10px;
  125. margin-right: 8px;
  126. }
  127. .pop-over .at-form .at-error,
  128. .pop-over .at-form .at-result {
  129. padding: 8px 12px;
  130. margin: -8px -10px 10px;
  131. }
  132. .pop-over .at-form .at-error {
  133. background: #ef9a9a;
  134. }
  135. .pop-over .at-form .at-result {
  136. background: #b2dfdb;
  137. }
  138. .pop-over .sk-spinner {
  139. margin: 40px auto;
  140. }
  141. .pop-over .popup-container-depth-1 {
  142. transform: translateX(-300px);
  143. }
  144. .pop-over .popup-container-depth-2 {
  145. transform: translateX(-600px);
  146. }
  147. .pop-over .popup-container-depth-3 {
  148. transform: translateX(-900px);
  149. }
  150. .pop-over .popup-container-depth-4 {
  151. transform: translateX(-1200px);
  152. }
  153. .pop-over .popup-container-depth-5 {
  154. transform: translateX(-1500px);
  155. }
  156. .pop-over .popup-container-depth-6 {
  157. transform: translateX(-1800px);
  158. }
  159. .select-members-list,
  160. .select-avatars-list {
  161. margin-bottom: 8px;
  162. }
  163. .pop-over-list li {
  164. display: block;
  165. clear: both;
  166. }
  167. .pop-over-list li > a {
  168. clear: both;
  169. cursor: pointer;
  170. display: block;
  171. font-weight: 700;
  172. padding: 1.5px 10px;
  173. position: relative;
  174. margin: 0 -10px;
  175. text-decoration: none;
  176. overflow: hidden;
  177. line-height: 33px;
  178. display:flex;
  179. /* flex-wrap:wrap;*/
  180. gap:5px;
  181. align-items: center;
  182. }
  183. .pop-over-list li > a > .member{
  184. align-self: flex-start;
  185. flex:0 0 auto;
  186. }
  187. .pop-over-list li > a .item-name {
  188. display: block;
  189. width: auto;
  190. padding-right: 22px;
  191. }
  192. .pop-over-list li > a:not(.disabled):hover {
  193. background-color: #005377;
  194. color: #fff;
  195. }
  196. .pop-over-list li > a:not(.disabled):hover .sub-name,
  197. .pop-over-list li > a:not(.disabled):hover .quiet {
  198. color: #eee;
  199. }
  200. .pop-over-list li > a:not(.disabled):hover .unread-indicator {
  201. background: #fff;
  202. }
  203. .pop-over-list li > a .sub-name {
  204. color: #8c8c8c;
  205. display: block;
  206. font-size: 12px;
  207. font-weight: 400;
  208. line-height: 15px;
  209. }
  210. .pop-over-list li > a.current {
  211. background-color: #e2e6e9;
  212. }
  213. .pop-over-list li > a:active {
  214. background-color: #2e85b8;
  215. }
  216. .pop-over-list li > a.disabled {
  217. color: #8c8c8c;
  218. cursor: default;
  219. }
  220. .pop-over-list li > a.disabled .vis-icon {
  221. opacity: 0.35;
  222. }
  223. .pop-over-list li > a.disabled:hover {
  224. background: none;
  225. }
  226. .pop-over-list li > a.disabled:hover .sub-name,
  227. .pop-over-list li > a.disabled:hover .quiet {
  228. color: #8c8c8c;
  229. }
  230. .pop-over-list li > a.disabled:active {
  231. background: none;
  232. }
  233. .pop-over-list.inset li > a {
  234. border-radius: 3px;
  235. margin: 0;
  236. }
  237. .pop-over-list .pop-over-list.checkable .fa-check {
  238. display: none;
  239. position: absolute;
  240. top: 6px;
  241. right: 12px;
  242. }
  243. .pop-over-list .pop-over-list.checkable li.active a {
  244. padding-right: 28px;
  245. }
  246. .pop-over-list .pop-over-list.checkable li.active a .fa-check {
  247. display: block;
  248. }
  249. .pop-over.miniprofile .header {
  250. border-bottom-color: transparent;
  251. height: 30px;
  252. position: absolute;
  253. right: 0;
  254. top: 0;
  255. width: 60px;
  256. z-index: 1;
  257. }
  258. .pop-over.miniprofile .header-title {
  259. display: none;
  260. }
  261. .pop-over.miniprofile .pop-over-list {
  262. padding-top: 8px;
  263. }
  264. .pop-over.miniprofile .miniprofile-header {
  265. margin-top: 8px;
  266. min-height: 56px;
  267. position: relative;
  268. }
  269. .pop-over.miniprofile .miniprofile-header .member,
  270. .pop-over.miniprofile .miniprofile-header .avatar {
  271. position: absolute;
  272. top: 2px;
  273. left: 2px;
  274. height: 50px;
  275. width: 50px;
  276. }
  277. .pop-over.miniprofile .miniprofile-header .info {
  278. margin: 0 0 0 64px;
  279. word-wrap: break-word;
  280. }
  281. .pop-over.miniprofile .miniprofile-header .info h3 a {
  282. text-decoration: none;
  283. }
  284. .pop-over.miniprofile .miniprofile-header .info h3 a:hover {
  285. text-decoration: underline;
  286. }
  287. @media screen and (max-width: 800px) {
  288. .pop-over {
  289. width: 100%;
  290. height: 100%;
  291. overflow: hidden;
  292. margin-top: 0px;
  293. border: 0px solid #dbdbdb;
  294. }
  295. .pop-over .header {
  296. color: #fff;
  297. background: #2980b9;
  298. height: 48px;
  299. padding: 0px 0px;
  300. border: 0px;
  301. margin: 0px 0px;
  302. width: 100%;
  303. position: absolute;
  304. top: 0px;
  305. }
  306. .pop-over .header .header-title {
  307. font-size: 20px;
  308. font-weight: normal;
  309. padding-top: 8px;
  310. }
  311. .pop-over .header .back-btn {
  312. width: 30px;
  313. padding: 8px 12px 8px 12px;
  314. }
  315. .pop-over .header .back-btn i.fa {
  316. color: #fff;
  317. }
  318. .pop-over .header .close-btn {
  319. padding: 10px 12px;
  320. }
  321. .pop-over .header .close-btn i.fa {
  322. font-size: 24px;
  323. color: #fff;
  324. }
  325. .pop-over .content-wrapper {
  326. width: 100%;
  327. height: calc(100% - 48px);
  328. overflow-y: scroll;
  329. overflow-x: hidden;
  330. margin: 48px 0px 0px 0px;
  331. }
  332. .pop-over .content-container {
  333. width: 1000%;
  334. height: 100%;
  335. max-height: 100%;
  336. }
  337. .pop-over .content-container .content {
  338. width: calc(10% - 20px);
  339. height: calc(100% - 20px);
  340. padding: 10px;
  341. }
  342. .pop-over .content-container .content form {
  343. margin: 10px 10px;
  344. width: calc(100% - 20px);
  345. }
  346. .pop-over .content-container .content p,
  347. .pop-over .content-container .content textarea,
  348. .pop-over .content-container .content input[type="text"],
  349. .pop-over .content-container .content input[type="email"],
  350. .pop-over .content-container .content input[type="password"],
  351. .pop-over .content-container .content input[type="file"] {
  352. width: 100%;
  353. box-sizing: border-box;
  354. }
  355. .pop-over .pop-over-list li > a {
  356. width: calc(100% - 20px);
  357. margin: 0px 0px;
  358. }
  359. .pop-over .popup-container-depth-1 {
  360. transform: translateX(-10%);
  361. }
  362. .pop-over .popup-container-depth-2 {
  363. transform: translateX(-20%);
  364. }
  365. .pop-over .popup-container-depth-3 {
  366. transform: translateX(-30%);
  367. }
  368. .pop-over .popup-container-depth-4 {
  369. transform: translateX(-40%);
  370. }
  371. .pop-over .popup-container-depth-5 {
  372. transform: translateX(-50%);
  373. }
  374. .pop-over .popup-container-depth-6 {
  375. transform: translateX(-60%);
  376. }
  377. }