Pony.fm/app/styles/dashboard.less

122 lines
1.5 KiB
Text
Raw Normal View History

2015-04-12 03:22:15 +02:00
@import "base/bootstrap/bootstrap";
2013-09-02 02:11:33 +02:00
.dashboard {
h1 {
background: @pfm-purple;
color: #fff;
font-size: 10pt;
padding: 5px;
2015-04-23 11:17:05 +02:00
margin: 0px 0px 5px;
2013-09-02 02:11:33 +02:00
}
}
@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;
}
}
}
2013-09-02 04:11:29 +02:00
@media (max-width: 720px) {
html .dashboard {
section {
float: none !important;
width: auto !important;
}
}
}
.dashboard {
2013-09-12 02:13:24 +02:00
.welcome {
float: none;
width: auto;
margin-bottom: 10px;
}
h1 {
a {
2013-09-02 02:11:33 +02:00
color: #fff;
display: block;
float: right;
font-size: 10pt;
2013-09-02 02:11:33 +02:00
background: darken(@pfm-purple, 20%);
margin: -5px;
margin-left: 0px;
padding: 5px;
}
}
section {
.box-sizing(border-box);
padding: 5px;
2013-09-02 02:11:33 +02:00
float: left;
}
2013-09-02 02:11:33 +02:00
.recent-tracks {
width: 37.5%;
}
.popular-tracks {
width: 37.5%;
}
.news {
width: 25%;
2013-09-02 04:11:29 +02:00
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;
}
}
}
}
2013-09-02 02:11:33 +02:00
}
}