Pony.fm/public/styles/tracks.less

188 lines
2.4 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
.dashboard {
section {
.box-sizing(border-box);
width: 50%;
float: left;
&:first-child {
padding-right: 10px;
}
&:last-child {
padding-left: 10px;
}
}
}
.tracks-listing {
overflow-y: auto;
margin: 0px;
padding: 0px;
list-style: 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-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-07-31 13:47:16 +02:00
&:hover {
background: #eee;
.image {
.play-button {
display: block;
}
}
}
.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;
font-size: 13px;
2013-07-31 13:47:16 +02:00
margin-right: 2px;
2013-07-28 23:51:35 +02:00
a, span {
display: block;
float: left;
margin: 0px 3px;
}
.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;
}
}
}
}
.track-details {
.cover-image {
img {
.img-polaroid();
}
}
.lyrics {
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;
}
}
}
}
html {
.track-toolbar {
background: #eee;
padding: 5px;
> .btn:first-child, > .btn:last-child {
.border-radius(0px);
}
}
2013-07-28 23:51:35 +02:00
}