71 lines
1.4 KiB
SCSS
71 lines
1.4 KiB
SCSS
.woocommerce-customize-store-edit-site-layout__sidebar-extra__pattern {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
background-color: #f0f0f0;
|
|
padding: 25px;
|
|
overflow: auto;
|
|
|
|
.woocommerce-customize-store-edit-site-layout__sidebar-extra__pattern__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
|
|
h1 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
span {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.woocommerce-customize-store-edit-site-layout__sidebar-extra__pattern__description {
|
|
font-size: 13px;
|
|
color: #757575;
|
|
}
|
|
|
|
.block-editor-block-patterns-list {
|
|
margin-top: 22px;
|
|
overflow-y: unset;
|
|
height: unset;
|
|
}
|
|
|
|
.block-editor-block-patterns-list__item {
|
|
.auto-block-preview__container,
|
|
.block-editor-block-preview__container {
|
|
border: none;
|
|
}
|
|
|
|
&.is-added {
|
|
.auto-block-preview__container,
|
|
.block-editor-block-preview__container {
|
|
box-shadow: 0 0 0 1.5px #fff,
|
|
0 0 0 3.5px var(--wp-admin-theme-color, #3858e9);
|
|
border-color: var(--wp-admin-theme-color);
|
|
border-radius: 4px;
|
|
&::after {
|
|
outline: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
.auto-block-preview__container,
|
|
.block-editor-block-preview__container {
|
|
box-shadow: 0 0 0 1.5px #fff,
|
|
0 0 0 3.5px var(--wp-admin-theme-color, #3858e9);
|
|
border-color: var(--wp-admin-theme-color);
|
|
border-radius: 4px;
|
|
&::after {
|
|
outline: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|