list.css 7.4 KB

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