92 lines
1.6 KiB
SCSS
92 lines
1.6 KiB
SCSS
.woocommerce-layout__header {
|
|
background: $studio-white;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
position: fixed;
|
|
width: calc(100% - 160px);
|
|
top: $adminbar-height;
|
|
z-index: 1001; /* on top of #wp-content-editor-tools */
|
|
|
|
&.is-scrolled {
|
|
box-shadow: $header-scroll-shadow;
|
|
}
|
|
|
|
.woocommerce-layout__header-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: $header-height;
|
|
}
|
|
|
|
.woocommerce-layout__header-back-button {
|
|
cursor: pointer;
|
|
margin-left: $gutter-large;
|
|
display: flex;
|
|
|
|
&:focus {
|
|
box-shadow: inset -1px -1px 0 #757575, inset 1px 1px 0 #757575;
|
|
}
|
|
}
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
flex-flow: row wrap;
|
|
top: $adminbar-height-mobile;
|
|
width: 100%;
|
|
}
|
|
|
|
@include breakpoint( '782px-960px' ) {
|
|
width: calc(100% - 36px);
|
|
}
|
|
|
|
.woocommerce-layout__header-breadcrumbs-wrapper {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.woocommerce-layout__header-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 0 0 $fallback-gutter-large;
|
|
padding: 0 0 0 $gutter-large;
|
|
flex: 1 auto;
|
|
height: $header-height;
|
|
background: $studio-white;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
|
|
&.with-back-button {
|
|
padding-left: $fallback-gutter;
|
|
}
|
|
}
|
|
}
|
|
|
|
.folded .woocommerce-layout__header {
|
|
width: calc(100% - 36px);
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.is-wp-toolbar-disabled .woocommerce-layout__header {
|
|
top: 0;
|
|
}
|
|
|
|
.has-woocommerce-navigation .woocommerce-layout__header {
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.woocommerce-page {
|
|
#contextual-help-link-wrap,
|
|
#screen-options-link-wrap {
|
|
margin-top: -1px;
|
|
}
|
|
}
|
|
|
|
.wp-responsive-open {
|
|
.woocommerce-layout__header {
|
|
margin-left: 2px;
|
|
}
|
|
}
|