list.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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. /* min-width: 100px; TODO(mark-i-m): hardcoded? */
  11. /*max-width: 270px;*/
  12. /* Reverted incomplete change list width: */
  13. /* https://github.com/wekan/wekan/issues/4558 */
  14. /* Orinal width: 270px. Changes not saved yet: */
  15. /*resize: both; - List width and height resizeable */
  16. /* overflow: auto; - List width and height resizeable */
  17. }
  18. [id^="swimlane-"] .list:first-child {
  19. min-width: 20px;
  20. }
  21. .list:first-child {
  22. margin-left: 5px;
  23. border-left: none;
  24. }
  25. .card-details + .list {
  26. border-left: none;
  27. }
  28. .list.ui-sortable-helper {
  29. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  30. transform: rotate(4deg);
  31. cursor: grabbing;
  32. }
  33. .list.ui-sortable-helper .list-header.ui-sortable-handle {
  34. cursor: grabbing;
  35. }
  36. .list.placeholder {
  37. background-color: rgba(0,0,0,0.2);
  38. border-color: transparent;
  39. box-shadow: none;
  40. height: 100px;
  41. }
  42. .list.list-composer .open-list-composer,
  43. .list .list-composer .open-list-composer {
  44. color: #8c8c8c;
  45. }
  46. .list.list-composer .list-name-input,
  47. .list .list-composer .list-name-input {
  48. background: #fff;
  49. margin: -3px 0 8px;
  50. }
  51. .list-header-add {
  52. flex: 0 0 auto;
  53. padding: 20px 12px 4px;
  54. position: relative;
  55. min-height: 20px;
  56. }
  57. .list-header {
  58. flex: 0 0 auto;
  59. padding: 20px 12px 4px;
  60. position: relative;
  61. min-height: 20px;
  62. background-color: #e4e4e4;
  63. border-bottom: 6px solid #e4e4e4;
  64. }
  65. .list-header.list-header-card-count {
  66. min-height: 35px;
  67. height: auto;
  68. }
  69. .list-header.ui-sortable-handle {
  70. cursor: grab;
  71. }
  72. .list-header .list-header-left-icon {
  73. display: none;
  74. }
  75. .list-header .list-header-name {
  76. display: inline;
  77. font-size: 16px;
  78. line-height: 17px;
  79. margin: 0;
  80. font-weight: bold;
  81. min-height: 9px;
  82. min-width: 30px;
  83. overflow: hidden;
  84. text-overflow: ellipsis;
  85. word-wrap: break-word;
  86. }
  87. .list-rotated {
  88. width: 10px;
  89. height: 250px;
  90. margin-top: -90px;
  91. margin-left: -110px;
  92. margin-right: 0;
  93. transform: rotate(90deg);
  94. position: relative;
  95. text-overflow: ellipsis;
  96. white-space: nowrap;
  97. }
  98. .list-header .list-rotated {
  99. }
  100. .list-header .list-header-watch-icon {
  101. padding-left: 10px;
  102. color: #a6a6a6;
  103. }
  104. .list-header .list-header-menu {
  105. float: right;
  106. }
  107. @media print {
  108. .list-header .list-header-menu,
  109. .list-header .list-header-menu-icon {
  110. display: none;
  111. }
  112. }
  113. .list-header .list-header-plus-top {
  114. color: #a6a6a6;
  115. margin-right: 15px;
  116. }
  117. .list-header .list-header-collapse-right {
  118. color: #a6a6a6;
  119. }
  120. .list-header .list-header-collapse-left {
  121. color: #a6a6a6;
  122. margin-right: 15px;
  123. }
  124. .list-header .list-header-uncollapse-left {
  125. color: #a6a6a6;
  126. }
  127. .list-header .list-header-uncollapse-right {
  128. color: #a6a6a6;
  129. }
  130. .list-header .list-header-collapse {
  131. color: #a6a6a6;
  132. margin-right: 15px;
  133. }
  134. .list-header .highlight {
  135. color: #ce1414;
  136. }
  137. .list-header .cardCount {
  138. color: #8c8c8c;
  139. font-size: 12px;
  140. font-weight: bold;
  141. }
  142. .list-header .list-header-plus-top,
  143. .js-open-list-menu,
  144. .list-header-menu a {
  145. color: #4d4d4d;
  146. padding-left: 4px;
  147. }
  148. .js-open-list-menu {
  149. font-size: 18px;
  150. }
  151. .list-body {
  152. flex: 1 1 auto;
  153. flex-direction: column;
  154. display: flex;
  155. overflow-y: auto;
  156. padding: 5px 11px;
  157. }
  158. .list-body .minicards {
  159. flex-grow: 1;
  160. flex-shrink: 0;
  161. /** get card drag/drop working for empty swimlanes */
  162. min-height: 32px;
  163. }
  164. .list-body .minicards form {
  165. margin-bottom: 9px;
  166. }
  167. .list-body .minicards .add-controls button {
  168. min-height: 50px;
  169. }
  170. .list-body .open-minicard-composer {
  171. border-radius: 2px;
  172. color: #8c8c8c;
  173. display: block;
  174. padding: 7px 10px;
  175. position: relative;
  176. text-decoration: none;
  177. animation: fadeIn 0.3s;
  178. }
  179. @media print {
  180. .list-body .open-minicard-composer {
  181. display: none;
  182. }
  183. }
  184. .list-body .open-minicard-composer i.fa {
  185. margin-right: 7px;
  186. }
  187. .list-body .open-minicard-composer:hover {
  188. background: #fafafa;
  189. color: #222;
  190. box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  191. }
  192. #js-wip-limit-edit {
  193. padding-top: 2%;
  194. }
  195. #js-wip-limit-edit p {
  196. margin-bottom: 0;
  197. }
  198. #js-wip-limit-edit input {
  199. display: inline-block;
  200. }
  201. #js-wip-limit-edit .wip-limit-value {
  202. width: 20%;
  203. margin-right: 5%;
  204. }
  205. #js-wip-limit-edit .wip-limit-error {
  206. display: none;
  207. }
  208. #js-wip-limit-edit .soft-wip-limit {
  209. margin-right: 8px;
  210. }
  211. #js-wip-limit-edit div {
  212. float: left;
  213. }
  214. #js-list-width-edit .list-width-error {
  215. display: none;
  216. }
  217. @media screen and (max-width: 800px) {
  218. .mini-list {
  219. flex: 0 0 60px;
  220. height: auto;
  221. width: 100%;
  222. border-left: 0px;
  223. border-bottom: 1px solid #ccc;
  224. }
  225. .list {
  226. display: contents;
  227. flex-basis: auto;
  228. width: 100%;
  229. border-left: 0px;
  230. }
  231. .list:first-child {
  232. margin-left: 0px;
  233. }
  234. .list.ui-sortable-helper {
  235. flex: 0 0 60px;
  236. height: 60px;
  237. width: 100%;
  238. border-left: 0px;
  239. border-bottom: 1px solid #ccc;
  240. }
  241. .list.ui-sortable-helper .list-header.ui-sortable-handle {
  242. cursor: grabbing;
  243. }
  244. .list.placeholder {
  245. flex: 0 0 60px;
  246. height: 60px;
  247. width: 100%;
  248. border-left: 0px;
  249. border-bottom: 1px solid #ccc;
  250. }
  251. .list-body {
  252. padding: 15px 19px;
  253. }
  254. .list-header {
  255. padding: 0 12px 0px;
  256. border-bottom: 0px solid #e4e4e4;
  257. height: 60px;
  258. margin-top: 10px;
  259. display: flex;
  260. align-items: center;
  261. }
  262. .list-header .list-header-left-icon {
  263. padding: 7px;
  264. padding-right: 27px;
  265. margin-top: 1px;
  266. top: -7px;
  267. left: -7px;
  268. }
  269. .list-header .list-header-menu-icon {
  270. position: absolute;
  271. padding: 7px;
  272. top: 50%;
  273. transform: translateY(-50%);
  274. right: 47px;
  275. font-size: 20px;
  276. }
  277. .list-header .list-header-handle {
  278. position: absolute;
  279. padding: 7px;
  280. top: 50%;
  281. transform: translateY(-50%);
  282. right: 10px;
  283. font-size: 24px;
  284. }
  285. .list-header {
  286. display: grid;
  287. grid-template-columns: 30px 5fr 1fr;
  288. }
  289. .list-header .list-header-left-icon {
  290. display: grid;
  291. grid-row: 1/3;
  292. grid-column: 1;
  293. }
  294. .list-header .list-header-name {
  295. grid-row: 1;
  296. grid-column: 2;
  297. align-self: end;
  298. }
  299. .list-header .cardCount {
  300. grid-row: 2;
  301. grid-column: 2;
  302. align-self: start;
  303. }
  304. .list-header .list-header-menu {
  305. grid-row: 1/3;
  306. grid-column: 3;
  307. }
  308. .list-header .inlined-form {
  309. grid-row: 1/3;
  310. grid-column: 1/4;
  311. }
  312. .list-header .edit-controls {
  313. align-items: initial;
  314. }
  315. }
  316. .link-board-wrapper {
  317. display: flex;
  318. align-items: baseline;
  319. }
  320. .link-board-wrapper .js-link-board {
  321. margin-left: 15px;
  322. }
  323. .search-card-results {
  324. max-height: 250px;
  325. overflow: hidden;
  326. }
  327. .sk-spinner-list {
  328. margin-top: unset !important;
  329. }
  330. .list-header-white {
  331. border-bottom: 6px solid #fff;
  332. }
  333. .list-header-green {
  334. border-bottom: 6px solid #3cb500;
  335. }
  336. .list-header-yellow {
  337. border-bottom: 6px solid #fad900;
  338. }
  339. .list-header-orange {
  340. border-bottom: 6px solid #ff9f19;
  341. }
  342. .list-header-red {
  343. border-bottom: 6px solid #eb4646;
  344. }
  345. .list-header-purple {
  346. border-bottom: 6px solid #a632db;
  347. }
  348. .list-header-blue {
  349. border-bottom: 6px solid #0079bf;
  350. }
  351. .list-header-pink {
  352. border-bottom: 6px solid #ff78cb;
  353. }
  354. .list-header-sky {
  355. border-bottom: 6px solid #00c2e0;
  356. }
  357. .list-header-black {
  358. border-bottom: 6px solid #4d4d4d;
  359. }
  360. .list-header-lime {
  361. border-bottom: 6px solid #51e898;
  362. }
  363. .list-header-silver {
  364. border-bottom: 6px solid #e4e4e4;
  365. }
  366. .list-header-peachpuff {
  367. border-bottom: 6px solid #ffdab9;
  368. }
  369. .list-header-crimson {
  370. border-bottom: 6px solid #dc143c;
  371. }
  372. .list-header-plum {
  373. border-bottom: 6px solid #dda0dd;
  374. }
  375. .list-header-darkgreen {
  376. border-bottom: 6px solid #006400;
  377. }
  378. .list-header-slateblue {
  379. border-bottom: 6px solid #6a5acd;
  380. }
  381. .list-header-magenta {
  382. border-bottom: 6px solid #f0f;
  383. }
  384. .list-header-gold {
  385. border-bottom: 6px solid #ffd700;
  386. }
  387. .list-header-navy {
  388. border-bottom: 6px solid #000080;
  389. }
  390. .list-header-gray {
  391. border-bottom: 6px solid #808080;
  392. }
  393. .list-header-saddlebrown {
  394. border-bottom: 6px solid #8b4513;
  395. }
  396. .list-header-paleturquoise {
  397. border-bottom: 6px solid #afeeee;
  398. }
  399. .list-header-mistyrose {
  400. border-bottom: 6px solid #ffe4e1;
  401. }
  402. .list-header-indigo {
  403. border-bottom: 6px solid #4b0082;
  404. }