Pony.fm/public/styles/layout.less

197 lines
2.7 KiB
Text
Raw Normal View History

2013-07-31 13:47:16 +02:00
@import-once 'base/bootstrap/bootstrap';
@import-once 'mixins';
2013-08-13 07:11:14 +02:00
@import-once 'variables';
2013-07-25 23:33:04 +02:00
html, body {
}
html body {
height: 100%;
2013-08-16 01:49:20 +02:00
background: #444;
2013-09-01 13:39:19 +02:00
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
2013-07-30 06:53:57 +02:00
}
2013-08-13 07:11:14 +02:00
header {
> a {
display: block;
2013-07-25 23:33:04 +02:00
float: left;
2013-08-13 07:11:14 +02:00
width: (@pfm-sidebar-size - 25);
height: 64px;
line-height: 52px;
background: @pfm-purple;
color: #fff;
font-size: 24pt;
padding-left: 25px;
font-weight: lighter;
2013-07-29 22:54:53 +02:00
position: relative;
2013-08-13 07:11:14 +02:00
z-index: 600;
font-family: 'Josefin Sans', sans-serif;
2013-07-25 23:33:04 +02:00
2013-08-13 07:11:14 +02:00
&:hover {
background: darken(@pfm-purple, 25%);
color: #fff;
text-decoration: none;
2013-07-25 23:33:04 +02:00
}
}
.user-details {
float: right;
margin-right: 10px;
margin-top: 9px;
.avatar {
.img-polaroid();
display: block;
float: right;
padding: 2px;
cursor: pointer;
&:hover {
background: #ddd;
}
span {
font-weight: bold;
display: inline-block;
padding: 0px 3px;
}
}
.dropdown-menu {
left: auto;
right: 0px;
}
.name {
float: left;
height: 44px;
line-height: 44px;
padding-right: 10px;
font-weight: bold;
font-size: 12pt;
}
img {
height: 40px;
width: 40px;
}
}
2013-07-25 23:33:04 +02:00
}
2013-08-13 07:11:14 +02:00
.now-playing {
margin-left: @pfm-sidebar-size;
height: 64px;
background: #eee;
2013-07-29 22:54:53 +02:00
position: relative;
2013-08-13 07:11:14 +02:00
z-index: 500;
2013-07-29 22:54:53 +02:00
}
2013-08-13 07:11:14 +02:00
.sidebar {
2013-08-16 01:49:20 +02:00
background: @pfm-light-grey;
2013-08-13 07:11:14 +02:00
width: @pfm-sidebar-size;
height: 100%;
float: left;
list-style: none;
padding: 0px;
margin: 0px;
font-size: 10pt;
position: relative;
2013-08-13 07:11:14 +02:00
li {
2013-07-28 23:51:35 +02:00
margin: 0px;
2013-08-13 07:11:14 +02:00
padding: 0px;
line-height: normal;
2013-08-13 07:11:14 +02:00
&.selected {
background: #fff;
2013-08-18 06:18:41 +02:00
> a, > a:hover {
2013-08-16 01:49:20 +02:00
cursor: default;
2013-08-13 07:11:14 +02:00
color: #000;
}
}
2013-08-13 07:11:14 +02:00
h3 {
padding: 10px 25px;
padding-right: 10px;
2013-07-25 23:33:04 +02:00
margin: 0px;
2013-08-13 07:11:14 +02:00
font-size: 10pt;
color: #eee;
background: darken(@pfm-light-grey, 10%);
line-height: normal;
2013-07-25 23:33:04 +02:00
a {
display: block;
2013-08-13 07:11:14 +02:00
float: right;
width: 20px;
text-align: center;
color: #fff;
2013-07-25 23:33:04 +02:00
&:hover {
text-decoration: none;
color: #000;
}
}
}
2013-08-13 07:11:14 +02:00
.dropdown-menu a {
color: #000;
}
2013-07-25 23:33:04 +02:00
2013-08-13 07:11:14 +02:00
&:hover > a.dropdown-toggle {
2013-07-25 23:33:04 +02:00
display: block;
}
2013-08-13 07:11:14 +02:00
> a.dropdown-toggle {
float: right;
padding: 10px 0px;
display: none;
}
2013-07-25 23:33:04 +02:00
2013-08-13 07:11:14 +02:00
> a {
display: block;
padding: 10px 25px;
padding-right: 0px;
overflow: hidden;
2013-08-18 06:18:41 +02:00
color: fadeout(#fff, 20%);
&:hover {
color: #fff;
}
2013-07-25 23:33:04 +02:00
2013-08-13 07:11:14 +02:00
> i {
display: block;
float: right;
width: 20px;
text-align: center;
margin-right: 10px;
2013-07-25 23:33:04 +02:00
}
2013-08-13 07:11:14 +02:00
&:hover {
text-decoration: none;
2013-07-25 23:33:04 +02:00
}
}
}
li.none {
span {
display: block;
padding: 5px 25px;
color: #555;
font-style: italic;
}
}
2013-07-25 23:33:04 +02:00
}
2013-08-13 07:11:14 +02:00
.site-content {
overflow: hidden;
margin-left: @pfm-sidebar-size;
background: #fff;
height: 100%;
z-index: 100;
}
2013-08-13 07:11:14 +02:00
.file-over-notice {
display: none;
2013-07-25 23:33:04 +02:00
}