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,44 @@
/* Content Block (Element)
---------------------------------------------------------- */
.wpb_content_element,
.wpb_vc_row_inner {
margin: 4px 0 0 0;
}
.wpb_column_container {
> *:first-child {
margin-top: 0;
}
}
.wpb_vc_param_value[name="content"] {
overflow: hidden;
}
// Default Content Element Style
.wpb_content_element {
position: relative;
&:hover {
> div.vc_controls {
.opacity(1);
right: 5px;
left: auto;
}
}
.wpb_element_title {
margin: 0 !important;
}
> .wpb_element_wrapper {
padding: 10px;
border: 1px solid transparent;
.border-radius(2px);
background-color: #ffffff;
background-position: 10px 10px;
background-repeat: no-repeat;
min-height: 33px;
> .wpb_element_title {
.vc_element-icon {
float: left;
margin-right: @vc_backend_editor_margin_right;
}
}
}
}

View File

@@ -0,0 +1,16 @@
/* Empty column tweaks
---------------------------------------------------------- */
.vc_empty-container {
.vc-empty;
&:hover {
.opacity(0.5);
}
}
.vc_empty-column {
> .vc_controls {
.column_add {
display: none;
}
}
}

View File

@@ -0,0 +1,183 @@
.vc_column(@bg_controls_color, @wrapper_bg_color, @padding) {
margin-bottom: @vc_backend_column_margin_bottom;
position: relative;
> .vc_controls {
text-align: center;
background: @bg_controls_color;
width: 100%;
line-height: 1px;
padding: 2px;
height: @vc_backend_column_controls_height;
.vc_control {
padding: 0;
.vc-composer-icon {
position: relative;
display: inline-block;
width: 18px;
height: 18px;
&::before {
position: absolute;
top: 50%;
left: 50%;
font-family: 'vcpb-plugin-icons' !important;
.translate(-50%, -50%);
}
}
.vc-c-icon-add {
font-size: 14px;
}
.vc-c-icon-delete_empty {
font-size: 11px;
}
.vc-c-icon-mode_edit {
font-size: 15px;
}
}
}
> .wpb_element_wrapper {
background: @wrapper_bg_color;
padding: @padding;
}
}
.bottom-controls {
.vc-c-icon-add {
font-size: 16px;
}
}
.wpb_row_container {
> .wpb_vc_column {
.vc_column(@vc_column_bg; @vc_column_bg; 1px 14px 1px);
}
> .wpb_vc_column_inner {
.vc_column(#fff; #fff; 1px 14px 1px);
}
}
.wpb_vc_row,
.wpb_vc_row_inner,
.wpb_vc_section {
> .vc_controls {
> .column_move {
background-color: @vc_column_bg;
}
.column_delete {
&:hover {
background-color: #ffe0e0;
}
}
}
}
.vc_row-hash-id {
float: right;
display: inline-block;
line-height: 1;
color: #999999;
margin-top: 5px;
padding-left: 3px;
}
.vc_collapsed-row {
> .wpb_element_wrapper {
> .vc_container_for_children {
height: @vc_backend_column_controls_height + @vc_backend_column_margin_bottom;
overflow: hidden;
> .wpb_vc_column, .wpb_vc_column_inner {
.vc_controls {
border-bottom: 1px solid transparent;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
.border-bottom-radius(@vc_border_radius);
margin-bottom: @vc_backend_column_margin_bottom;
}
}
}
}
> .vc_controls {
.column_toggle {
.vc_icon {
background-position: -16px -112px;
}
.vc-c-icon-arrow_drop_down {
&:extend(.vc-c-icon-arrow_drop_up all);
}
}
}
}
.wpb_vc_row_inner {
> .vc_controls {
> .column_move {
background-color: #fff;
}
}
&.wpb_sortable {
margin-bottom: -15px; // Inner row margins: #1225
}
}
.vc_row-fluid .wpb_content_holder[data-width="1/5"] {
width: 20% !important;
float: left;
padding-left: 15px;
padding-right: 15px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.vc_row-fluid .wpb_content_holder[data-width="2/5"] {
width: 40% !important;
float: left;
padding-left: 15px;
padding-right: 15px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.vc_row-fluid .wpb_content_holder[data-width="3/5"] {
width: 60% !important;
float: left;
padding-left: 15px;
padding-right: 15px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.vc_row-fluid .wpb_content_holder[data-width="4/5"] {
width: 80% !important;
float: left;
padding-left: 15px;
padding-right: 15px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
//.vc_controls-row .vc_row_layouts:hover {
// max-width: 100% !important;
//}
//
//.vc_controls-row .vc_control-set-column[data-cells="15_15_15_15_15"] {
// -webkit-background-size: 100%;
// background-size: 100%;
// background: url('../custom-vc-column-layout/assets/15_15_15_15_15.png') no-repeat;
//}
//
//.vc_layout-panel-switcher .vc_layout-btn[data-cells="15_15_15_15_15"] {
// width: 34px;
// height: 18px;
// background-image: url('../custom-vc-column-layout/assets/15_15_15_15_15_sprite.png');
//}
//
//.vc_layout-panel-switcher .vc_layout-btn[data-cells="15_15_15_15_15"]:hover {
// /*background-position: 0 -11px;*/
// opacity: 0.2;
//}

View File

@@ -0,0 +1,68 @@
/* Accordion
---------------------------------------------------------- */
#poststuff .wpb_vc_accordion {
> .vc_controls {
.vc_tab-controls;
}
> .wpb_element_wrapper {
padding: 0;
height: auto;
background: none;
}
.ui-icon {
background: transparent url(../vc/controls.png) no-repeat -16px -16px;
width: 16px;
height: 16px;
position: absolute;
left: 19px;
top: 18px;
margin-top: 0;
display: block;
}
.ui-accordion-header {
.border-radius(@vc_border_radius);
padding: @vc_accordion_header_padding;
background: @vc_accordion_header_tag_bg;
margin-bottom: 3px;
&.ui-state-active {
background: #FFFFFF;
border: 1px solid transparent;
.border-bottom-radius(0);
margin-bottom: 0;
.ui-icon {
background-position: -16px -128px;
}
}
}
.tab-label {
margin-left: @vc_accordion_tab_label_margin_left;
color: @vc_accordion_tab_label_color;
font-size: 14px;
}
.wpb_vc_accordion_tab.ui-accordion-content {
overflow: visible;
margin-bottom: 3px;
}
.tab_controls {
.border-radius(@vc_border_radius);
background: @vc_accordion_header_tag_bg;
.add_tab {
.opacity(0.7);
cursor: pointer;
color: #b0b4b8;
padding: @vc_accordion_header_padding;
position: relative;
width: 100%;
height: 16px;
display: block;
.vc_icon {
background-position: -16px -16px;
position: absolute;
left: 19px;
top: 18px;
}
}
}
}

View File

@@ -0,0 +1,15 @@
.wpb_vc_accordion_tab {
background-color: @vc_accordion_tab_bg;
.border-bottom-radius(@vc_border_radius);
padding: 6px 14px 14px;
> .vc_controls {
.vc_controls-visible;
height: 35px;
background: transparent;
}
> .bottom-controls {
top: auto;
display: none;
}
.vc_tab-tour-inner-content-settings();
}

View File

@@ -0,0 +1,180 @@
/* Button
---------------------------------------------------------- */
.wpb_vc_button {
.wpb_element_wrapper {
background-image: none;
padding-left: 10px;
height: auto;
min-height: inherit;
}
.wpb_button {
display: inline-block;
position: relative;
padding: 5px 10px 4px;
margin-bottom: 0;
color: #333333;
text-align: center;
vertical-align: middle;
cursor: default;
background-color: #f5f5f5;
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(top, #ffffff, #e6e6e6);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
border: 1px solid #cccccc;
border-bottom-color: #b3b3b3;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
i.icon {
margin-bottom: -3px;
margin-left: 10px;
top: -2px;
position: relative;
width: 16px;
height: 16px;
}
}
// Button sizes
.btn-large {
padding: 9px 14px 7px;
font-size: 110%;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
i.icon {
margin-bottom: -3px;
margin-left: 14px;
top: -1px;
}
}
.btn-small {
padding: 5px 9px 3px;
font-size: 90%;
i.icon {
margin-left: 8px;
margin-bottom: -4px;
top: -3px;
}
}
.btn-mini {
padding: 3px 6px 2px;
font-size: 85%;
i.icon {
display: none !important;
}
}
// Button colors
.btn-primary,
.btn-warning,
.btn-danger,
.btn-success,
.btn-info,
.btn-inverse {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn-primary {
//Blue
background-color: #0074cc;
background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
background-image: -o-linear-gradient(top, #0088cc, #0055cc);
background-image: linear-gradient(top, #0088cc, #0055cc);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-info {
//Turqoise
background-color: #49afcd;
background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
background-image: linear-gradient(top, #5bc0de, #2f96b4);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-success {
//Green
background-color: #5bb75b;
background-image: -moz-linear-gradient(top, #62c462, #51a351);
background-image: -ms-linear-gradient(top, #62c462, #51a351);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
background-image: -webkit-linear-gradient(top, #62c462, #51a351);
background-image: -o-linear-gradient(top, #62c462, #51a351);
background-image: linear-gradient(top, #62c462, #51a351);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.btn-warning {
//Orange
background-color: #faa732;
background-image: -moz-linear-gradient(top, #fbb450, #f89406);
background-image: -ms-linear-gradient(top, #fbb450, #f89406);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
background-image: -o-linear-gradient(top, #fbb450, #f89406);
background-image: linear-gradient(top, #fbb450, #f89406);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-inverse {
//Black
background-color: #414141;
background-image: -moz-linear-gradient(top, #555555, #222222);
background-image: -ms-linear-gradient(top, #555555, #222222);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));
background-image: -webkit-linear-gradient(top, #555555, #222222);
background-image: -o-linear-gradient(top, #555555, #222222);
background-image: linear-gradient(top, #555555, #222222);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-danger {
//Red
background-color: #da4f49;
background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
background-image: linear-gradient(top, #ee5f5b, #bd362f);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
}
@import "../lib/wpb_icon.less";

View File

@@ -0,0 +1,5 @@
.vc_btn3-container {
margin-bottom: 2px; // no need to make gold ration in backend
}
@import "../shortcodes/vc_button3_editform.less";

View File

@@ -0,0 +1 @@
@import "../shortcodes/vc_cta3_editform.less";

View File

@@ -0,0 +1,15 @@
[data-vc-shortcode="vc_line_chart"], [data-vc-shortcode="vc_round_chart"] {
// vc_line-chart custom dependency
.vc_chart-edit-form-custom-color {
.vc_shortcode-param[data-vc-shortcode-param-name="values_custom_color"] {
display: block;
}
.vc_shortcode-param[data-vc-shortcode-param-name="values_color"] {
display: none;
}
}
.vc_shortcode-param[data-vc-shortcode-param-name="values_custom_color"] {
display: none;
}
}

View File

@@ -0,0 +1,27 @@
/* Text Block
---------------------------------------------------------- */
.wpb_vc_column_text,
.wpb_vc_message,
.wpb_vc_toggle {
> .wpb_element_wrapper {
height: auto;
min-height: 1px;
background-image: none;
padding-left: 10px;
p:first-child {
margin-top: 0;
}
p:last-child {
margin-bottom: 0;
}
> .wpb_vc_param_value {
&.textarea_html {
overflow: hidden;
img {
max-width: 100%;
height: auto;
}
}
}
}
}

View File

@@ -0,0 +1,2 @@
/* Call to action block
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Empty Space
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Facebook
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Flickr
---------------------------------------------------------- */

View File

@@ -0,0 +1,31 @@
/* Image Gallery
---------------------------------------------------------- */
.wpb_vc_gallery,
.wpb_vc_images_carousel,
.wpb_vc_media_grid,
.wpb_vc_masonry_media_grid {
.column_edit_trigger {
margin-top: 2px;
}
.attachment-thumbnails {
overflow: hidden;
height: 20px;
padding: 0px;
margin: 0;
li {
height: 20px;
width: 20px;
overflow: hidden;
margin-right: 1px;
margin-bottom: 0;
display: inline-block;
.vc_icon-remove {
display: none;
}
}
img {
height: 20px;
width: auto;
}
}
}

View File

@@ -0,0 +1,2 @@
/* Google Maps widget
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Google+
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Image Carousel
---------------------------------------------------------- */

View File

@@ -0,0 +1,30 @@
//====== VARIABLES
@import "../shortcodes/vc_message_box/vc_message_box_variables.less";
//==mixins
@import "../shortcodes/vc_message_box/vc_message_box_mixins.less";
//====== STYLES
/* ================================
* Message box
* ================================ */
.wpb_element_wrapper & {
@import "../shortcodes/vc_message_box/vc_message_box_2.less";
//fix backend spaces
.vc_message_box p {
font-size: 12px;
padding: 0;
margin: 1em;
}
.vc_message_box {
margin: 0;
&.vc_message_box-3d {
margin-bottom: @message-box-shadow-width-3d + 4;
}
.messagebox_text {
padding: 0;
}
}
}

View File

@@ -0,0 +1,2 @@
/* Pie chart
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Pinterest
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Posts slider
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Progress Bar
---------------------------------------------------------- */

View File

@@ -0,0 +1,19 @@
/* Raw HTML/JS
---------------------------------------------------------- */
.wpb_element_wrapper,
.vc_edit_form_elements {
.textarea_raw_html {
font-family: "Courier New";
color: #AAAAAA;
font-size: 11px;
word-break: break-all;
}
.vc_row-fluid .quicktags-toolbar {
input {
width: auto;
}
}
.vc_dependent-hidden {
display: none !important;
}
}

View File

@@ -0,0 +1,39 @@
/* Separator element
---------------------------------------------------------- */
.wpb_vc_separator,
.wpb_vc_text_separator {
> .wpb_element_wrapper {
background-image: url(../vc/separator.gif);
background-repeat: repeat-x;
background-position: center center;
padding: 0;
height: 31px;
min-height: 31px;
}
.textfield {
position: relative;
background-color: #FFFFFF;
font-size: 11px;
display: inline-block;
position: relative;
top: 6px;
padding: 0px 10px;
}
.separator_align_center {
text-align: center;
}
.separator_align_right {
text-align: right;
.textfield {
margin-right: 10px;
}
}
.separator_align_left {
text-align: left;
.textfield {
margin-left: 10px;
}
}
}

View File

@@ -0,0 +1,32 @@
/* Single Image
---------------------------------------------------------- */
.wpb_vc_single_image,
.wpb_vc_gallery,
.wpb_vc_images_carousel {
.column_edit_trigger {
font-size: 11px;
line-height: 12px;
text-decoration: none;
border-bottom: 1px dotted;
margin-top: 7px;
margin-left: 5px;
}
}
.wpb_vc_single_image {
> .wpb_element_wrapper {
height: auto;
}
.attachment-thumbnail {
max-width: 32px;
background-image: none;
}
.vc_element-icon {
float: left;
margin-right: @vc_backend_editor_margin_right;
}
}
.image-exists {
display: none !important;
}

View File

@@ -0,0 +1,41 @@
.vc_tab-tour-inner-content-settings() {
> .wpb_element_wrapper {
> .wpb_column_container {
&.empty_container {
height: 80px;
background-position: center center;
}
.wpb_vc_column_inner {
> .vc_controls {
background-color: @vc_column_bg;
}
> .wpb_element_wrapper {
background-color: @vc_column_bg;
padding: 14px;
}
}
.wpb_vc_row_inner {
> .vc_controls {
> .column_move {
background-color: @vc_column_bg;
}
}
}
}
}
}
.wpb_content_element .ui-tabs .ui-tabs-panel.wpb_vc_tab {
background-color: @vc_tab_bg;
> .vc_controls {
.vc_controls-visible;
height: 35px;
background: transparent;
position: relative;
}
> .bottom-controls {
top: auto;
display: none;
}
.vc_tab-tour-inner-content-settings();
}

View File

@@ -0,0 +1,58 @@
/* Tabs
---------------------------------------------------------- */
.vc_tab-controls() {
.vc_controls-visible;
position: relative;
height: 23px;
margin: 18px 0 2px 0;
border: 1px dotted @vc_border_color;
border-bottom-width: 0;
}
.wpb_vc_tabs {
> .vc_controls {
.vc_tab-controls;
}
> .wpb_element_wrapper {
padding: 0px;
background: none;
border: none;
height: auto;
.wpb_tabs_holder,
.tabs_controls {
padding: 0;
}
.ui-tabs .ui-tabs-nav {
position: relative;
top: 1px;
z-index: 2;
border-right: 1px dotted @vc_border_color;
li {
top: -1px;
background: @vc_tab_tag_bg;
border: 1px solid transparent;
.border-top-radius(@vc_border_radius);
margin-right: 3px;
padding: 0;
a {
color: @vc_tab_tag_color;
padding: 10px 16px;
}
&.add_tab_block {
padding: 11px;
a {
padding: 0;
width: 16px;
height: 16px;
display: inline-block;
background: transparent url('../vc/controls.png') no-repeat -16px -16px;
}
}
}
li.ui-tabs-active {
background: @vc_tab_tag_active_bg;
}
}
}
}

View File

@@ -0,0 +1,2 @@
/* Teaser grid
---------------------------------------------------------- */

View File

@@ -0,0 +1,28 @@
/* FAQ, Toggle
---------------------------------------------------------- */
.wpb_vc_toggle {
.wpb_element_wrapper {
min-height: 1px;
.vc_toggle_title {
font-size: 1em;
margin: 0 !important;
line-height: inherit;
cursor: pointer;
background: url(../vc/plus.png) left 3px no-repeat;
padding-left: 20px !important;
}
.vc_toggle_title_active {
background-image: url(../vc/minus.png);
}
.vc_toggle_content {
display: none;
margin-top: 0.8em;
}
}
.vc_admin_label {
display: none !important;
}
}

View File

@@ -0,0 +1,63 @@
/* Tour
---------------------------------------------------------- */
.wpb_vc_tour {
> .vc_controls {
.vc_tab-controls;
}
> .wpb_element_wrapper {
padding: 0px;
background: none;
border: none;
height: auto;
.wpb_tabs_holder,
.tabs_controls {
padding: 0;
}
.ui-tabs .ui-tabs-nav {
float: left;
width: 30%;
position: relative;
left: 1px;
z-index: 2;
li {
float: none;
background: @vc_tab_tag_bg;
border: 1px solid transparent;
.border-left-radius(@vc_border_radius);
padding: 0;
margin: 0;
a {
float: none;
display: block;
color: @vc_tab_tag_color;
padding: 10px 16px;
margin: 0 0 2px;
}
&.add_tab_block {
padding: 11px;
a {
padding: 0;
width: 100%;
height: 16px;
display: block;
background: transparent url('../vc/controls.png') no-repeat -16px -16px;
}
}
}
li.ui-tabs-active {
background: @vc_tab_tag_active_bg;
}
}
.wpb_vc_tab {
float: right;
width: 70%;
> .vc_controls {
position: relative;
}
}
.ui-tabs .ui-tabs-nav li,
.wpb_vc_tab {
.box-sizing(border-box);
}
}
}

View File

@@ -0,0 +1,166 @@
// TTA
@import "../shortcodes/tta/vc_tta-variables.less";
@import "../shortcodes/tta/vc_tta-core.less";
@import "../shortcodes/tta/vc_tta-options.less";
@import "../shortcodes/tta/vc_tta-icon-controls.less";
@import "../shortcodes/tta/vc_tta-mixins.less";
.vc_tta-container {
margin: 22px 0 0 0;
}
.vc_tta-color-backend-accordion-white {
.vc_tta-make-panel-color(
@background: #fff;
@background-active: #fff;
@background-hover: darken(#fff, 1%);
@text: #6f777d;
);
.vc_tta-make-tabs-color(
@background: #fff;
@background-active: #fff;
@background-hover: darken(#fff, 1%);
@text: #6f777d;
);
}
.vc_tta-color-backend-tabs-white {
.vc_tta-make-panel-color(
@background :#e6e6e6;
@background-active: #fff;
@background-hover: darken(#fff, 1%);
@text: #6f777d;
);
.vc_tta-make-tabs-color(
@background :#e6e6e6;
@background-active: #fff;
@background-hover: darken(#fff, 1%);
@text: #6f777d;
);
}
// TTA Placeholder
.vc_placeholder-tta, .vc_placeholder-tta-tab {
padding: 0;
margin: 0;
background: transparent url('../vc/pattern.gif');
height: 50px;
}
.vc_placeholder-tta-tab {
display: inline-block;
}
.vc_tta.vc_general .vc_tta-panel-body {
-webkit-transition: none;
transition: none;
}
// ==================
// TTA Containers
.wpb_vc_tta_tabs, .wpb_vc_tta_pageable, .wpb_vc_tta_tour, .wpb_vc_tta_accordion {
> .vc_controls {
.vc_tab-controls();
}
&.vc_shortcodes_container {
background: none;
> .wpb_element_wrapper > .vc_container_for_children {
margin: 0;
outline: 0;
}
}
}
// ==================
// Section
.wpb_vc_tta_section {
background: none;
> .wpb_element_wrapper > .vc_tta-panel-body {
> .vc_controls {
position: relative;
height: 45px;
margin-top: -12px;
.vc_controls-visible;
}
> .wpb_column_container {
margin: 0;
}
.wpb_vc_column_inner {
> .vc_controls {
background-color: @vc_column_bg;
}
> .wpb_element_wrapper {
background-color: @vc_column_bg;
padding: 14px;
}
}
.wpb_vc_row_inner {
> .vc_controls {
> .column_move {
background-color: @vc_column_bg;
}
}
}
}
}
// ==================
// Tours, Tabs
.wpb_vc_tta_tabs {
.vc_tta-tabs-list li {
vertical-align: top; // actually fixes placeholder position
}
.wpb_vc_tta_section > .wpb_element_wrapper > .vc_tta-panel-body > .vc_controls {
margin-top: -5px;
}
.vc_tta.vc_general .vc_tta-tab > a {
padding: 10px 14px;
}
}
.wpb_vc_tta_tabs, .wpb_vc_tta_tour {
.vc_tta.vc_general .wpb_vc_tta_section.vc_tta-panel {
display: none;
&.vc_active {
display: block;
}
}
}
// Tour
.wpb_vc_tta_tour {
.wpb_vc_tta_section > .wpb_element_wrapper > .vc_tta-panel-body > .vc_controls {
height: 48px;
margin-top: 0;
}
}
// ==================
// Accordion
@vc_tta_accordion_add_control_color: #b0b4b8;
.wpb_vc_tta_accordion {
.wpb_vc_tta_section.vc_shortcodes_container {
margin: 0;
}
}
.vc_tta-backend-add-control {
.vc_tta-title-text {
color: @vc_tta_accordion_add_control_color;
}
.vc_tta-controls-icon-plus {
&:before {
border-color: @vc_tta_accordion_add_control_color;
}
&:after {
border-color: @vc_tta_accordion_add_control_color;
}
}
}
// ==================

View File

@@ -0,0 +1,2 @@
/* Twitter
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Twitter widget
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Video widget
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Widgetised sidebar
---------------------------------------------------------- */

View File

@@ -0,0 +1,2 @@
/* Default WP Widgets
---------------------------------------------------------- */