summaryrefslogtreecommitdiff
path: root/assets/sass/_board.sass
blob: d7d10d2e547e381ccec986ee71b52c2e71aca898 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
@import variables

.public-board
  margin-top: 5px

.public-task
  max-width: 800px
  margin: 5px auto 0

#board-container
  overflow-x: auto

#board
  table-layout: fixed
  margin-bottom: 0
  th.board-column-header
    width: 240px
  td
    vertical-align: top

.board-container-compact
  overflow-x: initial

@media all and (-ms-high-contrast: active), (-ms-high-contrast: none)
  .board-container-compact #board
    table-layout: auto

#board th.board-column-header.board-column-compact
  width: initial

.board-column-collapsed
  display: none

td.board-column-task-collapsed
  font-weight: bold
  background-color: bg-color('primary')

#board th.board-column-header-collapsed
  width: 28px
  min-width: 28px
  text-align: center
  overflow: hidden

.board-rotation-wrapper
  position: relative
  padding: 8px 4px
  min-height: 150px
  overflow: hidden

.board-rotation
  white-space: nowrap
  -webkit-backface-visibility: hidden
  -webkit-transform: rotate(90deg)
  -moz-transform: rotate(90deg)
  -ms-transform: rotate(90deg)
  transform: rotate(90deg)
  -webkit-transform-origin: 0 100%
  -moz-transform-origin: 0 100%
  -ms-transform-origin: 0 100%
  transform-origin: 0 100%

.board-column-title .dropdown-menu
  text-decoration: none

.board-add-icon
  float: left
  padding: 0 5px
  i
    text-decoration: none
    color: link-color('primary')
    font-size: size('large')
    &:focus, &:hover
      text-decoration: none
      color: red

.board-column-header-task-count
  color: color('light')
  font-weight: normal

a.board-swimlane-toggle
  text-decoration: none
  &:hover, &:focus
    color: color('dark')
    text-decoration: none
    border: none

.board-task-list
  min-height: 60px

.board-task-list-limit
  background-color: $board-task-limit-color

.draggable-item
  cursor: pointer
  user-select: none
  -webkit-user-select: none
  -moz-user-select: none

.draggable-placeholder
  border: 2px dashed #000
  background: #fafafa
  height: 70px
  margin-bottom: 10px

div.draggable-item-selected
  border: 1px solid #000

.task-board-sort-handle
  float: left
  padding-right: 5px