Stylint autofixes (https://github.com/woocommerce/woocommerce-admin/pull/729)
This commit is contained in:
parent
d260205c11
commit
3446c0814b
|
@ -117,10 +117,10 @@
|
|||
|
||||
.woocommerce-calendar__input-text {
|
||||
border: 1px solid $error-red;
|
||||
box-shadow: inset 0px 0px 8px $error-red;
|
||||
box-shadow: inset 0 0 8px $error-red;
|
||||
|
||||
&:focus {
|
||||
box-shadow: inset 0px 0px 8px $error-red, 0 0 6px rgba(30, 140, 190, 0.8);
|
||||
box-shadow: inset 0 0 8px $error-red, 0 0 6px rgba(30, 140, 190, 0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -160,7 +160,7 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
&:not(.no-arrow):not(.is-mobile).is-bottom:before {
|
||||
&:not(.no-arrow):not(.is-mobile).is-bottom::before {
|
||||
border-bottom-color: $core-grey-dark-400;
|
||||
z-index: 1;
|
||||
top: -6px;
|
||||
|
|
|
@ -349,7 +349,7 @@
|
|||
width: 16px;
|
||||
background-color: $white;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
display: none;
|
||||
|
@ -359,7 +359,7 @@
|
|||
background-color: currentColor;
|
||||
border-color: currentColor;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
display: block;
|
||||
left: 5px;
|
||||
top: 2px;
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
.woocommerce-count {
|
||||
border: 1px solid;
|
||||
border-radius: 10px;
|
||||
padding: 0px 8px;
|
||||
padding: 0 8px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
.woocommerce-ellipsis-menu__popover {
|
||||
text-align: left;
|
||||
|
||||
&:not(.is-mobile):before,
|
||||
&:not(.is-mobile):after {
|
||||
&:not(.is-mobile)::before,
|
||||
&:not(.is-mobile)::after {
|
||||
margin-left: -16px;
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.woocommerce-split-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: $gap-smallest 0px $gap-smallest 0px;
|
||||
padding: $gap-smallest 0 $gap-smallest 0;
|
||||
|
||||
.woocommerce-split-button__menu {
|
||||
padding: 0;
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
.woocommerce-table__table {
|
||||
overflow-x: auto;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
|
@ -125,7 +125,7 @@
|
|||
visibility: hidden;
|
||||
}
|
||||
|
||||
&.is-scrollable:after {
|
||||
&.is-scrollable::after {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
@ -294,7 +294,7 @@ th.woocommerce-table__item {
|
|||
font-weight: 600;
|
||||
}
|
||||
|
||||
& + .woocommerce-table__summary-item:before {
|
||||
& + .woocommerce-table__summary-item::before {
|
||||
content: '/';
|
||||
margin: 0 $gap-smallest;
|
||||
}
|
||||
|
|
|
@ -61,8 +61,8 @@
|
|||
|
||||
.components-icon-button {
|
||||
display: initial;
|
||||
text-indent: 0px;
|
||||
border-radius: 0px;
|
||||
text-indent: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.woocommerce-layout__activity-panel-tab {
|
||||
|
@ -95,8 +95,8 @@
|
|||
font-size: 13px;
|
||||
}
|
||||
|
||||
&.has-unread:after,
|
||||
&.woocommerce-layout__activity-panel-tab-wordpress-notices:after {
|
||||
&.has-unread::after,
|
||||
&.woocommerce-layout__activity-panel-tab-wordpress-notices::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
padding: 1px;
|
||||
|
@ -131,8 +131,8 @@
|
|||
background-color: $core-grey-light-200;
|
||||
box-shadow: none;
|
||||
|
||||
&.has-unread:after,
|
||||
&.woocommerce-layout__activity-panel-tab-wordpress-notices:after {
|
||||
&.has-unread::after,
|
||||
&.woocommerce-layout__activity-panel-tab-wordpress-notices::after {
|
||||
border-color: $core-grey-light-200;
|
||||
}
|
||||
}
|
||||
|
@ -142,8 +142,8 @@
|
|||
&:hover:not(.is-active),
|
||||
&.components-button:not(.is-active):not(:disabled):not([aria-disabled='true']):hover {
|
||||
border-bottom: 3px solid $core-grey-light-200;
|
||||
&.has-unread:after,
|
||||
&.woocommerce-layout__activity-panel-tab-wordpress-notices:after {
|
||||
&.has-unread::after,
|
||||
&.woocommerce-layout__activity-panel-tab-wordpress-notices::after {
|
||||
border-color: $core-grey-light-200;
|
||||
}
|
||||
}
|
||||
|
@ -162,7 +162,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.woocommerce-layout__activity-panel-toggle-bubble.has-unread:after {
|
||||
.woocommerce-layout__activity-panel-toggle-bubble.has-unread::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
padding: 1px;
|
||||
|
@ -198,10 +198,10 @@
|
|||
min-height: calc(100vh - 80px);
|
||||
background: $core-grey-light-200;
|
||||
box-shadow: 0 12px 12px 0 rgba(85, 93, 102, 0.3);
|
||||
width: 0px;
|
||||
width: 0;
|
||||
@include activity-panel-slide();
|
||||
position: fixed;
|
||||
right: 0px;
|
||||
right: 0;
|
||||
top: 92px;
|
||||
z-index: 1000;
|
||||
overflow-x: hidden;
|
||||
|
@ -245,7 +245,7 @@
|
|||
}
|
||||
|
||||
.woocommerce-activity-card__subtitle {
|
||||
span + span:before {
|
||||
span + span::before {
|
||||
content: ' \2022 ';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
flex-direction: row;
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid $white;
|
||||
padding: 0px;
|
||||
padding: 0;
|
||||
height: 80px;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
background-color: $core-grey-light-500;
|
||||
color: transparent;
|
||||
|
||||
&:after {
|
||||
&::after {
|
||||
content: '\00a0';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.wp-has-current-submenu:after {
|
||||
.wp-has-current-submenu::after {
|
||||
right: 0;
|
||||
border: 8px solid transparent;
|
||||
content: ' ';
|
||||
|
@ -90,7 +90,7 @@
|
|||
left: -5px;
|
||||
width: 60px;
|
||||
|
||||
.ab-icon:before {
|
||||
.ab-icon::before {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@
|
|||
left: -5px;
|
||||
width: 60px;
|
||||
|
||||
.ab-icon:before {
|
||||
.ab-icon::before {
|
||||
color: $white !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue