Files
deployd/lib/resources/dashboard/stylesheets/layout.less

146 lines
2.1 KiB
Plaintext

html {
height: 100%;
}
body {
min-height: 100%;
.display-box();
.box-orient(vertical);
width: 100%;
}
#header {
// background: none !important;
background: rgba(33,33,33,0.5) url(../img/fabric.png) !important;
.box-shadow(inset 1px 1px 10px rgba(0,0,0,.5));
// background: !important;
border-bottom: 1px solid #111111;
padding: 0 22px;
.display-box();
.box-orient(horizontal);
.box-align(center);
.header-link.header-logo {
margin-right: -4px;
}
.header-link {
padding: 0px 12px;
border-left: @grayDarker 1px solid;
color: white;
display: inline-block;
margin: 0;
font-size: 16px;
line-height: 38px;
> i {
margin-top: 2px;
}
&:hover, &.active {
background: rgba(255,255,255, 0.1);
text-decoration: none;
}
.caret {
opacity: 1;
border-top-color: white;
margin-top: 18px;
}
}
.dpd-logo {
vertical-align: middle;
margin-top: -2px;
}
.seperator {
.box-flex(1);
}
h1, h2 {
white-space: nowrap;
color: @white;
display: inline-block;
margin: 0;
}
}
#body-container {
padding: 20px;
padding-top: 10px;
min-height: 100%;
width: 100%;
min-width: 1000px;
.box-sizing(border-box);
.box-flex(1);
.display-box();
}
#resource-sidebar-container {
width: 250px;
margin-right: 10px;
.well {
margin-bottom: 10px;
}
}
#main-container {
.box-flex(1);
.display-box();
.box-orient(vertical);
width: 100%;
}
.section-header {
.display-box();
width: 100%;
margin-bottom: 10px;
h3 {
vertical-align: middle;
.box-flex(1);
.display-box();
.box-align(center);
margin: 0 !important;
}
}
#main-container .well.full-page {
.box-flex(1);
}
.well h3 {
height: 28px;
line-height: 28px;
margin-top: 0;
margin-bottom: 10px;
}
#resources-empty {
// margin-bottom: 0;
text-align: center;
font-style: italic;
}
.two-column-container {
.display-box();
width: 100%;
.box-sizing(border-box);
.main-column {
.box-flex(1);
}
.sidebar-column {
margin-left: 10px;
width: 250px;
}
}