@import "common.less"; /* Dashboard */ #dashboard ul { margin: 0; list-style: none; } .sidebar-header { font-size: 25px; line-height: 25px; margin: 4px 0; border-bottom: 1px dashed @grey; } /* Packages */ .package-list { list-style: none; margin-left: 0; } @frame-top: 20px; @frame-bottom: 18px; .package-frame { position: absolute; top: -@frame-top; left: -@frame-top / 2; right: -@frame-top / 2; bottom: -@frame-bottom + 2px; // + size of visible bar z-index: -1; // lies under package border: 1px solid @grey; border-radius: 5px; box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.75); } .package-view { padding-bottom: 4px; margin: 8px 0; position: relative; overflow: hidden; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; i { cursor: pointer; } .progress { position: absolute; height: @frame-bottom; line-height: @frame-bottom; border-radius: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; bottom: 0; left: 0; right: 0; margin-bottom: 0; background-image: none; background-color: @yellow; } .bar-info { background-image: none; background-color: @blue; } &:hover { overflow: visible; z-index: 10; .package-frame { background-color: @light; } } } .package-name { cursor: pointer; } .package-indicator { position: absolute; top: 0; right: 0; float: right; color: @blue; text-shadow: @yellowDark 1px 1px; height: @frame-top; line-height: @frame-top; i:hover { color: @green; } i.iconf-trash:hover { color: @red; } } // Tag area with different effect on hover .tag-area { position: absolute; top: -2px; left: 0; .badge { font-size: 11px; line-height: 11px; } .badge i { cursor: pointer; &:hover:before { content: "\f024"; // show Remove icon } } .badge-ghost { visibility: hidden; cursor: pointer; opacity: 0.5; } &:hover .badge-ghost { visibility: visible; } } /* File View */ .file-list { list-style: none; margin: 0; } .file-view { margin-bottom: 3px; color: @light; .gradient(top, @blue, @blueLight); // background-color: @blue; border-radius: 5px; line-height: 28px; &:hover { .gradient(top, @blue, @blueDark); } } .file-row { display: inline-block; height: 100%; padding-left: 8px; padding-right: 8px; i { margin-top: 3px; } i.pull-right { margin-top: 8px; } } .file-row.first { width: 50%; font-weight: bold; i { cursor: move; } } .file-row.second { width: 20%; .gradient(top, @blueDark, @blueDarker); font-size: smaller; } .file-view a { color: @light; } /* FANCY CHECKBOXES */ .file-view .checkbox { display: inline; width: 20px; height: 21px; margin: -1px 4px 0 0; vertical-align: middle; background: url(../../img/default/checks_sheet.png) left top no-repeat; cursor: pointer; } .file-view .checkbox.checked { background: url(../../img/default/checks_sheet.png) -21px top no-repeat; }