list.css 7.9 KB

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