0byt3m1n1
Path:
/
var
/
lib
/
vz
/
www
/
clients
/
client6
/
web11
/
web
/
wp-content
/
plugins
/
wp-optimize
/
css
/
[
Home
]
File: smush.css
/** * Autosmush */ .wpo-fieldgroup .autosmush { min-height: 40px; display: inline-block; width: 100%; } /* The switch - the box around the slider */ .wpo-fieldgroup .autosmush .switch { position: relative; display: inline-block; width: 48px; height: 23px; } /* Hide default HTML checkbox */ .wpo-fieldgroup .autosmush .switch input { opacity: 0; width: 0; height: 0; } /* The slider */ .wpo-fieldgroup .autosmush .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #EDEFF0; transition: .4s; } .wpo-fieldgroup .autosmush .slider:before { position: absolute; content: ""; height: 15px; width: 15px; left: 1px; bottom: 2px; background-color: #EDEFF0; border: 1px solid black; transition: .4s; } .wpo-fieldgroup .autosmush h3 { font-size: 1.2em; margin: 3px 18px; } .wpo-fieldgroup .autosmush input:checked + .slider:before { transform: translatex(26px); background: black; } /* Rounded sliders */ .wpo-fieldgroup .autosmush .slider.round { border-radius: 23px; border: 1px solid; } .wpo-fieldgroup .autosmush .slider.round:before { border-radius: 50%; } /** * Compression Server */ .wpo-fieldgroup .compression_server div { max-width: 250px; } .wpo-fieldgroup .compression_server h2 { margin: 10px 0; } .wpo-fieldgroup .compression_server h3 { clear: both; width: 100%; } .wpo-fieldgroup .compression_server p { margin: 1px; } .wpo-fieldgroup .compression_server p:last-of-type { margin-bottom: 10px; } .wpo-fieldgroup .compression_server { display: -ms-flexbox; display: flex; -ms-flex-flow: row wrap; flex-flow: row wrap; } .wpo-fieldgroup .compression_server > div { -ms-flex: 1; flex: 1; padding: 0.5px; height: 100%; } .wpo-fieldgroup .compression_server input[type="radio"] { display: none; } .wpo-fieldgroup .compression_server input[type="radio"] ~ label h2 { color: black; } .wpo-fieldgroup .compression_server label { height: 100%; display: block; background: #F9F9F9; padding: 1px; margin: 1px; text-align: center; box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5); position: relative; } .wpo-fieldgroup .compression_server input[type="radio"] + label { padding: 6px; border: 2px solid #F1F2F3; } .wpo-fieldgroup .save-options { margin: 10px 0; } .wpo-fieldgroup .compression_server input[type="radio"]:checked + label { border: 2px solid #0086B9; padding: 6px; } @media only screen and (max-width: 700px) { .wpo-fieldgroup .compression_server { -ms-flex-direction: column; flex-direction: column; } } /** * Compression Options */ .wpo-fieldgroup h4 { margin: 1em 0; width: 100%; } .wpo-fieldgroup .image_quality input[type=radio] { position: absolute; visibility: hidden; display: none; } .wpo-fieldgroup .image_quality label { color: #23282D; display: inline-block; cursor: pointer; font-weight: bold; padding: 5px 20px; background: #F9F9F9; float: left; margin: 0 .5px; } .wpo-fieldgroup .image_quality input[type=radio]:checked + label { color: white; background: #0088B9; } .wpo-fieldgroup .image_quality label + .wpo-fieldgroup .image_quality input[type=radio] + label { border-left: solid 3px #675F6B; } .wpo-fieldgroup .image_quality.radio-group { border: solid .5px #C4C4C4; display: inline-block; border-radius: 5px; overflow: hidden; border-bottom: solid 2px #C4C4C4; background: #C4C4C4; } .wpo-fieldgroup .image_options input { min-height: 16px; min-width: 16px; margin: 3px 2px; } img#wpo_smush_images_save_options_spinner { max-width: 20px; max-height: 20px; } span#wpo_smush_images_save_options_fail { font-size: inherit; color: red; } span#wpo_smush_images_save_options_done { font-size: inherit; color: green; } #smush-complete-summary span.clearfix { height: 10px; display: block; clear: both; } span.close { display: block; clear: both; text-align: left; color: #DF6927; border: 2px solid; border-radius: 50%; cursor: pointer; } .modal-message-text { margin: 0 25px; } .smush-options.custom_compression { margin: 10px; } @media screen and (max-width: 782px) { .wpo-fieldgroup input[type="radio"] { height: 16px; width: 16px; } .wpo-fieldgroup input[type="radio"]:checked:before { width: 6px; height: 6px; margin: 4px; } } /** * Uncompressed images */ #wpo_smush_images_grid { border: 2px solid #CFD1D5; } #wpo_smush_settings .align-left { float: left; } #wpo_smush_settings .align-right { float: right; } .wpo-fieldgroup .wpo_smush_images_buttons_wrap { width: 100%; } .wpo-fieldgroup .smush-refresh-icon, .wpo-fieldgroup .smush-select-actions, .toggle-smush-advanced { font-size: 15px; } .wpo-fieldgroup img.wpo_smush_images_loader { display: none; min-height: 20px; min-width: 20px; } .wpo-fieldgroup .dashicons.dashicons-image-rotate, { font-size: 15px; } .wpo-fieldgroup .toggle-smush-advanced { cursor: pointer; text-decoration: underline; color: #0088BC; } .wpo-fieldgroup .smush-advanced { display: none; } .wpo_smush_image .wpo_smush_image__input:checked + label { border-color: #0272AA; } .wpo-fieldgroup.uncompressed-images input[type="checkbox"] { display: none; } .wpo-fieldgroup.uncompressed-images small.red { clear: both; display: block; margin: 5px; } .smush-actions .wpo_primary_small { display: inline-block; margin: 5px; } .smush-actions { display: inline-block; width: 100%; margin: 10px 0; } .smush-actions .dashicons.dashicons-yes { font-size: 15px; margin: 0 5px; } .smush-actions img { max-height: 25px; max-width: 25px; } /** * Log and panels */ #smush-log-modal { width: 100%; height: 100%; } #log-panel { height: 80%; overflow: scroll; margin: 2%; } #log-panel pre { text-align: left; overflow: auto; height: 100%; background: gainsboro; } #smush-information { margin-bottom: 10px; } /** * Smush modal progress box & related styling */ #smush_stats { text-align: center; margin: 0 auto; padding: 2%; min-width: 350px; font-size: larger; } #smush_stats .wpo_smush_stats_cta_btn { clear: both; display: block; text-align: center; } #smush_stats .smush_stats_row td:first-child { text-align: left; } #smush_stats tr.smush_stats_row td:last-child { text-align: right; } #smush_stats #wpo_smush_images_information_container p { padding: 10px; } #smush-complete-summary .checkmark-circle { width: 50px; height: 50px; position: relative; display: inline-block; vertical-align: top; } #smush-complete-summary .checkmark-circle .background { width: 50px; height: 50px; border-radius: 50%; background: #DF6927; position: absolute; } #smush-complete-summary .checkmark-circle .checkmark { border-radius: 5px; } #smush-complete-summary .checkmark-circle .checkmark.draw:after { animation-delay: 100ms; animation-duration: 1s; animation-timing-function: ease; animation-name: checkmark; transform: scalex(-1) rotate(135deg); animation-fill-mode: forwards; } #smush-complete-summary .checkmark-circle .checkmark:after { opacity: 1; height: 25px; width: 12.5px; transform-origin: left top; border-right: 5px solid white; border-top: 5px solid white; border-radius: 2.5px !important; content: ''; left: 8.3333333333px; top: 25px; position: absolute; } #smush_stats .wpo_primary_small { text-align: center; } #smush-complete-summary #summary-message { margin: 15px auto; } /* Animated progress bar */ #wpo_smush_images_information_container { padding: 10px; } #wpo_smush_images_information_wrapper .progress-bar { height: 25px; padding: 1px; width: 350px; margin: 10px auto; border-radius: 5px; } #wpo_smush_images_information_wrapper .progress-bar span { display: inline-block; height: 100%; border-radius: 3px; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset; transition: width .4s ease-in-out; } #wpo_smush_images_information_wrapper .orange span { background-color: #DF6927; } #wpo_smush_images_information_wrapper .stripes span { background-size: 30px; background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); animation: animate-stripes 3s linear infinite; } /** * Smush metabox */ #smush-metabox-inside-wrapper { display: inline-table; width: 100%; } #smush-metabox-inside-wrapper h4 { margin: 2px 0; } #smush-metabox-inside-wrapper label { margin-top: 5px; clear: left; display: block; } #smush-metabox-inside-wrapper .wpo_smush_single_image { display: block; } #smush-metabox-inside-wrapper .wpo_smush_single_image.action_button { padding: 5px 0; } #smush-metabox-inside-wrapper fieldset { margin: 10px 0; } #smush-metabox-inside-wrapper .alignleft { float: left; } #smush-metabox-inside-wrapper input, #smush-metabox-inside-wrapper select, #smush-metabox-inside-wrapper .button { float: right; margin: 0px; } #smush-metabox-inside-wrapper p#smush_info { margin: 20px auto; padding-top: 10px; clear: both; } #smush-metabox-inside-wrapper .wpo_smush_single_image.compression_level label { display: inline-block; } #smush-metabox-inside-wrapper .wpo_smush_single_image.compression_level span { margin: 3px 0; } #smush-metabox-inside-wrapper .toggle-smush-advanced { font-size: 14px; cursor: pointer; text-decoration: underline; color: #0088BC; display: block; clear: both; } #smush-metabox-inside-wrapper .smush-options.custom_compression span { display: block; max-width: 30%; clear: both; } #smush-metabox-inside-wrapper input#custom_compression_slider { display: block; clear: both; width: 100%; } #smush-metabox-inside-wrapper .smush-options.custom_compression span.alignleft { float: left; } #smush-metabox-inside-wrapper .smush-options.custom_compression span.alignright { float: right; text-align: right; } /** * Force fix the modals */ .blockUI.blockMsg.blockPage { z-index: 9999 !important; right: 0; left: 0 !important; margin-right: auto !important; margin-left: auto !important; max-width: 90%; cursor: default !important; } .blockUI.blockOverlay { cursor: default !important; } /** * Tooltip Styles */ /* Add this attribute to the element that needs a tooltip */ #smush-metabox-inside-wrapper [data-tooltip], .wpo-fieldgroup [data-tooltip] { position: relative; cursor: pointer; } /* Hide the tooltip content by default */ #smush-metabox-inside-wrapper [data-tooltip]:before, #smush-metabox-inside-wrapper [data-tooltip]:after, .wpo-fieldgroup [data-tooltip]:before, .wpo-fieldgroup [data-tooltip]:after { visibility: hidden; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; pointer-events: none; } /* Position tooltip above the element */ #smush-metabox-inside-wrapper [data-tooltip]:before, .wpo-fieldgroup [data-tooltip]:before { position: absolute; bottom: 150%; left: 50%; margin-bottom: 5px; margin-left: -80px; padding: 7px; width: 275px; z-index: 9999; border-radius: 3px; background-color: #000; background-color: hsla(0, 0%, 20%, 0.9); color: #FFF; content: attr(data-tooltip); text-align: center; font-size: 14px; line-height: 1.2; } #smush-metabox-inside-wrapper [data-tooltip]:before { margin-left: -280px; } /* Triangle hack to make tooltip look like a speech bubble */ #smush-metabox-inside-wrapper [data-tooltip]:after, .wpo-fieldgroup [data-tooltip]:after { position: absolute; bottom: 150%; left: 50%; margin-left: -5px; width: 0; border-top: 5px solid #000; border-top: 5px solid hsla(0, 0%, 20%, 0.9); border-right: 5px solid transparent; border-left: 5px solid transparent; content: " "; font-size: 0; line-height: 0; } /* Show tooltip content on hover */ #smush-metabox-inside-wrapper [data-tooltip]:hover:before, #smush-metabox-inside-wrapper [data-tooltip]:hover:after, .wpo-fieldgroup [data-tooltip]:hover:before, .wpo-fieldgroup [data-tooltip]:hover:after { visibility: visible; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; } /** * Animation needed for smush */ @keyframes checkmark { 0% { height: 0; width: 0; opacity: 1; } 20% { height: 0; width: 12.5px; opacity: 1; } 40% { height: 25px; width: 12.5px; opacity: 1; } 100% { height: 25px; width: 12.5px; opacity: 1; } } @keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } } @keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } }