summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.styl
blob: f5ecc08e9bcdc15d39da279e9c1abbba1c8f19fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@import 'nib'

position()
  if arguments[0] == cover
    position: absolute
    left: 0
    right: 0
    top: 0
    bottom: 0
  else
    position: arguments

.board-wrapper
  position: cover

  .board-canvas
    position: cover
    transition: margin .1s

    &.is-sibling-sidebar-open
      margin-right: 248px

    .swimlane
      border-bottom: 1px solid #CCC
      display: flex
      flex-direction: row
      margin: 0 0 10px
      padding: 0 40px 5px 0
      overflow-x: auto
      overflow-y: hidden

    .board-overlay
      position: cover
      top: -100px
      right: -400px
      background: black
      opacity: 0.33
      animation: fadeIn 0.2s
      z-index: 16

    &.is-dragging-active
      .open-minicard-composer,
      .minicard-wrapper.is-checked
        display: none

@media screen and (max-width: 800px)
  .board-wrapper

    .board-canvas

      .swimlane
        border-bottom: 1px solid #CCC
        display: flex
        flex-direction: column
        margin: 0
        padding: 0 40px 0px 0
        overflow-x: hidden
        overflow-y: auto