Pony.fm/public/styles/tracks.less

401 lines
5 KiB
Text
Raw Normal View History

2013-07-31 13:47:16 +02:00
@import-once 'base/bootstrap/bootstrap';
@import-once 'mixins';
2013-07-28 23:51:35 +02:00
2013-08-01 10:57:08 +02:00
.comments {
ul {
margin: 0px;
padding: 0px;
list-style: none;
margin-bottom: 5px;
li {
.clearfix();
margin: 0px;
padding: 3px;
border-bottom: 1px solid #ddd;
.meta {
font-size: 8pt;
float: right;
}
.content {
margin-left: 45px;
}
img {
.img-polaroid();
float: left;
width: 32px;
height: 32px;
padding: 2px;
}
}
}
}
2013-07-28 23:51:35 +02:00
.dashboard {
section {
2013-08-01 10:57:08 +02:00
/*
2013-07-28 23:51:35 +02:00
.box-sizing(border-box);
width: 50%;
float: left;
&:first-child {
padding-right: 10px;
}
&:last-child {
padding-left: 10px;
}
2013-08-01 10:57:08 +02:00
*/
2013-07-28 23:51:35 +02:00
}
}
.tracks-listing {
overflow-y: auto;
margin: 0px;
padding: 0px;
list-style: none;
2013-08-01 04:47:21 +02:00
&.no-artist {
li {
.info {
.artist {
display: none;
}
}
}
}
2013-07-31 13:47:16 +02:00
&.two-column {
li {
.box-sizing(border-box);
width: 50%;
float: left;
margin: 0px;
padding: 5px;
}
}
2013-08-01 04:47:21 +02:00
&.four-column {
li {
.box-sizing(border-box);
width: 25%;
float: left;
margin: 0px;
padding: 5px;
}
}
2013-07-28 23:51:35 +02:00
li {
overflow: hidden;
2013-07-31 13:47:16 +02:00
margin: 10px 0px;
2013-07-28 23:51:35 +02:00
padding: 0px;
2013-08-01 10:57:08 +02:00
line-height: normal;
2013-07-28 23:51:35 +02:00
2013-08-01 10:57:08 +02:00
&.empty {
.alert();
.border-radius(0px);
float: none !important;
width: auto !important;
display: block;
margin-top: 5px;
padding: 5px;
font-size: 9pt;
&:hover {
background-color: @warningBackground;
}
}
&:hover, &.is-playing {
2013-07-31 13:47:16 +02:00
background: #eee;
.image {
.play-button {
display: block;
}
}
}
2013-08-01 10:57:08 +02:00
&.is-favourited {
.icon-favourite {
color: @orange;
text-decoration: none;
i {
color: #FFD76E;
text-shadow: 0px 0px 2px rgba(0,0,0,0.8);
&:before {
content: "\f005"
}
}
}
}
2013-07-31 13:47:16 +02:00
.image {
2013-07-28 23:51:35 +02:00
height: 40px;
width: 40px;
float: left;
2013-07-31 13:47:16 +02:00
position: relative;
.play-button {
.transition(background 250ms ease-out);
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
line-height: 38px;
text-align: center;
font-size: 12pt;
color: #fff;
text-decoration: none;
background: rgba(0, 0, 0, .4);
display: none;
&:hover {
background: rgba(0, 0, 0, .8);
}
}
img {
.img-polaroid();
padding: 3px;
padding: 0px;
display: block;
height: 38px;
width: 38px;
}
2013-07-28 23:51:35 +02:00
}
.icons {
float: right;
2013-08-01 10:57:08 +02:00
font-size: 14px;
2013-07-31 13:47:16 +02:00
margin-right: 2px;
2013-07-28 23:51:35 +02:00
2013-08-01 10:57:08 +02:00
a {
text-decoration: none;
}
2013-07-28 23:51:35 +02:00
a, span {
display: block;
float: left;
margin: 0px 3px;
2013-08-01 10:57:08 +02:00
line-height: 0px;
2013-07-28 23:51:35 +02:00
}
.icon-microphone-off {
opacity: .5;
}
}
.info {
2013-07-31 13:47:16 +02:00
text-decoration: none;
display: block;
padding: 3px 0px;
margin-left: 40px;
padding-left: 5px;
2013-07-28 23:51:35 +02:00
line-height: normal;
.title {
.ellipsis();
display: block;
text-decoration: none;
color: @blue;
}
.metadata {
margin-top: 3px;
display: block;
color: #777;
font-size: 8pt;
}
}
}
}
2013-08-01 04:47:21 +02:00
.user-details {
.header {
2013-08-01 04:01:41 +02:00
.box-shadow(0px 2px 3px rgba(0, 0, 0, .3));
background: #eee;
2013-08-01 04:47:21 +02:00
h1 {
padding: 5px;
}
.tabs {
background: #f0f0f0;
margin: 0px;
border: none;
border-top: 1px solid #ddd;
}
2013-08-01 04:01:41 +02:00
}
2013-08-01 04:47:21 +02:00
}
2013-08-01 04:01:41 +02:00
2013-08-01 10:57:08 +02:00
.user-details, .track-details, .album-details, .playlist-details {
2013-08-01 04:01:41 +02:00
.comments {
.alert {
.border-radius(0px);
margin: 5px 0px;
}
button {
.border-radius(0px);
}
}
.stretch-to-bottom {
padding-top: 10px;
}
.cover-image {
img {
.img-polaroid();
2013-08-01 04:01:41 +02:00
.box-sizing(border-box);
width: 100%;
display: block;
margin-bottom: 5px;
}
.btn {
.border-radius(0px);
display: block;
width: 'auto';
margin: 5px 0px;
}
.stats {
margin: 0px;
padding: 0px;
list-style: none;
li {
margin: 0px;
padding: 5px 0px;
border-bottom: 1px solid #ddd;
}
}
}
2013-08-01 04:47:21 +02:00
}
2013-08-01 10:57:08 +02:00
.track-details, .album-details, .playlist-details {
2013-08-01 04:47:21 +02:00
h1 {
}
.lyrics {
2013-08-01 04:01:41 +02:00
font-size: 10pt;
color: #222;
position: relative;
overflow: hidden;
padding: 0px;
margin: 0px;
h2 {
}
.reveal {
#gradient>.vertical(rgba(255,255,255,0), rgba(255,255,255,1));
.box-sizing(border-box);
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 400;
border: 2px solid #fff;
cursor: pointer;
&:hover {
border: 2px solid @blue;
}
a {
.box-sizing(border-box);
display: block;
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
background: #eee;
padding: 3px;
z-index: 500;
text-decoration: none;
font-size: 10pt;
}
}
}
}
2013-08-01 10:57:08 +02:00
.track-details {
h1 {
margin-left: 55px;
}
.tracks-listing li .image .play-button {
display: block;
}
.tracks-listing {
float: left;
margin-top: 5px;
}
.tracks-listing li {
margin: 0px;
margin-bottom: 5px;
float: left;
.image {
height: 50px;
width: 50px;
.play-button {
line-height: 48px;
}
img {
width: 48px;
height: 48px;
}
}
.icons, .info {
display: none;
}
}
}
html {
.track-toolbar {
padding: 5px;
2013-08-01 04:01:41 +02:00
.btn:first-child, > .btn:last-child {
.border-radius(0px);
}
2013-08-01 04:01:41 +02:00
> .btn {
border-right: none;
}
.dropdown:first-child {
border-right: 1px solid #cccccc;
}
.dropdown {
float: right;
border-right: none;
.btn-primary {
color: #fff;
}
}
}
2013-07-28 23:51:35 +02:00
}