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;
|
2019-07-04 15:58:08 +00:00
|
|
|
height: $header-height;
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2020-10-22 22:13:14 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2018-06-29 15:20:08 +00:00
|
|
|
|
2020-10-22 22:13:14 +00:00
|
|
|
&.woocommerce-layout__activity-panel-tab-icon {
|
2020-08-05 22:02:24 +00:00
|
|
|
fill: none;
|
|
|
|
|
2020-10-22 22:13:14 +00:00
|
|
|
rect,
|
|
|
|
path {
|
2020-08-05 22:02:24 +00:00
|
|
|
stroke: currentColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-14 18:31:50 +00:00
|
|
|
.setup-progress-slice {
|
|
|
|
stroke: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setup-progress-ring {
|
|
|
|
stroke-width: 2px;
|
2020-10-22 22:13:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__homescreen-display-options {
|
|
|
|
svg.woocommerce-layout__activity-panel-tab-icon {
|
|
|
|
height: 14px;
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-16 13:29:54 +00:00
|
|
|
.woocommerce-layout__homescreen-extension-tasklist-toggle {
|
|
|
|
min-width: 205px;
|
|
|
|
}
|
|
|
|
|
2018-06-29 15:20:08 +00:00
|
|
|
.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-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;
|
2024-03-26 13:41:34 +00:00
|
|
|
content: "";
|
2019-07-25 01:36:51 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2020-10-22 22:13:14 +00:00
|
|
|
&.is-active,
|
|
|
|
&.is-opened {
|
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 {
|
2024-03-26 13:41:34 +00:00
|
|
|
content: " ";
|
2018-07-06 12:40:05 +00:00
|
|
|
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%;
|
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( "782px-960px" ) {
|
2018-07-06 12:40:05 +00:00
|
|
|
right: 18px;
|
|
|
|
left: initial;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2024-03-26 13:41:34 +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,
|
2024-03-26 13:41:34 +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,
|
2024-03-26 13:41:34 +00:00
|
|
|
&.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
|
|
|
}
|
2020-10-22 22:13:14 +00:00
|
|
|
|
|
|
|
// Hide display options if we're in single column.
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( "<782px" ) {
|
2020-10-22 22:13:14 +00:00
|
|
|
&.display-options {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-layout__activity-panel-popover {
|
|
|
|
margin-top: 0;
|
|
|
|
z-index: 1001; // One higher than the other activity panels.
|
|
|
|
|
|
|
|
.components-menu-group {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
2018-06-29 15:20:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-30 13:17:17 +00:00
|
|
|
.woocommerce-layout__activity-panel-toggle-bubble.has-unread::after {
|
2024-03-26 13:41:34 +00:00
|
|
|
content: " ";
|
2018-07-18 15:20:00 +00:00
|
|
|
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 {
|
2021-03-25 23:42:01 +00:00
|
|
|
height: calc(100vh - #{$header-height + $adminbar-height-mobile});
|
2020-07-17 00:11:42 +00:00
|
|
|
background: $gray-100;
|
2021-06-09 13:56:45 +00:00
|
|
|
width: 430px;
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( "<782px" ) {
|
2019-07-25 01:17:18 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
transform: translateX(100%);
|
2018-07-06 12:40:05 +00:00
|
|
|
@include activity-panel-slide();
|
2022-06-14 18:31:50 +00:00
|
|
|
position: absolute;
|
2018-10-30 13:17:17 +00:00
|
|
|
right: 0;
|
2022-06-14 18:31:50 +00:00
|
|
|
top: 100%;
|
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
|
|
|
|
2024-03-26 13:41:34 +00:00
|
|
|
@include breakpoint( ">782px" ) {
|
2019-07-04 15:58:08 +00:00
|
|
|
height: calc(100vh - #{$header-height + $adminbar-height});
|
2018-07-06 12:40:05 +00:00
|
|
|
}
|
2020-11-10 13:36:04 +00:00
|
|
|
.has-woocommerce-navigation & {
|
2021-03-09 13:11:49 +00:00
|
|
|
height: calc(100vh - #{$header-height});
|
|
|
|
top: #{$header-height};
|
2020-11-10 13:36:04 +00:00
|
|
|
}
|
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;
|
|
|
|
}
|