list.styl 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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-name
  46. display: inline
  47. font-size: 16px
  48. line-height: 17px
  49. margin: 0
  50. font-weight: bold
  51. min-height: 9px
  52. min-width: 30px
  53. overflow: hidden
  54. text-overflow: ellipsis
  55. word-wrap: break-word
  56. .list-header-watch-icon
  57. padding-left: 10px
  58. color: #a6a6a6
  59. .list-header-menu
  60. position: absolute
  61. padding: 7px
  62. margin-top: 1px
  63. top: -@padding
  64. right: -@padding
  65. .list-header-plus-icon
  66. color: #a6a6a6
  67. .highlight
  68. color: #ce1414
  69. .list-body
  70. flex: 1
  71. display: flex
  72. overflow-y: auto
  73. padding: 5px 11px
  74. .minicards
  75. flex: 1
  76. form
  77. margin-bottom: 9px
  78. .ps-scrollbar-y-rail
  79. transform: translateX(2px)
  80. .open-minicard-composer
  81. border-radius: 2px
  82. color: #8c8c8c
  83. display: block
  84. padding: 7px 10px
  85. position: relative
  86. text-decoration: none
  87. animation: fadeIn 0.3s
  88. i.fa
  89. margin-right: 7px
  90. &:hover
  91. background: #fafafa
  92. color: #222
  93. box-shadow: 0 1px 2px rgba(0,0,0,.2)
  94. #js-wip-limit-edit
  95. padding-top: 2%
  96. p
  97. margin-bottom: 0
  98. input
  99. display: inline-block
  100. .wip-limit-value
  101. width: 20%
  102. margin-right: 5%
  103. .wip-limit-error
  104. display: none
  105. .soft-wip-limit
  106. margin-right: 8px
  107. div
  108. float: left