Pony.fm/public/styles/dashboard.less

71 lines
858 B
Text
Raw Normal View History

@import-once "base/bootstrap/bootstrap";
2013-09-02 02:11:33 +02:00
.dashboard {
h1 {
background: @pfm-purple;
color: #fff;
font-size: 10pt;
padding: 5px;
margin: 0px;
margin-bottom: 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;
}
}
}
.recent-tracks {
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;
}
}
}
.dashboard {
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%;
}
}