list.styl 3.3 KB

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