list.styl 3.4 KB

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