cardDetails.css 13 KB

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