2020-08-27 01:46:53 +00:00
|
|
|
$element-spacing: 13px;
|
|
|
|
$banner-height: 56px;
|
|
|
|
|
|
|
|
// This class is a hack, added conditionally when displaying the app banner, it
|
|
|
|
// can be refactored away when the activity panel goes away.
|
|
|
|
.woocommerce-layout__show-app-banner {
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( "<782px" ) {
|
2021-12-14 16:56:42 +00:00
|
|
|
.woocommerce-layout__header-wrapper {
|
|
|
|
padding-top: $banner-height;
|
|
|
|
}
|
2020-08-27 01:46:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-mobile-app-banner {
|
|
|
|
background-color: $woocommerce-brand-purple;
|
2021-12-14 16:56:42 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2020-08-27 01:46:53 +00:00
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
height: $banner-height;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 6px 0 4px;
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( ">400px" ) {
|
2020-08-27 01:46:53 +00:00
|
|
|
padding: 0 $element-spacing 0 10px;
|
|
|
|
}
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( ">782px" ) {
|
2020-08-27 01:46:53 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-05-25 15:14:14 +00:00
|
|
|
.gridicon {
|
2020-08-27 01:46:53 +00:00
|
|
|
fill: $white;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-button.is-secondary {
|
|
|
|
margin-left: auto;
|
|
|
|
color: $white;
|
|
|
|
box-shadow: inset 0 0 0 1px $white;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
color: $white;
|
|
|
|
box-shadow: inset 0 0 0 1px $white;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-mobile-app-banner__description {
|
|
|
|
color: $white;
|
|
|
|
margin-left: 8px;
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( ">400px" ) {
|
2020-08-27 01:46:53 +00:00
|
|
|
margin-left: $element-spacing;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-mobile-app-banner__description__text {
|
|
|
|
&:first-child {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
font-size: 10px;
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( ">400px" ) {
|
2020-08-27 01:46:53 +00:00
|
|
|
margin-left: 13px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|