Pony.fm/resources/assets/styles/embed.less

137 lines
2.1 KiB
Text
Raw Normal View History

2015-09-12 13:19:18 +02:00
@import 'base/bootstrap/bootstrap';
@import 'base/bootstrap/responsive';
@import 'base/font-awesome/font-awesome';
@import 'variables';
@import 'mixins';
body {
padding: 10px;
a {
2015-10-25 03:35:37 +01:00
color: #C2889C;
2015-09-12 13:19:18 +02:00
2015-10-25 03:35:37 +01:00
&:hover {
text-decoration: none;
}
2015-09-12 13:19:18 +02:00
}
}
.player {
&.playing .play .button i:before {
2015-10-25 03:35:37 +01:00
content: "\f04c";
2015-09-12 13:19:18 +02:00
}
&.favourited .meta .favourite {
2015-10-25 03:35:37 +01:00
color: @orange;
text-decoration: none;
2015-09-12 13:19:18 +02:00
2015-10-25 03:35:37 +01:00
i {
color: #FFD76E;
text-shadow: 0px 0px 2px rgba(0,0,0,0.8);
2015-09-12 13:19:18 +02:00
2015-10-25 03:35:37 +01:00
&:before {
content: "\f005"
}
}
2015-09-12 13:19:18 +02:00
}
.play {
2015-10-25 03:35:37 +01:00
.img-polaroid();
float: left;
width: 100px;
padding: 3px;
position: relative;
cursor: pointer;
img {
display: block;
width: 100px;
height: 100px;
}
&:hover {
.button {
background: rgba(0, 0, 0, 1);
border: 3px solid rgba(255, 255, 255, .9);
}
}
.button {
.border-radius(60px);
.transition(all 250ms ease-out);
border: 3px solid rgba(255, 255, 255, .6);
width: 32px;
height: 32px;
position: absolute;
top: 35px;
left: 35px;
text-align: center;
line-height: 32px;
color: #fff;
background: rgba(0, 0, 0, .4);
}
2015-09-12 13:19:18 +02:00
}
.meta {
2015-10-25 03:35:37 +01:00
margin-left: 115px;
font-size: 11px;
.favourite {
display: block;
float: right;
font-size: 18px;
margin-top: -3px;
color: #2795b6;
&:hover {
text-decoration: none;
}
}
span {
display: block;
}
.title {
.ellipsis();
margin-top: 5px;
font-size: 16px;
}
.progressbar {
cursor: pointer;
height: 11px;
background: #fff;
border: 1px solid #888;
margin-right: 27px;
position: relative;
.loader, .seeker {
height: 100%;
position: absolute;
top: 0px;
left: 0px;
}
.loader {
background: #eee;
}
.seeker {
background: @pfm-purple;
}
}
2015-09-12 13:19:18 +02:00
}
.stats {
2015-10-25 03:35:37 +01:00
position: absolute;
bottom: 5px;
right: 5px;
font-size: 8pt;
color: #555;
2015-09-12 13:19:18 +02:00
}
2015-10-25 03:35:37 +01:00
}