boardBody.styl 806 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @import 'nib'
  2. position()
  3. if arguments[0] == cover
  4. position: absolute
  5. left: 0
  6. right: 0
  7. top: 0
  8. bottom: 0
  9. else
  10. position: arguments
  11. .board-wrapper
  12. position: cover
  13. .board-canvas
  14. position: cover
  15. transition: margin .1s
  16. &.is-sibling-sidebar-open
  17. margin-right: 248px
  18. .lists
  19. align-items: flex-start
  20. display: flex
  21. flex-direction: row
  22. margin: 0 0 10px
  23. padding: 0 40px 5px 0
  24. overflow-x: auto
  25. overflow-y: hidden
  26. position: cover
  27. .board-overlay
  28. position: cover
  29. top: -100px
  30. right: -400px
  31. background: black
  32. opacity: 0.33
  33. animation: fadeIn 0.2s
  34. z-index: 16
  35. &.is-dragging-active
  36. .open-minicard-composer,
  37. .minicard-wrapper.is-checked
  38. display: none