﻿
/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
.resource-list ul[dnd-list] {
    min-height: 12px;
    padding-left: 0px;
}

/**
 * The dndDraggingSource class will be applied to
 * the source element of a drag operation. It makes
 * sense to hide it to give the user the feeling
 * that he's actually moving it.
 */
.resource-list ul[dnd-list] .dndDraggingSource {
    display: none;
}

/**
 * An element with .dndPlaceholder class will be
 * added to the dnd-list while the user is dragging
 * over it.
 */
.resource-list ul[dnd-list] .dndPlaceholder {
    background-color: #ddd;
    display: block;
    min-height: 12px;
}

.resource-list ul[dnd-list] li {
    background-color: #fff;
    border: 1px solid #ddd;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    display: block;
    padding: 2px 5px 2px 5px;
    margin-bottom: -1px;
    overflow: hidden;
    white-space: nowrap;
}

/**
 * Show selected elements in green
 */
.resource-list ul[dnd-list] li.selected {
    background-color: #dff0d8;
    color: #3c763d;
}

.nomargin {
    margin: 0px;
}
.nomargin-bottom {
    margin-bottom: 0px;
}