list.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  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: 270px;
  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. @media screen and (max-width: 800px) {
  183. .mini-list {
  184. flex: 0 0 60px;
  185. height: auto;
  186. width: 100%;
  187. border-left: 0px;
  188. border-bottom: 1px solid #ccc;
  189. }
  190. .list {
  191. display: contents;
  192. flex-basis: auto;
  193. width: 100%;
  194. border-left: 0px;
  195. }
  196. .list:first-child {
  197. margin-left: 0px;
  198. }
  199. .list.ui-sortable-helper {
  200. flex: 0 0 60px;
  201. height: 60px;
  202. width: 100%;
  203. border-left: 0px;
  204. border-bottom: 1px solid #ccc;
  205. }
  206. .list.ui-sortable-helper .list-header.ui-sortable-handle {
  207. cursor: grabbing;
  208. }
  209. .list.placeholder {
  210. flex: 0 0 60px;
  211. height: 60px;
  212. width: 100%;
  213. border-left: 0px;
  214. border-bottom: 1px solid #ccc;
  215. }
  216. .list-body {
  217. padding: 15px 19px;
  218. }
  219. .list-header {
  220. padding: 0 12px 0px;
  221. border-bottom: 0px solid #e4e4e4;
  222. height: 60px;
  223. margin-top: 10px;
  224. display: flex;
  225. align-items: center;
  226. }
  227. .list-header .list-header-left-icon {
  228. padding: 7px;
  229. padding-right: 27px;
  230. margin-top: 1px;
  231. top: -7px;
  232. left: -7px;
  233. }
  234. .list-header .list-header-menu-icon {
  235. position: absolute;
  236. padding: 7px;
  237. top: 50%;
  238. transform: translateY(-50%);
  239. right: 47px;
  240. font-size: 20px;
  241. }
  242. .list-header .list-header-handle {
  243. position: absolute;
  244. padding: 7px;
  245. top: 50%;
  246. transform: translateY(-50%);
  247. right: 10px;
  248. font-size: 24px;
  249. }
  250. .list-header {
  251. display: grid;
  252. grid-template-columns: 30px 5fr 1fr;
  253. }
  254. .list-header .list-header-left-icon {
  255. display: grid;
  256. grid-row: 1/3;
  257. grid-column: 1;
  258. }
  259. .list-header .list-header-name {
  260. grid-row: 1;
  261. grid-column: 2;
  262. align-self: end;
  263. }
  264. .list-header .cardCount {
  265. grid-row: 2;
  266. grid-column: 2;
  267. align-self: start;
  268. }
  269. .list-header .list-header-menu {
  270. grid-row: 1/3;
  271. grid-column: 3;
  272. }
  273. .list-header .inlined-form {
  274. grid-row: 1/3;
  275. grid-column: 1/4;
  276. }
  277. .list-header .edit-controls {
  278. align-items: initial;
  279. }
  280. }
  281. .link-board-wrapper {
  282. display: flex;
  283. align-items: baseline;
  284. }
  285. .link-board-wrapper .js-link-board {
  286. margin-left: 15px;
  287. }
  288. .search-card-results {
  289. max-height: 250px;
  290. overflow: hidden;
  291. }
  292. .sk-spinner-list {
  293. margin-top: unset !important;
  294. }
  295. .list-header-white {
  296. border-bottom: 6px solid #fff;
  297. border: 1px solid #eee;
  298. }
  299. .list-header-green {
  300. border-bottom: 6px solid #3cb500;
  301. }
  302. .list-header-yellow {
  303. border-bottom: 6px solid #fad900;
  304. }
  305. .list-header-orange {
  306. border-bottom: 6px solid #ff9f19;
  307. }
  308. .list-header-red {
  309. border-bottom: 6px solid #eb4646;
  310. }
  311. .list-header-purple {
  312. border-bottom: 6px solid #a632db;
  313. }
  314. .list-header-blue {
  315. border-bottom: 6px solid #0079bf;
  316. }
  317. .list-header-pink {
  318. border-bottom: 6px solid #ff78cb;
  319. }
  320. .list-header-sky {
  321. border-bottom: 6px solid #00c2e0;
  322. }
  323. .list-header-black {
  324. border-bottom: 6px solid #4d4d4d;
  325. }
  326. .list-header-lime {
  327. border-bottom: 6px solid #51e898;
  328. }
  329. .list-header-silver {
  330. border-bottom: 6px solid unset;
  331. }
  332. .list-header-peachpuff {
  333. border-bottom: 6px solid #ffdab9;
  334. }
  335. .list-header-crimson {
  336. border-bottom: 6px solid #dc143c;
  337. }
  338. .list-header-plum {
  339. border-bottom: 6px solid #dda0dd;
  340. }
  341. .list-header-darkgreen {
  342. border-bottom: 6px solid #006400;
  343. }
  344. .list-header-slateblue {
  345. border-bottom: 6px solid #6a5acd;
  346. }
  347. .list-header-magenta {
  348. border-bottom: 6px solid #f0f;
  349. }
  350. .list-header-gold {
  351. border-bottom: 6px solid #ffd700;
  352. }
  353. .list-header-navy {
  354. border-bottom: 6px solid #000080;
  355. }
  356. .list-header-gray {
  357. border-bottom: 6px solid #808080;
  358. }
  359. .list-header-saddlebrown {
  360. border-bottom: 6px solid #8b4513;
  361. }
  362. .list-header-paleturquoise {
  363. border-bottom: 6px solid #afeeee;
  364. }
  365. .list-header-mistyrose {
  366. border-bottom: 6px solid #ffe4e1;
  367. }
  368. .list-header-indigo {
  369. border-bottom: 6px solid #4b0082;
  370. }