2018-06-29 15:20:08 +00:00
|
|
|
/** @format */
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2018-07-06 12:40:05 +00:00
|
|
|
align-items: center;
|
2018-06-29 15:20:08 +00:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2019-04-30 09:43:55 +00:00
|
|
|
height: $medium-header-height;
|
2018-07-06 12:40:05 +00:00
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
position: relative;
|
2018-11-01 21:03:00 +00:00
|
|
|
background: $white;
|
2018-07-06 12:40:05 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100vw;
|
|
|
|
display: none;
|
|
|
|
flex: 1 100%;
|
|
|
|
}
|
2018-06-29 15:20:08 +00:00
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '782px-960px' ) {
|
2018-06-29 15:20:08 +00:00
|
|
|
max-width: 280px;
|
|
|
|
}
|
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '>960px' ) {
|
2019-04-30 09:43:55 +00:00
|
|
|
height: $large-header-height;
|
2018-07-06 12:40:05 +00:00
|
|
|
max-width: 400px;
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-mobile-open {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-tabs {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
2019-04-30 09:43:55 +00:00
|
|
|
height: $medium-header-height;
|
2018-09-25 20:34:30 +00:00
|
|
|
justify-content: flex-end;
|
2018-06-29 15:20:08 +00:00
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '>960px' ) {
|
2019-04-30 09:43:55 +00:00
|
|
|
height: $large-header-height;
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dashicon,
|
|
|
|
.gridicon {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '>960px' ) {
|
2018-06-29 15:20:08 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-icon-button {
|
|
|
|
display: initial;
|
2018-10-30 13:17:17 +00:00
|
|
|
text-indent: 0;
|
|
|
|
border-radius: 0;
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-tab {
|
2018-09-25 20:34:30 +00:00
|
|
|
display: flex;
|
2018-09-03 15:08:19 +00:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2018-06-29 15:20:08 +00:00
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
2018-07-06 12:40:05 +00:00
|
|
|
background-color: $white;
|
|
|
|
color: $core-grey-dark-500;
|
2018-09-25 20:34:30 +00:00
|
|
|
max-width: min-content;
|
|
|
|
min-width: 80px;
|
2018-06-29 15:20:08 +00:00
|
|
|
width: 100%;
|
2019-01-11 17:45:06 +00:00
|
|
|
font-size: 11px;
|
2019-04-30 09:43:55 +00:00
|
|
|
height: $medium-header-height;
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '>960px' ) {
|
2019-01-11 17:45:06 +00:00
|
|
|
font-size: 13px;
|
2019-04-30 09:43:55 +00:00
|
|
|
height: $large-header-height;
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
2018-06-29 15:20:08 +00:00
|
|
|
|
|
|
|
&.is-active {
|
2018-07-06 12:40:05 +00:00
|
|
|
color: $core-grey-dark-700;
|
|
|
|
box-shadow: none;
|
|
|
|
|
2019-01-11 17:45:06 +00:00
|
|
|
&::before {
|
|
|
|
background-color: $woocommerce;
|
|
|
|
bottom: 0;
|
|
|
|
content: '';
|
|
|
|
height: 3px;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
|
|
|
|
2018-10-30 13:17:17 +00:00
|
|
|
&.has-unread::after,
|
|
|
|
&.woocommerce-layout__activity-panel-tab-wordpress-notices::after {
|
2018-07-06 12:40:05 +00:00
|
|
|
content: ' ';
|
|
|
|
position: absolute;
|
|
|
|
padding: 1px;
|
|
|
|
background: $core-orange;
|
|
|
|
border: 2px solid $white;
|
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 50%;
|
|
|
|
top: 10px;
|
|
|
|
left: 50%;
|
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '782px-960px' ) {
|
2018-07-06 12:40:05 +00:00
|
|
|
top: 8px;
|
|
|
|
right: 18px;
|
|
|
|
left: initial;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '>960px' ) {
|
2018-07-06 12:40:05 +00:00
|
|
|
top: 16px;
|
|
|
|
right: 28px;
|
|
|
|
left: initial;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
2019-01-11 17:45:06 +00:00
|
|
|
&.components-button:not(:disabled):not([aria-disabled='true']):hover {
|
2018-07-06 12:40:05 +00:00
|
|
|
background-color: $core-grey-light-200;
|
2018-06-29 15:20:08 +00:00
|
|
|
box-shadow: none;
|
2018-07-06 12:40:05 +00:00
|
|
|
|
2018-10-30 13:17:17 +00:00
|
|
|
&.has-unread::after,
|
|
|
|
&.woocommerce-layout__activity-panel-tab-wordpress-notices::after {
|
2018-07-06 12:40:05 +00:00
|
|
|
border-color: $core-grey-light-200;
|
|
|
|
}
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
|
2019-01-11 17:45:06 +00:00
|
|
|
&:focus,
|
|
|
|
&.components-button:not(:disabled):not([aria-disabled='true']):focus {
|
|
|
|
box-shadow: inset -1px -1px 0 $core-grey-dark-300, inset 1px 1px 0 $core-grey-dark-300;
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-mobile-toggle {
|
|
|
|
margin-right: 10px;
|
2018-07-06 12:40:05 +00:00
|
|
|
max-width: 48px;
|
2019-04-30 09:43:55 +00:00
|
|
|
height: $small-header-height;
|
2018-07-06 12:40:05 +00:00
|
|
|
position: fixed;
|
2019-04-30 09:43:55 +00:00
|
|
|
top: $adminbar-height-mobile;
|
2018-07-06 12:40:05 +00:00
|
|
|
right: 0;
|
2018-06-29 15:20:08 +00:00
|
|
|
@include breakpoint( '>782px' ) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-22 01:42:42 +00:00
|
|
|
.wp-responsive-open .woocommerce-layout__activity-panel-mobile-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-10-30 13:17:17 +00:00
|
|
|
.woocommerce-layout__activity-panel-toggle-bubble.has-unread::after {
|
2018-07-18 15:20:00 +00:00
|
|
|
content: ' ';
|
|
|
|
position: absolute;
|
|
|
|
padding: 1px;
|
|
|
|
background: $core-orange;
|
2018-11-01 21:03:00 +00:00
|
|
|
border: 2px solid $white;
|
2018-07-18 15:20:00 +00:00
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 50%;
|
|
|
|
top: 6px;
|
|
|
|
right: 4px;
|
|
|
|
}
|
|
|
|
|
2018-07-06 12:40:05 +00:00
|
|
|
@keyframes tabSwitch {
|
|
|
|
0%,
|
|
|
|
100% {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: translateX(100px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin activity-panel-slide {
|
|
|
|
transition: width 300ms cubic-bezier(0.42, 0, 0.58, 1);
|
2018-07-13 20:28:01 +00:00
|
|
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
|
|
transition: none;
|
|
|
|
}
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-wrapper {
|
2019-04-30 09:43:55 +00:00
|
|
|
height: calc(100vh - #{$medium-header-height + $small-header-height + $adminbar-height-mobile});
|
2018-07-09 15:46:31 +00:00
|
|
|
background: $core-grey-light-200;
|
|
|
|
box-shadow: 0 12px 12px 0 rgba(85, 93, 102, 0.3);
|
2018-10-30 13:17:17 +00:00
|
|
|
width: 0;
|
2018-07-06 12:40:05 +00:00
|
|
|
@include activity-panel-slide();
|
2018-06-29 15:20:08 +00:00
|
|
|
position: fixed;
|
2018-10-30 13:17:17 +00:00
|
|
|
right: 0;
|
2019-04-30 09:43:55 +00:00
|
|
|
top: #{$medium-header-height + $small-header-height + $adminbar-height-mobile};
|
2018-06-29 15:20:08 +00:00
|
|
|
z-index: 1000;
|
|
|
|
overflow-x: hidden;
|
2019-01-11 17:45:06 +00:00
|
|
|
overflow-y: auto;
|
2018-06-29 15:20:08 +00:00
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '782px-960px' ) {
|
2019-04-30 09:43:55 +00:00
|
|
|
height: calc(100vh - #{$medium-header-height + $adminbar-height});
|
|
|
|
top: #{$medium-header-height + $adminbar-height};
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
|
2019-04-30 09:43:55 +00:00
|
|
|
@include breakpoint( '>960px' ) {
|
|
|
|
height: calc(100vh - #{$large-header-height + $adminbar-height});
|
|
|
|
top: #{$large-header-height + $adminbar-height};
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-open {
|
|
|
|
@include activity-panel-slide();
|
|
|
|
width: 510px;
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-content {
|
|
|
|
animation: tabSwitch;
|
|
|
|
animation-duration: 300ms;
|
2018-07-13 20:28:01 +00:00
|
|
|
|
|
|
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
|
|
animation: none;
|
|
|
|
}
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
2019-03-15 01:26:16 +00:00
|
|
|
|
|
|
|
.woocommerce-empty-content {
|
|
|
|
padding-left: $gap-large;
|
|
|
|
padding-right: $gap-large;
|
|
|
|
}
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
2018-07-16 13:53:38 +00:00
|
|
|
|
2018-07-16 16:28:26 +00:00
|
|
|
.woocommerce-layout__activity-panel-avatar-flag-overlay {
|
|
|
|
position: relative;
|
|
|
|
top: -$gap-small;
|
2018-07-16 18:37:25 +00:00
|
|
|
|
2018-07-16 16:28:26 +00:00
|
|
|
.woocommerce-flag {
|
|
|
|
position: relative;
|
|
|
|
top: 16px;
|
|
|
|
border: 2px solid $white;
|
|
|
|
}
|
|
|
|
}
|
2018-07-16 18:37:25 +00:00
|
|
|
|
2018-08-06 15:30:43 +00:00
|
|
|
.woocommerce-layout__notice-list-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slideDown {
|
|
|
|
0% {
|
|
|
|
transform: translateY(-100%);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__notice-list-show {
|
|
|
|
margin-top: 100px;
|
|
|
|
animation: slideDown;
|
|
|
|
animation-duration: 1s;
|
|
|
|
|
|
|
|
&.has-screen-meta-links {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
margin-top: 115px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#wp__notice-list-uncollapsed {
|
|
|
|
visibility: hidden;
|
|
|
|
margin: -2px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wp__notice-list {
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__notice-list .jitm-card {
|
|
|
|
margin: 5px 15px 2px;
|
|
|
|
padding: 1px 12px;
|
|
|
|
}
|