Pony.fm/app/styles/player.less

199 lines
2.5 KiB
Text
Raw Normal View History

2015-04-12 03:22:15 +02:00
@import 'variables';
@import 'mixins';
2013-08-13 07:11:14 +02:00
body.is-logged {
.track-player {
margin-right: 75px;
}
}
2013-08-13 07:11:14 +02:00
.track-player {
padding: 10px;
.image {
float: left;
width: 43px;
height: 43px;
2013-09-02 00:51:51 +02:00
position: relative;
overflow: hidden;
padding: 1px;
2013-08-13 07:11:14 +02:00
img {
2013-09-02 00:51:51 +02:00
.box-shadow(none);
2013-08-13 07:11:14 +02:00
display: block;
2013-09-02 00:51:51 +02:00
width: 40px;
height: 40px;
2013-09-03 11:42:03 +02:00
padding: 0px;
border: 1px solid #bcbcbc;
2013-08-13 07:11:14 +02:00
}
2013-09-02 00:51:51 +02:00
.loader {
.transition(top 250ms linear);
z-index: 1000;
background: rgba(0, 0, 0, .6);
color: #fff;
position: absolute;
top: -50px;
left: 2px;
width: 42px;
height: 42px;
line-height: 43px;
text-align: center;
font-size: 16px;
&.showing {
top: 2px;
}
}
2013-08-13 07:11:14 +02:00
}
.inner {
margin-left: 55px;
}
.song, .artist {
.ellipsis();
line-height: normal;
display: block;
a {
color: #555;
&:hover {
text-decoration: none;
color: #111;
}
}
}
.song {
font-weight: bold;
}
.volume-slider {
display: none;
}
.transport {
2013-09-03 11:42:03 +02:00
.border-radius(4px);
2013-09-02 00:51:51 +02:00
background: #aaa;
2013-09-03 11:42:03 +02:00
height: 5px;
2013-08-13 07:11:14 +02:00
position: relative;
cursor: pointer;
margin-top: 4px;
.bar {
z-index: 500;
2013-09-03 11:42:03 +02:00
background: #84528A;
2013-08-13 07:11:14 +02:00
}
.loader-bar {
z-index: 200;
background: #ddd;
}
.bar, .loader-bar {
2013-09-03 11:42:03 +02:00
.border-radius(4px);
2013-08-13 07:11:14 +02:00
position: absolute;
top: 0px;
left: 0px;
height: 100%;
}
}
.buttons {
list-style: none;
margin: 0px;
padding: 0px;
float: right;
2013-08-27 08:53:37 +02:00
li.status {
font-size: 10pt;
margin-top: 12px;
margin-right: 5px;
strong {
font-weight: normal;
}
}
2013-08-13 07:11:14 +02:00
li {
line-height: normal;
float: left;
margin: 0px;
padding: 0px;
font-size: 15pt;
> a {
display: block;
padding: 5px 0px;
width: 40px;
text-align: center;
color: #5A5A5A;
&:hover {
text-decoration: none;
background: darken(#eee, 10%);
color: #000;
}
}
&.disabled {
a {
color: #ccc;
cursor: default;
&:hover {
background: transparent;
color: #ccc;
}
}
}
&.volume {
position: relative;
.volume-slider {
display: none;
z-index: 1000;
position: absolute;
left: 0px;
top: 33px;
width: 100%;
height: 150px;
background: #ddd;
.bar {
background: @pfm-purple;
width: 10px;
margin: auto;
height: 100%;
position: relative;
}
.knob {
position: absolute;
top: 0px;
left: -3px;
background: darken(@pfm-purple, 20%);
width: 16px;
height: 16px;
}
}
&:hover, &.keep-open {
.volume-slider {
display: block;
}
background: #ddd;
}
}
2013-08-13 07:11:14 +02:00
}
}
}