summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlanes.styl
blob: dce298b007ecf87a44dcb192f0021b7c6533ab07 (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
@import 'nib'

.swimlane
  // Even if this background color is the same as the body we can't leave it
  // transparent, because that won't work during a swimlane drag.
  background: darken(white, 13%)
  display: flex
  flex-direction: row
  overflow: 0;
  max-height: 100%

  &.placeholder
    background-color: rgba(0, 0, 0, .2)
    border-color: transparent
    box-shadow: none
    height: 100px

  &.ui-sortable-helper
    box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
                0 0 1px rgba(0, 0, 0, .5)
    transform: rotate(2deg)
    cursor: grabbing

    .swimlane-header.ui-sortable-handle
      cursor: grabbing

  .swimlane-header-wrap
    display: flex;
    flex-direction: row;
    flex: 0 0 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #CCC

    .swimlane-header
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      font-size: 14px;
      line-height: 50px;
      margin-top: 50px;
      font-weight: bold;
      min-height: 9px;
      width: 50px;
      overflow: hidden;
      -o-text-overflow: ellipsis;
      text-overflow: ellipsis;
      word-wrap: break-word;
      text-align: center;

    .swimlane-header-menu
      position: absolute
      padding: 20px 20px

.list-group
  height: 100%