2018-06-29 15:20:08 +00:00
|
|
|
.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;
|
2020-08-27 01:46:53 +00:00
|
|
|
top: 32px;
|
2019-07-04 15:58:08 +00:00
|
|
|
height: $header-height;
|
2018-07-06 12:40:05 +00:00
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
position: relative;
|
2019-08-29 16:07:56 +00:00
|
|
|
background: $studio-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;
|
|
|
|
}
|
|
|
|
|
2019-07-04 15:58:08 +00:00
|
|
|
@include breakpoint( '>1280px' ) {
|
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-07-04 15:58:08 +00:00
|
|
|
height: $header-height;
|
2018-09-25 20:34:30 +00:00
|
|
|
justify-content: flex-end;
|
2018-06-29 15:20:08 +00:00
|
|
|
|
|
|
|
.dashicon,
|
|
|
|
.gridicon {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
|
2020-08-05 22:02:24 +00:00
|
|
|
// custom progress icon, requires specific coloring
|
|
|
|
&.setup-progress {
|
|
|
|
fill: none;
|
|
|
|
|
|
|
|
path:last-child {
|
|
|
|
stroke: currentColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2020-03-24 18:21:20 +00:00
|
|
|
|
|
|
|
&.has-text {
|
|
|
|
svg {
|
|
|
|
margin: 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;
|
2020-05-29 02:32:37 +00:00
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
2018-06-29 15:20:08 +00:00
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
2019-08-29 16:07:56 +00:00
|
|
|
background-color: $studio-white;
|
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-07-04 15:58:08 +00:00
|
|
|
height: $header-height;
|
2020-07-17 00:11:42 +00:00
|
|
|
color: $gray-700;
|
2020-08-05 22:02:24 +00:00
|
|
|
white-space: nowrap;
|
2018-06-29 15:20:08 +00:00
|
|
|
|
2019-07-25 01:36:51 +00:00
|
|
|
&::before {
|
2020-07-17 00:11:42 +00:00
|
|
|
background-color: var(--wp-admin-theme-color);
|
2019-07-25 01:36:51 +00:00
|
|
|
bottom: 0;
|
|
|
|
content: '';
|
|
|
|
height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
transition-property: height, opacity;
|
|
|
|
transition-duration: 300ms;
|
|
|
|
transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2018-06-29 15:20:08 +00:00
|
|
|
&.is-active {
|
2020-07-17 00:11:42 +00:00
|
|
|
color: $gray-900;
|
2018-07-06 12:40:05 +00:00
|
|
|
box-shadow: none;
|
|
|
|
|
2019-01-11 17:45:06 +00:00
|
|
|
&::before {
|
|
|
|
height: 3px;
|
2019-07-25 01:36:51 +00:00
|
|
|
opacity: 1;
|
2019-01-11 17:45:06 +00:00
|
|
|
}
|
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;
|
2020-06-16 00:24:01 +00:00
|
|
|
background: $alert-red;
|
2019-08-29 16:07:56 +00:00
|
|
|
border: 2px solid $studio-white;
|
2018-07-06 12:40:05 +00:00
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 50%;
|
2019-07-17 15:08:21 +00:00
|
|
|
top: 8px;
|
2018-07-06 12:40:05 +00:00
|
|
|
left: 50%;
|
|
|
|
|
2018-11-02 19:20:11 +00:00
|
|
|
@include breakpoint( '782px-960px' ) {
|
2018-07-06 12:40:05 +00:00
|
|
|
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
|
|
|
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 {
|
2020-07-17 00:11:42 +00:00
|
|
|
background-color: $gray-100;
|
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 {
|
2020-07-17 00:11:42 +00:00
|
|
|
border-color: $gray-200;
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
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 {
|
2020-07-17 00:11:42 +00:00
|
|
|
box-shadow: inset -1px -1px 0 $gray-700, inset 1px 1px 0 $gray-700;
|
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-07-04 15:58:08 +00:00
|
|
|
height: $header-height;
|
2020-08-27 01:46:53 +00:00
|
|
|
position: absolute;
|
2018-07-06 12:40:05 +00:00
|
|
|
right: 0;
|
2020-08-27 01:46:53 +00:00
|
|
|
bottom: 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;
|
2019-08-29 16:07:56 +00:00
|
|
|
border: 2px solid $studio-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 {
|
2019-07-25 01:17:18 +00:00
|
|
|
transition-property: transform box-shadow;
|
|
|
|
transition-duration: 300ms;
|
|
|
|
transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
|
2020-07-17 00:11:42 +00:00
|
|
|
@media screen and ( prefers-reduced-motion: reduce ) {
|
2019-07-25 01:33:41 +00:00
|
|
|
transition-duration: 1ms;
|
2018-07-13 20:28:01 +00:00
|
|
|
}
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-wrapper {
|
2019-07-04 15:58:08 +00:00
|
|
|
height: calc(100vh - #{$header-height + $header-height + $adminbar-height-mobile});
|
2020-07-17 00:11:42 +00:00
|
|
|
background: $gray-100;
|
2019-07-25 01:17:18 +00:00
|
|
|
width: 510px;
|
|
|
|
@include breakpoint( '<782px' ) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
transform: translateX(100%);
|
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-07-04 15:58:08 +00:00
|
|
|
top: #{$header-height + $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
|
|
|
|
2019-07-04 15:58:08 +00:00
|
|
|
@include breakpoint( '>782px' ) {
|
|
|
|
height: calc(100vh - #{$header-height + $adminbar-height});
|
|
|
|
top: #{$header-height + $adminbar-height};
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-open {
|
2019-07-25 01:17:18 +00:00
|
|
|
transform: initial;
|
|
|
|
box-shadow: 0 12px 12px 0 rgba(85, 93, 102, 0.3);
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
|
|
|
|
2019-07-25 01:34:53 +00:00
|
|
|
&.is-switching {
|
2018-07-06 12:40:05 +00:00
|
|
|
animation: tabSwitch;
|
|
|
|
animation-duration: 300ms;
|
2018-07-13 20:28:01 +00:00
|
|
|
|
2020-07-17 00:11:42 +00:00
|
|
|
@media screen and ( prefers-reduced-motion: reduce ) {
|
2018-07-13 20:28:01 +00:00
|
|
|
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;
|
2019-08-29 16:07:56 +00:00
|
|
|
border: 2px solid $studio-white;
|
2018-07-16 16:28:26 +00:00
|
|
|
}
|
|
|
|
}
|
2018-07-16 18:37:25 +00:00
|
|
|
|
2018-08-06 15:30:43 +00:00
|
|
|
.woocommerce-layout__notice-list-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-09-29 12:57:50 +00:00
|
|
|
|
|
|
|
.has-woocommerce-navigation .woocommerce-layout__activity-panel {
|
|
|
|
top: 0;
|
|
|
|
}
|