/* Table of Contents ================================================== # Canvas # Media Queries */ /* # Canvas ================================================== */ .canvas { clear: both; display: block; min-height: 100%; height: 100%; max-width: 100%; width: 100%; z-index: 1030; } .canvas-content, .canvas-sidebar, .canvas-toolbar { box-sizing: border-box; display: block; float: left; min-height: 100%; height: 100%; @include overflow-scrolling(touch); z-index: 1030; } .canvas-content { overflow-x: hidden; overflow-y: auto; padding: 20px 0; max-width: 100%; width: 100%; } .canvas-content-with-sidebar { max-width: calc(100% - 280px); width: calc(100% - 280px); } .canvas-content-with-toolbar { max-width: calc(100% - 55px); width: calc(100% - 55px); } .canvas-content-with-dual-toolbar { max-width: calc(100% - 110px); width: calc(100% - 110px); } .canvas-content-with-sidebar-and-toolbar { max-width: calc(100% - 335px); width: calc(100% - 335px); } .canvas-content-with-sidebar-and-dual-toolbar { max-width: calc(100% - 390px); width: calc(100% - 390px); } .canvas-sidebar { max-width: 280px; width: 280px; } .canvas-toolbar { max-width: 55px; width: 55px; } .canvas-section-with-header, .canvas-section-with-header-and-footer { margin-top: 60px; } .canvas-section-with-header-and-subheader, .canvas-section-with-header-and-subheader-and-footer { margin-top: 102px; } .canvas-section-with-header { min-height: calc(100% - 60px) !important; height: calc(100% - 60px) !important; } .canvas-section-with-header-and-subheader { min-height: calc(100% - 102px) !important; height: calc(100% - 102px) !important; } .canvas-section-with-header-and-footer { min-height: calc(100% - 90px) !important; height: calc(100% - 90px) !important; } .canvas-section-with-header-and-subheader-and-footer { min-height: calc(100% - 132px) !important; height: calc(100% - 132px) !important; } .canvas-section-with-footer { min-height: calc(100% - 30px) !important; height: calc(100% - 30px) !important; } .canvas-section-with-subheader-and-footer { min-height: calc(100% - 72px) !important; height: calc(100% - 72px) !important; } /* # Media Queries ================================================== */ @media only screen and (max-width: 1365px) { .canvas-sidebar { max-width: 250px; width: 250px; } .canvas-content-with-sidebar { max-width: calc(100% - 250px); width: calc(100% - 250px); } .canvas-content-with-sidebar-and-toolbar { max-width: calc(100% - 305px); width: calc(100% - 305px); } .canvas-content-with-sidebar-and-dual-toolbar { max-width: calc(100% - 360px); width: calc(100% - 360px); } } @media only screen and (max-width: 1199px) { .canvas-sidebar { max-width: 220px; width: 220px; } .canvas-content-with-sidebar { max-width: calc(100% - 220px); width: calc(100% - 220px); } .canvas-content-with-sidebar-and-toolbar { max-width: calc(100% - 275px); width: calc(100% - 275px); } .canvas-content-with-sidebar-and-dual-toolbar { max-width: calc(100% - 330px); width: calc(100% - 330px); } } @media only screen and (max-width: 959px) { .canvas-sidebar { max-width: 200px; width: 200px; } .canvas-content-with-sidebar { max-width: calc(100% - 200px); width: calc(100% - 200px); } .canvas-content-with-sidebar-and-toolbar { max-width: calc(100% - 255px); width: calc(100% - 255px); } .canvas-content-with-sidebar-and-dual-toolbar { max-width: calc(100% - 310px); width: calc(100% - 310px); } } @media only screen and (max-width: 767px) { .canvas-sidebar, .canvas-toolbar { display: none; } .canvas-content-with-sidebar, .canvas-content-with-toolbar, .canvas-content-with-dual-toolbar, .canvas-content-with-sidebar-and-toolbar, .canvas-content-with-sidebar-and-dual-toolbar { max-width: 100%; width: 100%; } .canvas-section-with-header, .canvas-section-with-header-and-subheader, .canvas-section-with-header-and-footer, .canvas-section-with-header-and-subheader-and-footer, .canvas-section-with-header-and-navbar { margin-top: 50px; } .canvas-section-with-header, .canvas-section-with-header-and-subheader { min-height: calc(100% - 50px); height: calc(100% - 50px); } .canvas-section-with-header-and-footer, .canvas-section-with-header-and-subheader-and-footer { min-height: calc(100% - 80px); height: calc(100% - 80px); } .canvas-section-with-header-and-navbar { min-height: calc(100% - 99px) !important; height: calc(100% - 99px) !important; } .canvas-section-with-navbar { min-height: calc(100% - 49px) !important; height: calc(100% - 49px) !important; } }