Sha256: cbd906e0feff9759e2f56b620d4bb40404798c9022840819da7e135397418045
Contents?: true
Size: 1.57 KB
Versions: 99
Compression:
Stored size: 1.57 KB
Contents
// Table of Contents // ================================================== // Layout // Media Queries // Layout // ================================================== .layout { height: 100%; width: 100%; } .layout-body, .layout-sidebar { @include overflow-scrolling(touch); float: left; height: 100%; overflow-x: hidden; overflow-y: auto; &.with-sticky-header { height: calc(100% - 76px); margin-top: 76px; } } .layout-body { width: 100%; } .layout-sidebar { width: 300px; &:not(.hidden) + .layout-body { width: calc(100% - 300px); } &.fixed { left: 0; position: fixed; right: 0; top: 0; z-index: 1060; + .layout-body { width: 100%; } } } // Media Queries // ================================================== @media only screen and (min-width: 960px) and (max-width: 1365px) { .layout-sidebar { width: 260px; &:not(.hidden) + .layout-body { width: calc(100% - 260px); } &.fixed + .layout-body { width: 100%; } } } @media only screen and (min-width: 768px) and (max-width: 959px) { .layout-sidebar { width: 220px; &:not(.hidden) + .layout-body { width: calc(100% - 220px); } &.fixed + .layout-body { width: 100%; } } } @media only screen and (max-width: 767px) { .layout-body, .layout-sidebar { &.with-sticky-header { height: calc(100% - 50px); margin-top: 50px; &.with-sticky-navbar { height: calc(100% - 100px); } } } .layout-sidebar { width: 260px; &:not(.hidden) + .layout-body { width: calc(100% - 260px); } &.fixed + .layout-body { width: 100%; } } }
Version data entries
99 entries across 99 versions & 1 rubygems