2015-01-16 14:56:10 +08:00
|
|
|
body {
|
2015-02-10 15:35:40 +08:00
|
|
|
background: @fl-body-bg;
|
|
|
|
color: @fl-body-color;
|
|
|
|
padding-top: 56px;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.container-narrow {
|
2015-02-10 15:35:40 +08:00
|
|
|
max-width: 500px;
|
|
|
|
margin: 0 auto;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------------------
|
|
|
|
// Header
|
|
|
|
|
|
|
|
.global-header {
|
2015-02-10 15:35:40 +08:00
|
|
|
background: fade(@fl-hdr-bg, 98%);
|
|
|
|
transform: translateZ(0); // Fix for Chrome bug where a transparent white background is actually gray
|
|
|
|
padding: 10px;
|
|
|
|
height: 56px;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: @zindex-navbar-fixed;
|
|
|
|
.clearfix();
|
|
|
|
.transition(box-shadow 0.2s);
|
2015-01-16 14:56:10 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
.scrolled & {
|
2015-02-16 10:10:57 +08:00
|
|
|
.box-shadow(0 2px 6px @fl-shadow-color);
|
2015-02-10 15:35:40 +08:00
|
|
|
}
|
2015-02-08 13:30:09 +08:00
|
|
|
|
2015-02-16 10:10:57 +08:00
|
|
|
& when (@fl-colored-hdr = true) {
|
2015-02-10 15:35:40 +08:00
|
|
|
&, & .btn-link {
|
|
|
|
color: @fl-hdr-control-color;
|
|
|
|
}
|
|
|
|
& .form-control {
|
|
|
|
background: @fl-hdr-control-bg;
|
|
|
|
border: 0;
|
|
|
|
color: @fl-hdr-control-color;
|
|
|
|
.placeholder(@fl-hdr-control-color);
|
2015-02-08 13:30:09 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
&:focus {
|
|
|
|
background: fadein(@fl-hdr-control-bg, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& .search-input:before {
|
|
|
|
color: @fl-hdr-control-color;
|
|
|
|
}
|
|
|
|
& .btn-default, & .btn-default:hover {
|
|
|
|
background: @fl-hdr-control-bg;
|
|
|
|
color: @fl-hdr-control-color;
|
|
|
|
}
|
|
|
|
& .btn-default.active, .open > .dropdown-toggle.btn-default {
|
|
|
|
background: fadein(@fl-hdr-control-bg, 5%);
|
|
|
|
}
|
|
|
|
& .btn-naked {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.header-controls {
|
2015-02-10 15:35:40 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
&, & > li {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.header-primary {
|
2015-02-10 15:35:40 +08:00
|
|
|
float: left;
|
|
|
|
& h1 {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.header-title {
|
2015-02-10 15:35:40 +08:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 36px;
|
|
|
|
&, & a {
|
|
|
|
color: @fl-hdr-color;
|
|
|
|
}
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.header-secondary {
|
2015-02-10 15:35:40 +08:00
|
|
|
float: right;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Back button
|
|
|
|
// @todo Lots of !importants in here, could we be more specific?
|
|
|
|
.back-button {
|
2015-02-10 15:35:40 +08:00
|
|
|
float: left;
|
|
|
|
margin-right: 25px;
|
2015-01-16 14:56:10 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
& .back {
|
|
|
|
z-index: 3 !important; // z-index of an active .btn-group .btn is 2
|
|
|
|
border-radius: @border-radius-base !important;
|
|
|
|
.transition(border-radius 0.2s);
|
|
|
|
}
|
|
|
|
& .pin {
|
|
|
|
opacity: 0;
|
|
|
|
margin-left: -36px !important;
|
|
|
|
.transition(~"opacity 0.2s, margin-left 0.2s");
|
2015-01-16 14:56:10 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
&:not(.active) .fa {
|
|
|
|
.rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
& .back {
|
|
|
|
border-radius: @border-radius-base 0 0 @border-radius-base !important;
|
|
|
|
}
|
|
|
|
& .pin {
|
|
|
|
opacity: 1;
|
|
|
|
margin-left: 1px !important;
|
|
|
|
}
|
|
|
|
}
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------------------
|
|
|
|
// Main
|
|
|
|
|
|
|
|
.global-main, .paned {
|
2015-02-16 10:10:57 +08:00
|
|
|
border-top: 1px solid @fl-body-control-bg;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Hero
|
|
|
|
.hero {
|
2015-02-10 15:35:40 +08:00
|
|
|
background: @fl-body-hero-bg;
|
|
|
|
color: @fl-body-hero-color;
|
|
|
|
margin-top: -1px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 30px 0;
|
|
|
|
font-size: 14px;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.hero .close {
|
2015-02-10 15:35:40 +08:00
|
|
|
float: right;
|
|
|
|
margin-top: -10px;
|
|
|
|
color: #fff;
|
|
|
|
opacity: 0.5;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.hero h2 {
|
2015-02-10 15:35:40 +08:00
|
|
|
margin: 0;
|
|
|
|
font-size: 22px;
|
|
|
|
font-weight: normal;
|
2015-02-16 10:10:57 +08:00
|
|
|
// color: @fl-body-heading-color;
|
2015-02-08 13:30:09 +08:00
|
|
|
|
2015-02-16 10:10:57 +08:00
|
|
|
// & when (@fl-colored-hdr = true) {
|
|
|
|
// color: @fl-body-color;
|
|
|
|
// }
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.hero p {
|
2015-02-10 15:35:40 +08:00
|
|
|
margin: 10px 0 0;
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------------------
|
|
|
|
// Footer
|
|
|
|
|
|
|
|
.global-footer {
|
2015-02-10 15:35:40 +08:00
|
|
|
margin: 100px 0 20px;
|
|
|
|
color: @fl-body-muted-more-color;
|
|
|
|
.clearfix();
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.footer-primary, .footer-secondary {
|
2015-02-10 15:35:40 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
2015-01-16 14:56:10 +08:00
|
|
|
|
2015-02-10 15:35:40 +08:00
|
|
|
& > li {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
& a {
|
|
|
|
color: @fl-body-muted-more-color;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @link-hover-color;
|
|
|
|
}
|
|
|
|
}
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.footer-primary {
|
2015-02-10 15:35:40 +08:00
|
|
|
display: inline-block;
|
|
|
|
& > li {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
2015-01-16 14:56:10 +08:00
|
|
|
}
|
|
|
|
.footer-secondary {
|
2015-02-10 15:35:40 +08:00
|
|
|
float: right;
|
|
|
|
& > li {
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
2015-02-08 13:30:09 +08:00
|
|
|
}
|