2015-02-01 22:25:09 +01:00
|
|
|
/*
|
|
|
|
* Core: Genral Layout Style
|
|
|
|
* -------------------------
|
|
|
|
*/
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
min-height: 100%;
|
|
|
|
.layout-boxed & {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-02 18:39:29 +01:00
|
|
|
body {
|
2015-02-01 22:25:09 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Layout */
|
|
|
|
.wrapper {
|
|
|
|
.clearfix();
|
|
|
|
min-height: 100%;
|
|
|
|
position: static;
|
|
|
|
overflow: hidden;
|
|
|
|
.layout-boxed & {
|
|
|
|
max-width: 1250px;
|
|
|
|
margin: 0 auto;
|
|
|
|
min-height: 100%;
|
|
|
|
box-shadow: 0 0 8px rgba(0,0,0,0.5);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-boxed {
|
|
|
|
background: url('../img/boxed-bg.jpg') repeat fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Content Wrapper - contins main content
|
|
|
|
* ```.right-side has been deprecated as of v2.0 in favor of .content-wrapper ```
|
|
|
|
*/
|
|
|
|
.content-wrapper,
|
|
|
|
.right-side,
|
|
|
|
.main-footer {
|
2015-02-06 22:43:14 +01:00
|
|
|
.transition(margin-left @transition-speed @transition-fn);
|
|
|
|
.transition(transform @transition-speed @transition-fn);
|
2015-02-01 22:25:09 +01:00
|
|
|
margin-left: @sidebar-width;
|
|
|
|
//Top nav layout
|
|
|
|
.layout-top-nav & {
|
|
|
|
margin-left: 0!important;
|
|
|
|
}
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.sidebar-collapse & {
|
|
|
|
@media (min-width: @screen-sm) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.sidebar-open & {
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
.translate(@sidebar-width, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-wrapper,
|
|
|
|
.right-side {
|
|
|
|
min-height: 100%;
|
|
|
|
background-color: @body-bg;
|
|
|
|
z-index: 800;
|
|
|
|
//In case of printing
|
|
|
|
@media print {
|
|
|
|
margin: 0!important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.main-footer {
|
|
|
|
background: #fff;
|
|
|
|
padding: 15px;
|
|
|
|
color: #444;
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fixed layout */
|
|
|
|
.fixed {
|
2015-02-02 18:39:29 +01:00
|
|
|
.main-header,
|
|
|
|
.main-sidebar,
|
|
|
|
.left-side {
|
2015-02-01 22:25:09 +01:00
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
.main-header {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.content-wrapper,
|
|
|
|
.right-side {
|
|
|
|
padding-top: 50px;
|
|
|
|
@media (max-width: @screen-header-collapse) {
|
|
|
|
padding-top: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.layout-boxed {
|
|
|
|
.wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Content */
|
|
|
|
.content {
|
|
|
|
min-height: 250px;
|
|
|
|
padding: 15px;
|
|
|
|
.container-fixed(@grid-gutter-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* H1 - H6 font */
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
.h1,
|
|
|
|
.h2,
|
|
|
|
.h3,
|
|
|
|
.h4,
|
|
|
|
.h5,
|
|
|
|
.h6 {
|
|
|
|
font-family: 'Source Sans Pro', sans-serif;
|
|
|
|
}
|
|
|
|
/* General Links */
|
|
|
|
a {
|
|
|
|
color: @link-color;
|
|
|
|
}
|
|
|
|
a:hover, a:active, a:focus {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
color: @link-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Page Header */
|
|
|
|
.page-header {
|
|
|
|
margin: 10px 0 20px 0;
|
|
|
|
font-size: 22px;
|
|
|
|
|
|
|
|
> small {
|
|
|
|
color: #666;
|
|
|
|
display: block;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Don't display when printing */
|
|
|
|
@media print {
|
|
|
|
//Add to elements that you do not want to show when printing
|
|
|
|
.no-print {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
//Elements that we want to hide when printing
|
2015-02-02 18:39:29 +01:00
|
|
|
.main-sidebar,
|
|
|
|
.left-side,
|
|
|
|
.header,
|
|
|
|
.content-header {
|
2015-02-01 22:25:09 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
//This is the only element that should appear, so let's remove the margins
|
|
|
|
.content-wrapper,
|
|
|
|
.right-side {
|
|
|
|
margin: 0!important;
|
|
|
|
}
|
|
|
|
}
|