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

154 lines
2.8 KiB
Text
Raw Permalink Normal View History

/**
* Pony.fm - A community for pony fan music.
2018-04-21 06:25:36 +02:00
* Copyright (C) 2015 Feld0
*
* 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 <http://www.gnu.org/licenses/>.
*/
2015-09-12 13:19:18 +02:00
@import 'base/bootstrap/bootstrap';
@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 {
color: @brand-warning;
2015-10-25 03:35:37 +01:00
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 {
.img-thumbnail();
2015-10-25 03:35:37 +01:00
float: left;
2016-11-30 23:28:47 +01:00
width: 108px;
2015-10-25 03:35:37 +01:00
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;
2016-11-30 23:28:47 +01:00
line-height: 28px;
2015-10-25 03:35:37 +01:00
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
}