main.styl 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. &:first-child
  15. margin-left: 5px
  16. border-left: none
  17. .card-details + &
  18. border-left: none
  19. &.ui-sortable-helper
  20. cursor: grabbing
  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. &.placeholder
  25. background-color: rgba(0, 0, 0, .2)
  26. border-color: transparent
  27. box-shadow: none
  28. height: 100px
  29. &.list-composer, & list-composer
  30. padding: 17px
  31. form
  32. margin-top: -5px
  33. .list-name-input
  34. background: rgba(255, 255, 255, .4)
  35. border-color: #aaa
  36. display: block
  37. margin: 0
  38. transition: margin 85ms ease-in,
  39. background 85ms ease-in
  40. width: 100%
  41. .edit-controls
  42. height: 32px
  43. transition: margin 85ms ease-in,
  44. height 85ms ease-in
  45. overflow: hidden
  46. margin: 4px 0 0
  47. .list-header
  48. flex: 0 0 auto
  49. margin: 20px 12px 4px
  50. position: relative
  51. min-height: 20px
  52. .list-header-name
  53. display: inline
  54. font-size: 16px
  55. line-height: 17px
  56. margin: 0
  57. font-weight: bold
  58. min-height: 9px
  59. min-width: 30px
  60. overflow: hidden
  61. text-overflow: ellipsis
  62. word-wrap: break-word
  63. .list-header-menu-icon
  64. position: absolute
  65. top: 0
  66. right: 0
  67. .list-body
  68. flex: 1
  69. display: flex
  70. overflow-y: auto
  71. padding: 5px 11px
  72. .minicards
  73. flex: 1
  74. form
  75. margin-bottom: 9px
  76. .ps-scrollbar-y-rail
  77. transform: translateX(2px)
  78. .open-minicard-composer
  79. border-radius: 2px
  80. color: #8c8c8c
  81. display: block
  82. padding: 7px 10px
  83. position: relative
  84. text-decoration: none
  85. animation: fadeIn 0.3s
  86. i.fa
  87. margin-right: 7px
  88. &:hover
  89. background: #fafafa
  90. color: #222
  91. box-shadow: 0 1px 2px rgba(0,0,0,.2)