Merge pull request woocommerce/woocommerce-admin#1547 from woocommerce/fix/segmented-selection-borders
Segmented Selection: re-apply borders for all browsers
This commit is contained in:
commit
bc412b68b5
|
@ -1,6 +1,5 @@
|
|||
/**
|
||||
* Internal Dependencies
|
||||
*/
|
||||
@import 'segmented-selection/ie.scss';
|
||||
@import 'summary/ie.scss';
|
||||
@import 'table/ie.scss';
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
/** @format */
|
||||
|
||||
.woocommerce-segmented-selection__item {
|
||||
display: block;
|
||||
@include set-grid-item-position( 2, 10 );
|
||||
|
||||
&:nth-child(2n) {
|
||||
border-left: 1px solid $core-grey-light-700;
|
||||
border-top: 1px solid $core-grey-light-700;
|
||||
}
|
||||
|
||||
&:nth-child(2n + 1) {
|
||||
border-top: 1px solid $core-grey-light-700;
|
||||
}
|
||||
|
||||
&:nth-child(-n + 2) {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
|
@ -14,6 +14,24 @@
|
|||
background-color: $core-grey-light-700;
|
||||
}
|
||||
|
||||
.woocommerce-segmented-selection__item {
|
||||
display: block;
|
||||
@include set-grid-item-position( 2, 10 );
|
||||
|
||||
&:nth-child(2n) {
|
||||
border-left: 1px solid $core-grey-light-700;
|
||||
border-top: 1px solid $core-grey-light-700;
|
||||
}
|
||||
|
||||
&:nth-child(2n + 1) {
|
||||
border-top: 1px solid $core-grey-light-700;
|
||||
}
|
||||
|
||||
&:nth-child(-n + 2) {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-segmented-selection__label {
|
||||
background-color: $core-grey-light-100;
|
||||
padding: $gap-small $gap-small $gap-small $gap-larger;
|
||||
|
|
Loading…
Reference in New Issue