list.css 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104
  1. .list {
  2. box-sizing: border-box;
  3. display: flex;
  4. flex-direction: column;
  5. position: relative;
  6. background: #dedede;
  7. border-left: 1px solid #ccc;
  8. padding: 0;
  9. float: left;
  10. }
  11. /* List resize handle */
  12. .list-resize-handle {
  13. position: absolute;
  14. top: 0;
  15. right: -3px;
  16. width: 6px;
  17. height: 100%;
  18. cursor: col-resize;
  19. z-index: 10;
  20. background: transparent;
  21. transition: background-color 0.2s ease;
  22. border-radius: 2px;
  23. /* Ensure the handle is clickable */
  24. pointer-events: auto;
  25. }
  26. .list-resize-handle:hover {
  27. background: rgba(0, 123, 255, 0.4);
  28. box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
  29. }
  30. .list-resize-handle:active {
  31. background: rgba(0, 123, 255, 0.6);
  32. box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
  33. }
  34. /* Show resize handle only on hover */
  35. .list:hover .list-resize-handle {
  36. background: rgba(0, 0, 0, 0.1);
  37. }
  38. .list:hover .list-resize-handle:hover {
  39. background: rgba(0, 123, 255, 0.4);
  40. box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
  41. }
  42. /* Add a subtle indicator line */
  43. .list-resize-handle::before {
  44. content: '';
  45. position: absolute;
  46. top: 50%;
  47. left: 50%;
  48. transform: translate(-50%, -50%);
  49. width: 2px;
  50. height: 20px;
  51. background: rgba(0, 0, 0, 0.2);
  52. border-radius: 1px;
  53. opacity: 0;
  54. transition: opacity 0.2s ease;
  55. }
  56. .list-resize-handle:hover::before {
  57. opacity: 1;
  58. }
  59. /* Disable resize handle for collapsed lists and mobile view */
  60. .list.list-collapsed .list-resize-handle,
  61. .list.mobile-view .list-resize-handle {
  62. display: none;
  63. }
  64. /* Disable resize handle for auto-width lists */
  65. .list.list-auto-width .list-resize-handle {
  66. display: none;
  67. }
  68. /* Visual feedback during resize */
  69. .list.list-resizing {
  70. transition: none !important;
  71. box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
  72. /* Ensure the list maintains its new width during resize */
  73. flex: none !important;
  74. flex-basis: auto !important;
  75. flex-grow: 0 !important;
  76. flex-shrink: 0 !important;
  77. /* Override any conflicting layout properties */
  78. float: left !important;
  79. display: block !important;
  80. position: relative !important;
  81. /* Force width to be respected */
  82. width: var(--list-width, auto) !important;
  83. min-width: var(--list-width, auto) !important;
  84. max-width: var(--list-width, auto) !important;
  85. /* Ensure the width is applied immediately */
  86. overflow: visible !important;
  87. }
  88. body.list-resizing-active {
  89. cursor: col-resize !important;
  90. }
  91. body.list-resizing-active * {
  92. cursor: col-resize !important;
  93. }
  94. /* Ensure swimlane container doesn't interfere with list resizing */
  95. .swimlane .list.list-resizing {
  96. /* Override any swimlane flex properties */
  97. flex: none !important;
  98. flex-basis: auto !important;
  99. flex-grow: 0 !important;
  100. flex-shrink: 0 !important;
  101. /* Ensure width is respected */
  102. width: var(--list-width, auto) !important;
  103. min-width: var(--list-width, auto) !important;
  104. max-width: var(--list-width, auto) !important;
  105. }
  106. /* More aggressive override for any container that might interfere */
  107. .js-swimlane .list.list-resizing,
  108. .dragscroll .list.list-resizing,
  109. [id^="swimlane-"] .list.list-resizing {
  110. /* Force the width to be applied */
  111. width: var(--list-width, auto) !important;
  112. min-width: var(--list-width, auto) !important;
  113. max-width: var(--list-width, auto) !important;
  114. flex: none !important;
  115. flex-basis: auto !important;
  116. flex-grow: 0 !important;
  117. flex-shrink: 0 !important;
  118. float: left !important;
  119. display: block !important;
  120. }
  121. /* Ensure the width persists after resize is complete */
  122. .js-swimlane .list[style*="--list-width"],
  123. .dragscroll .list[style*="--list-width"],
  124. [id^="swimlane-"] .list[style*="--list-width"] {
  125. /* Maintain the width after resize */
  126. width: var(--list-width, auto) !important;
  127. min-width: var(--list-width, auto) !important;
  128. max-width: var(--list-width, auto) !important;
  129. flex: none !important;
  130. flex-basis: auto !important;
  131. flex-grow: 0 !important;
  132. flex-shrink: 0 !important;
  133. float: left !important;
  134. display: block !important;
  135. }
  136. /* Ensure consistent header height for all lists */
  137. .list-header {
  138. /* Maintain consistent height and padding for all lists */
  139. min-height: 2.5vh !important;
  140. height: auto !important;
  141. padding: 2.5vh 1.5vw 0.5vh !important;
  142. /* Make sure the background covers the full height */
  143. background-color: #e4e4e4 !important;
  144. border-bottom: 0.8vh solid #e4e4e4 !important;
  145. /* Use original display for consistent button positioning */
  146. display: block !important;
  147. position: relative !important;
  148. /* Prevent vertical expansion but allow normal height */
  149. overflow: hidden !important;
  150. }
  151. /* Ensure title text doesn't cause height changes for all lists */
  152. .list-header .list-header-name {
  153. /* Prevent text wrapping to maintain consistent height */
  154. white-space: nowrap !important;
  155. /* Truncate text with ellipsis if too long */
  156. text-overflow: ellipsis !important;
  157. /* Ensure proper line height */
  158. line-height: 1.2 !important;
  159. /* Ensure it doesn't overflow */
  160. overflow: hidden !important;
  161. /* Add margin to prevent overlap with buttons */
  162. margin-right: 120px !important;
  163. }
  164. /* Position drag handle at top-right corner for ALL lists */
  165. .list-header .list-header-handle {
  166. /* Position at top-right corner, aligned with title text top */
  167. position: absolute !important;
  168. top: 2.5vh !important;
  169. right: 1.5vw !important;
  170. /* Ensure it's above other elements */
  171. z-index: 15 !important;
  172. /* Remove margin since it's absolutely positioned */
  173. margin-right: 0 !important;
  174. /* Ensure proper display */
  175. display: inline-block !important;
  176. /* Ensure it's clickable and shows proper cursor */
  177. cursor: move !important;
  178. pointer-events: auto !important;
  179. /* Add some padding for better clickability */
  180. padding: 4px !important;
  181. }
  182. /* Ensure buttons maintain original positioning */
  183. .js-swimlane .list[style*="--list-width"] .list-header .list-header-plus-top,
  184. .js-swimlane .list[style*="--list-width"] .list-header .js-collapse,
  185. .js-swimlane .list[style*="--list-width"] .list-header .js-open-list-menu,
  186. .dragscroll .list[style*="--list-width"] .list-header .list-header-plus-top,
  187. .dragscroll .list[style*="--list-width"] .list-header .js-collapse,
  188. .dragscroll .list[style*="--list-width"] .list-header .js-open-list-menu,
  189. [id^="swimlane-"] .list[style*="--list-width"] .list-header .list-header-plus-top,
  190. [id^="swimlane-"] .list[style*="--list-width"] .list-header .js-collapse,
  191. [id^="swimlane-"] .list[style*="--list-width"] .list-header .js-open-list-menu {
  192. /* Use original positioning to maintain layout */
  193. position: relative !important;
  194. /* Maintain original spacing */
  195. margin-right: 15px !important;
  196. /* Ensure proper display */
  197. display: inline-block !important;
  198. }
  199. /* Ensure watch icon and card count maintain original positioning */
  200. .js-swimlane .list[style*="--list-width"] .list-header .list-header-watch-icon,
  201. .dragscroll .list[style*="--list-width"] .list-header .list-header-watch-icon,
  202. [id^="swimlane-"] .list[style*="--list-width"] .list-header .list-header-watch-icon,
  203. .js-swimlane .list[style*="--list-width"] .list-header .cardCount,
  204. .dragscroll .list[style*="--list-width"] .list-header .cardCount,
  205. [id^="swimlane-"] .list[style*="--list-width"] .list-header .cardCount {
  206. /* Use original positioning to maintain layout */
  207. position: relative !important;
  208. /* Maintain original spacing */
  209. margin-right: 15px !important;
  210. /* Ensure proper display */
  211. display: inline-block !important;
  212. }
  213. [id^="swimlane-"] .list:first-child {
  214. min-width: 2.5vw;
  215. }
  216. .list.list-auto-width {
  217. flex: 1;
  218. }
  219. .list:first-child {
  220. border-left: none;
  221. flex: none;
  222. }
  223. .card-details + .list {
  224. border-left: none;
  225. }
  226. .list.ui-sortable-helper {
  227. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  228. transform: rotate(4deg);
  229. cursor: grabbing;
  230. }
  231. .list.ui-sortable-helper .list-header.ui-sortable-handle {
  232. cursor: grabbing;
  233. }
  234. .list.placeholder {
  235. background-color: rgba(0,0,0,0.2);
  236. border-color: transparent;
  237. box-shadow: none;
  238. height: 15vh;
  239. }
  240. .list.list-collapsed {
  241. flex: none;
  242. min-width: 60px;
  243. max-width: 80px;
  244. width: 60px;
  245. min-height: 60vh;
  246. height: 60vh;
  247. overflow: visible;
  248. position: relative;
  249. }
  250. .list.list-collapsed .list-header {
  251. padding: 1vh 1.5vw 0.5vh;
  252. min-height: 2.5vh !important;
  253. height: auto !important;
  254. display: flex;
  255. flex-direction: column;
  256. align-items: center;
  257. justify-content: flex-start;
  258. position: relative;
  259. overflow: visible !important;
  260. width: 100%;
  261. max-width: 60px;
  262. margin: 0 auto;
  263. }
  264. .list.list-collapsed .list-header .js-collapse {
  265. margin: 0 auto 20px auto;
  266. z-index: 10;
  267. padding: 8px 12px;
  268. font-size: 12px;
  269. white-space: nowrap;
  270. display: block;
  271. width: fit-content;
  272. }
  273. .list.list-collapsed .list-header .list-rotated {
  274. width: auto !important;
  275. height: auto !important;
  276. margin: 20px 0 0 0 !important;
  277. position: relative !important;
  278. overflow: visible !important;
  279. }
  280. .list.list-collapsed .list-header .list-rotated h2.list-header-name {
  281. text-align: left;
  282. overflow: visible;
  283. white-space: nowrap;
  284. display: block !important;
  285. font-size: 12px;
  286. line-height: 1.2;
  287. color: #333;
  288. background-color: rgba(255, 255, 255, 0.95);
  289. border: 1px solid #ddd;
  290. padding: 8px 4px;
  291. border-radius: 4px;
  292. margin: 0 auto;
  293. width: 25vh;
  294. height: 60vh;
  295. position: absolute;
  296. left: 50%;
  297. top: 50%;
  298. transform: translate(calc(-50% + 50px), -50%) rotate(0deg);
  299. z-index: 10;
  300. visibility: visible !important;
  301. opacity: 1 !important;
  302. pointer-events: none;
  303. }
  304. .list.list-composer .open-list-composer,
  305. .list .list-composer .open-list-composer {
  306. color: #8c8c8c;
  307. }
  308. .list.list-composer .list-name-input,
  309. .list .list-composer .list-name-input {
  310. background: #fff;
  311. margin: -0.4vh 0 1vh;
  312. }
  313. .list-header-add {
  314. flex: 0 0 auto;
  315. padding: 1.5vh 1.5vw;
  316. position: relative;
  317. min-height: 2.5vh;
  318. }
  319. .list-header {
  320. flex: 0 0 auto;
  321. padding: 2.5vh 1.5vw 0.5vh;
  322. position: relative;
  323. min-height: 2.5vh;
  324. background-color: #e4e4e4;
  325. border-bottom: 0.8vh solid #e4e4e4;
  326. }
  327. .list-header.list-header-card-count {
  328. min-height: 4.5vh;
  329. height: auto;
  330. }
  331. .list-header.ui-sortable-handle {
  332. cursor: grab;
  333. }
  334. .list-header .list-header-left-icon {
  335. display: none;
  336. }
  337. .list-header .list-header-name {
  338. display: inline;
  339. font-size: clamp(14px, 3vw, 18px);
  340. line-height: 1.2;
  341. margin: 0;
  342. font-weight: bold;
  343. min-height: 1.2vh;
  344. min-width: 4vw;
  345. overflow: hidden;
  346. text-overflow: ellipsis;
  347. word-wrap: break-word;
  348. }
  349. .list-rotated {
  350. width: 1.3vw;
  351. height: 35vh;
  352. margin-top: -12vh;
  353. margin-left: -14vw;
  354. margin-right: 0;
  355. transform: rotate(90deg);
  356. position: relative;
  357. text-overflow: ellipsis;
  358. white-space: nowrap;
  359. }
  360. .list-header .list-header-watch-icon {
  361. padding-left: 10px;
  362. color: #a6a6a6;
  363. }
  364. .list-header .list-header-menu {
  365. float: right;
  366. }
  367. @media print {
  368. .list-header .list-header-menu,
  369. .list-header .list-header-menu-icon {
  370. display: none;
  371. }
  372. }
  373. .list-header .list-header-plus-top {
  374. color: #a6a6a6;
  375. margin-right: 15px;
  376. }
  377. .list-header .list-header-collapse-right {
  378. color: #a6a6a6;
  379. }
  380. .list-header .list-header-collapse-left {
  381. color: #a6a6a6;
  382. margin-right: 15px;
  383. }
  384. .list-header .js-collapse {
  385. color: #a6a6a6;
  386. margin-right: 15px;
  387. display: inline-block;
  388. vertical-align: middle;
  389. padding: 5px 8px;
  390. border: 1px solid #ccc;
  391. border-radius: 4px;
  392. background-color: #f5f5f5;
  393. cursor: pointer;
  394. font-size: 14px;
  395. }
  396. .list-header .js-collapse:hover {
  397. background-color: #e0e0e0;
  398. color: #333;
  399. }
  400. .list.list-collapsed .list-header .js-collapse {
  401. display: inline-block !important;
  402. visibility: visible !important;
  403. opacity: 1 !important;
  404. }
  405. /* Responsive adjustments for collapsed lists */
  406. @media (min-width: 768px) {
  407. .list.list-collapsed {
  408. min-width: 60px;
  409. max-width: 80px;
  410. width: 60px;
  411. min-height: 60vh;
  412. height: 60vh;
  413. }
  414. .list.list-collapsed .list-header {
  415. max-width: 60px;
  416. margin: 0 auto;
  417. min-height: 2.5vh !important;
  418. height: auto !important;
  419. }
  420. .list.list-collapsed .list-header .list-rotated {
  421. width: auto !important;
  422. height: auto !important;
  423. margin: 20px 0 0 0 !important;
  424. position: relative !important;
  425. }
  426. .list.list-collapsed .list-header .list-rotated h2.list-header-name {
  427. width: 15vh;
  428. font-size: 12px;
  429. height: 30px;
  430. line-height: 1.2;
  431. padding: 8px 4px;
  432. margin: 0 auto;
  433. position: absolute;
  434. left: 50%;
  435. top: 50%;
  436. transform: translate(calc(-50% + 50px), -50%) rotate(0deg);
  437. text-align: left;
  438. visibility: visible !important;
  439. opacity: 1 !important;
  440. display: block !important;
  441. background-color: rgba(255, 255, 255, 0.95);
  442. border: 1px solid #ddd;
  443. color: #333;
  444. z-index: 10;
  445. }
  446. .list.list-collapsed .list-header .js-collapse {
  447. margin: 0 auto 20px auto;
  448. }
  449. }
  450. @media (min-width: 1024px) {
  451. .list.list-collapsed {
  452. min-height: 60vh;
  453. height: 60vh;
  454. }
  455. .list.list-collapsed .list-header {
  456. min-height: 2.5vh !important;
  457. height: auto !important;
  458. }
  459. .list.list-collapsed .list-header .list-rotated {
  460. width: auto !important;
  461. height: auto !important;
  462. margin: 20px 0 0 0 !important;
  463. position: relative !important;
  464. }
  465. .list.list-collapsed .list-header .list-rotated h2.list-header-name {
  466. width: 15vh;
  467. font-size: 12px;
  468. height: 30px;
  469. line-height: 1.2;
  470. padding: 8px 4px;
  471. margin: 0 auto;
  472. position: absolute;
  473. left: 50%;
  474. top: 50%;
  475. transform: translate(calc(-50% + 50px), -50%) rotate(0deg);
  476. text-align: left;
  477. visibility: visible !important;
  478. opacity: 1 !important;
  479. display: block !important;
  480. background-color: rgba(255, 255, 255, 0.95);
  481. border: 1px solid #ddd;
  482. color: #333;
  483. z-index: 10;
  484. }
  485. .list.list-collapsed .list-header .js-collapse {
  486. margin: 0 auto 20px auto;
  487. }
  488. }
  489. @media (min-width: 1200px) {
  490. .list.list-collapsed {
  491. min-height: 60vh;
  492. height: 60vh;
  493. }
  494. .list.list-collapsed .list-header {
  495. min-height: 2.5vh !important;
  496. height: auto !important;
  497. }
  498. .list.list-collapsed .list-header .list-rotated {
  499. width: auto !important;
  500. height: auto !important;
  501. margin: 20px 0 0 0 !important;
  502. position: relative !important;
  503. }
  504. .list.list-collapsed .list-header .list-rotated h2.list-header-name {
  505. width: 15vh;
  506. font-size: 12px;
  507. height: 30px;
  508. line-height: 1.2;
  509. padding: 8px 4px;
  510. margin: 0 auto;
  511. position: absolute;
  512. left: 50%;
  513. top: 50%;
  514. transform: translate(calc(-50% + 50px), -50%) rotate(0deg);
  515. text-align: left;
  516. visibility: visible !important;
  517. opacity: 1 !important;
  518. display: block !important;
  519. background-color: rgba(255, 255, 255, 0.95);
  520. border: 1px solid #ddd;
  521. color: #333;
  522. z-index: 10;
  523. }
  524. .list.list-collapsed .list-header .js-collapse {
  525. margin: 0 auto 20px auto;
  526. }
  527. }
  528. .list-header .list-header-collapse {
  529. color: #a6a6a6;
  530. margin-right: 15px;
  531. }
  532. .list-header .highlight {
  533. color: #ce1414;
  534. }
  535. .list-header .cardCount {
  536. color: #8c8c8c;
  537. font-size: 12px;
  538. font-weight: bold;
  539. }
  540. .list-header .list-header-plus-top,
  541. .js-open-list-menu,
  542. .list-header-menu a {
  543. color: #4d4d4d;
  544. padding-left: 4px;
  545. }
  546. .js-open-list-menu {
  547. font-size: 18px;
  548. }
  549. .list-body {
  550. flex: 1 1 auto;
  551. flex-direction: column;
  552. display: flex;
  553. overflow-y: auto;
  554. padding: 5px 11px;
  555. }
  556. .list-body .minicards {
  557. flex-grow: 1;
  558. flex-shrink: 0;
  559. /** get card drag/drop working for empty swimlanes */
  560. min-height: 32px;
  561. }
  562. .list-body .minicards form {
  563. margin-bottom: 9px;
  564. }
  565. .list-body .minicards .add-controls button {
  566. min-height: 50px;
  567. }
  568. .list-body .open-minicard-composer {
  569. border-radius: 2px;
  570. color: #8c8c8c;
  571. display: block;
  572. padding: 7px 10px;
  573. position: relative;
  574. text-decoration: none;
  575. animation: fadeIn 0.3s;
  576. }
  577. @media print {
  578. .list-body .open-minicard-composer {
  579. display: none;
  580. }
  581. }
  582. .list-body .open-minicard-composer i.fa {
  583. margin-right: 7px;
  584. }
  585. .list-body .open-minicard-composer:hover {
  586. background: #fafafa;
  587. color: #222;
  588. box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  589. }
  590. #js-wip-limit-edit {
  591. padding-top: 2%;
  592. }
  593. #js-wip-limit-edit p {
  594. margin-bottom: 0;
  595. }
  596. #js-wip-limit-edit input {
  597. display: inline-block;
  598. }
  599. #js-wip-limit-edit .wip-limit-value {
  600. width: 20%;
  601. margin-right: 5%;
  602. }
  603. #js-wip-limit-edit .wip-limit-error {
  604. display: none;
  605. }
  606. #js-wip-limit-edit .soft-wip-limit {
  607. margin-right: 8px;
  608. }
  609. #js-wip-limit-edit div {
  610. float: left;
  611. }
  612. #js-list-width-edit .list-width-error {
  613. display: none;
  614. }
  615. /* Mobile view styles - applied when isMiniScreen is true (iPhone, etc.) */
  616. .mini-list.mobile-view {
  617. flex: 0 0 60px;
  618. height: auto;
  619. width: 100%;
  620. min-width: 100%;
  621. border-left: 0px !important;
  622. border-bottom: 1px solid #ccc;
  623. }
  624. .list.mobile-view {
  625. display: contents;
  626. flex-basis: auto;
  627. width: 100%;
  628. min-width: 100%;
  629. border-left: 0px !important;
  630. }
  631. .list.mobile-view:first-child {
  632. margin-left: 0px;
  633. }
  634. .list.mobile-view.ui-sortable-helper {
  635. flex: 0 0 60px;
  636. height: 60px;
  637. width: 100%;
  638. border-left: 0px !important;
  639. border-bottom: 1px solid #ccc;
  640. }
  641. .list.mobile-view.ui-sortable-helper .list-header.ui-sortable-handle {
  642. cursor: grabbing;
  643. }
  644. .list.mobile-view.placeholder {
  645. flex: 0 0 60px;
  646. height: 60px;
  647. width: 100%;
  648. border-left: 0px !important;
  649. border-bottom: 1px solid #ccc;
  650. }
  651. .list.mobile-view .list-body {
  652. padding: 15px 19px;
  653. width: 100%;
  654. min-width: 100%;
  655. }
  656. .list.mobile-view .list-header {
  657. /*Updated padding values for mobile devices, this should fix text grouping issue*/
  658. padding: 20px 0px 20px 0px;
  659. border-bottom: 0px solid #e4e4e4;
  660. min-height: 30px;
  661. margin-top: 10px;
  662. align-items: center;
  663. width: 100%;
  664. min-width: 100%;
  665. /* Force grid layout for iPhone */
  666. display: grid !important;
  667. grid-template-columns: 30px 1fr auto auto !important;
  668. gap: 10px !important;
  669. }
  670. .list.mobile-view .list-header .list-header-left-icon {
  671. padding: 7px;
  672. padding-right: 27px;
  673. margin-top: 1px;
  674. top: -7px;
  675. left: -7px;
  676. }
  677. .list.mobile-view .list-header .list-header-menu-icon {
  678. padding: 14px;
  679. font-size: 40px !important;
  680. text-align: center;
  681. /* Force positioning for iPhone */
  682. position: absolute !important;
  683. right: 60px !important;
  684. top: 50% !important;
  685. transform: translateY(-50%) !important;
  686. z-index: 10;
  687. }
  688. .list.mobile-view .list-header .list-header-handle {
  689. padding: 14px;
  690. font-size: 48px !important;
  691. text-align: center;
  692. /* Force positioning for iPhone */
  693. position: absolute !important;
  694. right: 10px !important;
  695. top: 50% !important;
  696. transform: translateY(-50%) !important;
  697. z-index: 10;
  698. }
  699. .list.mobile-view .list-header .list-header-left-icon {
  700. display: grid;
  701. grid-row: 1/3;
  702. grid-column: 1;
  703. }
  704. .list.mobile-view .list-header .list-header-name {
  705. grid-row: 1;
  706. grid-column: 2;
  707. align-self: end;
  708. font-size: 20px !important;
  709. font-weight: bold;
  710. line-height: 1.2;
  711. padding-bottom: 2px;
  712. }
  713. .list.mobile-view .list-header .cardCount {
  714. grid-row: 2;
  715. grid-column: 2;
  716. align-self: start;
  717. font-size: 16px !important;
  718. line-height: 1.2;
  719. }
  720. .list.mobile-view .list-header .list-header-menu {
  721. grid-row: 1/3;
  722. grid-column: 3;
  723. }
  724. .list.mobile-view .list-header .list-header-menu-icon {
  725. grid-row: 1/3;
  726. grid-column: 3;
  727. }
  728. .list.mobile-view .list-header .list-header-handle {
  729. grid-row: 1/3;
  730. grid-column: 4;
  731. }
  732. .list.mobile-view .list-header .inlined-form {
  733. grid-row: 1/3;
  734. grid-column: 1/4;
  735. }
  736. .list.mobile-view .list-header .edit-controls {
  737. align-items: initial;
  738. }
  739. @media screen and (max-width: 800px),
  740. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  741. .mini-list {
  742. flex: 0 0 60px;
  743. height: auto;
  744. width: 100%;
  745. min-width: 100%;
  746. border-left: 0px !important;
  747. border-bottom: 1px solid #ccc;
  748. }
  749. .list {
  750. display: contents;
  751. flex-basis: auto;
  752. width: 100%;
  753. min-width: 100%;
  754. border-left: 0px !important;
  755. }
  756. .list:first-child {
  757. margin-left: 0px;
  758. }
  759. .list.ui-sortable-helper {
  760. flex: 0 0 60px;
  761. height: 60px;
  762. width: 100%;
  763. border-left: 0px !important;
  764. border-bottom: 1px solid #ccc;
  765. }
  766. .list.ui-sortable-helper .list-header.ui-sortable-handle {
  767. cursor: grabbing;
  768. }
  769. .list.placeholder {
  770. flex: 0 0 60px;
  771. height: 60px;
  772. width: 100%;
  773. border-left: 0px !important;
  774. border-bottom: 1px solid #ccc;
  775. }
  776. .list-body {
  777. padding: 15px 19px;
  778. width: 100%;
  779. min-width: 100%;
  780. }
  781. .list-header {
  782. /*Updated padding values for mobile devices, this should fix text grouping issue*/
  783. padding: 20px 0px 20px 0px;
  784. border-bottom: 0px solid #e4e4e4;
  785. min-height: 30px;
  786. margin-top: 10px;
  787. align-items: center;
  788. width: 100%;
  789. min-width: 100%;
  790. }
  791. .list-header .list-header-left-icon {
  792. padding: 7px;
  793. padding-right: 27px;
  794. margin-top: 1px;
  795. top: -7px;
  796. left: -7px;
  797. }
  798. .list-header .list-header-menu-icon {
  799. padding: 14px;
  800. font-size: 40px;
  801. text-align: center;
  802. /* iOS Safari fallback positioning */
  803. position: absolute;
  804. right: 60px;
  805. top: 50%;
  806. transform: translateY(-50%);
  807. }
  808. .list-header .list-header-handle {
  809. padding: 14px;
  810. font-size: 48px;
  811. text-align: center;
  812. /* iOS Safari fallback positioning */
  813. position: absolute;
  814. right: 10px;
  815. top: 50%;
  816. transform: translateY(-50%);
  817. }
  818. .list-header {
  819. display: grid;
  820. grid-template-columns: 30px 1fr auto auto;
  821. gap: 10px;
  822. }
  823. .list-header .list-header-left-icon {
  824. display: grid;
  825. grid-row: 1/3;
  826. grid-column: 1;
  827. }
  828. .list-header .list-header-name {
  829. grid-row: 1;
  830. grid-column: 2;
  831. align-self: end;
  832. font-size: 20px;
  833. font-weight: bold;
  834. line-height: 1.2;
  835. padding-bottom: 2px;
  836. }
  837. .list-header .cardCount {
  838. grid-row: 2;
  839. grid-column: 2;
  840. align-self: start;
  841. font-size: 16px;
  842. line-height: 1.2;
  843. }
  844. .list-header .list-header-menu {
  845. grid-row: 1/3;
  846. grid-column: 3;
  847. }
  848. .list-header .list-header-menu-icon {
  849. grid-row: 1/3;
  850. grid-column: 3;
  851. }
  852. .list-header .list-header-handle {
  853. grid-row: 1/3;
  854. grid-column: 4;
  855. }
  856. .list-header .inlined-form {
  857. grid-row: 1/3;
  858. grid-column: 1/4;
  859. }
  860. .list-header .edit-controls {
  861. align-items: initial;
  862. }
  863. }
  864. /* iPhone 12 Mini specific - fix icon positioning in stacked lists view */
  865. @media screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
  866. screen and (max-width: 375px) and (max-height: 812px), /* iPhone 12 Mini viewport */
  867. screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 375px) /* iPhone 12 Mini Retina */ {
  868. .list.mobile-view .list-header {
  869. /* Force grid layout for iPhone 12 Mini */
  870. display: grid !important;
  871. grid-template-columns: 30px 1fr auto auto !important;
  872. gap: 10px !important;
  873. align-items: center !important;
  874. }
  875. .list.mobile-view .list-header .list-header-menu-icon {
  876. /* Remove absolute positioning for iPhone 12 Mini */
  877. position: static !important;
  878. right: auto !important;
  879. top: auto !important;
  880. transform: none !important;
  881. /* Use grid positioning */
  882. grid-row: 1/3 !important;
  883. grid-column: 3 !important;
  884. padding: 14px !important;
  885. font-size: 40px !important;
  886. text-align: center !important;
  887. }
  888. .list.mobile-view .list-header .list-header-handle {
  889. /* Remove absolute positioning for iPhone 12 Mini */
  890. position: static !important;
  891. right: auto !important;
  892. top: auto !important;
  893. transform: none !important;
  894. /* Use grid positioning */
  895. grid-row: 1/3 !important;
  896. grid-column: 4 !important;
  897. padding: 14px !important;
  898. font-size: 48px !important;
  899. text-align: center !important;
  900. }
  901. .list.mobile-view .list-header .list-header-name {
  902. grid-row: 1 !important;
  903. grid-column: 2 !important;
  904. align-self: end !important;
  905. font-size: 20px !important;
  906. font-weight: bold !important;
  907. line-height: 1.2 !important;
  908. padding-bottom: 2px !important;
  909. }
  910. .list.mobile-view .list-header .cardCount {
  911. grid-row: 2 !important;
  912. grid-column: 2 !important;
  913. align-self: start !important;
  914. font-size: 16px !important;
  915. line-height: 1.2 !important;
  916. }
  917. .list.mobile-view .list-header .list-header-left-icon {
  918. display: grid !important;
  919. grid-row: 1/3 !important;
  920. grid-column: 1 !important;
  921. }
  922. }
  923. /* iPhone device JavaScript detection fallback - fix icon positioning */
  924. .iphone-device .list.mobile-view .list-header {
  925. /* Force grid layout for iPhone devices */
  926. display: grid !important;
  927. grid-template-columns: 30px 1fr auto auto !important;
  928. gap: 10px !important;
  929. align-items: center !important;
  930. }
  931. .iphone-device .list.mobile-view .list-header .list-header-menu-icon {
  932. /* Remove absolute positioning for iPhone devices */
  933. position: static !important;
  934. right: auto !important;
  935. top: auto !important;
  936. transform: none !important;
  937. /* Use grid positioning */
  938. grid-row: 1/3 !important;
  939. grid-column: 3 !important;
  940. padding: 14px !important;
  941. font-size: 40px !important;
  942. text-align: center !important;
  943. }
  944. .iphone-device .list.mobile-view .list-header .list-header-handle {
  945. /* Remove absolute positioning for iPhone devices */
  946. position: static !important;
  947. right: auto !important;
  948. top: auto !important;
  949. transform: none !important;
  950. /* Use grid positioning */
  951. grid-row: 1/3 !important;
  952. grid-column: 4 !important;
  953. padding: 14px !important;
  954. font-size: 48px !important;
  955. text-align: center !important;
  956. }
  957. .iphone-device .list.mobile-view .list-header .list-header-name {
  958. grid-row: 1 !important;
  959. grid-column: 2 !important;
  960. align-self: end !important;
  961. font-size: 20px !important;
  962. font-weight: bold !important;
  963. line-height: 1.2 !important;
  964. padding-bottom: 2px !important;
  965. }
  966. .iphone-device .list.mobile-view .list-header .cardCount {
  967. grid-row: 2 !important;
  968. grid-column: 2 !important;
  969. align-self: start !important;
  970. font-size: 16px !important;
  971. line-height: 1.2 !important;
  972. }
  973. .iphone-device .list.mobile-view .list-header .list-header-left-icon {
  974. display: grid !important;
  975. grid-row: 1/3 !important;
  976. grid-column: 1 !important;
  977. }
  978. .link-board-wrapper {
  979. display: flex;
  980. align-items: baseline;
  981. }
  982. .link-board-wrapper .js-link-board {
  983. margin-left: 15px;
  984. }
  985. .search-card-results {
  986. max-height: 250px;
  987. overflow: hidden;
  988. }
  989. .sk-spinner-list {
  990. margin-top: unset !important;
  991. }
  992. .list-header-white {
  993. border-bottom: 6px solid #fff;
  994. }
  995. .list-header-green {
  996. border-bottom: 6px solid #3cb500;
  997. }
  998. .list-header-yellow {
  999. border-bottom: 6px solid #fad900;
  1000. }
  1001. .list-header-orange {
  1002. border-bottom: 6px solid #ff9f19;
  1003. }
  1004. .list-header-red {
  1005. border-bottom: 6px solid #eb4646;
  1006. }
  1007. .list-header-purple {
  1008. border-bottom: 6px solid #a632db;
  1009. }
  1010. .list-header-blue {
  1011. border-bottom: 6px solid #0079bf;
  1012. }
  1013. .list-header-pink {
  1014. border-bottom: 6px solid #ff78cb;
  1015. }
  1016. .list-header-sky {
  1017. border-bottom: 6px solid #00c2e0;
  1018. }
  1019. .list-header-black {
  1020. border-bottom: 6px solid #4d4d4d;
  1021. }
  1022. .list-header-lime {
  1023. border-bottom: 6px solid #51e898;
  1024. }
  1025. .list-header-silver {
  1026. border-bottom: 6px solid #e4e4e4;
  1027. }
  1028. .list-header-peachpuff {
  1029. border-bottom: 6px solid #ffdab9;
  1030. }
  1031. .list-header-crimson {
  1032. border-bottom: 6px solid #dc143c;
  1033. }
  1034. .list-header-plum {
  1035. border-bottom: 6px solid #dda0dd;
  1036. }
  1037. .list-header-darkgreen {
  1038. border-bottom: 6px solid #006400;
  1039. }
  1040. .list-header-slateblue {
  1041. border-bottom: 6px solid #6a5acd;
  1042. }
  1043. .list-header-magenta {
  1044. border-bottom: 6px solid #f0f;
  1045. }
  1046. .list-header-gold {
  1047. border-bottom: 6px solid #ffd700;
  1048. }
  1049. .list-header-navy {
  1050. border-bottom: 6px solid #000080;
  1051. }
  1052. .list-header-gray {
  1053. border-bottom: 6px solid #808080;
  1054. }
  1055. .list-header-saddlebrown {
  1056. border-bottom: 6px solid #8b4513;
  1057. }
  1058. .list-header-paleturquoise {
  1059. border-bottom: 6px solid #afeeee;
  1060. }
  1061. .list-header-mistyrose {
  1062. border-bottom: 6px solid #ffe4e1;
  1063. }
  1064. .list-header-indigo {
  1065. border-bottom: 6px solid #4b0082;
  1066. }