list.styl 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. height: 100%
  12. border-left: 1px solid darken(white, 20%)
  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
  74. display: flex
  75. overflow-y: auto
  76. padding: 5px 11px
  77. .minicards
  78. flex: 1
  79. form
  80. margin-bottom: 9px
  81. .ps-scrollbar-y-rail
  82. transform: translateX(2px)
  83. .open-minicard-composer
  84. border-radius: 2px
  85. color: #8c8c8c
  86. display: block
  87. padding: 7px 10px
  88. position: relative
  89. text-decoration: none
  90. animation: fadeIn 0.3s
  91. i.fa
  92. margin-right: 7px
  93. &:hover
  94. background: #fafafa
  95. color: #222
  96. box-shadow: 0 1px 2px rgba(0,0,0,.2)
  97. #js-wip-limit-edit
  98. padding-top: 2%
  99. p
  100. margin-bottom: 0
  101. input
  102. display: inline-block
  103. .wip-limit-value
  104. width: 20%
  105. margin-right: 5%
  106. .wip-limit-error
  107. display: none
  108. .soft-wip-limit
  109. margin-right: 8px
  110. div
  111. float: left
  112. @media screen and (max-width: 800px)
  113. .mini-list
  114. flex: 0 0 60px
  115. height: 60px
  116. width: 100%
  117. border-left: 0px
  118. border-bottom: 1px solid darken(white, 20%)
  119. .list
  120. display: block
  121. width: 100%
  122. border-left: 0px
  123. &.ui-sortable-helper
  124. flex: 0 0 60px
  125. height: 60px
  126. width: 100%
  127. border-left: 0px
  128. border-bottom: 1px solid darken(white, 20%)
  129. .list-header.ui-sortable-handle
  130. cursor: grabbing
  131. &.placeholder
  132. flex: 0 0 60px
  133. height: 60px
  134. width: 100%
  135. border-left: 0px
  136. border-bottom: 1px solid darken(white, 20%)
  137. .list-header
  138. .list-header-left-icon
  139. display: inline
  140. padding: 7px
  141. padding-right: 27px
  142. margin-top: 1px
  143. top: -@padding
  144. left: -@padding
  145. .list-header-menu-icon
  146. position: absolute
  147. padding: 7px
  148. top: -@padding
  149. right: 17px