/** * Pony.fm - A community for pony fan music. * Copyright (C) 2015 Peter Deltchev * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ @import 'base/bootstrap/bootstrap'; @import 'mixins'; ul.playlists { overflow-y: auto; margin: 0px; padding: 0px; list-style: none; margin: 0px 5px; margin-top: 10px; li { overflow: hidden; margin: 0px; padding: 0px; height: 40px; border-bottom: 1px solid #ddd; img { border-right: 1px solid #ddd; padding: 0px; display: block; height: 40px; width: 40px; float: left; } .btn-group { float: right; display: block; margin-top: 7px; margin-right: 7px; .btn { .border-radius(0px); } } a.main { display: block; text-decoration: none; color: #444; .is-public { display: block; float: right; font-weight: bold; margin-top: 10px; margin-right: 10px; font-size: 8pt; } .title { .ellipsis(); margin-left: 50px; line-height: 40px; height: 40px; display: block; } &:hover { background: #eee; } } } } .image-selector { width: 500px; max-height: 300px; overflow-y: auto; ul { list-style: none; padding: 0px; margin: 0px; li { margin: 0px; float: left; width: 20%; cursor: pointer; img { .transition(all 400ms); display: block; width: 100px; height: 100px; } &:hover { img { opacity: .8; } } } } } html { .two-pane-view.closed { .account-albums-listing { li { .box-sizing(border-box); width: 20%; a { padding: 15px; .image { .img-thumbnail(); position: relative; left: -5px; width: 100%; height: auto; float: none; } .title { margin: 0px; font-size: 12pt; padding: 0px; margin-top: 5px; } .published { margin: 0px; padding: 0px; } } } } } } .account-tracks-listing, .account-albums-listing { overflow-y: auto; margin: 0px; padding: 0px; list-style: none; li { .box-sizing(border-box); padding: 0px; margin: 0px; line-height: normal; &.empty { .alert(); float: none !important; width: auto !important; display: block; padding: 5px; font-size: 9pt; } &.is-not-published a { background: fadeout(@brand-warning, 90%); } &.selected, &.selected:hover { a { background: @pfm-purple; cursor: default; color: #fff; .published { color: #eee; } } } a { .transition(350px ease-out all); display: block; margin: 0px; padding: 5px; font-size: 9pt; font-weight: normal; overflow: hidden; .image { width: 32px; height: 32px; float: left; display: block; } .title { .ellipsis(); display: block; margin-left: 37px; } .published { display: block; color: #777; margin-left: 37px; font-size: 8pt; } &:hover { background: #ddd; text-decoration: none; } } } } // Used in the Accounts > Tracks area .two-pane-view { .editor { display: none; } &.closed { .account-tracks-listing, .account-albums-listing { .clearfix(); li { float: left; width: 25%; &.empty { } } } } &.open { .list { border-right: 2px solid #ddd; width: 250px; float: left; } .editor { margin-left: 260px; margin-right: 10px; display: block; .stretch-to-bottom { padding-right: 10px; } } } }