2018-11-29 18:10:08 +00:00
|
|
|
.woocommerce-search-list {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 0 $gap;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-search-list__selected {
|
|
|
|
margin: $gap 0;
|
|
|
|
padding: $gap 0 0;
|
2018-12-03 21:05:12 +00:00
|
|
|
// 76px is the height of 1 row of tags.
|
|
|
|
min-height: 76px;
|
2018-11-29 18:10:08 +00:00
|
|
|
border-top: 1px solid $core-grey-light-500;
|
|
|
|
|
|
|
|
.woocommerce-search-list__selected-header {
|
|
|
|
margin-bottom: $gap-smaller;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-left: $gap-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-tag__text {
|
|
|
|
max-width: 13em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-search-list__search {
|
|
|
|
margin: $gap 0;
|
|
|
|
padding: $gap 0 0;
|
|
|
|
border-top: 1px solid $core-grey-light-500;
|
|
|
|
|
|
|
|
.components-base-control__field {
|
|
|
|
margin-bottom: $gap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-search-list__list {
|
|
|
|
padding: 0;
|
2018-11-30 15:50:23 +00:00
|
|
|
max-height: 18.5em;
|
2018-12-03 18:06:47 +00:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2018-11-29 18:10:08 +00:00
|
|
|
border-top: 1px solid $core-grey-light-500;
|
|
|
|
border-bottom: 1px solid $core-grey-light-500;
|
|
|
|
|
|
|
|
.components-menu-group__label {
|
|
|
|
@include visually-hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > [role="menu"] {
|
|
|
|
border: 1px solid $core-grey-light-500;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-search-list__item {
|
2018-11-30 22:29:43 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-11-29 18:10:08 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding: $gap;
|
|
|
|
background: $white;
|
|
|
|
// !important to keep the border around on hover
|
|
|
|
border-bottom: 1px solid $core-grey-light-500 !important;
|
|
|
|
color: $core-grey-dark-500;
|
|
|
|
|
2018-12-03 16:25:32 +00:00
|
|
|
.woocommerce-search-list__item-state {
|
2018-11-30 22:29:43 +00:00
|
|
|
flex: 0 0 16px;
|
|
|
|
margin-right: $gap-smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-search-list__item-name {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2018-11-29 18:10:08 +00:00
|
|
|
@include hover-state {
|
|
|
|
background: $core-grey-light-100;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|