causeway-standard-theme
Version:
104 lines (100 loc) • 1.99 kB
text/less
@navbarwidth: 100%;
@panelHeight: 50%;
.two-pane-horizontal {
padding-top: @heading-height + @site-menu-height;
padding-bottom: @footer-height;
overflow: hidden;
height: 100%;
.navigation-pane-right & {
padding-top: 0;
}
.twopane-divider-horizontal {
left: 0;
height: @divider-size;
width: @navbarwidth;
.noselect;
border-top: 5px solid @white;
border-bottom: 5px solid @white;
}
.divider:after {
margin-top: 0;
left: 50%;
top: -2px;
width: 34px;
height: 6px;
margin-left: -17px;
border-top: 0 none;
border-bottom: 0 none;
border-left: 2px solid @white;
border-right: 2px solid @white;
background: repeating-linear-gradient(
90deg,
@white,
@white 1px,
@black060 1px,
@black060 2px
);
.has-two-pane & {
margin-left: 150px;
}
}
.pane-wrapper{
height: 100%;
overflow-x: hidden;
overflow-y: auto;
.pane {
padding: 0 20px 20px 20px;
}
}
.pane-top {
height: @panelHeight;
}
.pane-bottom {
height: @panelHeight;
min-height: 100px;
padding-top: 8px;
.pane-header-bg {
background-color: @black080;
height: 100px;
margin: -20px -20px 20px -20px;
}
h3 {
color: @white;
.font-size(23);
padding-top: 23px;
margin-left: 20px;
margin-top: 0;
}
}
}
@media @desktop {
@site-menu-height: 44px;
.two-pane-horizontal {
padding-top: @heading-height + @site-menu-height;
.pane-left,
.pane-right {
float: none;
width: 100%;
height: 100%;
}
.nav {
&.nav-tabs {
display: block;
> li {
width: 50%;
> a {
margin-right: 0;
line-height: 42px;
}
}
}
}
.twopane-divider-horizontal {
display: none;
}
.tab-content {
height: 100%;
overflow-y: auto;
}
}
}