list.css 7.9 KB

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