Pony.fm/app/styles/layout.less

209 lines
2.9 KiB
Text
Raw Normal View History

2015-04-12 03:22:15 +02:00
@import 'base/bootstrap/bootstrap';
@import 'mixins';
@import '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-09-02 04:11:29 +02:00
padding: 0px !important;
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: 42px;
2013-09-03 11:42:03 +02:00
background: #84528A;
2013-08-13 07:11:14 +02:00
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;
position: relative;
2013-07-25 23:33:04 +02:00
2013-08-13 07:11:14 +02:00
&:hover {
2013-09-03 11:42:03 +02:00
background: darken(#84528A, 25%);
2013-08-13 07:11:14 +02:00
color: #fff;
text-decoration: none;
2013-07-25 23:33:04 +02:00
}
small {
font-family: 'Arial';
font-size: 8pt;
color: #eee;
position: absolute;
top: 30px;
left: 33px;
}
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;
2013-09-03 11:42:03 +02:00
background: #fff;
2013-07-29 22:54:53 +02:00
position: relative;
2013-08-13 07:11:14 +02:00
z-index: 500;
2013-09-03 11:42:03 +02:00
border-bottom: 1px solid #bcbcbc;
2013-07-29 22:54:53 +02:00
}
2013-08-13 07:11:14 +02:00
.sidebar {
2013-09-03 11:42:03 +02:00
background: #515151;
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;
2013-09-03 11:42:03 +02:00
background: darken(#515151, 5%);
2013-08-13 07:11:14 +02:00
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
}