cardDetails.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. .assignee {
  2. border-radius: 3px;
  3. display: block;
  4. position: relative;
  5. float: left;
  6. height: 30px;
  7. width: 30px;
  8. margin: 0 4px 4px 0;
  9. cursor: pointer;
  10. user-select: none;
  11. z-index: 1;
  12. text-decoration: none;
  13. border-radius: 50%;
  14. }
  15. .assignee .avatar {
  16. overflow: hidden;
  17. border-radius: 50%;
  18. }
  19. .assignee .avatar.avatar-assignee-initials {
  20. height: 70%;
  21. width: 70%;
  22. padding: 15%;
  23. background-color: #dbdbdb;
  24. color: #444;
  25. position: absolute;
  26. }
  27. .assignee .avatar.avatar-image {
  28. object-fit: cover;
  29. object-position: center;
  30. height: 100%;
  31. width: 100%;
  32. }
  33. .assignee .assignee-presence-status {
  34. background-color: #b3b3b3;
  35. border: 1px solid #fff;
  36. border-radius: 50%;
  37. height: 7px;
  38. width: 7px;
  39. position: absolute;
  40. right: -1px;
  41. bottom: -1px;
  42. border: 1px solid #fff;
  43. z-index: 15;
  44. }
  45. .assignee .assignee-presence-status.active {
  46. background: #64c464;
  47. border-color: #daf1da;
  48. }
  49. .assignee .assignee-presence-status.idle {
  50. background: #e4e467;
  51. border-color: #f7f7d4;
  52. }
  53. .assignee .assignee-presence-status.disconnected {
  54. background: #bdbdbd;
  55. border-color: #ededed;
  56. }
  57. .assignee .assignee-presence-status.pending {
  58. background: #e44242;
  59. border-color: #f1dada;
  60. }
  61. .assignee.add-assignee {
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. box-shadow: 0 0 0 2px #bfbfbf inset;
  66. }
  67. .assignee.add-assignee:hover,
  68. .assignee.add-assignee.is-active {
  69. box-shadow: 0 0 0 2px #666 inset;
  70. }
  71. .copied-tooltip {
  72. display: none;
  73. padding: 0px 10px;
  74. background-color: rgba(0,0,0,0.875);
  75. color: #fff;
  76. border-radius: 5px;
  77. }
  78. .card-details {
  79. padding: 0;
  80. flex-shrink: 0;
  81. flex-basis: 600px;
  82. will-change: flex-basis;
  83. overflow-y: scroll;
  84. overflow-x: hidden;
  85. background: #f7f7f7;
  86. border-radius: bottom 3px;
  87. z-index: 20;
  88. animation: flexGrowIn 0.1s;
  89. box-shadow: 0 0 7px 0 #b3b3b3;
  90. transition: flex-basis 0.1s;
  91. box-sizing: border-box;
  92. }
  93. .card-details .mCustomScrollBox {
  94. padding-left: 0;
  95. }
  96. .card-details .card-details-canvas {
  97. width: auto;
  98. padding: 0 20px;
  99. }
  100. .card-details .card-details-header {
  101. margin: 0 -20px 5px;
  102. padding: 7px 20px;
  103. background: #ededed;
  104. border-bottom: 1px solid #dbdbdb;
  105. position: sticky;
  106. top: 0px;
  107. z-index: 500;
  108. }
  109. .card-details .card-details-header .card-number {
  110. color: #b3b3b3;
  111. display: inline-block;
  112. margin-right: 5px;
  113. }
  114. .card-details .card-details-header .close-card-details,
  115. .card-details .card-details-header .maximize-card-details,
  116. .card-details .card-details-header .minimize-card-details,
  117. .card-details .card-details-header .card-details-menu,
  118. .card-details .card-details-header .card-copy-button,
  119. .card-details .card-details-header .card-copy-mobile-button,
  120. .card-details .card-details-header .close-card-details-mobile-web,
  121. .card-details .card-details-header .card-details-menu-mobile-web,
  122. .card-details .card-details-header .copied-tooltip {
  123. float: right;
  124. }
  125. .card-details .card-details-header .close-card-details,
  126. .card-details .card-details-header .maximize-card-details,
  127. .card-details .card-details-header .minimize-card-details {
  128. font-size: 24px;
  129. padding: 5px 10px 5px 10px;
  130. margin-right: -8px;
  131. }
  132. .card-details .card-details-header .close-card-details-mobile-web {
  133. font-size: 24px;
  134. padding: 5px;
  135. margin-right: 40px;
  136. }
  137. .card-details .card-details-header .card-copy-button {
  138. font-size: 17px;
  139. padding: 10px;
  140. margin-right: 10px;
  141. }
  142. .card-details .card-details-header .card-copy-mobile-button {
  143. font-size: 17px;
  144. padding: 10px;
  145. margin-right: 10px;
  146. }
  147. .card-details .card-details-header .card-details-menu {
  148. font-size: 17px;
  149. padding: 10px;
  150. }
  151. .card-details .card-details-header .card-details-menu-mobile-web {
  152. font-size: 17px;
  153. padding: 10px;
  154. margin-right: 30px;
  155. }
  156. .card-details .card-details-header .card-details-watch {
  157. font-size: 17px;
  158. padding-left: 7px;
  159. color: #a6a6a6;
  160. }
  161. .card-details .card-details-header .card-details-title {
  162. font-weight: bold;
  163. font-size: 1.33em;
  164. margin: 7px 0 0;
  165. padding: 0;
  166. }
  167. .card-details .card-details-header .linked-card-location {
  168. font-style: italic;
  169. font-size: 1em;
  170. margin-bottom: 0;
  171. }
  172. .card-details .card-details-header .linked-card-location p {
  173. margin-bottom: 0;
  174. }
  175. .card-details .card-details-header form.inlined-form {
  176. margin-top: 5px;
  177. margin-bottom: 10px;
  178. }
  179. .card-details .card-details-header form.inlined-form .copied-tooltip {
  180. padding: 0px 10px;
  181. }
  182. .card-details .card-details-header .card-details-list {
  183. font-size: 0.85em;
  184. margin-bottom: 3px;
  185. }
  186. .card-details .card-details-header .card-details-list a.card-details-list-title {
  187. font-weight: bold;
  188. }
  189. .card-details .card-details-header .card-details-list a.card-details-list-title.is-editable {
  190. display: inline-block;
  191. background: #e6e6e6;
  192. border-radius: 3px;
  193. padding: 0px 5px;
  194. }
  195. .card-details .card-details-header .copied-tooltip {
  196. margin-right: 10px;
  197. padding: 10px;
  198. }
  199. .card-details .card-description textarea {
  200. min-height: 100px;
  201. }
  202. .card-details .card-details-items {
  203. display: flex;
  204. flex-wrap: wrap;
  205. margin: 15px 0;
  206. }
  207. .card-details .card-details-items .card-details-item {
  208. margin-right: 0.5em;
  209. flex-grow: 1;
  210. }
  211. .card-details .card-details-items .card-details-item:last-child {
  212. margin-right: 0;
  213. }
  214. .card-details .card-details-items .card-details-item.card-details-item-labels {
  215. display: block;
  216. word-wrap: break-word;
  217. max-width: 95%;
  218. }
  219. .card-details .card-details-items .card-details-item.card-details-item-members,
  220. .card-details .card-details-items .card-details-item.card-details-item-assignees,
  221. .card-details .card-details-items .card-details-item.card-details-item-customfield,
  222. .card-details .card-details-items .card-details-item.card-details-item-name {
  223. display: block;
  224. word-wrap: break-word;
  225. max-width: 36%;
  226. }
  227. .card-details .card-details-items .card-details-item.card-details-item-creator,
  228. .card-details .card-details-items .card-details-item.card-details-item-received,
  229. .card-details .card-details-items .card-details-item.card-details-item-start,
  230. .card-details .card-details-items .card-details-item.card-details-item-due,
  231. .card-details .card-details-items .card-details-item.card-details-item-end {
  232. display: block;
  233. word-wrap: break-word;
  234. max-width: 28%;
  235. }
  236. .card-details .card-details-items .card-details-item.custom-fields {
  237. padding-left: 10px;
  238. }
  239. .card-details .card-details-item-title {
  240. font-size: 16px;
  241. font-weight: bold;
  242. color: #4d4d4d;
  243. }
  244. .card-details .activities {
  245. padding-top: 10px;
  246. }
  247. @media screen and (min-width: 801px) {
  248. .card-details-maximized {
  249. padding: 0;
  250. flex-shrink: 0;
  251. flex-basis: calc(100% - 20px);
  252. will-change: flex-basis;
  253. overflow-y: scroll;
  254. overflow-x: scroll;
  255. background: #f7f7f7;
  256. border-radius: bottom 3px;
  257. z-index: 100;
  258. animation: flexGrowIn 0.1s;
  259. box-shadow: 0 0 7px 0 #b3b3b3;
  260. transition: flex-basis 0.1s;
  261. box-sizing: border-box;
  262. position: absolute;
  263. top: 0;
  264. left: 0;
  265. height: calc(100% - 20px);
  266. width: calc(100% - 20px);
  267. float: left;
  268. }
  269. .card-details-maximized .card-details-left {
  270. float: left;
  271. top: 60px;
  272. left: 20px;
  273. width: 47%;
  274. border-right: solid 2px #dbdbdb;
  275. padding-right: 10px;
  276. }
  277. .card-details-maximized .card-details-right {
  278. position: absolute;
  279. float: right;
  280. left: 50%;
  281. margin: 15px 0;
  282. }
  283. .card-details-maximized .card-details-header {
  284. width: 100%;
  285. }
  286. }
  287. input[type="text"].attachment-add-link-input {
  288. float: left;
  289. margin: 0 0 8px;
  290. width: 80%;
  291. }
  292. input[type="submit"].attachment-add-link-submit {
  293. float: left;
  294. margin: 0 0 8px 4px;
  295. padding: 6px 12px;
  296. width: 18%;
  297. }
  298. @media screen and (max-width: 800px) {
  299. .card-details {
  300. width: calc(100% - 1px);
  301. padding: 0px 20px 0px 20px;
  302. margin: 0px;
  303. transition: none;
  304. overflow-y: revert;
  305. overflow-x: revert;
  306. }
  307. .card-details .card-details-canvas {
  308. width: 100%;
  309. padding-left: 0px;
  310. }
  311. .card-details .card-details-header .close-card-details {
  312. margin-right: 0px;
  313. }
  314. .card-details .card-details-header .card-details-menu {
  315. margin-right: 40px;
  316. }
  317. .card-details .card-details-header .maximize-card-details {
  318. margin-right: 40px;
  319. }
  320. .card-details .card-details-header .minimize-card-details {
  321. margin-right: 40px;
  322. }
  323. .card-details-popup {
  324. padding: 0px 10px;
  325. }
  326. .pop-over > .content-wrapper > .popup-container-depth-0 {
  327. width: 100%;
  328. }
  329. .pop-over > .content-wrapper > .popup-container-depth-0 > .content {
  330. width: calc(100% - 10px);
  331. }
  332. .pop-over > .content-wrapper > .popup-container-depth-0 > .content > .card-details-popup hr {
  333. margin: 15px 0px;
  334. }
  335. .pop-over > .content-wrapper > .popup-container-depth-0 .card-details-header {
  336. margin: 0;
  337. }
  338. }
  339. .card-details-white {
  340. background: unset !important;
  341. color: #000 !important;
  342. border: 1px solid #eee;
  343. }
  344. .card-details-green {
  345. background: #3cb500 !important;
  346. color: #fff !important;
  347. }
  348. .card-details-yellow {
  349. background: #fad900 !important;
  350. color: #000 !important;
  351. }
  352. .card-details-orange {
  353. background: #ff9f19 !important;
  354. color: #000 !important;
  355. }
  356. .card-details-red {
  357. background: #eb4646 !important;
  358. color: #fff !important;
  359. }
  360. .card-details-purple {
  361. background: #a632db !important;
  362. color: #fff !important;
  363. }
  364. .card-details-blue {
  365. background: #0079bf !important;
  366. color: #fff !important;
  367. }
  368. .card-details-pink {
  369. background: #ff78cb !important;
  370. color: #000 !important;
  371. }
  372. .card-details-sky {
  373. background: #00c2e0 !important;
  374. color: #fff !important;
  375. }
  376. .card-details-black {
  377. background: #4d4d4d !important;
  378. color: #fff !important;
  379. }
  380. .card-details-lime {
  381. background: #51e898 !important;
  382. color: #000 !important;
  383. }
  384. .card-details-silver {
  385. background: #c0c0c0 !important;
  386. color: #000 !important;
  387. }
  388. .card-details-peachpuff {
  389. background: #ffdab9 !important;
  390. color: #000 !important;
  391. }
  392. .card-details-crimson {
  393. background: #dc143c !important;
  394. color: #fff !important;
  395. }
  396. .card-details-plum {
  397. background: #dda0dd !important;
  398. color: #000 !important;
  399. }
  400. .card-details-darkgreen {
  401. background: #006400 !important;
  402. color: #fff !important;
  403. }
  404. .card-details-slateblue {
  405. background: #6a5acd !important;
  406. color: #fff !important;
  407. }
  408. .card-details-magenta {
  409. background: #f0f !important;
  410. color: #fff !important;
  411. }
  412. .card-details-gold {
  413. background: #ffd700 !important;
  414. color: #000 !important;
  415. }
  416. .card-details-navy {
  417. background: #000080 !important;
  418. color: #fff !important;
  419. }
  420. .card-details-gray {
  421. background: #808080 !important;
  422. color: #fff !important;
  423. }
  424. .card-details-saddlebrown {
  425. background: #8b4513 !important;
  426. color: #fff !important;
  427. }
  428. .card-details-paleturquoise {
  429. background: #afeeee !important;
  430. color: #000 !important;
  431. }
  432. .card-details-mistyrose {
  433. background: #ffe4e1 !important;
  434. color: #000 !important;
  435. }
  436. .card-details-indigo {
  437. background: #4b0082 !important;
  438. color: #fff !important;
  439. }
  440. .voted {
  441. opacity: 0.7;
  442. }
  443. .vote-title {
  444. display: flex;
  445. justify-content: space-between;
  446. }
  447. .vote-title .js-edit-date {
  448. align-self: baseline;
  449. margin-left: 5px;
  450. }
  451. .vote-result {
  452. display: flex;
  453. }
  454. .js-show-positive-votes {
  455. cursor: pointer;
  456. }
  457. .poker-voted {
  458. opacity: 0.7;
  459. }
  460. .poker-title {
  461. display: flex;
  462. justify-content: space-between;
  463. }
  464. .poker-title .js-edit-date {
  465. align-self: baseline;
  466. margin-left: 5px;
  467. }
  468. .poker-result {
  469. display: flex;
  470. flex-flow: row wrap;
  471. }
  472. .js-show-positive-poker-votes {
  473. cursor: pointer;
  474. }
  475. .poker-deck {
  476. display: grid;
  477. flex-direction: column;
  478. text-align: center;
  479. }
  480. .poker-card-result {
  481. width: 32px;
  482. font-size: 1em;
  483. font-weight: bold;
  484. padding: 4px 2px 4px 2px;
  485. cursor: default;
  486. }
  487. .winner {
  488. font-weight: bold;
  489. outline: #2d2d2d solid 2px;
  490. }
  491. .loser {
  492. opacity: 0.5;
  493. }
  494. .responsive-table {
  495. overflow-x: auto;
  496. }
  497. .poker-table {
  498. display: table;
  499. width: 100%;
  500. padding-top: 10px;
  501. }
  502. .poker-table-row {
  503. display: table-row;
  504. }
  505. .poker-table-heading {
  506. background-color: #eee;
  507. display: table-header-group;
  508. }
  509. .poker-table-cell {
  510. display: table-cell;
  511. padding: 0 0 5px 2px;
  512. border-bottom: 1px solid #d2d0d0;
  513. text-align: center;
  514. min-width: 45px;
  515. }
  516. .poker-table-cell-who {
  517. width: 150px;
  518. vertical-align: middle;
  519. }
  520. .poker-table-heading-left,
  521. .poker-table-heading-right {
  522. display: table-header-group;
  523. font-weight: bold;
  524. border-top: 1px solid #808080;
  525. }
  526. @media (max-width: 400px) {
  527. .poker-table-heading-right {
  528. display: none;
  529. }
  530. }
  531. .poker-table-body {
  532. display: table-row-group;
  533. }
  534. .poker-table-side-left,
  535. .poker-table-side-right {
  536. display: inline-block;
  537. }
  538. .poker-table-side-right {
  539. padding-left: 10px;
  540. }
  541. @media (max-width: 400px) {
  542. .poker-table-side-right {
  543. padding-left: 0px;
  544. }
  545. }
  546. .estimation-add {
  547. display: block;
  548. overflow: auto;
  549. margin-top: 15px;
  550. margin-bottom: 5px;
  551. }
  552. .estimation-add input {
  553. display: inline-block;
  554. float: right;
  555. margin: auto;
  556. margin-right: 10px;
  557. width: 100px;
  558. }
  559. .estimation-add button {
  560. display: inline-block;
  561. float: right;
  562. margin: auto;
  563. }
  564. .poker-card {
  565. width: 48px;
  566. height: 72px;
  567. float: left;
  568. background: #fff;
  569. border-radius: 5px;
  570. display: table;
  571. box-sizing: border-box;
  572. padding: 5px;
  573. margin: 3px;
  574. font-size: 20px;
  575. font-weight: bold;
  576. text-shadow: #2d2d2d 1px 1px 0;
  577. box-shadow: 0 0 5px #aaa;
  578. text-align: center;
  579. position: relative;
  580. cursor: pointer;
  581. }
  582. .poker-card .inner {
  583. display: table-cell;
  584. vertical-align: middle;
  585. border-radius: 5px;
  586. overflow: hidden;
  587. background-color: #cecece;
  588. }