This commit is contained in:
KhaiNguyen
2020-02-13 10:39:37 +07:00
commit 59401cb805
12867 changed files with 4646216 additions and 0 deletions

View File

@@ -0,0 +1,227 @@
@import "../backend_shortcodes/rows_columns.less";
@import "../lib/controls.less";
@import "../lib/backend_controls.less";
@import "../backend_shortcodes/empty_containers.less";
@import "../shortcodes/_shortcodes_container.less";
#vc_settings-automapper {
.vc_atm-message {
padding: 10px;
}
.vc_automapper-toolbar {
margin-bottom: 15px;
}
.vc_automapper-list {
width: 100%;
.vc_automapper-item {
label {
color: #446591;
}
display: block;
margin: 0 0 1px 0;
background: #E7E7E7;
padding: 10px;
.vc_automapper-item-controls {
a {
display: block;
float: right;
cursor: pointer;
background-image: url('../vc/atm_controls.png');
background-repeat: no-repeat;
width: 16px;
height: 16px;
&.vc_automapper-edit-btn {
background-position: -16px -32px;
margin-right: 5px;
}
&.vc_automapper-delete-btn {
}
background-position: -16px -64px;
}
}
}
}
.vc_add-form-atm {
padding: 15px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
label {
font-size: 16px;
}
.description {
display: block;
}
.vc_wrapper {
display: table;
margin: 10px 0;
.vc_string {
display: table-cell;
width: 100%;
padding: 0;
input {
.box-sizing(border-box);
width: 100%;
}
}
.vc_buttons {
width: 190px;
margin-left: 10px;
display: inline-block;
.button {
margin-top: -6px;
}
}
}
}
.vc_edit-form {
h4 {
margin: 0.5em 0;
font-size: 16px;
font-weight: normal;
}
.vc_line {
height: 1px;
margin: 0;
background: #e3e3e3;
}
.vc_wrapper {
padding: 15px;
position: relative;
}
.vc_shortcode-preview {
text-align: center;
width: 90%;
margin: 15px auto;
padding: 10px;
background: #f2f2f2;
border: 1px solid #e3e3e3;
color: #8a8a8a;
.vc_active {
color: #0074A2;
}
}
.vc_field {
float: left;
padding: 5px;
width: 48%;
.box-sizing(border-box);
label {
padding: 0;
display: inline-block;
vertical-align: top;
margin-top: 6px;
height: 22px;
width: 30%;
font-weight: bold;
}
input[type=text], textarea {
width: 65%;
float: right;
}
&.vc_is-container {
clear: both;
float: none;
label {
margin-left: 30%;
width: 65%;
}
}
&.vc_description {
float: right;
textarea {
height: 70px;
}
}
}
.vc_add-param {
position: absolute;
top: 18px;
right: 15px;
}
.vc_params {
margin-top: 30px;
display: table;
width: 100%;
.vc_param {
.vc_fields {
.vc_param-field {
display: inline-block;
height: auto;
vertical-align: top;
padding: 3px 6px 3px 8px;
.box-sizing(border-box);
width: 19%;
label {
font-weight: bold;
padding: 6px 0;
display: block;
}
.description {
margin: 6px 0;
display: block;
}
input[type=text], select, textarea {
width: 100%;
}
}
// 782 because it is wordpress value
@media (max-width: 782px) {
.vc_param-field {
width: 100%;
float: left;
}
}
}
&.vc_content {
.vc_delete-param {
display: none;
}
}
}
.vc_sortable-placeholder {
height: 30px;
background: url(../vc/pattern.gif);
}
}
> .vc_buttons {
clear: both;
background-color: #F7F7F7;
padding: 15px;
.vc_atm-delete {
float: right;
clear: both;
}
}
}
// Widget like style
.widget {
.widget-top {
cursor: pointer;
.vc_atm-header {
display: block;
margin: 0;
padding: 7px 15px;
line-height: 1;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
.user-select(none);
}
}
&.vc_opened {
.vc_header-name {
width: 245px;
}
.widget-top {
cursor: default;
background: #f1f1f1;
.toggle-indicator:after { display: none; }
.toggle-indicator:before {
content: '\f142';
cursor: pointer;
}
}
}
}
}

View File

@@ -0,0 +1,8 @@
.custom_css {
width: 100%;
height: 600px;
}
#wpb_csseditor {
border: 1px solid #BABABA;
}

View File

@@ -0,0 +1,28 @@
.vc_settings-tab-content {
.css-control, .wp-picker-container {
.opacity(0.5);
}
&.color_enabled {
.css-control, .wp-picker-container {
.opacity(1);
}
}
.submit {
margin-top: 0;
padding-top: 0;
}
.vc_restore-button {
margin: @vc_settings_right_control_button_margin;
}
&.hidden {
display: none;
}
}
.vc_button-settings-less {
margin-bottom: 4px;
}
.vc_settings-spinner {
margin-right: 10px;
}

