summaryrefslogtreecommitdiff
path: root/assets/sass/_table_drag_and_drop.sass
blob: 80f7e7feda4074a484557619758f9c69dadd8ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@import variables

.draggable-row-handle
  cursor: move
  color: color('lighter')
  &:hover
    color: color('primary')

tr.draggable-item-selected
  background: #fff
  border: 2px solid #666
  box-shadow: 4px 2px 10px -4px rgba(0, 0, 0, 0.55)
  td
    border-top: none
    border-bottom: none
    &:first-child
      border-left: none
    &:last-child
      border-right: none

.table-stripped
  tr.draggable-item-hover, tr.draggable-item-hover
    background: #FEFFF2