File: /var/www/html/wp-content/plugins/Crocoblock-wizard/assets/scss/modules/_skins.scss
.cbw-skins-list {
display: grid;
grid-template-columns: repeat( auto-fill, minmax( 250px, 1fr ) );
grid-gap: 40px;
}
.cbw-skin {
justify-self: stretch;
border-radius: 4px;
background: #fff;
box-shadow: 0px 12px 6px rgba(35, 40, 45, 0.07);
position: relative;
.cbw-skin-preview {
position: absolute;
left: -15px;
top: -15px;
right: -15px;
border-radius: 4px;
background: #fff;
box-shadow: 0px 12px 6px rgba(35, 40, 45, 0.07);
z-index: 999;
}
&__thumb {
max-width: 100%;
width: 100%;
height: auto;
position: absolute;
left: 0;
top: 0;
&-wrap {
width: 100%;
padding-top: 75%;
position: relative;
overflow: hidden;
border-bottom: 1px solid $color__border-in-panel;
}
}
&__choices {
padding: 0 0 15px;
.cx-vui-component {
padding: 0;
&__control {
width: 100%;
flex: 0 0 100%;
}
.cx-vui-radiogroup {
display: flex;
justify-content: space-between;
}
.cx-vui-radio {
font-size: 15px;
margin: 0;
&__mark {
@include margin(0, 6px, 0, 0);
border-color: $color__accent;
}
}
}
}
&__content {
padding: 14px 20px 14px;
.cbw-skin-preview & {
padding: 25px 20px 30px;
}
}
&__name {
font-weight: 500;
font-size: 15px;
line-height: 23px;
color: $color__heading;
padding: 0;
.cbw-skin-preview & {
padding: 0 0 12px;
}
}
&__actions {
display: flex;
flex-wrap: wrap;
.cx-vui-button {
width: 100%;
+ .cx-vui-button {
margin: 14px 0 0 0;
}
}
}
}
.cbw-uploader {
background: #fff;
box-shadow: 0 2px 6px rgba(35, 40, 45, 0.07);
border-radius: 4px;
padding: 42px;
&__inner {
border: 1px dashed $color__accent-border;
min-height: 460px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
cursor: pointer;
position: relative;
.cbw-uploader--active & {
background: $color__accent-lighter;
}
input[type="file"] {
opacity: 0;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
}
}
&__title {
font-weight: 500;
font-size: 18px;
line-height: 140%;
color: $color__heading;
padding: 22px 0 5px;
}
&__desc {
font-size: 15px;
line-height: 140%;
padding: 0 0 20px;
}
}
.cbw-uploaded-skin {
margin: 0;
background: #fff;
box-shadow: 0 2px 6px rgba(35, 40, 45, 0.07);
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 5% 0;
&__thumb {
width: 100%;
height: auto;
border: 1px solid $color__border-in-panel;
border-radius: 4px;
&-wrap {
max-width: 306px;
margin: 0 0 24px;
}
}
&__content {
width: 306px;
}
&__name {
font-weight: 500;
font-size: 15px;
line-height: 23px;
color: $color__heading;
padding: 0 0 12px;
text-align: center;
}
&__actions {
display: flex;
justify-content: space-between;
.cx-vui-button {
width: calc( 50% - 5px );
&:only-child {
margin: 0 auto;
}
}
}
&__cnacel {
padding: 20px 0 0 0;
&-link {
font-weight: 500;
font-size: 13px;
line-height: 19px;
text-align: center;
color: $color__error;
cursor: pointer;
display: inline-flex;
align-items: center;
svg {
@include margin(0, 5px, 0, 0);
}
}
}
}
.cbw-skin-import {
.cx-vui-tabs__nav-item {
display: none;
}
}
.cbw-skin-select,
.import-template-page {
.cx-vui-tabs {
&__content {
border-top: 3px solid $color__accent;
}
&__nav-item {
padding-top: 10px;
padding-bottom: 10px;
}
}
}
.fade-in-enter-active {
transition: all 100ms ease;
}
.fade-in-leave-active {
transition: all 100ms cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.fade-in-enter, .fade-in-leave-to {
transform: scale(0.9) !important;
opacity: 0;
}