@import "variables.less"; /* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} body { margin: 0; background-color: @white-lighter; &.error404, &.search-no-results, &.blog, &.archive, &.search-results, &.page-template-with-right-sidebar, &.page-template-with-left-sidebar, &.page-template-with-right-shop-sidebar, &.page-template-with-left-shop-sidebar, &.single { .site-main { margin: 60px 0; } } } html { overflow-y:scroll; } #preloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: @white-lighter; z-index: 9999; height: 100%; #status { background-color: @white; position: fixed; left: 50%; top: 50%; .vendor(transform, translate(-50%, -50%)); width: 130px; height: 130px; border-radius: 100%; &::before { content: ''; position: absolute; background-size: cover; left: 35px; top: 35px; bottom: 35px; right: 35px; } } } .site { .site-main { position: relative; z-index: 1; } } #content { &::after { content:""; display:table; clear:both; } } .content-area { } .page-template-default { .content-area { padding-top: 0; } } .container{ .container(); &::after { content:""; display:table; clear:both; } } .container { &.active-sidebar { display: table; width:100%; table-layout: fixed; #primary { width: 75%; display: table-cell; vertical-align: top; height: 100%; } #tertiary { width: 25%; display: table-cell; vertical-align: top; height: 100%; .sidebar-inner { margin-right: 30px; position: relative; z-index: 3; } } #primary + #tertiary { .sidebar-inner { margin-right: 0; margin-left: 30px; } } } } @media (max-width: 992px) { .container { &.active-sidebar { #primary { width: 60%; } #tertiary { width: 40%; } } } } @media (max-width: 786px) { .site-main { .container { &.active-sidebar:first-child { .vendor(display, flex); .vendor(flex-direction, column-reverse); } } } .container { &.active-sidebar { display: block; &.left { .vendor(display, flex); .vendor(flex-direction, column-reverse); } #primary { width: auto; display: block; padding-bottom: 30px; } #tertiary { width: auto; display: block; .sidebar-inner { margin-right: 0; } } #primary + #tertiary { .sidebar-inner { margin-right: 0; margin-left: 0; } } } } }