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