cl01/wp-content/plugins/nimble-builder/assets/czr/fmk/css/parts/czr-control-modules.css
2025-02-24 12:39:24 +08:00

863 lines
18 KiB
CSS
Executable File

/*******************************************************************
* DYNAMIC CONTROLS : sidebars, socials, ...
********************************************************************/
li.customize-control[data-module] li {
margin-bottom: 0;
font-size: 0.85em;
}
li.customize-control[data-module] [class*="czr-"] {
font-size: 0.9rem;
}
li.customize-control[data-module] [class*="czr-"] .hidden {
display: none;
}
li.customize-control[data-module] .czr-notice {
font-size: 12px!important;
}
.czr-open-pre-add-new {
display: block;
float: left;
margin: 2% 2% 0%;
width: 98%;
padding: 2%;
background: #fff;
/* color: #fff;*/
color: inherit;
opacity: 1;
font-size: 16px;
cursor: pointer;
border-width: 1px;
border-style: solid;
-webkit-appearance: none;
-webkit-border-radius: 3px;
border-radius: 3px;
white-space: nowrap;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-ms-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
}
.czr-open-pre-add-new.active {
background: #646464;
color: black;
opacity: 0.8;
border-radius: 3px 3px 0 0;
}
.czr-single-item {
padding: 0%;
/*border: 1px solid #ccc;*/
margin: 1% 0 0 2%;
float: left;
width: 98%;
-webkit-border-radius: 3px;
border-radius: 3px;
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-ms-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
}
/* Display a thin outline around opened item, for multi-items modules */
#customize-theme-controls .czr-single-item.open {
/*border: 1px solid #dedede;*/
outline: 1px solid #22a0d2;
}
/* Keep the normal border for single module, mono items controls */
#customize-theme-controls .mono-item-mod .czr-single-item {
outline: none;
}
.czr-single-item .czr-item-header, .czr-single-item .czr-item-content {
padding: 1%;
background: none;
}
.czr-items-wrapper .czr-single-item .czr-builtin-model {
background: #E1DFDF;
color: #555
}
.czr-items-wrapper .inactive {
opacity: 0.6;
}
.czr-item-sort-handle {
cursor: move;
}
.czr-single-item .czr-item-header {
position: relative;
background: #ededed;
color: white;
float: left;
width: 98%;
-webkit-transition: background .1s ease-in-out;
-moz-transition: background .1s ease-in-out;
-ms-transition: background .1s ease-in-out;
-o-transition: background .1s ease-in-out;
transition: background .1s ease-in-out;
}
/* sidebar specifics */
.czr_widget_areas_module .czr-single-item .czr-custom-model {
background: #3b8dbd;
}
. .czr-single-item .czr-custom-model:hover {
background: #aaa;
}
.czr-single-item .czr-item-header:hover {
background: #ccc;
}
/* sidebar specifics */
/*.czr-builtin-model .czr-single-item .czr-item-header {
background:#3b8dbd;
}*/
.czr-items-wrapper .czr-single-item .czr-builtin-model:hover {
background: #ccc;
}
.czr-move-icon {
position: absolute;
top: -2px;
left: 3px;
font-size: 10px;
color: #999;
}
.czr-item-title {
float: left;
font-size: 17px;
color: #000;
padding: 4px;
width: 67%;
}
.czr-inactive-alert {
font-size: 12px;
font-style: italic;
}
/* sidebar specifics */
.czr_widget_areas_module .czr-item-title {
color: #fff;
}
.czr-builtin-model .czr-item-title {
color: #23282d;
}
.czr-item-title h4 {
margin: 0;
}
.czr-item-title .fab::before,
.czr-item-title .fas::before,
.czr-item-title .far::before {
padding-right: 2px;
}
.czr-item-btns {
float: right;
}
.czr-item-btns a {
font-size: 17px;
padding: 7px 5px;
color: #9e9e9e;
-webkit-transition: color .25s ease-in-out;
-moz-transition: color .25s ease-in-out;
-ms-transition: color .25s ease-in-out;
-o-transition: color .25s ease-in-out;
transition: color .25s ease-in-ou
}
.czr-item-btns a:active, .czr-item-btns a:focus {
outline: none;
outline: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
.czr-item-btns a:hover, .czr-item-btns a.active {
color: #23282d;
}
/* sidebar specifics */
.czr_widget_areas_module .czr-item-btns a {
color: #fff;
}
.czr-builtin-model .czr-item-btns a {
color: #555
}
.czr-builtin-model .czr-item-btns .czr-edit-view:hover, .czr-builtin-model .czr-item-btns .czr-edit-view.active {
color: #00a0d2;
}
.czr-item-btns .czr-edit-view:hover, .czr-item-btns .czr-edit-view.active {
color: #00a0d2;
}
/* sidebar specifics */
.czr_widget_areas_module .czr-edit-view:hover, .czr_widget_areas_module .czr-item-btns .czr-edit-view.active {
color: #000000;
}
.czr_widget_areas_module .czr-builtin-model .czr-edit-view:hover, .czr_widget_areas_module .czr-builtin-model .czr-edit-view.active {
color: #00a0d2;
}
.czr-item-btns .czr-display-alert:hover, .czr-item-btns .czr-display-alert.active {
color: #23282d;
}
.czr-single-item .czr-item-content {
float: left;
display: none;
/*background: rgba(238, 238, 238, 0.5);*/
clear: both;
width: 96%;
padding: 2%;
}
.czr-single-item .czr-item-content input {
margin-bottom: 0;
}
.czr-sub-set {
margin-bottom: 0;
display: block;
float: left;
width: 100%;
padding: 1% 0;
position: relative;
}
.czr-sub-set .czr-input {
float: right;
width: 60%;
}
.width-100 .czr-input,
.czr-sub-set .customize-control-title.width-100,
.width-100 {
width: 100%;
}
.czr-sub-set .customize-control-title {
float: left;
width: 40%;
padding: 1px 0;
font-size: 13px;
}
.customize-control-title.width-80 {
width: 80%!important;
}
.czr-input.width-20 {
width: 20%!important;
}
/* rtl */
.rtl.wp-customizer .czr-sub-set .customize-control-title {
float: right;
}
/* DISABLED STATE */
.disabled .customize-control-title, .disabled .czr-input {
opacity: 0.6;
filter: blur(1px);
-webkit-filter: blur(1px);
}
.czr-item-title .far,
.czr-item-title .fab,
.czr-item-title .fas {
font-size: 18px;
}
/* Remove alert block */
.czr-remove-alert-wrapper {
display: none;
clear: both;
float: left;
padding: 2%;
width: 95%;
margin: 10px 0;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: #EEE;
color: #000;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.czr-remove-alert-wrapper p {
padding: 5px;
margin: 0px;
}
/* pre add dialog */
.czr-pre-add-wrapper {
position: relative;
float: left;
width: 100%;
}
.czr-adding-new .czr-items-wrapper {
opacity: 0.6;
}
.czr-pre-add-view-content {
display: none;
padding: 3%;
border: 1px solid #ccc;
background: #fff;
border-top: none;
margin: 0 0 0 2%;
float: left;
width: 92%;
-webkit-border-radius: 0px 0px 3px 3px;
-moz-border-radius: 0px 0px 3px 3px;
border-radius: 0px 0px 3px 3px;
position: relative;
opacity: 1;
-webkit-transition: opacity .2s linear;
-moz-transition: opacity .2s linear;
-ms-transition: opacity .2s linear;
-o-transition: opacity .2s linear;
transition: opacity .2s linear;
}
.czr-model-added .czr-pre-add-view-content {
opacity: 0.2;
}
.czr-pre-add-wrapper .czr-add-new {
background: #3b8dbd;
color: #fff;
-webkit-transition: background .5s linear;
-moz-transition: background .5s linear;
-ms-transition: background .5s linear;
-o-transition: background .5s linear;
transition: background .5s linear;
float: right;
border: none;
}
.czr-add-success {
width: 100%;
margin: 0 0 0 2%;
position: absolute;
top: 0;
left: 0;
font-size: 25px;
text-align: center;
opacity: 0;
-webkit-transition: opacity .1s linear;
-moz-transition: opacity .1s linear;
-ms-transition: opacity .1s linear;
-o-transition: opacity .1s linear;
transition: opacity .1s linear;
}
.czr-model-added .czr-add-success {
opacity: 1;
}
.czr-add-success p {
vertical-align: middle;
display: inline-block;
line-height: 35px;
margin: 0;
font-size: 25px;
color: #82b965;
padding: 0 3%;
}
/* WIDGETS ZONE SPECIFICS */
.control-section-widget_zones_management {
margin: 10px 0;
z-index: 1;
}
/*#customize-theme-controls .control-section-widget_zones_management .accordion-section-content {
display: none;
left: 0;
position: relative;
}*/
.czr-zone-infos {
width: 96%;
padding: 0 2%;
font-size: 12px;
float: left;
font-style: italic;
}
/*#customize-theme-controls .control-section-widget_zones_management .accordion-section-title:after {
content: "\f078";
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#customize-theme-controls .control-section-widget_zones_management.open .accordion-section-title:after {
content: "\f077";
}*/
.czr-unavailable-location {
opacity: 0.7;
}
.czr-location-alert {
float: left;
width: 100%;
padding: 1% 0;
margin: 1% 0;
text-align: center;
border: 1px solid orange;
background: #FEE5B6;
color: #000;
font-size: 11px;
font-style: italic;
}
/* MODULE OPTIONS ICON AND PANEL*/
.czr-toggle-modopt {
color: #495050;
text-shadow: 1px 1px 0px white;
-webkit-transition: color 0.4s;
transition: color 0.4s;
position: absolute;
right: 0;
padding-left: 3px;
font-size: 25px;
line-height: 24px;
}
/* rtl */
.rtl.wp-customizer .czr-toggle-modopt {
left: 0;
right: auto;
padding-left: 0;
padding-right: 3px;
}
.czr-modopt-visible .czr-toggle-modopt, .czr-toggle-modopt:hover {
color: #3b8dbd;
}
body.czr-editing-modopt #customize-preview {
opacity: 0.7;
}
body #customize-controls {
-webkit-transition: opacity .4s ease-in-out;
-moz-transition: opacity .4s ease-in-out;
-ms-transition: opacity .4s ease-in-out;
-o-transition: opacity .4s ease-in-out;
transition: opacity .4s ease-in-out;
}
body.czr-editing-modopt #customize-controls {
opacity: 0.4;
}
.czr-mod-opt-wrapper {
position: absolute;
top: 0;
bottom: 0;
left: -301px;
/*visibility: hidden;*/
opacity: 0;
overflow-x: hidden;
overflow-y: auto;
margin: 0;
z-index: 999999;/* has to be greater than the Nimble top bar so we can click on the close "x" */
width: 60%;
min-width: 300px;
padding: 1% 2%;
color: #fff;
background: rgba(0, 0, 0, 0.8);
-webkit-transition: all .18s ease-in-out;
-moz-transition: all .18s ease-in-out;
-ms-transition: all .18s ease-in-out;
-o-transition: all .18s ease-in-out;
transition: all .18s ease-in-out;
border-right: 1px solid #4c4c4c;
}
body.czr-editing-modopt .czr-mod-opt-wrapper {
left: 0;
visibility: visible;
opacity: 1;
}
.czr-close-modopt {
position: absolute;
top: 10px;
right: 25px;
font-size: 31px;
cursor: pointer;
}
/* OPTIONS STYLE */
body .czr-mod-opt-wrapper .czr-sub-set {
/*border: 1px dotted #ccc;*/
background: rgba(238, 238, 238, 0.13);
padding: 3% 2%;
width: 96%;
margin: 5px 0;
}
.czr-mod-opt-wrapper .czr-notice {
color: #fff;
}
.czr-mod-opt-wrapper .mod-opt-title {
color: #fff;
border-bottom: 1px solid #fff;
padding: 5% 0;
text-align: center;
}
/**************************************
/* MODULE OPTIONS : TABS NAVIGATION */
/*************************************/
.tabs {
position: relative;
display: none;
overflow: hidden;
margin: 0 auto;
width: 100%;
font-weight: 300;
font-size: 1.25em;
}
/* Nav */
.tabs nav {
text-align: center;
}
.tabs nav ul {
position: relative;
overflow: hidden;
display: -ms-flexbox;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: flex;
margin: 0 auto;
padding: 0;
max-width: 1200px;
list-style: none;
-ms-box-orient: horizontal;
-ms-box-pack: center;
-webkit-flex-flow: row wrap;
-moz-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
justify-content: center;
}
.tabs nav ul li {
font-size: 14px;
position: relative;
z-index: 1;
display: block;
margin: 0;
text-align: center;
-webkit-flex: 1;
-moz-flex: 1;
-ms-flex: 1;
flex: 1;
}
/* colums layouts */
.tabs nav ul li.cols-4 {
width: 25%
}
.tabs nav ul li.cols-3 {
width: 33%
}
.tabs nav ul li.cols-2 {
width: 50%
}
.tabs nav ul li.cols-1 {
width: 100%
}
.tabs nav a {
position: relative;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 2.5;
}
.tabs nav a span {
vertical-align: middle;
font-size: 0.75em;
}
.tabs nav li.tab-current a {
color: #74777b;
}
.tabs nav a:focus {
outline: none;
}
li.tab-current::after, li.tab-current::before {
content: '';
height: 100%;
position: absolute;
-webkit-box-shadow: 4px 0px 15px 0px rgba(37, 37, 37, 0.63);
box-shadow: 4px 0px 15px 0px rgba(37, 37, 37, 0.63);
top: 0;
width: 0px;
right: 0px;
z-index: 4;
width: 100%;
}
li.tab-current::before{
left: 0;
-webkit-box-shadow: 0px 0px 15px 4px rgba(37, 37, 37, 0.63);
box-shadow: 0px 0px 15px 4px rgba(37, 37, 37, 0.63);
}
li.tab-inactive::after {
content: '';
width: 100%;
position: absolute;
height: 2px;
bottom: -7px;
left: 0;
-webkit-box-shadow: 4px 0px 15px 0px rgba(119, 119, 119, 0.58);;
box-shadow: 4px 0px 15px 0px rgba(0, 0, 0, 0.86);;
}
/* Content */
.content-wrap {
position: relative;
}
.content-wrap section {
display: none;
margin: 0 auto;
max-width: 1200px;
/*padding-top: 10px; commented for https://github.com/presscustomizr/hueman-pro-addons/issues/200 */
}
section .czr-sub-set:first-child {
margin: 0;
}
.content-wrap section.content-current {
display: block;
}
.no-flexbox nav ul {
display: block;
}
.no-flexbox nav ul li {
min-width: 15%;
display: inline-block;
}
/*****************************/
/* Top Line */
/*****************************/
.tabs-style-topline {
max-width: 1200px;
}
.tabs-style-topline nav li {
border: 1px solid rgba(40,44,42,0.1);
}
.czr-items-wrapper .tabs-style-topline nav li {
border: none;
}
.tabs-style-topline nav li:not(:last-child) {
border-right: none;
}
.tabs-style-topline nav li.tab-current {
border-top-color: #ffffff;
border-bottom: none;
background: rgba(238, 238, 238, 0.13);
}
.tabs-style-topline nav a {
padding: 0.65em 0.5em;
background: rgba(40,44,42,0.05);
color: #fff;
line-height: 1;
-webkit-transition: color 0.2s;
transition: color 0.2s;
text-decoration: none;
}
.czr-items-wrapper .tabs-style-topline nav a {
background: rgba(40, 44, 42, 0.45);
}
.tabs-style-topline nav a:hover,
.tabs-style-topline nav a:focus {
text-decoration: underline;
}
.tabs-style-topline nav li.tab-current a {
background: none;
box-shadow: inset 0 3px 0 #ffffff;
color: #ffffff;
text-decoration: underline;
}
.czr-items-wrapper .tabs-style-topline nav li.tab-current a {
color: #000;
}
.tabs-style-topline .icon::before {
display: block;
margin: 0;
}
.tabs-style-topline nav a span {
text-transform: uppercase;
/*letter-spacing: 1px;*/
font-weight: 700;
}
@media screen and (max-width: 58em) {
.tabs nav a.icon span {
display: none;
}
.tabs nav a:before {
margin-right: 0;
}
}
/* SLIDER MODULE SPECIFICS */
.czr_slide_module .czr-item-title {
padding: 0px 7px;
height: 32px;
}
.czr_slide_module .slide-title, .czr_slide_module .slide-thumb {
display: block;
height: 32px;
line-height: 32px;
float: left;
}
.czr_slide_module .slide-title {
padding-left: 5px;
}
/* styled like the wp api.notifications, info type */
.slide-mod-skope-notice {
padding: 3%;
background: #fff;
border-left: 4px solid #00a0d2;
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
float: left;
font-size: 12px;
line-height: 1.5em;
}
/* Underline skope switch text in control notices and in the main skope switcher title */
.slide-mod-skope-notice .czr-skope-switch {
cursor: pointer;
text-decoration: underline;
}
.modopts-top-buttons {
width: 100%;
float: left;
margin-bottom: 4%;
text-align: center;
}
.item-bottom-buttons {
width: 100%;
float: left;
padding: 1% 0;
}
.item-bottom-btn {
}
.item-bottom-btn, .modopt-top-btn {
opacity: 1;
color: #fff;
font-size: 14px;
cursor: pointer;
border-width: 1px;
-webkit-appearance: none;
-webkit-border-radius: 3px;
border-radius: 4px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
opacity: 1;
}
.item-bottom-btn {
background: #868686;
width: 47%;
margin-right: 2%;
padding: 1% 0;
}
.modopt-top-btn {
background: rgba(171, 171, 171, 0.5);
width: 170px;
padding: 2px 0;
}
.item-bottom-btn:hover {
background: #5d5d5d;
}
.modopt-top-btn:hover {
background:rgba(41, 41, 41, 0.53);
}
.item-bottom-btn[disabled], .modopt-top-btn[disabled], .item-bottom-btn[disabled]:hover, .modopt-top-btn[disabled]:hover {
opacity: 0.4;
cursor: default;
-webkit-box-shadow: none !important;
box-shadow: none !important;
/*border: none!important;*/
background: inherit;
}
/* NOTICES */
.czr-notice {
font-size: 12px;
font-weight: normal;
}