View File

@@ -0,0 +1,40 @@
.vc_settings-tab-content {
.deprecated {
background-color: rgb(255, 255, 224);
border-bottom-color: rgb(230, 219, 85);
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: rgb(230, 219, 85);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(230, 219, 85);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(230, 219, 85);
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-style: solid;
border-top-width: 1px;
color: rgb(51, 51, 51);
display: block;
font-family: sans-serif;
font-size: 12px;
line-height: 16.796875px;
margin-bottom: 15px;
margin-left: 0px;
margin-right: 0px;
margin-top: 15px;
outline-color: rgb(51, 51, 51);
outline-style: none;
outline-width: 0px;
padding-bottom: 0px;
padding-left: 7.1875px;
padding-right: 7.1875px;
padding-top: 0px;
}
.vc_show_example {
cursor: pointer;
}
}

View File

@@ -0,0 +1,21 @@
#wpb_js_settings_access_groups {
h3 {
margin-top: 0;
}
.settings-block,
.title {
margin-bottom: @vc_settings_title_bottom_margin;
}
.pull-left {
float: left;
width: 33%;
label {
clear: both;
display: block;
float: left;
}
}
.select-all {
margin-top: 10px;
}
}

View File

@@ -0,0 +1,3 @@
.vc_activate-license-button {
vertical-align: middle;
}

View File

@@ -0,0 +1,77 @@
a, h3 {
&:active,
&:focus {
outline: none;
}
}
//label {
// padding: 0 0 5px 0;
// input {
// margin-top: -1px;
// margin-right: 5px;
// margin-bottom: 2px;
// }
//}
.vc_settings-tab-content {
display: none;
// @todo check is it needed maybe make .vc_settings-tab-content: display: block.
&.vc_settings-tab-content-active {
display: block;
}
p.submit {
float: left;
}
.vc_updater-result-message {
clear: both;
}
.vc_updater-passive {
.opacity(0.4);
}
.vc_ui-wp-spinner {
height: 25px;
width: 25px;
float: left;
&::before {
height: 20px;
width: 20px;
}
}
}
.vc_helper {
display: none;
}
.tab_intro {
padding: 15px 10px 0 10px;
}
.vc_settings-activation-deactivation {
text-align: center;
max-width: 960px;
p {
font-size: 14px;
}
.button-updater {
// make button centered. 16px - spinner width, 5px - spinner margin
margin-left: (16px + 5px) * 2;
}
.vc_updater-spinner {
transition: opacity 0.2s;
vertical-align: middle;
margin-left: 5px;
opacity: 0;
}
.loading {
.vc_updater-spinner {
opacity: 1;
}
}
}

View File

@@ -0,0 +1,14 @@
.vc_wp-settings {
padding-top: 1em;
padding-bottom: 1em;
font-size: 14px;
// accordion behaviour
.vc_wp-accordion-panel-title {
padding-top: .5em;
padding-bottom: .5em;
}
.vc_wp-accordion-panel-body {
}
}

View File

@@ -0,0 +1,61 @@
@import "../lib/elements_icons.less";
@vc_roles-tab-controls-min-width: 200px;
@vc_roles-tab-accordion-content-padding: 0 10px;
@vc_roles-tab-element-description-font-size: 11px;
@vc_roles-tab-table-selection-controls-margin: 0 0 10px;
@vc_roles-tab-table-element-icon-margin-right: .8em;
.vc_ui-settings-roles-dropdown {
min-width: @vc_roles-tab-controls-min-width;
}
.vc_role-custom-settings {
display: none;
&.vc_visible {
display: table-row;
}
.vc_wp-form-table {
.js-category-deprecated {
display: none;
}
}
}
[data-vc-roles-filter-value=".js-category-deprecated"] {
.vc_wp-form-table {
.js-category-deprecated {
display: table-row;
}
}
}
.vc_ui-settings-roles-role {
&.vc_active {
.widget-top {
cursor: default;
.toggle-indicator:before {
content: '\f142';
cursor: pointer;
}
}
}
.vc_wp-accordion-panel-body {
padding: @vc_roles-tab-accordion-content-padding;
}
.vc_wp-form-table .vc_hidden {
display: none;
}
.vc_element-icon {
float: left;
margin-right: @vc_roles-tab-table-element-icon-margin-right;
}
.vc_element-description {
font-size: @vc_roles-tab-element-description-font-size;
display: block;
}
}
.vc_ui-settings-roles-role .widget .widget-top {
cursor: pointer;
}