File: /var/www/intranet.kauko.lt/wp-content/plugins/js_composer/assets/less/popups/modal_add_element.less
@vc_ui-panel-add-element-width: 80%;
.vc_add-element-container {
max-height: 75vh;
flex: 1;
* {
box-sizing: border-box;
}
.wpb-elements-list {
height: auto;
overflow-y: auto;
padding: 24px 18px;
.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;
}
}
}
.vc-panel-no-results-message {
display: none;
text-align: center;
font-size: 13px;
margin: 50px 0;
}
}
.wpb-content-layouts {
display: grid;
grid-template-columns: repeat(auto-fit, 129px);
gap: 8px;
padding: 0;
margin: 0;
li {
border-radius: 6px;
margin: 0;
//min-width: @vc_add_element_button_width;
display: none;
overflow: hidden;
position: relative;
list-style: none;
transition: all 0.3s ease;
font-family: Roboto;
&:hover {
background: #F0F0F1;
}
}
a {
display: flex;
flex-direction: column;
align-items: center;
padding: 16px;
outline: none;
line-height: 16px;
white-space: normal;
text-decoration: none;
font-weight: bold;
text-align: center;
height: 100%;
&:hover {
box-shadow: none; // WP themes fix
}
.vc_element-description {
display: block;
position: relative;
background-color: transparent;
margin-top: 4px;
font-size: 14px;
font-style: italic;
font-weight: 500;
line-height: 16px;
text-align: center;
color: #B6B6B6;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5;
overflow: hidden;
}
}
.vc_visible {
display: block;
}
.vc_inappropriate {
display: none !important;
}
}
.vc_element-icon {
margin-bottom: 24px;
}
}
.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: @vc_ui-panel-add-element-width;
margin-right: auto;
margin-left: auto;
max-height: 90vh;
height: auto;
top: 5vh;
right: 0;
left: 0;
.vc_ui-panel-content-container {
padding: 0;
}
}