495 lines
8.2 KiB
SCSS
495 lines
8.2 KiB
SCSS
@import "option-page-styles";
|
|
|
|
$primary_color: #298ffc;
|
|
$primary_color_hover: #206ff4;
|
|
$border_color: #e5e5e5;
|
|
$text_color: #96989a;
|
|
$actions_color: #495157;
|
|
$actions_height: 40px;
|
|
|
|
.jet-menu-trigger {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
background: $primary_color;
|
|
color: #fff;
|
|
font-weight: normal;
|
|
font-size: 11px;
|
|
line-height: 16px;
|
|
overflow: hidden;
|
|
vertical-align: middle;
|
|
margin: -4px -25px 0 5px;
|
|
transition: all 300ms cubic-bezier(.31,.91,.51,1);
|
|
opacity: 0;
|
|
&:hover {
|
|
background: $primary_color_hover;
|
|
}
|
|
.dashicons {
|
|
float: left;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
.menu-item:hover & {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.jet-menu-popup {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 99999;
|
|
background: rgba(0,0,0,.6);
|
|
overflow: hidden;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
opacity: 1;
|
|
color: $text_color;
|
|
|
|
&.jet-hidden {
|
|
top: auto;
|
|
height: 0;
|
|
opacity: 0;
|
|
transition: opacity 150ms linear;
|
|
.jet-menu-popup__content {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
}
|
|
&__overlay {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1;
|
|
}
|
|
&__content {
|
|
background: #fff;
|
|
display: inline-block;
|
|
box-shadow: 0px 5px 21px rgba(0,0,0,0.3);
|
|
box-sizing: border-box;
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
transition: all 300ms linear 200ms;
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 850px;
|
|
height: 400px;
|
|
max-width: 90vw;
|
|
overflow: auto;
|
|
.jet-menu-editor-active & {
|
|
transition: all 300ms cubic-bezier(.31,.91,.51,1);
|
|
width: 90vw;
|
|
height: 90vh;
|
|
}
|
|
}
|
|
&-close {
|
|
position: absolute;
|
|
right: -40px;
|
|
top: -8px;
|
|
width: 30px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
font-size: 34px;
|
|
color: rgba( 255,255,255,.7 );
|
|
cursor: pointer;
|
|
&:hover {
|
|
color: rgba( 255,255,255,1 );
|
|
}
|
|
}
|
|
&__inner {
|
|
height: calc( 100% - 40px );
|
|
}
|
|
|
|
&__actions {
|
|
height: $actions_height;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: $actions_color;
|
|
.spinner {
|
|
float: none;
|
|
background-image: url( '../images/loader.gif' );
|
|
margin-top: 0;
|
|
margin-right: 6px;
|
|
}
|
|
&-save {
|
|
display: flex;
|
|
padding-right: 5px;
|
|
align-items: center;
|
|
.dashicons {
|
|
margin-right: 8px;
|
|
margin-top: 2px;
|
|
}
|
|
}
|
|
}
|
|
&__close {
|
|
width: $actions_height;
|
|
height: $actions_height;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba( 255, 255, 255, .3 );
|
|
&:hover {
|
|
color: rgba( 255, 255, 255, .6 );
|
|
}
|
|
}
|
|
|
|
.cherry5-ui-button {
|
|
&.button-hero {
|
|
padding: 15px 30px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.jet-settings-tabs {
|
|
display: flex;
|
|
align-items: stretch;
|
|
height: 100%;
|
|
&__nav {
|
|
width: 17%;
|
|
min-width: 120px;
|
|
border-right: 1px solid $border_color;
|
|
text-align: right;
|
|
padding-top: 20px;
|
|
&-item {
|
|
cursor: pointer;
|
|
line-height: 17px;
|
|
padding: 10px 20px;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
color: #23282d;
|
|
position: relative;
|
|
transition: all 150ms linear;
|
|
&:after {
|
|
transition: all 150ms linear;
|
|
position: absolute;
|
|
left: 100%;
|
|
top: 0;
|
|
bottom: 0;
|
|
content: "";
|
|
width: 0;
|
|
background: $primary_color;
|
|
}
|
|
&:hover,
|
|
&.jet-active-tab {
|
|
color: $primary_color;
|
|
&:after {
|
|
width: 3px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&__content {
|
|
flex-grow: 1;
|
|
&-item {
|
|
padding: 20px 0;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
overflow: auto;
|
|
&::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
background: rgba( 0,0,0, .05 );
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background: rgba( 0,0,0, .2 );
|
|
border-radius: 5px;
|
|
}
|
|
.iconpicker-popover {
|
|
left: 0 !important;
|
|
}
|
|
&.tab-loading {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.jet-content-tab-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 400px;
|
|
max-height: 100%;
|
|
text-align: center;
|
|
}
|
|
> .cherry-ui-container {
|
|
margin: 0;
|
|
padding: 10px 25px 17px;
|
|
border-top: 1px solid $border_color;
|
|
&:first-child {
|
|
border-top: none;
|
|
}
|
|
}
|
|
.iconpicker-popover.popover {
|
|
z-index: 1001;
|
|
}
|
|
.wp-picker-container.wp-picker-active {
|
|
z-index: 1001;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.jet-hidden-tab {
|
|
display: none;
|
|
}
|
|
|
|
.jet-menu-editor-wrap {
|
|
display: none;
|
|
&.jet-editor-active {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
overflow: hidden;
|
|
|
|
.jet-editor-frame {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.jet-close-frame {
|
|
display: none;
|
|
&.jet-loaded {
|
|
display: block;
|
|
}
|
|
.back-arrow-top {
|
|
position: absolute;
|
|
z-index: 9999;
|
|
width: 40px;
|
|
height: 40px;
|
|
left: 0;
|
|
top: 0;
|
|
cursor: pointer;
|
|
}
|
|
.back-arrow-bottom {
|
|
position: absolute;
|
|
z-index: 9999;
|
|
width: 50px;
|
|
height: 39px;
|
|
left: 0;
|
|
bottom: 0;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
#elementor-loading {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: #f1f3f5;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.elementor-loader-wrapper {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
width: 100px;
|
|
.elementor-loader {
|
|
height: 90px;
|
|
position: relative;
|
|
}
|
|
.elementor-loader-box {
|
|
background-color: #495157;
|
|
}
|
|
.elementor-loader-box {
|
|
position: absolute;
|
|
animation: load 1.8s linear infinite;
|
|
}
|
|
.elementor-loader-box:nth-of-type(1) {
|
|
width: 23%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
.elementor-loader-box:not(:nth-of-type(1)) {
|
|
right: 0;
|
|
height: 20%;
|
|
width: 60%;
|
|
}
|
|
.elementor-loader-box:nth-of-type(2) {
|
|
top: 0;
|
|
animation-delay: -0.45s;
|
|
}
|
|
.elementor-loader-box:nth-of-type(3) {
|
|
top: 40%;
|
|
animation-delay: -0.9s;
|
|
}
|
|
.elementor-loader-box:nth-of-type(4) {
|
|
bottom: 0;
|
|
animation-delay: -1.35s;
|
|
}
|
|
|
|
}
|
|
|
|
.jet-menu-settings-fields + p.submit {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.tab-loader,
|
|
.tab-loader:after {
|
|
border-radius: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.tab-loader {
|
|
font-size: 10px;
|
|
position: relative;
|
|
text-indent: -9999em;
|
|
border-top: 3px solid rgba( 0, 0, 0, 0.1);
|
|
border-right: 3px solid rgba( 0, 0, 0, 0.1);
|
|
border-bottom: 3px solid rgba( 0, 0, 0, 0.1);
|
|
border-left: 3px solid rgba( 0, 0, 0, 0.5);
|
|
-webkit-transform: translateZ(0);
|
|
-ms-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
-webkit-animation: loader 1.1s infinite linear;
|
|
animation: loader 1.1s infinite linear;
|
|
}
|
|
|
|
.jet_menu_options_section {
|
|
.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button {
|
|
padding-right: 20px;
|
|
}
|
|
.cherry-component.cherry-tab--vertical > .cherry-tab__body > .cherry-tab__tabs {
|
|
padding-top: 23px;
|
|
padding-bottom: 23px;
|
|
}
|
|
.cherry-control__title {
|
|
margin: 0;
|
|
}
|
|
@media ( min-width: 783px ) {
|
|
.cherry-control__info {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
.cherry-control__title {
|
|
flex: 1 0 100%;
|
|
}
|
|
.cherry-control__description {
|
|
flex: 1 0 100%;
|
|
}
|
|
}
|
|
.cherry-ui-colorpicker-wrapper .wp-picker-container .wp-color-result span {
|
|
border-radius: 3px;
|
|
border: 3px solid #fff;
|
|
box-sizing: border-box;
|
|
}
|
|
.cherry-ui-select,
|
|
.select2 {
|
|
background: #f0f0f0;
|
|
max-width: 382px;
|
|
}
|
|
}
|
|
|
|
|
|
@-webkit-keyframes load {
|
|
0% {
|
|
opacity: .3;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: .3;
|
|
}
|
|
}
|
|
|
|
@keyframes load {
|
|
0% {
|
|
opacity: .3;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: .3;
|
|
}
|
|
}
|
|
|
|
.elementor-loading-title {
|
|
color: #495157;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
margin-top: 30px;
|
|
letter-spacing: 7px;
|
|
font-size: 10px;
|
|
animation: load-title 1.5s linear infinite;
|
|
}
|
|
|
|
@-webkit-keyframes load-title {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: .6;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes load-title {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: .6;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes loader {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes loader {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|