Import legacy nurinda.co.id website
No files matched your search
@@ -0,0 +1,213 @@
|
||||
/*CSS for Components*/
|
||||
.woo_grid, .woo_grid > .wpb_element_wrapper{
|
||||
background-image: url(../img/icon-woo-grid.png) !important;
|
||||
}
|
||||
.woo_list, .woo_list > .wpb_element_wrapper{
|
||||
background-image: url(../img/icon-woo-list.png) !important;
|
||||
}
|
||||
.woo_carousel, .woo_carousel > .wpb_element_wrapper{
|
||||
background-image: url(../img/icon-woo-carousel.png) !important;
|
||||
}
|
||||
.woo_product, .woo_product > .wpb_element_wrapper{
|
||||
background-image: url(../img/icon-woo-product.png) !important;
|
||||
}
|
||||
select#display_type,
|
||||
input#per_page,
|
||||
input#columns,
|
||||
select#orderby,
|
||||
select#order,
|
||||
select#cat {
|
||||
width: 180px;
|
||||
float:right;
|
||||
}
|
||||
#s2id_products {
|
||||
width: 180px;
|
||||
}
|
||||
#s2id_cat {
|
||||
width: 180px;
|
||||
float: right;
|
||||
display: inline-block !important;
|
||||
z-index: 999;
|
||||
}
|
||||
select#cat.multiple {
|
||||
max-height: 48px;
|
||||
padding-bottom: 3px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
.edit_form_line .display_type,
|
||||
.edit_form_line .per_page,
|
||||
.edit_form_line .columns,
|
||||
.edit_form_line .orderby,
|
||||
.edit_form_line .order,
|
||||
.edit_form_line .cat {
|
||||
width: 48%;
|
||||
float: left;
|
||||
margin: 1%;
|
||||
min-height: 40px;
|
||||
}
|
||||
/*Front End*/
|
||||
#vc-properties-panel.ui-draggable .display_type,
|
||||
#vc-properties-panel.ui-draggable .per_page,
|
||||
#vc-properties-panel.ui-draggable .columns,
|
||||
#vc-properties-panel.ui-draggable .orderby,
|
||||
#vc-properties-panel.ui-draggable .order,
|
||||
#vc-properties-panel.ui-draggable .cat {
|
||||
width: 100%;
|
||||
clear: both;
|
||||
margin: 5px 0;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/*Label Height*/
|
||||
div.display_type > label,
|
||||
div.per_page > label,
|
||||
div.columns > label,
|
||||
div.orderby > label,
|
||||
div.order > label,
|
||||
div.cat > label{
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
/*Query Builder Design*/
|
||||
[data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,
|
||||
[data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,
|
||||
[data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer {
|
||||
background: #FAFAFA;
|
||||
padding: 15px;
|
||||
margin: 15px 0 30px !important;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #ECECEC;
|
||||
border-radius: 5px;
|
||||
}
|
||||
/*Query Builder Front Design*/
|
||||
.vc-editor [data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,
|
||||
.vc-editor [data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,
|
||||
.vc-editor [data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer {
|
||||
width: 94%;
|
||||
margin-left: 3% !important;
|
||||
margin-right: 3% !important;
|
||||
}
|
||||
/*Select Box Designs*/
|
||||
/*
|
||||
[data-title="Edit List View [Beta]"] .wpb_el_type_dropdown select,
|
||||
[data-title="Edit List View [Beta]"] .wpb_el_type_number input {
|
||||
width: auto !important;
|
||||
min-width: 150px;
|
||||
max-width: 100%;
|
||||
}
|
||||
*/
|
||||
@media (max-width: 767px) {
|
||||
select#display_type, input#per_page, input#columns, select#orderby, select#order, select#cat {
|
||||
width:60%;
|
||||
float:right;
|
||||
margin:0px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.edit_form_line label{
|
||||
width: 30%;
|
||||
float: left;
|
||||
height: 39px;
|
||||
line-height: 45px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
}
|
||||
/*On Off Checkbox Switch*/
|
||||
.onoffswitch {
|
||||
position: relative;
|
||||
width: 95px;
|
||||
display: inline-block;
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
-webkit-user-select:none;
|
||||
-moz-user-select:none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
.onoffswitch-checkbox {
|
||||
display: none !important;
|
||||
}
|
||||
.onoffswitch-label {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
border: 0px solid #999999;
|
||||
border-radius: 0px;
|
||||
}
|
||||
.onoffswitch-inner {
|
||||
width: 200%;
|
||||
margin-left: -100%;
|
||||
-moz-transition: margin 0.3s ease-in 0s;
|
||||
-webkit-transition: margin 0.3s ease-in 0s;
|
||||
-o-transition: margin 0.3s ease-in 0s;
|
||||
transition: margin 0.3s ease-in 0s;
|
||||
}
|
||||
.onoffswitch-inner > div {
|
||||
float: left;
|
||||
position: relative;
|
||||
width: 50%;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
line-height: 24px;
|
||||
font-size: 12px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.onoffswitch-inner .onoffswitch-active {
|
||||
padding-left: 15px;
|
||||
background-color: #CCCCCC;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.onoffswitch-inner .onoffswitch-inactive {
|
||||
padding-right: 15px;
|
||||
background-color: #CCCCCC;
|
||||
color: #FFFFFF;
|
||||
text-align: right;
|
||||
}
|
||||
.onoffswitch-switch {
|
||||
/*width: 50px;*/
|
||||
width:35px;
|
||||
margin: 0px;
|
||||
text-align: center;
|
||||
border: 0px solid #999999;
|
||||
border-radius: 0px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.onoffswitch-active .onoffswitch-switch {
|
||||
background: #3F9CC7;
|
||||
left: 0;
|
||||
}
|
||||
.onoffswitch-inactive .onoffswitch-switch {
|
||||
background: #7D7D7D;
|
||||
right: 0;
|
||||
}
|
||||
.onoffswitch-active .onoffswitch-switch:before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
/*left: 50px;*/
|
||||
left:35px;
|
||||
border-style: solid;
|
||||
border-color: #3F9CC7 transparent transparent #3F9CC7;
|
||||
/*border-width: 12px 8px;*/
|
||||
border-width: 15px;
|
||||
}
|
||||
.onoffswitch-inactive .onoffswitch-switch:before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
/*right: 50px;*/
|
||||
right:35px;
|
||||
border-style: solid;
|
||||
border-color: transparent #7D7D7D #7D7D7D transparent;
|
||||
/*border-width: 12px 8px;*/
|
||||
border-width: 50px;
|
||||
}
|
||||
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
|
||||
margin-left: 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.gfont span.variants
{
display:none;
}
.font-delete
{
position: absolute;
right: 0;
top: 0;
cursor: pointer;
padding: 8px 5px;
}
.font-delete:hover
{
color: #e14d43;
}
.font-delete i
{
height: 100%;
}
.font-delete i:before
{
vertical-align: sub;
}
.selected-font-top
{
position: relative;
}
.selected-font-top.have-variants
{
cursor:pointer;
}
.selected-font-top
{
padding: 5px 10px;
background: #F7F7F7;
background: -webkit-linear-gradient(#FAFAFA, #F3F3F3);
background: -o-linear-gradient(#FAFAFA, #F3F3F3);
background: -moz-linear-gradient(#FAFAFA, #F3F3F3);
background: linear-gradient(#FAFAFA, #F3F3F3);
}
.selected-font-top.fopened
{
border-bottom: 1px solid #ECECEC;
}
.selected-font-content
{
display: none;
padding: 15px 10px;
background: #FDFDFD;
position: relative;
}
.selected-font-content .spinner.fspinner {
bottom: 23px;
right: 10px;
position: absolute;
float: right !important;
}
.fspinner-show
{
float: left;
display: block;
}
/*Fixed*/
.wrap {
position: relative;
}
.nav {
background: #fff;
border: 1px solid #e9e9e9;
padding: 8px 12px;
margin: 15px 0 17px;
display: block;
width: 100%;
box-sizing: border-box;
}
.fonts-list {
width: 65%;
float: left;
}
.gfont {
border: 1px solid #dcdcdc;
margin: 0 3px 10px 0;
background: #fff;
position: relative;
-moz-box-shadow: 0 1px 1px #e1e1e1;
-webkit-box-shadow: 0 1px 1px #eee;
-o-box-shadow: 0 1px 1px #eee;
box-shadow: 0 1px 1px #eee;
padding: 8px 10px;
}
.gfont div.font-header,
.fonts-selected-list div.font-header
{
margin: 0;
float: left;
font-size: 17px;
line-height: 34px;
}
.fonts-selected-list {
position: absolute;
top: 45px;
right: 0;
margin: 0;
padding:0;
width: 360px;
margin-top: 6em;
background: #fff;
border: 1px solid #dcdcdc;
-moz-box-shadow: 0px 3px 3px #D6D6D6;
-webkit-box-shadow: 0px 3px 3px #D6D6D6;
-o-box-shadow: 0px 3px 3px #D6D6D6;
box-shadow: 0px 3px 3px #D6D6D6;
}
#fonts-selected-wrapper
{
margin-top: 0.5em;
border-top: 1px solid #F0F0F0;
overflow:auto;
padding: 10px;
}
#fonts-selected-wrapper .selected-font
{
background: #F1F1F1;
margin-bottom: 7px;
position: relative;
border: 1px solid #ECECEC;
}
.fonts-selected-list h3
{
margin:5px;
padding: 8px 10px;
}
.font-variant input
{
vertical-align: bottom;
margin-right: 8px;
}
input.button.update-google-font-button {
float: left;
display: block;
width: 100%;
margin: 10px 0 0;
padding: 3px 0;
clear: both;
-mox-box-sizing: content-box;
box-sizing: content-box;
-webkit-transition: all 0.218s linear;
-moz-transition: all 0.218s linear;
transition: all 0.218s linear;
background: #04a4cc;
border-color: #037c9a;
color: #fff;
-webkit-box-shadow: inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);
}
input.button.update-google-font-button:focus,
input.button.update-google-font-button:hover,
input.button.update-google-font-button:active {
outline: none;
background: #0490b3;
border-color: #036881;
color: #fff;
-webkit-box-shadow: inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15);
}
.font-variant
{
display: inline-block;
font-size: 14px;
margin: 0 0 6px;
min-width: 96px;
}
.uagffixed {
position: fixed;
top: 50px;
right: 20px;
z-index: 999999999;
margin: 0 !important;
}
@media all and (max-width: 1200px) {
.fonts-selected-list,
.uagffixed {
width: 23%;
}
}
/*Customizations*/
.wrap.uavc-gfont .add-new-h2,
.wrap.uavc-gfont .add-new-h2:active {
padding: 6px 10px;
color: #0074a2;
}
.wrap.uavc-gfont .add-new-h2:hover{
background: #2ea2cc;
color: #fff;
}
.wrap.uavc-gfont input#refresh-google-fonts:focus {
outline: none;
cursor: pointer;
}
.wrap.uavc-gfont .nav {
position: relative;
min-width: 255px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
box-shadow: 0 1px 1px rgba(0,0,0,.04);
background: #fff;
margin-top: 10px;
}
.wrap.uavc-gfont input#search_gfont {
max-width: 50%;
width: 320px;
padding: 5px 7px !important;
font-size: 13px;
line-height: 1.5em !important;
font-weight: 600;
}
/*buttons*/
.wrap.uavc-gfont .add-google-font,
.google-font-message-buttons
{
cursor: pointer;
padding: 8px 12px;
text-align: center;
font-size: 12px;
min-width: 111px;
text-align: center;
background: #2ea2cc;
color: #fff;
border: 1px solid #0074a2;
border-radius: 3px;
-webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);
text-decoration: none;
-webkit-transition: all 0.218s;
-moz-transition: all 0.218s;
transition: all 0.218s;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.wrap.uavc-gfont .add-google-font:hover,
.wrap.uavc-gfont .add-google-font:active,
.wrap.uavc-gfont .add-google-font:focus,
.google-font-message-buttons:hover,
.google-font-message-buttons:active,
.google-font-message-buttons:focus {
background: #Line truncated
|
||||
@@ -0,0 +1,74 @@
|
||||
.form-control .select2-choice {
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.form-control .select2-choice .select2-arrow {
|
||||
border-radius: 0 2px 2px 0;
|
||||
}
|
||||
.form-control.select2-container {
|
||||
height: auto !important;
|
||||
padding: 0;
|
||||
}
|
||||
.form-control.select2-container.select2-dropdown-open {
|
||||
border-color: #5897FB;
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
.form-control .select2-container.select2-dropdown-open .select2-choices {
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
.form-control.select2-container .select2-choices {
|
||||
border: 0 !important;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.control-group.warning .select2-container .select2-choice,
|
||||
.control-group.warning .select2-container .select2-choices,
|
||||
.control-group.warning .select2-container-active .select2-choice,
|
||||
.control-group.warning .select2-container-active .select2-choices,
|
||||
.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choice,
|
||||
.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choices,
|
||||
.control-group.warning .select2-container-multi.select2-container-active .select2-choices {
|
||||
border: 1px solid #C09853 !important;
|
||||
}
|
||||
.control-group.warning .select2-container .select2-choice div {
|
||||
border-left: 1px solid #C09853 !important;
|
||||
background: #FCF8E3 !important;
|
||||
}
|
||||
.control-group.error .select2-container .select2-choice,
|
||||
.control-group.error .select2-container .select2-choices,
|
||||
.control-group.error .select2-container-active .select2-choice,
|
||||
.control-group.error .select2-container-active .select2-choices,
|
||||
.control-group.error .select2-dropdown-open.select2-drop-above .select2-choice,
|
||||
.control-group.error .select2-dropdown-open.select2-drop-above .select2-choices,
|
||||
.control-group.error .select2-container-multi.select2-container-active .select2-choices {
|
||||
border: 1px solid #B94A48 !important;
|
||||
}
|
||||
.control-group.error .select2-container .select2-choice div {
|
||||
border-left: 1px solid #B94A48 !important;
|
||||
background: #F2DEDE !important;
|
||||
}
|
||||
.control-group.info .select2-container .select2-choice,
|
||||
.control-group.info .select2-container .select2-choices,
|
||||
.control-group.info .select2-container-active .select2-choice,
|
||||
.control-group.info .select2-container-active .select2-choices,
|
||||
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choice,
|
||||
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choices,
|
||||
.control-group.info .select2-container-multi.select2-container-active .select2-choices {
|
||||
border: 1px solid #3A87AD !important;
|
||||
}
|
||||
.control-group.info .select2-container .select2-choice div {
|
||||
border-left: 1px solid #3A87AD !important;
|
||||
background: #D9EDF7 !important;
|
||||
}
|
||||
.control-group.success .select2-container .select2-choice,
|
||||
.control-group.success .select2-container .select2-choices,
|
||||
.control-group.success .select2-container-active .select2-choice,
|
||||
.control-group.success .select2-container-active .select2-choices,
|
||||
.control-group.success .select2-dropdown-open.select2-drop-above .select2-choice,
|
||||
.control-group.success .select2-dropdown-open.select2-drop-above .select2-choices,
|
||||
.control-group.success .select2-container-multi.select2-container-active .select2-choices {
|
||||
border: 1px solid #468847 !important;
|
||||
}
|
||||
.control-group.success .select2-container .select2-choice div {
|
||||
border-left: 1px solid #468847 !important;
|
||||
background: #DFF0D8 !important;
|
||||
}
|
||||
@@ -0,0 +1,582 @@
|
||||
.select2-container {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
vertical-align: middle; }
|
||||
.select2-container .select2-selection--single {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 28px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
display: block;
|
||||
padding-left: 8px;
|
||||
padding-right: 20px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-selection--single .select2-selection__clear {
|
||||
position: relative; }
|
||||
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 8px;
|
||||
padding-left: 20px; }
|
||||
.select2-container .select2-selection--multiple {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
min-height: 32px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding-left: 8px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-search--inline {
|
||||
float: left; }
|
||||
.select2-container .select2-search--inline .select2-search__field {
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
font-size: 100%;
|
||||
margin-top: 5px;
|
||||
padding: 0; }
|
||||
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
|
||||
.select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -100000px;
|
||||
width: 100%;
|
||||
z-index: 1051; }
|
||||
|
||||
.select2-results {
|
||||
display: block; }
|
||||
|
||||
.select2-results__options {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.select2-results__option {
|
||||
padding: 6px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-results__option[aria-selected] {
|
||||
cursor: pointer; }
|
||||
|
||||
.select2-container--open .select2-dropdown {
|
||||
left: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--above {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--below {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-search--dropdown {
|
||||
display: block;
|
||||
padding: 4px; }
|
||||
.select2-search--dropdown .select2-search__field {
|
||||
padding: 4px;
|
||||
width: 100%;
|
||||
box-sizing: border-box; }
|
||||
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
.select2-search--dropdown.select2-search--hide {
|
||||
display: none; }
|
||||
|
||||
.select2-close-mask {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
opacity: 0;
|
||||
z-index: 99;
|
||||
background-color: #fff;
|
||||
filter: alpha(opacity=0); }
|
||||
|
||||
.select2-hidden-accessible {
|
||||
border: 0 !important;
|
||||
clip: rect(0 0 0 0) !important;
|
||||
height: 1px !important;
|
||||
margin: -1px !important;
|
||||
overflow: hidden !important;
|
||||
padding: 0 !important;
|
||||
position: absolute !important;
|
||||
width: 1px !important; }
|
||||
|
||||
.select2-container--default .select2-selection--single {
|
||||
background-color: #fff;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--default .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
||||
box-sizing: border-box;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
width: 100%; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
||||
list-style: none; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
|
||||
color: #999;
|
||||
margin-top: 5px;
|
||||
float: left; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #333; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
||||
float: right; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
||||
border: solid black 1px;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa; }
|
||||
|
||||
.select2-container--default .select2-search--inline .select2-search__field {
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
-webkit-appearance: textfield; }
|
||||
|
||||
.select2-container--default .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--default .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-disabled=true] {
|
||||
color: #999; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-selected=true] {
|
||||
background-color: #ddd; }
|
||||
|
||||
.select2-container--default .select2-results__option .select2-results__option {
|
||||
padding-left: 1em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
||||
padding-left: 0; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -1em;
|
||||
padding-left: 2em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -2em;
|
||||
padding-left: 3em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -3em;
|
||||
padding-left: 4em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -4em;
|
||||
padding-left: 5em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -5em;
|
||||
padding-left: 6em; }
|
||||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #5897fb;
|
||||
color: white; }
|
||||
|
||||
.select2-container--default .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic .select2-selection--single {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
outline: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-right: 10px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
||||
background-color: #ddd;
|
||||
border: none;
|
||||
border-left: 1px solid #aaa;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
border: none;
|
||||
border-right: 1px solid #aaa;
|
||||
border-radius: 0;
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--single {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
||||
background: transparent;
|
||||
border: none; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
||||
|
||||
.select2-container--classic .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text;
|
||||
outline: 0; }
|
||||
.select2-container--classic .select2-selection--multiple:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
||||
display: none; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #555; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
float: right; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
||||
border: 1px solid #5897fb; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--inline .select2-search__field {
|
||||
outline: 0;
|
||||
box-shadow: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid transparent; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--above {
|
||||
border-bottom: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--below {
|
||||
border-top: none; }
|
||||
|
||||
.select2-container--classic .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--classic .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--classic .select2-results__option[aria-disabled=true] {
|
||||
color: grey; }
|
||||
|
||||
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #3875d7;
|
||||
color: white; }
|
||||
|
||||
.select2-container--classic .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-dropdown {
|
||||
border-color: #5897fb; }
|
||||
|
||||
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
|
||||
{
|
||||
margin-left: 0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
|
||||
cursor: default;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice-focus {
|
||||
background: #d4d4d4;
|
||||
}
|
||||
.wpb_vc_param_value .select2-search-choice-close {
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 13px;
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 3px;
|
||||
left: 4px;
|
||||
font-size: 1px;
|
||||
outline: none;
|
||||
background: url('../img/select2.png') right top no-repeat;
|
||||
}
|
||||
html[dir="rtl"] .wpb_vc_param_value .select2-search-choice-close {
|
||||
right: auto;
|
||||
left: 3px;
|
||||
}
|
||||
/*
|
||||
.select2-container-multi .select2-search-choice-close {
|
||||
left: 4px;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
|
||||
background-position: right -12px;
|
||||
}
|
||||
*/
|
||||
.wpb_vc_param_value .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
|
||||
background-position: right -12px;
|
||||
}
|
||||
/* disabled styles */
|
||||
.wpb_vc_param_value .select2-container-multi.select2-container-disabled .select2-choices {
|
||||
background-color: #f4f4f4;
|
||||
background-image: none;
|
||||
border: 1px solid #ddd;
|
||||
cursor: default;
|
||||
}
|
||||
.wpb_vc_param_value .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
|
||||
padding: 3px 5px 3px 5px;
|
||||
border: 1px solid #ddd;
|
||||
background-image: none;
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
.wpb_vc_param_value .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
|
||||
background: none;
|
||||
}
|
||||
/* end multiselect */
|
||||
.wpb_vc_param_value .select2-result-selectable .select2-match,
|
||||
.wpb_vc_param_value .select2-result-unselectable .select2-match {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.wpb_vc_param_value .select2-offscreen, .wpb_vc_param_value .select2-offscreen:focus {
|
||||
clip: rect(0 0 0 0) !important;
|
||||
width: 1px !important;
|
||||
height: 1px !important;
|
||||
border: 0 !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow: hidden !important;
|
||||
position: absolute !important;
|
||||
outline: 0 !important;
|
||||
left: 0px !important;
|
||||
top: 0px !important;
|
||||
}
|
||||
.wpb_vc_param_value .select2-display-none {
|
||||
display: none;
|
||||
}
|
||||
.wpb_vc_param_value .select2-measure-scrollbar {
|
||||
position: absolute;
|
||||
top: -10000px;
|
||||
left: -10000px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
overflow: scroll;
|
||||
}
|
||||
/* Retina-ize icons */
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
|
||||
.wpb_vc_param_value .select2-search input,
|
||||
.wpb_vc_param_value .select2-search-choice-close,
|
||||
.wpb_vc_param_value .select2-container .select2-choice abbr,
|
||||
.wpb_vc_param_value .select2-container .select2-choice .select2-arrow b {
|
||||
background-image: url('../img/select2x2.png') !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-size: 60px 40px !important;
|
||||
}
|
||||
.wpb_vc_param_value .select2-search input {
|
||||
background-position: 100% -21px !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.woo_grid,.woo_grid>.wpb_element_wrapper{background-image:url(../img/icon-woo-grid.png)!important}.woo_list,.woo_list>.wpb_element_wrapper{background-image:url(../img/icon-woo-list.png)!important}.woo_carousel,.woo_carousel>.wpb_element_wrapper{background-image:url(../img/icon-woo-carousel.png)!important}.woo_product,.woo_product>.wpb_element_wrapper{background-image:url(../img/icon-woo-product.png)!important}input#columns,input#per_page,select#cat,select#display_type,select#order,select#orderby{width:180px;float:right}#s2id_products{width:180px}#s2id_cat{width:180px;float:right;display:inline-block!important;z-index:999}select#cat.multiple{max-height:48px;padding-bottom:3px;padding-top:3px}.edit_form_line .cat,.edit_form_line .columns,.edit_form_line .display_type,.edit_form_line .order,.edit_form_line .orderby,.edit_form_line .per_page{width:48%;float:left;margin:1%;min-height:40px}#vc-properties-panel.ui-draggable .cat,#vc-properties-panel.ui-draggable .columns,#vc-properties-panel.ui-draggable .display_type,#vc-properties-panel.ui-draggable .order,#vc-properties-panel.ui-draggable .orderby,#vc-properties-panel.ui-draggable .per_page{width:100%;clear:both;margin:5px 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}div.cat>label,div.columns>label,div.display_type>label,div.order>label,div.orderby>label,div.per_page>label{height:40px;line-height:40px;margin:0}[data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,[data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,[data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer{background:#fafafa;padding:15px;margin:15px 0 30px!important;box-sizing:border-box;border:1px solid #ececec;border-radius:5px}.vc-editor [data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,.vc-editor [data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,.vc-editor [data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer{width:94%;margin-left:3%!important;margin-right:3%!important}@media (max-width:767px){input#columns,input#per_page,select#cat,select#display_type,select#order,select#orderby{width:60%;float:right;margin:0;margin-bottom:10px}.edit_form_line label{width:30%;float:left;height:39px;line-height:45px;margin-bottom:10px}}.onoffswitch{position:relative;width:95px;display:inline-block;float:left;margin-right:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.onoffswitch-checkbox{display:none!important}.onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:0 solid #999;border-radius:0}.onoffswitch-inner{width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.onoffswitch-inner>div{float:left;position:relative;width:50%;height:24px;padding:0;line-height:24px;font-size:12px;color:#fff;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch-inner .onoffswitch-active{padding-left:15px;background-color:#ccc;color:#fff}.onoffswitch-inner .onoffswitch-inactive{padding-right:15px;background-color:#ccc;color:#fff;text-align:right}.onoffswitch-switch{width:35px;margin:0;text-align:center;border:0 solid #999;border-radius:0;position:absolute;top:0;bottom:0}.onoffswitch-active .onoffswitch-switch{background:#3f9cc7;left:0}.onoffswitch-inactive .onoffswitch-switch{background:#7d7d7d;right:0}.onoffswitch-active .onoffswitch-switch:before{content:" ";position:absolute;top:0;left:35px;border-style:solid;border-color:#3f9cc7 transparent transparent #3f9cc7;border-width:15px}.onoffswitch-inactive .onoffswitch-switch:before{content:" ";position:absolute;top:0;right:35px;border-style:solid;border-color:transparent #7d7d7d #7d7d7d transparent;border-width:50px}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-left:0}.form-control .select2-choice{border:0;border-radius:2px}.form-control .select2-choice .select2-arrow{border-radius:0 2px 2px 0}.form-control.select2-container{height:auto!important;padding:0}.form-control.select2-container.select2-dropdown-open{border-color:#5897fb;border-radius:3px 3px 0 0}.form-control .select2-container.select2-dropdown-open .select2-choices{border-radius:3px 3px 0 0}.form-control.select2-container .select2-choices{border:0!important;border-radius:3px}.control-group.warning .select2-container .select2-choice,.control-group.warning .select2-container .select2-choices,.control-group.warning .select2-container-active .select2-choice,.control-group.warning .select2-container-active .select2-choices,.control-group.warning .select2-container-multi.select2-container-active .select2-choices,.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choice,.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choices{border:1px solid #c09853!important}.control-group.warning .select2-container .select2-choice div{border-left:Line truncated
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 613 B |
|
After Width: | Height: | Size: 845 B |
@@ -0,0 +1 @@
|
||||
<?php /*Silence is Golden*/ ?>
|
||||
@@ -0,0 +1 @@
|
||||
$gf = jQuery.noConflict();
$gf(document).ready(function () {
$gf('body').on('click', '#refresh-google-fonts', function () {
$gf(this).next('.spinner').css({'display':'inline-block','float':'none','vertical-align': 'middle'});
var data = {
action: 'ultimate_google_fonts_refresh',
security: uavc.google_font_nonce,
};
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
$gf.post(ajaxurl, data, function(response) {
var object = jQuery.parseJSON(response);
var count = object.count;
var msg = object.message;
if(count == 0)
{
var dmsg = msg;
}
else
{
var dmsg = msg+' Please wait, Page is reloading.';
window.location.reload(true);
}
$gf('#vc-gf-msg').html('<div class="updated">'+dmsg+'</div>').hide();
$gf('#vc-gf-msg').slideDown(300);
$gf('#refresh-google-fonts').next('.spinner').css({'display':'none'});
setTimeout(function(){
$gf('#vc-gf-msg').slideUp(300);
},4000);
});
});
$gf('body').on('click', '.add-google-font', function () {
var button = $gf(this);
var font_family = $gf(this).attr('data-font_family');
var font_name = $gf(this).attr('data-font_name');
if(!button.hasClass('font-added'))
{
var variants_array = new Array();
button.parent().find('.variants').find('.font-variant').each(function (iv, variant) {
$v = $gf(variant);
var temp_arr = {};
var variant_value = $v.find('.font-variant-inputs').val();
temp_arr['variant_value'] = variant_value;
if ($v.find('.font-variant-inputs').is(':checked')) {
temp_arr['variant_selected'] = true;
}
else {
temp_arr['variant_selected'] = false;
}
variants_array.push(temp_arr);
});
var data = {
action: 'add_google_font',
font_family: font_family,
font_name: font_name,
variants: variants_array,
security: uavc.add_google_fonts
};
$gf.post(ajaxurl, data, function(response) {
//console.log(response);
button.val('Added in collection');
button.addClass('font-added');
//if(variants_array.length > 0)
if(variants_array.length > 0)
var xclass = 'have-variants';
else
var xclass = '';
var gshtml = '<div class="selected-font"><div class="selected-font-top fopened '+xclass+'"><div class="font-header" style="font-family:\''+font_name+'\'">'+font_name+'</div>';
if(variants_array.length > 0)
gshtml += '<i class="dashicons dashicons-arrow-down"></i>';
gshtml += '<div class="clear"></div></div><span class="font-delete" data-font_name="'+font_name+'"><i class="dashicons dashicons-no-alt"></i></span>';
if(variants_array.length > 0)
{
if(temp = font_name.split(' '))
{
var ctemp = temp.length;
var temp_id = '';
$gf.each(temp,function (i, val) {
temp_id += val;
if ((ctemp-1) != i)
temp_id += '-';
})
}
else
var temp_id = font_name;
gshtml += '<div class="selected-font-content" style="display:block">';
$gf.each(variants_array, function(index, variant){
var lid = temp_id+'-dynamic-'+variant.variant_value+'-'+index;
var font_style = 'font-family:\''+font_name+'\';';
if(/italic/i.test(variant.variant_value)) {
font_style += 'font-style:italic;';
}
var weight = 'normal';
if (weight = variant.variant_value.match(/\d+/)) {
font_style += 'font-weight:'+weight+';';
}
gshtml += '<span class="font-variant"><input type="checkbox" id="'+lid+'" value="'+variant.variant_value+'" class="selected-variant-checkbox" /><label style="'+font_style+'" for="'+lid+'">'+variant.variant_value+'</label></span>';
});
gshtml += '<input type="button" class="button alignleft update-google-font-button" value="Update font" data-font_name="'+font_name+'" /><span class="spinner fspinner"></span><div class="clear"></div></div>';
}
gshtml += '</div>';
$gf('#fonts-selected-wrapper').prepend(gshtml);
});
}
});
$gf('body').on('click', '.font-delete', function () {
$gf('.google-font-overlay').remove();
$gf('.google-font-confirmation').remove();
var button = $gf(this);
var font_name = $gf(this).attr('data-font_name');
$gf('body').append('<div class="google-font-overlay"></div>');
$gf('body').append('<div class="google-font-confirmation"><div class="google-font-confirmation-header"><h3>Are you sure?</h3></div><div class="google-font-message"><input type="button" id="" data-gfont_name="'+font_name+'" class="google-font-message-buttons google-font-message-delete gfont-buttons" value="Yes, Please delete font"/><input type="button" id="" class="google-font-message-buttons google-font-message-no-delete gfont-buttons" value="No, Keep it"/></div><a href="javacript:void(0)" class="gfont-anchor-buttons gfont-buttons google-font-message-no-delete"><i class="dashicons dashicons-no-alt"></i></a></div>');
$gf('.google-font-oveLine truncated
|
||||
@@ -0,0 +1,116 @@
|
||||
jQuery(document).ready(function(){
|
||||
var inline_form = jQuery(".edit_form_line");
|
||||
var shortcode = jQuery("#shortcode");
|
||||
var display_type = jQuery("#display_type"),
|
||||
per_page = jQuery("#per_page"),
|
||||
columns = jQuery("#columns"),
|
||||
orderby = jQuery("#orderby"),
|
||||
order = jQuery("#order"),
|
||||
cat = jQuery("#cat");
|
||||
cat_lbl = jQuery("#cat").prev("label");
|
||||
cat_div = jQuery(".cat");
|
||||
var obj = [display_type, per_page, columns, orderby, order, cat, cat_lbl, cat_div];
|
||||
jQuery.each(obj,function(index,item){
|
||||
item.bind("change",function(){
|
||||
generateShortcode();
|
||||
});
|
||||
});
|
||||
if(display_type.val() != "product_category" && display_type.val() != "product_categories"){
|
||||
cat.hide();
|
||||
cat_lbl.hide();
|
||||
cat_div.hide();
|
||||
cat.addClass("none");
|
||||
}
|
||||
if(display_type.val() == "product_categories"){
|
||||
cat.attr("multiple","true");
|
||||
cat.addClass("multiple");
|
||||
} else {
|
||||
cat.removeAttr("multiple");
|
||||
cat.removeClass("multiple");
|
||||
}
|
||||
if(jQuery("#shortcode").val() == ""){
|
||||
generateShortcode();
|
||||
}
|
||||
display_type.bind("change",function(){
|
||||
if(jQuery(this).val() == "product_category" || jQuery(this).val() == "product_categories"){
|
||||
cat.show();
|
||||
cat.removeClass("none");
|
||||
cat_lbl.show();
|
||||
cat_div.show();
|
||||
} else {
|
||||
cat.hide();
|
||||
cat.addClass("none");
|
||||
cat_lbl.hide();
|
||||
cat_div.hide();
|
||||
};
|
||||
if(jQuery(this).val() == "product_categories"){
|
||||
cat.attr("multiple","true");
|
||||
cat.addClass("multiple");
|
||||
cat.select2({
|
||||
placeholder: "Select a Category",
|
||||
allowClear: true,
|
||||
});
|
||||
cat_lbl.show();
|
||||
cat_div.show();
|
||||
} else if(jQuery(this).val() == "product_category"){
|
||||
cat.removeAttr("multiple");
|
||||
cat.removeClass("multiple");
|
||||
cat.select2({
|
||||
placeholder: "Select a Category",
|
||||
allowClear: true
|
||||
});
|
||||
cat_lbl.show();
|
||||
cat_div.show();
|
||||
} else {
|
||||
cat_lbl.hide();
|
||||
cat_div.hide();
|
||||
}
|
||||
});
|
||||
inline_form.click(function(){
|
||||
generateShortcode();
|
||||
});
|
||||
});
|
||||
function generateShortcode(){
|
||||
var inline_form = jQuery(".edit_form_line");
|
||||
var shortcode = jQuery("#shortcode");
|
||||
var display_type = jQuery("#display_type"),
|
||||
per_page = jQuery("#per_page"),
|
||||
columns = jQuery("#columns"),
|
||||
orderby = jQuery("#orderby"),
|
||||
order = jQuery("#order"),
|
||||
cat = jQuery("#cat");
|
||||
cat_lbl = jQuery("#cat").prev("label");
|
||||
cat_div = jQuery(".cat"),
|
||||
data = "[";
|
||||
if(!display_type.hasClass("none")){
|
||||
data += display_type.val()+" ";
|
||||
}
|
||||
if(!per_page.hasClass("none")){
|
||||
if(display_type.val() == "product_categories"){
|
||||
data += ' number="'+per_page.val()+'"';
|
||||
} else {
|
||||
data += ' per_page="'+per_page.val()+'"';
|
||||
}
|
||||
}
|
||||
//if($module == "grid"){
|
||||
if(!columns.hasClass("none")){
|
||||
data += ' columns="'+columns.val()+'"';
|
||||
}
|
||||
//}
|
||||
if(!orderby.hasClass("none")){
|
||||
data += ' orderby="'+orderby.val()+'"';
|
||||
}
|
||||
if(!order.hasClass("none")){
|
||||
data += ' order="'+order.val()+'"';
|
||||
}
|
||||
if(!cat.hasClass("none")){
|
||||
if(display_type.val() == "product_categories"){
|
||||
data += ' ids="'+cat.val()+'"';
|
||||
} else {
|
||||
data += ' category="'+cat.children("option:selected").text().toLowerCase()+'"';
|
||||
}
|
||||
}
|
||||
data += "]";
|
||||
shortcode.val(base64_encode(rawurlencode(data)));
|
||||
//shortcode.val(data);
|
||||
}
|
||||