mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 08:37:59 +01:00
321 lines
6.1 KiB
Text
Vendored
321 lines
6.1 KiB
Text
Vendored
/**
|
|
* Pony.fm - A community for pony fan music.
|
|
* 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/>.
|
|
*/
|
|
|
|
@import "base/bootstrap/bootstrap";
|
|
|
|
.dashboard {
|
|
h1 {
|
|
background: @pfm-purple;
|
|
color: #fff;
|
|
font-size: 10pt;
|
|
padding: 5px;
|
|
margin: 0px 0px 5px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1300px) and (min-width: 720px) {
|
|
html .dashboard {
|
|
.recent-tracks {
|
|
width: 50%;
|
|
|
|
.tracks-listing > li:nth-child(1n+15) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.popular-tracks {
|
|
width: 50%;
|
|
float: right;
|
|
}
|
|
|
|
.news {
|
|
width: 50%;
|
|
clear: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
html .dashboard {
|
|
section {
|
|
float: none !important;
|
|
width: auto !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dashboard {
|
|
.welcome {
|
|
float: none;
|
|
width: auto;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h1 {
|
|
a {
|
|
color: #fff;
|
|
display: block;
|
|
float: right;
|
|
font-size: 10pt;
|
|
background: darken(@pfm-purple, 20%);
|
|
margin: -5px;
|
|
margin-left: 0px;
|
|
padding: 5px;
|
|
}
|
|
}
|
|
|
|
section {
|
|
.box-sizing(border-box);
|
|
|
|
padding: 5px;
|
|
float: left;
|
|
}
|
|
|
|
.recent-tracks {
|
|
width: 37.5%;
|
|
}
|
|
|
|
.popular-tracks {
|
|
width: 37.5%;
|
|
}
|
|
|
|
.announce-wrapper {
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
|
|
&.disabled {
|
|
margin: 0;
|
|
display: none;
|
|
}
|
|
|
|
#announcement {
|
|
width: 100%;
|
|
box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 2px 3px rgba(0,0,0,0.24);
|
|
border-radius: 3px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
max-width: 1200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
.announce-content {
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
|
|
@media (max-width: 720px) {
|
|
padding-left: 10px !important;
|
|
}
|
|
}
|
|
|
|
.announce-actions {
|
|
padding: 10px 15px 10px;
|
|
position: relative;
|
|
background: inherit;
|
|
z-index: 2;
|
|
|
|
&.border {
|
|
border-top: 1px solid rgba(160,160,160,0.2);
|
|
}
|
|
|
|
a {
|
|
margin-right: 20px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
&.simple-announce {
|
|
.announce-content {
|
|
padding-left: 75px;
|
|
}
|
|
}
|
|
|
|
&.alert-announce, &.serious-alert-announce {
|
|
.announce-content {
|
|
padding-left: 95px;
|
|
}
|
|
}
|
|
|
|
&.alert-announce {
|
|
background: #f57f17;
|
|
}
|
|
|
|
&.serious-alert-announce {
|
|
background: #d84315
|
|
}
|
|
|
|
&.simple-announce {
|
|
background: #894d8f;
|
|
}
|
|
|
|
&.disabled {
|
|
display: none;
|
|
}
|
|
|
|
.dismiss-button {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 6px 20px;
|
|
font-size: 22px;
|
|
}
|
|
|
|
h2, p, a {
|
|
color: #fff;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
.announce-bg-icon {
|
|
color: #fff;
|
|
opacity: 0.6;
|
|
top: -13px;
|
|
left: -20px;
|
|
position: absolute;
|
|
font-size: 100px;
|
|
transform: rotate(-9deg);
|
|
z-index: 1;
|
|
|
|
@media (max-width: 720px) {
|
|
opacity: 0.1;
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
&.hwc-announce {
|
|
height: 160px;
|
|
background-color: #68a1ee;
|
|
background-image: url(/images/hwc/hwc-announcement.jpg);
|
|
background-size: 300px;
|
|
background-repeat: no-repeat;
|
|
background-position: left center;
|
|
|
|
@media (max-width: 1200px) {
|
|
height: auto;
|
|
background-image: none;
|
|
}
|
|
|
|
.announce-actions {
|
|
background: none;
|
|
}
|
|
|
|
.announce-actions, .announce-content, .announce-tracks {
|
|
padding-left: 300px;
|
|
|
|
@media (max-width: 1200px) {
|
|
padding-left: 15px;
|
|
}
|
|
}
|
|
|
|
.announce-tracks {
|
|
li {
|
|
width: 33%;
|
|
float: left;
|
|
|
|
.title {
|
|
color: #fff;
|
|
}
|
|
|
|
.artist {
|
|
color: #eee;
|
|
}
|
|
|
|
&:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
&.is-playing {
|
|
background: rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.secret-santa-announce {
|
|
height: 150px;
|
|
background-color: #68a1ee;
|
|
background-image: url(https://i.imgur.com/dSCXyGx.jpg);
|
|
background-size: 300px;
|
|
background-repeat: no-repeat;
|
|
background-position: left center;
|
|
|
|
@media (max-width: 1200px) {
|
|
height: auto;
|
|
background-image: none;
|
|
}
|
|
|
|
.announce-actions {
|
|
background: none;
|
|
}
|
|
|
|
.announce-actions, .announce-content {
|
|
padding-left: 300px;
|
|
|
|
@media (max-width: 1200px) {
|
|
padding-left: 15px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.news {
|
|
width: 25%;
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
|
|
li {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
|
|
&.read {
|
|
a {
|
|
background: #eee;
|
|
border-left-color: #ddd;
|
|
}
|
|
}
|
|
|
|
a {
|
|
.ellipsis();
|
|
|
|
color: #000;
|
|
display: block;
|
|
padding: 5px;
|
|
font-size: 10pt;
|
|
background: lighten(@pfm-purple, 30%);
|
|
border-left: 5px solid @pfm-purple;
|
|
margin: 5px 0px;
|
|
overflow: hidden;
|
|
|
|
em {
|
|
display: block;
|
|
color: #444;
|
|
float: right;
|
|
font-size: 8pt;
|
|
font-style: normal;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|