list.styl 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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
  38. flex: 0 0 auto
  39. margin: 20px 12px 4px
  40. position: relative
  41. min-height: 20px
  42. &.ui-sortable-handle
  43. cursor: grab
  44. .list-header-left-icon
  45. display: none
  46. .list-header-name
  47. display: inline
  48. font-size: 16px
  49. line-height: 17px
  50. margin: 0
  51. font-weight: bold
  52. min-height: 9px
  53. min-width: 30px
  54. overflow: hidden
  55. text-overflow: ellipsis
  56. word-wrap: break-word
  57. .list-header-watch-icon
  58. padding-left: 10px
  59. color: #a6a6a6
  60. .list-header-menu
  61. position: absolute
  62. padding: 7px
  63. margin-top: 1px
  64. top: -@padding
  65. right: -@padding
  66. .list-header-plus-icon
  67. color: #a6a6a6
  68. margin-right: 10px
  69. .highlight
  70. color: #ce1414
  71. .list-body
  72. flex: 1
  73. flex-direction: column
  74. display: flex
  75. overflow-y: auto
  76. padding: 5px 11px
  77. .minicards
  78. flex-grow: 1
  79. flex-shrink: 0
  80. form
  81. margin-bottom: 9px
  82. .ps-scrollbar-y-rail
  83. transform: translateX(2px)
  84. .open-minicard-composer
  85. border-radius: 2px
  86. color: #8c8c8c
  87. display: block
  88. padding: 7px 10px
  89. position: relative
  90. text-decoration: none
  91. animation: fadeIn 0.3s
  92. i.fa
  93. margin-right: 7px
  94. &:hover
  95. background: #fafafa
  96. color: #222
  97. box-shadow: 0 1px 2px rgba(0,0,0,.2)
  98. #js-wip-limit-edit
  99. padding-top: 2%
  100. p
  101. margin-bottom: 0
  102. input
  103. display: inline-block
  104. .wip-limit-value
  105. width: 20%
  106. margin-right: 5%
  107. .wip-limit-error
  108. display: none
  109. .soft-wip-limit
  110. margin-right: 8px
  111. div
  112. float: left
  113. @media screen and (max-width: 800px)
  114. .mini-list
  115. flex: 0 0 60px
  116. height: 60px
  117. width: 100%
  118. border-left: 0px
  119. border-bottom: 1px solid darken(white, 20%)
  120. .list
  121. display: block
  122. width: 100%
  123. border-left: 0px
  124. &.ui-sortable-helper
  125. flex: 0 0 60px
  126. height: 60px
  127. width: 100%
  128. border-left: 0px
  129. border-bottom: 1px solid darken(white, 20%)
  130. .list-header.ui-sortable-handle
  131. cursor: grabbing
  132. &.placeholder
  133. flex: 0 0 60px
  134. height: 60px
  135. width: 100%
  136. border-left: 0px
  137. border-bottom: 1px solid darken(white, 20%)
  138. .list-header
  139. .list-header-left-icon
  140. display: inline
  141. padding: 7px
  142. padding-right: 27px
  143. margin-top: 1px
  144. top: -@padding
  145. left: -@padding
  146. .list-header-menu-icon
  147. position: absolute
  148. padding: 7px
  149. top: -@padding
  150. right: 17px