2015-10-25 06:17:45 +01:00
|
|
|
/**
|
|
|
|
* Pony.fm - A community for pony fan music.
|
|
|
|
* Copyright (C) 2015 Peter Deltchev
|
|
|
|
*
|
|
|
|
* 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";
|
|
|
|
|
|
|
|
.dashboard {
|
|
|
|
h1 {
|
2015-10-25 03:35:37 +01:00
|
|
|
background: @pfm-purple;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 10pt;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 0px 0px 5px;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1300px) and (min-width: 720px) {
|
|
|
|
html .dashboard {
|
2015-10-25 03:35:37 +01:00
|
|
|
.recent-tracks {
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
.tracks-listing > li:nth-child(1n+15) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.popular-tracks {
|
|
|
|
width: 50%;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.news {
|
|
|
|
width: 50%;
|
|
|
|
clear: left;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 720px) {
|
|
|
|
html .dashboard {
|
2015-10-25 03:35:37 +01:00
|
|
|
section {
|
|
|
|
float: none !important;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard {
|
|
|
|
.welcome {
|
2015-10-25 03:35:37 +01:00
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
margin-bottom: 10px;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2015-10-25 03:35:37 +01:00
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
display: block;
|
|
|
|
float: right;
|
2016-07-16 02:27:05 +02:00
|
|
|
font-size: 14px;
|
2015-10-25 03:35:37 +01:00
|
|
|
background: darken(@pfm-purple, 20%);
|
|
|
|
margin: -5px;
|
|
|
|
margin-left: 0px;
|
|
|
|
padding: 5px;
|
2016-07-16 02:27:05 +02:00
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2015-10-25 03:35:37 +01:00
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
2015-10-25 03:35:37 +01:00
|
|
|
.box-sizing(border-box);
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
padding: 5px;
|
|
|
|
float: left;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.recent-tracks {
|
2015-10-25 03:35:37 +01:00
|
|
|
width: 37.5%;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.popular-tracks {
|
2015-10-25 03:35:37 +01:00
|
|
|
width: 37.5%;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.news {
|
2015-10-25 03:35:37 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
}
|