list.styl 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. @import 'nib'
  2. .list
  3. box-sizing: border-box
  4. display: flex
  5. flex-direction: column
  6. flex: 0 0 270px
  7. position: relative
  8. // Even if this background color is the same as the body we can't leave it
  9. // transparent, because that won't work during a list drag.
  10. background: darken(white, 13%)
  11. border-left: 1px solid darken(white, 20%)
  12. padding: 0
  13. float: left
  14. &:first-child
  15. margin-left: 5px
  16. border-left: none
  17. .card-details + &
  18. border-left: none
  19. &.ui-sortable-helper
  20. box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
  21. 0 0 1px rgba(0, 0, 0, .5)
  22. transform: rotate(4deg)
  23. cursor: grabbing
  24. .list-header.ui-sortable-handle
  25. cursor: grabbing
  26. &.placeholder
  27. background-color: rgba(0, 0, 0, .2)
  28. border-color: transparent
  29. box-shadow: none
  30. height: 100px
  31. &.list-composer, & .list-composer
  32. .open-list-composer
  33. color: #8c8c8c
  34. .list-name-input
  35. background: white
  36. margin: -3px 0 8px
  37. .list-header-add
  38. flex: 0 0 auto
  39. padding: 20px 12px 4px
  40. position: relative
  41. min-height: 20px
  42. .list-header
  43. flex: 0 0 auto
  44. padding: 20px 12px 4px
  45. position: relative
  46. min-height: 20px
  47. background-color: #e4e4e4;
  48. border-bottom: 6px solid #e4e4e4;
  49. &.list-header-card-count
  50. min-height: 35px
  51. height: auto
  52. &.ui-sortable-handle
  53. cursor: grab
  54. .list-header-left-icon
  55. display: none
  56. .list-header-name
  57. display: inline
  58. font-size: 16px
  59. line-height: 17px
  60. margin: 0
  61. font-weight: bold
  62. min-height: 9px
  63. min-width: 30px
  64. overflow: hidden
  65. text-overflow: ellipsis
  66. word-wrap: break-word
  67. .list-header-watch-icon
  68. padding-left: 10px
  69. color: #a6a6a6
  70. .list-header-menu
  71. position: absolute
  72. padding: 27px 19px
  73. margin-top: 1px
  74. top: -7px
  75. right: 3px
  76. .list-header-plus-icon
  77. color: #a6a6a6
  78. margin-right: 15px
  79. .highlight
  80. color: #ce1414
  81. .cardCount
  82. color: #8c8c8c
  83. font-size: 0.8em
  84. .list-header .list-header-plus-icon, .js-open-list-menu, .list-header-menu a
  85. color #4d4d4d
  86. padding-left 4px
  87. .list-body
  88. flex: 1 1 auto
  89. flex-direction: column
  90. display: flex
  91. overflow-y: auto
  92. padding: 5px 11px
  93. .minicards
  94. flex-grow: 1
  95. flex-shrink: 0
  96. form
  97. margin-bottom: 9px
  98. .ps-scrollbar-y-rail
  99. transform: translateX(2px)
  100. .open-minicard-composer
  101. border-radius: 2px
  102. color: #8c8c8c
  103. display: block
  104. padding: 7px 10px
  105. position: relative
  106. text-decoration: none
  107. animation: fadeIn 0.3s
  108. i.fa
  109. margin-right: 7px
  110. &:hover
  111. background: #fafafa
  112. color: #222
  113. box-shadow: 0 1px 2px rgba(0,0,0,.2)
  114. #js-wip-limit-edit
  115. padding-top: 2%
  116. p
  117. margin-bottom: 0
  118. input
  119. display: inline-block
  120. .wip-limit-value
  121. width: 20%
  122. margin-right: 5%
  123. .wip-limit-error
  124. display: none
  125. .soft-wip-limit
  126. margin-right: 8px
  127. div
  128. float: left
  129. @media screen and (max-width: 800px)
  130. .list-header-menu
  131. position: absolute
  132. padding: 27px 19px
  133. margin-top: 1px
  134. top: -7px
  135. margin-right: 7px
  136. right: -3px
  137. .list-header
  138. .list-header-name
  139. margin-left: 1.4rem
  140. .mini-list
  141. flex: 0 0 60px
  142. height: auto
  143. width: 100%
  144. border-left: 0px
  145. border-bottom: 1px solid darken(white, 20%)
  146. .list
  147. display: block
  148. width: 100%
  149. border-left: 0px
  150. &:first-child
  151. margin-left: 0px
  152. &.ui-sortable-helper
  153. flex: 0 0 60px
  154. height: 60px
  155. width: 100%
  156. border-left: 0px
  157. border-bottom: 1px solid darken(white, 20%)
  158. .list-header.ui-sortable-handle
  159. cursor: grabbing
  160. &.placeholder
  161. flex: 0 0 60px
  162. height: 60px
  163. width: 100%
  164. border-left: 0px
  165. border-bottom: 1px solid darken(white, 20%)
  166. .list-body
  167. padding: 15px 19px;
  168. .list-header
  169. padding: 0 12px 0px
  170. border-bottom: 0px solid #e4e4e4
  171. height: 60px
  172. margin-top: 10px
  173. display: flex
  174. align-items: center
  175. .list-header-left-icon
  176. display: inline
  177. padding: 7px
  178. padding-right: 27px
  179. margin-top: 1px
  180. top: -@padding
  181. left: -@padding
  182. .list-header-menu-icon
  183. position: absolute
  184. padding: 7px
  185. top: 50%
  186. transform: translateY(-50%)
  187. right: 47px
  188. font-size: 20px
  189. .list-header-handle
  190. position: absolute
  191. padding: 7px
  192. top: 50%
  193. transform: translateY(-50%)
  194. right: 10px
  195. font-size: 24px
  196. .link-board-wrapper
  197. display: flex
  198. align-items: baseline
  199. .js-link-board
  200. margin-left: 15px
  201. .search-card-results
  202. max-height: 250px
  203. overflow: hidden
  204. .sk-spinner-list
  205. margin-top: unset !important
  206. list-header-color(background, color...)
  207. border-bottom: 6px solid background
  208. .list-header-white
  209. list-header-color(#ffffff, #4d4d4d) //Black text for better visibility
  210. border: 1px solid #eee
  211. .list-header-green
  212. list-header-color(#3cb500, #ffffff) //White text for better visibility
  213. .list-header-yellow
  214. list-header-color(#fad900, #4d4d4d) //Black text for better visibility
  215. .list-header-orange
  216. list-header-color(#ff9f19, #4d4d4d) //Black text for better visibility
  217. .list-header-red
  218. list-header-color(#eb4646, #ffffff) //White text for better visibility
  219. .list-header-purple
  220. list-header-color(#a632db, #ffffff) //White text for better visibility
  221. .list-header-blue
  222. list-header-color(#0079bf, #ffffff) //White text for better visibility
  223. .list-header-pink
  224. list-header-color(#ff78cb, #4d4d4d) //Black text for better visibility
  225. .list-header-sky
  226. list-header-color(#00c2e0, #ffffff) //White text for better visibility
  227. .list-header-black
  228. list-header-color(#4d4d4d, #ffffff) //White text for better visibility
  229. .list-header-lime
  230. list-header-color(#51e898, #4d4d4d) //Black text for better visibility
  231. .list-header-silver
  232. list-header-color(unset, #4d4d4d) //Black text for better visibility
  233. .list-header-peachpuff
  234. list-header-color(#ffdab9, #4d4d4d) //Black text for better visibility
  235. .list-header-crimson
  236. list-header-color(#dc143c, #ffffff) //White text for better visibility
  237. .list-header-plum
  238. list-header-color(#dda0dd, #4d4d4d) //Black text for better visibility
  239. .list-header-darkgreen
  240. list-header-color(#006400, #ffffff) //White text for better visibility
  241. .list-header-slateblue
  242. list-header-color(#6a5acd, #ffffff) //White text for better visibility
  243. .list-header-magenta
  244. list-header-color(#ff00ff, #ffffff) //White text for better visibility
  245. .list-header-gold
  246. list-header-color(#ffd700, #4d4d4d) //Black text for better visibility
  247. .list-header-navy
  248. list-header-color(#000080, #ffffff) //White text for better visibility
  249. .list-header-gray
  250. list-header-color(#808080, #ffffff) //White text for better visibility
  251. .list-header-saddlebrown
  252. list-header-color(#8b4513, #ffffff) //White text for better visibility
  253. .list-header-paleturquoise
  254. list-header-color(#afeeee, #4d4d4d) //Black text for better visibility
  255. .list-header-mistyrose
  256. list-header-color(#ffe4e1, #4d4d4d) //Black text for better visibility
  257. .list-header-indigo
  258. list-header-color(#4b0082, #ffffff) //White text for better visibility