Opal-Estate-Pro/assets/scss/cmb2/cmb2-front.scss

78 lines
1.1 KiB
SCSS
Raw Permalink Normal View History

2019-09-10 06:27:33 +02:00
@import "partials/variables";
@import "partials/mixins";
// uploader fields //
.cmb2-uploader-files {
display:flex;
flex-wrap:wrap;
> div{
width: 180px;
height: 130px;
overflow: hidden;
}
.preview-image{
height: 100%;
img{
height: 100%;
}
}
.button-placehold {
border:dashed 1px #ebebeb;
cursor: pointer;
text-align: center;
i{
display: block;
font-size: 24px;
margin-bottom: 8px;
}
.button-placehold-content{
position: relative;
top: 50%;
transform: translateY(-50%);
}
}
input.select-file{
display: none;
}
}
.uploader-item-preview {
position:relative;
.btn-close {
position:absolute;
top:4px;
right:5px;
width:15px;
height:15px;
cursor:pointer;
&:hover::before{
color: red;
}
&::before{
content: '\f00d';
2019-09-28 04:44:42 +02:00
font-family: $font-family-icon;
2019-09-10 06:27:33 +02:00
transition: all .3s ease-in-out;
}
}
.preview-icon{
padding-top: 4px;
}
}
////
@import "partials/main_wrap";
@import "partials/post_metaboxes";
@import "partials/context_metaboxes";
@import "partials/misc";
@import "partials/collapsible_ui";
@import "partials/jquery_ui";
/**
* CMB2 Frontend
*/
@import "partials/front";