list.css 7.3 KB

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