52 lines
2.3 KiB
CSS
52 lines
2.3 KiB
CSS
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.1_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/image-stack/editor.scss ***!
|
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/**
|
|
* The following styles get applied inside the editor only.
|
|
*/
|
|
.wp-block-carhop-blocks-image-stack {
|
|
overflow: visible;
|
|
}
|
|
.wp-block-carhop-blocks-image-stack .image-stack-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(240, 240, 240, 0.5);
|
|
background-color: red;
|
|
border: 2px dashed #ccc;
|
|
}
|
|
.wp-block-carhop-blocks-image-stack .image-stack-item {
|
|
cursor: pointer;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
.wp-block-carhop-blocks-image-stack .image-stack-item:hover {
|
|
opacity: 0.9;
|
|
}
|
|
.wp-block-carhop-blocks-image-stack .image-stack-item.is-selected {
|
|
outline: 3px solid #007cba;
|
|
outline-offset: -3px;
|
|
z-index: 10;
|
|
}
|
|
.image-stack-image-preview {
|
|
margin-bottom: 16px;
|
|
}
|
|
.image-stack-image-preview img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
border-radius: 4px;
|
|
}
|
|
.image-stack-image-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.image-stack-image-controls .components-button {
|
|
flex: 1;
|
|
min-width: 80px;
|
|
justify-content: center;
|
|
}
|