list.css 7.2 KB

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