// Font family not working in wraps @import 'elements/fonts'; // Root element .wrap.is-shortpixel-bulk-page { @import 'elements/colors'; @import 'elements/animation'; @import 'elements/mixins'; @import 'elements/breakpoints'; @import 'elements/header'; @import 'elements/icons'; @import 'bulk/dashboard'; /** GENERAL STYLES **/ /* h1 { font-size: 23px; font-weight: 400; line-height: 30px; margin: 30px 0; } */ h3.heading { width: 90%; margin: 0 auto; padding-left: 10px; //padding-bottom: 12px; font-size: 24px; font-weight: 600; line-height: 42px; //border-bottom: 1px solid #ccc; position: relative; span { vertical-align: top; margin-right: 20px; } } i { font-style: normal; } // This one can't be limited in width, because it breaks frontpage bulk. p.description { font-size: 12px; font-weight: 700; color: $blue_dark; //margin: 15px 20px; margin: 0 auto; padding-left: 10px; width: 90%; display: block; } .button { display: flex; align-items: center; justify-content: center; float: left; margin-right: 8px; padding: 8px 16px; background: $color-brokenwhite; color: $color-dark; letter-spacing: 0.3px; font-weight: 700; font-size: 14px; border-radius: 3px; border: 1px solid $blue_default; transition: all 0.1s ease-in-out; line-height: 1; &:hover { background: lighten($blue_default, 10%); color: #fff; } .dashicons { font-size: 26px; height: 26px; margin-right: 8px; margin-top: -5px; color: $color-darkest; } .icon { margin-right: 4px; &.white { filter: $filter_white; } } p { margin: 0; display: inline; font-size: 14px; vertical-align: bottom; } } // button basic .button-primary { background: $blue_default; color: #fff; border-radius: 3px; border: none; transition: all 0.1s ease-in-out; &:hover { background: lighten($blue_default, 10%); } } nav { margin: 45px 0; // margin-top: 45px; //width: 80%; min-height: 50px; display: flex; justify-content: center; .button-primary { margin-left: 15px; } } .kbinfo a { text-decoration: none; } .hidden { display: none !important; } .date-picker-container { position: relative; display: inline-block; margin-top: 20px; // Date Picker tweaks / fixes .the-datepicker__container { margin-top: 4px; } .the-datepicker__main select.the-datepicker__select { min-width: 70px; text-align: center; background: none; border: 0; cursor: pointer; } input { background-color: $blue_background; background-image: url($icon_path + 'calendar.svg'); background-repeat: no-repeat; background-position: 5px center; padding: 6px 6px 6px 25px ; margin-left: 8px; //margin-top: 25px; } } .wrap-collap { .collap-content { display: none; opacity: 0; // height: 0; } .collap-checkbox { display: none; &:checked + label + .collap-content { display: block; transition: opacity 1s linear; opacity: 1; // height: auto; //visibility: visible; } &:checked + label .collap-arrow img { transition: all 0.2s linear; rotate: 180deg; } } } .dashicons.spin { animation: dashicons-spin 1s infinite; animation-timing-function: linear; } @keyframes dashicons-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-icon { width: 50%; height: 50%; } .screen-wrapper { width: 100%; min-height: 80vh; position: relative; margin-top: 20px; .shortpixel-bulk-loader { left: 0; right: 0; top: 0; bottom: 0; background: #fff; transition: opacity 1s linear; z-index: -1; opacity: 0; visibility: hidden; padding: 25px 0 15px 0; width: 60%; border-radius: 10px; margin: 0 auto; &[data-status="loading"] { z-index: 100; visibility: visible; opacity: 0.9; position: absolute; width: 100%; } .loader { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; justify-content: center; span h2 { color: #555; } .svg-spinner .svg-loader { width: 200px; height: 50px; } } } } .panel { width: 100%; position: absolute; display: none; z-index: 0; visibility: hidden; opacity: 0; transition: opacity 500ms ease-in; margin: 15px 0; padding-bottom: 35px; background: #fff; border-radius: 16px; box-shadow: 1px 0px 4px 0px rgba(0, 0, 0, 0.12); overflow: hidden; &.active { visibility: visible; opacity: 1; z-index: 5; position: relative; width: 95%; margin: auto; // box-shadow: 4px 4px 8px #116C7D; } .panel-container { z-index: 5; display: inline-block; width: 100%; } .error { h3 { margin-left: 12px; } p { margin-left: 12px; color: #ff0000; &.text { color: #000; } } } .errorbox { display: block; transition: 1s all; opacity: 0; display: none; padding: 16px; height: 100%; border-top: 1px solid $color-grey; width: 80%; margin: 0 auto; background-color: #F4FBFC; line-height: 22px; max-height: 300px; overflow-y: scroll; box-sizing: border-box; border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; .fatal { color: #ff0000; } > div { background-color: white; } } } .processor-paused { display: none; margin: 25px auto; width: 95%; background: rgba(31, 190, 201, 1); border: 1px solid #ccc; font-size: 26px; line-height: 26px; padding: 26px 0; text-align: center; z-index: 10; border-radius: 16px; cursor: pointer; transition: all 900ms; &:hover { background: darken(rgba(31, 190, 201, 1), 5%); } .dashicons { margin-right: 6px; &::before { width: 26px; height: 26px; font-size: 26px; // } &:hover::before { content: '\F522' } } } .processor-overquota { display: none; background: #ff0000; // border: 1px solid #ccc; line-height: 26px; padding: 20px 0; border-radius: 16px; margin: 25px auto; width: 95%; text-align: center; h3 { font-size: 26px; color: #fff; margin: 10px 0; } p a { font-size: 16px; color: #fff; text-decoration: none; } } section.spio-progressbar { width: 90%; margin: 20px auto; background-color: $blue_background; padding: 16px; border-radius: 15px; .flex { display: flex; flex-direction: row; //width: 90%; justify-content: space-around; margin: 0 auto; >div { display: flex; align-items: center; position: relative; flex-direction: column; flex-grow: 1; &.active { .step { background-color: #1ABDCA; color: #fff; border-color: $blue_background; } .outer { background-color: #1ABDCA; color: #fff; border-color: $blue_background; height: 47px; width: 47px; margin-top: -46px; border-radius: 50%; } .text { color: #1ABDCA; font-weight: 700; } } } >div.result .line { background: linear-gradient(90deg, rgba(204, 204, 204, 100) 0%, rgba(204, 204, 204, 100) 49.9%, #f4fbfc 51%, #f4fbfc 100%); } >div.select .line { // width: 50%; left: 50%; } .line { background: #ccc; height: 2px; width: 100%; box-sizing: border-box; display: inline-block; position: absolute; top: 22px; z-index: 1; transition: color 1s ease-in; } .step { border: 2px solid #ccc; border-radius: 50%; height: 45px; font-size: 20px; font-weight: 700; color: #ccc; width: 45px; line-height: 35px; text-align: center; box-sizing: border-box; display: inline-block; z-index: 2; background: #fff; transition: color 1s ease-in; padding-top: 2px; } .text { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #ccc; margin-top: 8px; } } } // progressbar @mixin line-active() { background: linear-gradient(90deg, rgba(31, 190, 201, 1) 0%, rgba(31, 190, 201, 1) 49.9%, rgba(204, 204, 204, 1) 50%, rgba(204, 204, 204, 1) 100%); } /***************** SELECTION *************/ section.panel.selection { .spio-progressbar .select { .line { @include line-active(); } /* .text, .step { color: #fff; background-color: $blue_default; } .step { border-color: #1FBEC9; }*/ } .load.wrapper, .interface.wrapper { opacity: 0; height: 0; transition: opacity 100ms ease-in; } &[data-status="loading"] { .load.wrapper { opacity: 1; height: auto; padding-bottom: 45px; } } &[data-status="loaded"] { .interface.wrapper { opacity: 1; height: auto; z-index: 10; position: relative; } } .load.wrapper { .loading { display: flex; color: #ccc; font-weight: 700; align-items: center; width: 80%; margin: auto; >span { height: 65px; p { margin: 0; } } span:first-child { margin-right: 20px; } img { @include loadspinner; } } .loading.skip // skip button { margin: 30px auto; padding-left: 90px; } .loading.overlimit // overlimit warning { display: none; padding: 6px 8px; border: 1px solid #dba617; color: #646970; } } .option-block { margin: 10px auto 0 auto; width: 90%; background-color: $blue_background; padding: 12px; border-top-left-radius: 15px; border-top-right-radius: 15px; &.all-round { border-radius: 15px; } h2 { font-size: 22px; color: #000; padding-left: 5px; } h3 { font-size: 20px; color: #000; padding-left: 5px; } p { margin-left: 5px; } .approx { margin-left: 5px; } } .advanced-label { display: flex; background-color: $blue_background; margin: 0 auto 5px; width: 90%; padding: 12px; align-items: center; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; .title { white-space: nowrap; padding: 6px; color: $blue_dark; text-decoration: underline; } hr { background-color: $blue_default; height: 1px; width: 100%; margin-left: 4px; border: 0; } } .optiongroup { &.ai-images { > .switch_button:first-child { width: 100%; } } //margin-left: 15px; .switch_button { display: inline-block; &.indent { margin-left: 65px; } } h4 { font-size: 14px; font-weight: 700; display: inline-block; padding-left: 5px; //margin-left: 25px; >label { padding: 0; } } .option { margin-left: 85px; // font-size: 16px; line-height: 26px; label { width: 200px; display: inline-block; } .number { font-weight: 700; } &.warning { border-left: 4px solid #dba617; padding-left: 8px; color: #000; } } .new { color: #ff0000; font-weight: 500; margin-left: 2px; } } .count_limited { color: #ff0000; } } // panel /**************** SUMMARY ******/ section.panel.summary { .spio-progressbar .select { .line { background: #1FBEC9; } } .spio-progressbar .summary { .line { @include line-active(); } } h3 { font-size: 24px; font-weight: 700; padding: 26px 0; color: #555D66; // padding-left: 35px; //border-bottom: 1px solid #DFEAFF; text-align: center; span { float: right; margin-right: 35px; margin-top: -15px; } } .summary-list { display: flex; flex-direction: column; flex-wrap: wrap; align-items: center; .section-wrapper-ai { background-color: $blue_background; flex: 1; border-radius: 15px; margin: 0 20px; //max-width: 45%; float: left; padding-top: 10px; } .section-wrapper { background-color: $blue_background; flex: 1; border-radius: 15px; margin: 0 20px; max-width: 43%; float: left; padding-top: 10px; &.ai { max-width: none; } h4 { font-size: 14px; font-weight: 700; padding-left: 30px; &.totals { padding-left: 15px; color: #3c434a; min-width: 220px; } .dashicons { color: #1FBEC9; margin-right: 10px; } } .list-table { display: table; //border: 1px solid #DFEAFF; width: 95%; margin: 0 10px; padding-bottom: 10px; > div { display: table-row; // background-color: #F0F5FF; // font-size: 16px; &.images { color: $blue_dark; padding-left: 10px; } &.filetypes { // background: #F5F9FF; color: #aaa; font-size: 12px; padding-left: 10px; >span { // border: 0; } } } >div>span { display: table-cell; border-bottom: 1px solid #ccc; width: 15%; // text-align: center; padding: 15px; &.totals { border-bottom: none; font-size: 14px; font-weight: 700; color: #3c434a; } &:nth-child(2) { text-align: right; } } } @media (max-width: 1315px) { margin:15px auto; max-width: 100%; float: none; &.ai { float: left; margin: 0 auto; } } @media (max-width: 695px) { float: none; &.ai { float: none; } } } } .totals { //text-align: center; font-size: 14px; color: $blue_dark; // padding: 35px 0; margin-top: 20px; // background: #F6F9FF; .number { margin-left: 35px; } } .credits-wrapper { //display: block; //align-items: center; // messes up blocks } .credits-sub-wrapper { flex: 0 0 100%; margin: 15px 0; padding: 15px 0; border-bottom: 1px solid $blue_default; } .ai-credits-sub-wrapper { flex: 0 0 100%; margin-top: 15px; padding-bottom: 30px; border-bottom: 1px solid $blue_default; } .credits { display: table; margin: 0 10px; padding-top: 20px; //max-width: 66%; //margin-left: 10%; //margin: 35px 60px; &.ai { max-width: 33%; float: left; } >p { display: table-row } >p>span { display: table-cell; padding: 12px; font-size: 14px; vertical-align: middle; color: $blue_dark; &:first-child { // font-weight: 700; // width: 40%; } &:nth-child(2n) { // width: 30%; } &:nth-child(3n) { // text-align: right; } .button { // float: right; //margin-right: 0; } } .heading span { // font-size: 18px; //font-weight: 700; } .totals span { color: #000; font-size: 16px; font-weight: 500; } @media (max-width: 1315px) { margin:0 auto; } } // credits .credits.ai { //border-left: 1px solid $blue_default; } .button.unlimited { color: $blue_dark; background: $blue_background; border: 1px solid $blue_default; border-radius: 0; .icon { width: 30px; margin-right: 8px; } } .over-quota, .no-images { border: 1px solid #ff0000; padding: 16px; width: 80%; margin: 30px auto; display: flex; align-items: center; >span { margin-right: 20px; } p { max-width: 550px; font-size: 14px; line-height: 21px; .red { color: #ff0000; } } button { background: $color-brokenwhite; color: #1FBEC9; border: 1px solid #1FBEC9; border-radius: 3px; box-shadow: 0px 1px 1px rgba(171, 170, 170, 0.3); margin: 16px 0; } } .no-images { font-size: 14px; padding: 16px; font-weight: 500; } } // panel section.panel.process, section.panel.finished { .spio-progressbar .select, .spio-progressbar .summary { .line { background: #1FBEC9; } } .spio-progressbar .process { .line { @include line-active(); } } .process_heading { width: 80%; margin: 15px auto; h3 { border: 0; text-align: center; font-weight: 700; } } .average-optimization { position: absolute; top: 0px; right: 0; display: flex; justify-content: center; z-index: -1; background: rgba(255, 255, 255, 0.4); align-items: center; // margin-top: -10px; p { margin: 0; font-size: 13px; position: absolute; // width: 100%; bottom: 45px; left: -15px; padding: 6px 10px; color: #fff; background: rgba($color-darkest, 0.5); font-weight: 700; border-radius: 3px; white-space: nowrap; } .opt-circle-average { width: 130px; height: 130px; .trail { stroke: #ddd; } .path { stroke: $color-dark; stroke-linecap: round; transition: stroke-dashoffset 0.5s ease 0s; } .text { fill: #1FBEC9; font-size: 28px; font-weight: 700; dominant-baseline: middle; text-anchor: middle; } } } // optimization circle. h3.heading { text-align: center; font-weight: 700; margin-bottom: 20px; } .bulk-summary { display: table; width: 80%; margin: 30px auto 0; border-radius: 15px; background-color: $blue_background; overflow: hidden; >div { display: table-row; } >div>span { display: table-cell; padding: 16px; width: 33%; } p.finished-paragraph { padding: 6px 12px; text-align: center; } .heading { background-color: $blue_extralight; color: #000; border: 1px solid #EBF5FF; .special-op { color: #EC2C25; } .dashicons { color: $blue_default; } } .heading > span:first-child { font-weight: 700; } .line-progressbar { width: 200px; height: 20px; position: relative; background: #fff; display: inline-block; vertical-align: middle; .done-text { position: absolute; color: #fff; font-size: 10px; font-weight: 500; top: 0; bottom: 0; padding: 5px 4px; line-height: 10px; z-index: 3; } .done { position: absolute; z-index: 2; left: 0; width: 10%; top: 0; bottom: 0; background: $blue_default; } .finished-paragraph { font-size: 14px; line-height: 25px; } label { input[type="checkbox"] { margin-right: 8px; } } } .display-error-box { float: right; input { display: none; &:checked { .collap-arrow .icon { transform: rotate(180deg); } } } span { color: $blue_dark; text-decoration: underline; } .collap-arrow { transition: rotate 1s linear; } } } // summary .image-preview-section { background: #F6F9FF; border: 1px solid #DFEAFF; border-radius: 16px; width: 80%; margin: 30px auto; position: relative; .title { position: absolute; top: 0; width: 100%; //background: #0f6a7d50; background-color: $blue_extralight; // background: linear-gradient(90deg, rgba(15, 106, 125, 1) 0%, rgba(15, 106, 125, 1) 0%, rgba(0, 212, 255, 0) 100%); color: #000; font-size: 18px; font-weight: 600; padding: 15px 0; border-radius: 15px 15px 0 0; span { padding-left: 40px; } } .image-preview-line { display: flex; width: 100%; justify-content: space-between; align-items: center; // margin: 15px auto; // max-width: 300px; > span { z-index: 10; &:last-child{ margin-right: 5%; } } [data-result="filename"] { overflow: hidden; font-weight: 700; margin-top: -5px; color: #000; } .opt-circle-image { width: 45px; height: 45px; float: right; margin-top: 1px; //margin-right: 35px; .trail { stroke: #ddd; } .path { stroke: #1FBEC9; stroke-linecap: round; transition: stroke-dashoffset 0.5s ease 0s; } .text { fill: #1FBEC9; font-size: 28px; font-weight: 700; dominant-baseline: middle; text-anchor: middle; } } } .preview-wrapper { // display: flex; width: 100%; overflow: hidden; // width: 60%; // justify-content: flex-start; margin: 25px 0 40px 0; .slide-mask { // width: 100%; // overflow: hidden; // height: 500px; flex-wrap: nowrap; display: flex; justify-content: flex-start; } .preview-image { transition: 0.5s all linear; display: flex; justify-content: center; align-items: center; flex-shrink: 0; flex-grow: 0; width: 100%; } .current.preview-image { opacity: 1; //flex-basis: 100%; } .old.preview-image { // opacity: 1; display: none; // margin-left: -999px; // transform: translateX(-100%); // flex-basis: 0; } .image { max-width: 45%; max-height: 600px; overflow: hidden; position: relative; img { width: 100%; height: auto; object-fit: cover; &[src*="placeholder.svg"] { background-color: #ebedf1; } &[src*="placeholder.svg"]:not(.notempty) { z-index: 1; } z-index: 10; position: relative; } .svg-loader { width: 100%; height: 70px; position: absolute; top: calc(50% - 35px); left: 0; z-index: 5; } p { position: absolute; top: 0; z-index: 10; color: #fff; background: rgba(0, 0, 0, 0.5); padding: 4px; } } .image.source { margin-right: 8px; } .image-arrow { i { filter: $filter_blue_default; } } .image.result { margin-left: 8px; p { font-weight: 700; font-size: 14px; } } } .ai-preview-wrapper { padding: 15px 40px; border-top: solid 1px $color-grey; .ai-preview-data strong { text-transform: capitalize; color: $blue_dark; } } } nav { width: 80%; margin: 35px auto 0 auto; } } // section process section.panel.finished { .spio-progressbar .select, .spio-progressbar .summary, .spio-progressbar .process { .line { background: #1FBEC9; } } .spio-progressbar .result { .line { background: linear-gradient(90deg, #1fbec9 0%, #1fbec9 49.9%, white 50%, white 100%); } } .average-optimization { position: relative; display: flex; justify-content: center; z-index: 2; background: rgba(255, 255, 255, 0.4); align-items: center; flex-direction: column; // margin-top: -10px; p { //margin: 0; font-size: 13px; position: relative; // width: 100%; bottom: 0; left: 0; padding: 6px 10px; color: #fff; background: rgba($color-darkest, 0.5); font-weight: 700; border-radius: 3px; white-space: nowrap; } .opt-circle-average { width: 300px; height: 300px; // float: right; // margin-right: 35px; .trail { stroke: #ddd; } .path { stroke: $color-dark; stroke-linecap: round; transition: stroke-dashoffset 0.5s ease 0s; } .text { fill: #1FBEC9; font-size: 28px; font-weight: 700; dominant-baseline: middle; text-anchor: middle; } } } // optimization circle. .dashboard-text { display: flex; width: 170px; margin: auto; } nav { text-align: center; margin: 25px auto; button.finish { padding: 12px 60px; border-radius: 3px; background: #1FBEC9; font-size: 16px; color: #fff; transition: all 0.5s ease; &:hover { background: lighten(#1FBEC9, 5%); } } } } // finished .part-debug { background: #000; color: #fff; width: 100%; min-height: 150px; max-height: 550px; } //******* SPECIAL BULK SCREENS **/ .bulk-special-wrapper { margin: 0 auto; // border: 1px solid #ccc; max-width: 80%; h4 { color: #ff0000; font-weight: 700; font-size: 20px; &.warning { float: left; margin: 25px; min-height: 50px; } } .warning { color: #ff0000; } .optiongroup { clear: both; margin-left: 130px; //margin-left: 15px; .switch_button { display: inline-block; } h4 { font-size: 14px; font-weight: 400; display: inline-block; margin-left: 25px; color: #000; } .option { margin-left: 85px; // font-size: 16px; line-height: 26px; label { width: 200px; display: inline-block; } .number { font-weight: 700; } } &.warning { font-weight: 700; color: #ff0000; } } } } // wrapper.