File: /home/adventp/www/wp-content/plugins/js_composer/assets/less/front/popups/modal_add_element.less
@vc_ui-panel-add-element-width: 80%;
.vc_editor #wpwrap .vc_add-element-container {
max-height: 75vh;
flex: 1;
* {
box-sizing: border-box;
}
.wpb-elements-list {
height: auto;
overflow-y: auto;
padding: 24px 20px 24px 24px;
padding-top: 10px;
.vc_align_center {
text-align: center;
}
.vc_shortcode-link:focus {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.wpb-content-layouts-container {
margin: 0;
.vc_add-element-deprecated-warning {
display: none;
.vc_message_box {
margin: 0;
padding: 0 1em 1em 4em;
}
}
.vc_add-element-access-warning {
.vc_message_box {
margin: 0;
padding: 0 1em 1em 4em;
}
}
}
&[data-vc-ui-filter="deprecated"] {
.wpb-content-layouts-container {
.vc_add-element-deprecated-warning {
display: list-item;
}
}
}
&.vc_filter-all {
.wpb-layout-element-button.vc_element-deprecated {
display: none;
}
}
&[data-vc-ui-filter="_my_elements_"] {
span {
&[data-vc-manage-elements] {
display:inline-block!important;
margin-top: 30px;
}
}
}
}
.wpb-content-layouts {
padding: 0;
margin: 0;
li {
background: none repeat scroll 0 0 #F6F8F8;
box-shadow: none;
border: 1px solid #d5d5d5;
padding: 0 0 2px 2px;
margin: 0 10px 12px 0 !important;
//min-width: @vc_add_element_button_width;
display: none;
overflow: hidden;
position: relative;
float: left;
height: 80px;
list-style: none;
width: calc(50% - 14px);
.vc_element-description {
display: none !important;
}
.transition(all 0.2s);
&.fadeOut {
opacity: 0;
}
&.fadeIn {
opacity: 1;
}
&:not(.ut-layout-element-separator) span {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
font-weight: 400;
align-self: flex-start;
width: 100%;
padding: 4px 10px;
font-size: 12px !important;
text-align: center;
}
&:hover {
border-color: #c3c4c7;
background: none repeat scroll 0 0 #f9f9f9 !important;
}
&.ut-layout-element-separator {
background: transparent;
border: 0;
border-left: 3px solid;
height: auto;
box-shadow: none !important;
-webkit-box-shadow: none !important;
padding: 0 4px !important;
clear: both;
position: relative;
width: 100%;
float: none;
display: block !important;
margin: 20px 0 12px !important;
span {
padding: 0 8px;
background: #fff;
position: relative;
z-index: 2;
}
&:after {
content: "";
position: absolute;
top: 0;
bottom: 0;
z-index: 1;
left: 5px;
margin: auto;
height: 1px;
background: #d3d3d3;
width: 100%;
}
&:hover {
background: transparent !important;
}
&.ut-plugin-module_nav {
border-left: 3px solid #8e44ad !important;
}
&.ut-structural-module_nav {
border-left: 3px solid #ff4b00 !important;
}
&.ut-information-module_nav {
border-left: 3px solid #51d321 !important;
}
&.ut-community-module_nav {
border-left: 3px solid #009ffd !important;
}
&.ut-media-module_nav {
border-left: 3px solid #FF2366 !important;
}
}
.vc_el-container {
display: flex;
align-items: center;
flex-direction: column;
justify-content: flex-start;
height: 100%;
width: 100%;
}
}
a {
color: #454e56;
outline: none;
display: flex;
line-height: 14px;
padding: 2px 10px 2px 7px;
vertical-align: middle;
white-space: normal;
text-decoration: none;
font-weight: 600;
width: 100%;
height: 100%;
flex-direction: column;
align-items: flex-start;
justify-content: center;
&:hover {
box-shadow: none; // WP themes fix
}
.vc_element-description {
display: block;
position: relative;
background-color: transparent;
top: auto;
left: auto;
width: auto;
height: auto;
font-size: 11px;
font-style: normal;
font-weight: normal;
margin-top: 3px;
color: #999999;
}
}
.vc_visible {
display: block;
}
.vc_inappropriate {
display: none !important;
}
}
.vc_element-icon {
position: relative;
width: 32px;
height: 29px;
background-color: #282d33 !important;
border: 1px solid #282d33 !important;
color: #fff !important;
border-radius: 3px !important;
font-size: 15px !important;
text-align: center !important;
background-size: 50% !important;
background-position: center center !important;
margin: auto;
left: 0;
}
}
.vc_elements-list-filter {
position: absolute;
padding: 4px 3px 3px 30px;
top: 9px;
right: 44px;
z-index: 1;
width: 190px;
font-size: 12px;
border: medium none;
background: url("../vc/search.png") no-repeat scroll 9px 6px #ffffff;
}
#vc_ui-panel-add-element {
width: 100%;
max-width: 346px!important;
margin-right: auto;
margin-left: auto;
height: 100%;
position: fixed;
top: 0;
left: 0;
padding: 0;
overflow: hidden;
padding-left: 50px;
box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.2);
z-index: 999;
.vc_ui-panel-content-container {
padding: 0;
overflow: auto;
overflow-x: hidden;
top: 1px !important;
}
.vc_ui-panel-window-inner {
height: calc(100% - 192px);
box-shadow: none;
}
@import "modal-footer";
@import "modal-header";
@import "modal-toolbar";
@import "modal-save";
@import "../manual_mode";
}
.is-fullscreen #vc_ui-panel-add-element {
max-width: 0!important;
.ut-vc-brand {
.brand-text {
visibility: hidden;
}
}
}
body.is-fullscreen .vc_ui-panel.vc_ui-panel-window {
min-height: 220px !important;
.vc_ui-panel-content {
height: 100%;
}
.simplebar-content-wrapper {
min-height: 90%;
display: flex !important;
}
.simplebar-content {
height:auto;
flex: 1;
}
.vc_ui-panel-window-inner {
border-radius: 4px;
overflow: hidden;
background: transparent !important;
}
.vc_ui-panel-content-container {
background: #fff;
top: 0;
}
}
.vc_media-lg .vc_col-lg-2 {
width: calc(20% - 24px);
}
@keyframes fadeIn {
100% {
opacity: 1;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}