This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
suitedesk/themes/zen/layouts/one_sidebar_second/one-sidebar-second.css

50 lines
1.7 KiB
CSS

/**
* @file
* Zen panel layout
*
* This layout does include the standar Zen navbar, content and right sidebar
* layout. Markup has been reordered for Accessibility and SEO optimizations.
*/
.zen-one-sidebar-second {
/* overflow: hidden; */
position: relative;
margin-top: 0;
padding-top: 0;
}
.zen-one-sidebar-second .panel-navbar {
width: 100%;
float: left; /* LTR */
margin-left: 0; /* LTR */
margin-right: -100%; /* LTR */ /* Negative value of #navbar's width + left margin. */
padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-navbar. */
height: 8.3em; /* The navbar can have any arbritrary height. We picked one
that is the line-height plus 1em: 1.3 + 1 = 2.3
Set this to the same value as the margin-top below. */
}
.zen-one-sidebar-second .with-panel-header .panel-content,
.zen-one-sidebar-second .with-panel-header .panel-sidebar-first {
margin-top: 8.3em; /* Set this to the same value as the navbar height above. */
}
.zen-one-sidebar-second .panel-content {
float: left; /* LTR */
width: 640px;
margin-left: 0; /* LTR */
margin-right: -640px; /* LTR */ /* Negative value of #content's width + left margin. */
padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
}
.zen-one-sidebar-second .panel-sidebar-first {
float: left; /* LTR */
width: 320px;
margin-left: 640px; /* LTR */ /* Width of #content. */
margin-right: -960px; /* LTR */ /* Negative value of #sidebar-first's width + left margin. */
padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-first-inner. */
}
.zen-one-sidebar-second .panel-sidebar-first .panel-sidebar-first-inner {
margin-left: 20px;
}