// // Simple List // -------------------------------------------------- // Usage: //
// //
// // With icons: //
// //
// // With checkboxes: //
// //
.control-simplelist { font-size: 13px; ul { padding-left: 15px; } &.form-control { ul { margin-bottom: 0; } li { padding-top: 5px; padding-bottom: 5px; } } &.with-icons, &.with-checkboxes, &.is-selectable { ul { list-style-type: none; padding-left: 0; } } &.with-checkboxes {} &.is-sortable { li.placeholder { position: relative; &:before { top: -10px; position: absolute; .triangle(right, 5px, 9px, @color-sortable-caret); } } li.dragged { position: absolute; .opacity(.5); z-index: 2000; color: @color-sortable-active; width: auto !important; // Prevent browser scrollbars } } &.is-scrollable { height: 200px; &.size-tiny { min-height: @size-tiny + 200; } &.size-small { min-height: @size-small + 200; } &.size-large { min-height: @size-large + 200; } &.size-huge { min-height: @size-huge + 200; } &.size-giant { min-height: @size-giant + 200; } } &.is-selectable { li { padding: 5px 10px; border-bottom: 1px solid @color-list-border; .heading { font-size: 14px; font-weight: bold; } .description { } a { padding: 5px 10px; margin: -5px -10px; display: block; color: @text-color; } &:hover { background: @color-list-hover-bg; cursor: pointer; &, a { color: white; } a { text-decoration: none; } } &:last-child { border-bottom: none; } &.active { a { background: #f0f0f0; &:hover { background: @color-list-hover-bg; } } } } } } .list-preview .control-simplelist { &.is-selectable { ul { margin-bottom: 0; } } }