list.css 6.9 KB

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