| @@ -1,228 +1,265 @@ | ||
| 1 | -.imagify-plugins-error { | |
| 2 | - overflow:hidden; | |
| 3 | - padding-left:20px; | |
| 4 | - list-style-type:disc | |
| 1 | +/** | |
| 2 | + * == Utilities Classes | |
| 3 | + */ | |
| 4 | + | |
| 5 | +/* Util: Flexbox */ | |
| 6 | +.imagify-flex { | |
| 7 | + display: flex; | |
| 5 | 8 | } |
| 9 | +.imagify-vcenter { | |
| 10 | + align-items: center; | |
| 11 | +} | |
| 12 | +.imagify-noshrink { | |
| 13 | + flex-shrink: 0; | |
| 14 | +} | |
| 15 | +.imagify-nogrow { | |
| 16 | + flex-grow: 0; | |
| 17 | +} | |
| 6 | 18 | |
| 7 | -.imagify-plugins-error li { | |
| 8 | - width:300px; | |
| 9 | - line-height:30px | |
| 19 | +/* Util: dimension */ | |
| 20 | +.imagify-wauto { | |
| 21 | + width: auto; | |
| 10 | 22 | } |
| 11 | -@media (max-width: 570px) { | |
| 12 | - .imagify-plugins-error li { | |
| 13 | - width: auto; | |
| 14 | - } | |
| 23 | +.imagify-hauto { | |
| 24 | + height: auto; | |
| 15 | 25 | } |
| 26 | +.imagify-full-width { | |
| 27 | + width: 100%; | |
| 28 | +} | |
| 16 | 29 | |
| 17 | -.imagify-notice-dismiss.notice-dismiss { | |
| 18 | - text-decoration: none; | |
| 30 | +/* Util: float */ | |
| 31 | +.imagify-start { | |
| 32 | + float: left; | |
| 19 | 33 | } |
| 34 | +.imagify-end { | |
| 35 | + float: right; | |
| 36 | +} | |
| 20 | 37 | |
| 21 | -.imagify-spinner { | |
| 22 | - display: inline-block; | |
| 23 | - width: 20px; | |
| 24 | - height: 20px; | |
| 25 | - margin-right: 5px; | |
| 26 | - vertical-align: middle; | |
| 27 | - background: rgba(0, 0, 0, 0) url("../images/spinner.gif") no-repeat scroll 0 0 / 20px 20px; | |
| 28 | - opacity: 0.7; | |
| 38 | +/* Util: text-align */ | |
| 39 | +.imagify-txt-start.imagify-txt-start.imagify-txt-start { | |
| 40 | + text-align: left; | |
| 29 | 41 | } |
| 42 | +.imagify-txt-center.imagify-txt-center.imagify-txt-center { | |
| 43 | + text-align: center; | |
| 44 | +} | |
| 45 | +.imagify-txt-end.imagify-txt-end.imagify-txt-end { | |
| 46 | + text-align: right; | |
| 47 | +} | |
| 30 | 48 | |
| 31 | -.misc-pub-section.misc-pub-imagify h4 { | |
| 32 | - font-size: 14px; | |
| 33 | - margin-top: 5px; | |
| 49 | +/* Util: margin/padding */ | |
| 50 | +.imagify-mt0.imagify-mt0 { | |
| 51 | + margin-top: 0; | |
| 52 | +} | |
| 53 | +.imagify-mt1.imagify-mt1 { | |
| 54 | + margin-top: 1em; | |
| 55 | +} | |
| 56 | +.imagify-mt2.imagify-mt2 { | |
| 57 | + margin-top: 2em; | |
| 58 | +} | |
| 59 | +.imagify-mt3.imagify-mt3 { | |
| 60 | + margin-top: 3em; | |
| 61 | +} | |
| 62 | +.imagify-mb0.imagify-mb0 { | |
| 34 | 63 | margin-bottom: 0; |
| 35 | 64 | } |
| 36 | - | |
| 37 | -/* Some Sweet alert styles */ | |
| 38 | -.imagify-sweet-alert button { | |
| 39 | - margin-top: 17px !important; | |
| 40 | - height: 45px !important; | |
| 41 | - letter-spacing: 3px; | |
| 42 | - text-transform: uppercase !important; | |
| 43 | - border-radius: 3px !important; | |
| 44 | - background-color: #40b1d0 !important; | |
| 45 | - box-shadow: 0 3px 0 #338ea6 !important; | |
| 65 | +.imagify-mb1.imagify-mb1 { | |
| 66 | + margin-bottom: 1em; | |
| 46 | 67 | } |
| 47 | -.imagify-sweet-alert button.cancel { | |
| 48 | - background: #777 !important; | |
| 49 | - box-shadow: 0 3px 0 #444 !important; | |
| 68 | +.imagify-mr1.imagify-mr1 { | |
| 69 | + margin-right: 1em; | |
| 50 | 70 | } |
| 51 | -.imagify-sweet-alert-signup .sa-confirm-button-container { | |
| 52 | - width: 40%; | |
| 71 | +.imagify-ml2.imagify-ml2 { | |
| 72 | + margin-left: 2em; | |
| 53 | 73 | } |
| 54 | -.imagify-sweet-alert-signup button { | |
| 55 | - width: 100%; | |
| 56 | - padding: 0 !important; | |
| 74 | +.imagify-mr2.imagify-mr2 { | |
| 75 | + margin-right: 2em; | |
| 57 | 76 | } |
| 58 | -.imagify-sweet-alert .sa-input-error:before, | |
| 59 | -.imagify-sweet-alert .sa-input-error:after, | |
| 60 | -.imagify-sweet-alert .la-ball-fall { | |
| 61 | - top: 25% !important; | |
| 77 | + | |
| 78 | +.imagify-pl0.imagify-pl0.imagify-pl0 { | |
| 79 | + padding-left: 0; | |
| 62 | 80 | } |
| 63 | - | |
| 64 | -#wpwrap { | |
| 65 | - transition: all .4s; | |
| 81 | +.imagify-pb0.imagify-pb0 { | |
| 82 | + padding-bottom: 0; | |
| 66 | 83 | } |
| 67 | -.stop-scrolling #wpwrap { | |
| 68 | - filter: blur(2px); | |
| 84 | +.imagify-pr1.imagify-pr1 { | |
| 85 | + padding-right: 1em; | |
| 69 | 86 | } |
| 70 | -.stop-scrolling #wpwrap #wpadminbar { | |
| 71 | - top: -32px; | |
| 87 | +.imagify-pr2.imagify-pr2 { | |
| 88 | + padding-right: 2em; | |
| 72 | 89 | } |
| 73 | 90 | |
| 74 | -/* Some basic colors */ | |
| 75 | -.imagify-primary { | |
| 76 | - color: #40b1d0; | |
| 91 | +/* Util: Overflow */ | |
| 92 | +.imagify-oh { | |
| 93 | + overflow: hidden; | |
| 77 | 94 | } |
| 78 | -.imagify-secondary { | |
| 79 | - color: #8cc152; | |
| 95 | +.imagify-clear { | |
| 96 | + clear: both; | |
| 80 | 97 | } |
| 81 | - | |
| 82 | -#imagify-check-api-container { | |
| 83 | - font-weight: bold; | |
| 98 | +.imagify-clearfix:after, | |
| 99 | +.imagify-inline-options:after, | |
| 100 | +.imagify-settings-main-content:after, | |
| 101 | +.imagify-settings-section:after { | |
| 102 | + content: ""; | |
| 103 | + display: table; | |
| 104 | + width: 100%; | |
| 105 | + clear: both; | |
| 84 | 106 | } |
| 107 | +.imagify-setting-optim-level .imagify-inline-options:after { | |
| 108 | + display: none; | |
| 109 | +} | |
| 85 | 110 | |
| 86 | -#imagify-check-api-container .dashicons { | |
| 87 | - font-size: 25px; | |
| 111 | +/* Util: Dividers */ | |
| 112 | +.imagify-divider { | |
| 113 | + height: 1px; | |
| 114 | + margin: 20px 0; | |
| 115 | + background: #D2D3D6; | |
| 88 | 116 | } |
| 89 | - | |
| 90 | -#imagify-check-api-container .dashicons-no:before { | |
| 91 | - color: #f06e57; | |
| 92 | - vertical-align: -1px; | |
| 117 | +.imagify-pipe { | |
| 118 | + display: inline-block; | |
| 119 | + margin: 0 .75em; | |
| 120 | + vertical-align: middle; | |
| 121 | + height: 15px; | |
| 122 | + width: 1px; | |
| 123 | + background: #979797; | |
| 93 | 124 | } |
| 94 | 125 | |
| 95 | -#imagify-check-api-container .dashicons-yes:before { | |
| 96 | - color: #8BC34A; | |
| 97 | - vertical-align: -1px; | |
| 126 | +/* Titles */ | |
| 127 | +.imagify-h3-like.imagify-h3-like.imagify-h3-like { | |
| 128 | + margin-bottom: 0; | |
| 129 | + font-size: 19px; | |
| 130 | + font-weight: 500; | |
| 131 | + color: #1F2332; | |
| 98 | 132 | } |
| 99 | -.imagify-valid { | |
| 100 | - color: #8BC34A; | |
| 133 | +.imagify-h4-like.imagify-h4-like.imagify-h4-like { | |
| 134 | + font-size: 14px; | |
| 135 | + font-weight: bold; | |
| 136 | + color: #2E3243; | |
| 101 | 137 | } |
| 102 | 138 | |
| 103 | -.imagify-chart { | |
| 104 | - width: 33.33%; | |
| 105 | - position: relative; | |
| 139 | +/* Default counter */ | |
| 140 | +.imagify-count.imagify-count { | |
| 141 | + counter-reset: num; | |
| 106 | 142 | } |
| 107 | -#imagify-overview-chart-legend { | |
| 108 | - overflow: hidden; | |
| 143 | +.imagify-count .imagify-count-title { | |
| 144 | + font-weight: bold; | |
| 109 | 145 | } |
| 110 | -.imagify-doughnut-legend { | |
| 111 | - margin-top: 38px; | |
| 112 | - list-style: none; | |
| 146 | +.imagify-default-settings { | |
| 147 | + color: #73818c; | |
| 148 | + font-weight: normal; | |
| 113 | 149 | } |
| 150 | +.imagify-count .imagify-count-title:before { | |
| 151 | + counter-increment: num 1; | |
| 152 | + content: counter(num) ". "; | |
| 153 | +} | |
| 114 | 154 | |
| 115 | -.imagify-doughnut-legend li { | |
| 116 | - display: block; | |
| 117 | - padding-left: 30px; | |
| 118 | - position: relative; | |
| 119 | - margin-bottom: 15px; | |
| 120 | - border-radius: 5px; | |
| 121 | - padding: 3px 8px 2px 31px; | |
| 122 | - font-size: 14px; | |
| 123 | - font-weight: 600; | |
| 124 | - cursor: default; | |
| 125 | - -webkit-transition: background-color 200ms ease-in-out; | |
| 126 | - -moz-transition: background-color 200ms ease-in-out; | |
| 127 | - -o-transition: background-color 200ms ease-in-out; | |
| 128 | - transition: background-color 200ms ease-in-out; | |
| 155 | +/* List counter */ | |
| 156 | +.imagify-count-list { | |
| 157 | + counter-reset: listcount; | |
| 129 | 158 | } |
| 130 | - | |
| 131 | -.imagify-doughnut-legend li span { | |
| 132 | - display: block; | |
| 133 | - position: absolute; | |
| 134 | - left: 0; top: 0; | |
| 135 | - width: 25px; | |
| 136 | - height: 25px; | |
| 137 | - border-radius: 50%; | |
| 159 | +.imagify-count-list li { | |
| 160 | + display: flex; | |
| 161 | + align-items: center; | |
| 138 | 162 | } |
| 139 | - | |
| 140 | -.imagify-chart { | |
| 141 | - float: left; | |
| 142 | - margin-bottom: 20px; | |
| 163 | +.imagify-count-list li + li { | |
| 164 | + margin-top: .5em; | |
| 143 | 165 | } |
| 144 | -td .imagify-chart { | |
| 145 | - float: none; | |
| 146 | - margin-bottom: 0; | |
| 166 | +.imagify-count-list li:before { | |
| 167 | + display: flex; | |
| 168 | + flex-basis: 24px; | |
| 169 | + flex-shrink: 0; | |
| 170 | + flex-grow: 0; | |
| 171 | + align-items: center; | |
| 172 | + justify-content: center; | |
| 173 | + margin-right: 16px; | |
| 174 | + border: 2px solid #40b1d0; | |
| 175 | + width: 24px; | |
| 176 | + height: 24px; | |
| 177 | + counter-increment: listcount 1; | |
| 178 | + content: counter(listcount); | |
| 179 | + color: #40b1d0; | |
| 180 | + border-radius: 50%; | |
| 147 | 181 | } |
| 148 | 182 | |
| 149 | -.imagify-chart-container { | |
| 150 | - position: relative; | |
| 151 | - width: 180px; | |
| 152 | - float: left; | |
| 153 | - margin-right: 40px; | |
| 183 | +/* Table layout */ | |
| 184 | +.imagify-table { | |
| 185 | + display: table; | |
| 186 | + width: 100%; | |
| 154 | 187 | } |
| 155 | -td .imagify-chart-container { | |
| 156 | - width: 18px; | |
| 157 | - height: 18px; | |
| 158 | - float: none; | |
| 159 | - margin-right: 10px; | |
| 188 | +.imagify-cell { | |
| 189 | + display: table-cell; | |
| 190 | + padding: 10px; | |
| 191 | + vertical-align: top; | |
| 160 | 192 | } |
| 161 | -td .imagify-chart { | |
| 162 | - top: 4px; | |
| 193 | +.imagify-cell.va-top, | |
| 194 | +.va-top .imagify-cell { | |
| 195 | + vertical-align: top; | |
| 163 | 196 | } |
| 164 | 197 | |
| 165 | -.imagify-chart-percent { | |
| 166 | - position: absolute; | |
| 167 | - left: 0; right: 0; | |
| 168 | - top: 50%; | |
| 169 | - margin-top: -14px; | |
| 170 | - text-align: center; | |
| 171 | - font-size: 55px; | |
| 172 | - font-weight: bold; | |
| 173 | - color: #46B1CE; | |
| 198 | +.imagify-bulk-submit .imagify-cell { | |
| 199 | + padding-top: 0; | |
| 174 | 200 | } |
| 175 | -.imagify-chart-percent span { | |
| 176 | - font-size: 20px; | |
| 177 | - vertical-align: super; | |
| 201 | + | |
| 202 | +/* When an "Imagify" modal is open in a page */ | |
| 203 | +body.imagify-modal-is-open { | |
| 204 | + overflow: hidden; | |
| 178 | 205 | } |
| 179 | 206 | |
| 180 | -.media_page_imagify-bulk-optimization .media-item { | |
| 181 | - margin: 0; | |
| 207 | +/* Loader/Spinner */ | |
| 208 | +.imagify-spinner { | |
| 209 | + display: inline-block; | |
| 210 | + width: 20px; | |
| 211 | + height: 20px; | |
| 212 | + margin-right: 5px; | |
| 213 | + vertical-align: middle; | |
| 214 | + background: rgba(0, 0, 0, 0) url("../images/spinner.gif") no-repeat scroll 0 0 / 20px 20px; | |
| 215 | + opacity: 0.7; | |
| 182 | 216 | } |
| 217 | +.spinner.imagify-hidden { | |
| 218 | + width: 0; | |
| 219 | + margin: 4px 0 0 0; | |
| 220 | +} | |
| 183 | 221 | |
| 184 | -.media_page_imagify-bulk-optimization .media-item .progress { | |
| 185 | - float: none; | |
| 186 | - width: 100%; | |
| 187 | - margin: 0; | |
| 188 | - background: #1F2331; | |
| 189 | - box-shadow: 0; | |
| 190 | - border-radius: 0; | |
| 222 | +/* Some basic colors */ | |
| 223 | +.imagify-primary.imagify-primary.imagify-primary { | |
| 224 | + color: #40b1d0; | |
| 191 | 225 | } |
| 226 | +.imagify-secondary.imagify-secondary.imagify-secondary, | |
| 227 | +.imagify-valid { | |
| 228 | + color: #8BC34A; | |
| 229 | +} | |
| 192 | 230 | |
| 193 | -.media_page_imagify-bulk-optimization .media-item .percent { | |
| 194 | - width: auto; | |
| 195 | - padding: 0 5px; | |
| 196 | - line-height: 1.85; | |
| 197 | - font-size: 12px; | |
| 231 | +/* Informations in column (media popin, media details) */ | |
| 232 | +.misc-pub-section.misc-pub-imagify h4 { | |
| 233 | + font-size: 14px; | |
| 234 | + margin-top: 5px; | |
| 235 | + margin-bottom: 0; | |
| 198 | 236 | } |
| 199 | 237 | |
| 200 | -.media_page_imagify-bulk-optimization .media-item .progress, | |
| 201 | -.media_page_imagify-bulk-optimization .media-item .percent { | |
| 202 | - text-align: right; | |
| 238 | +/* Doughnut */ | |
| 239 | +.imagify-chart { | |
| 240 | + position: relative; | |
| 241 | + top: 1px; | |
| 242 | + display: inline-block; | |
| 243 | + vertical-align: middle; | |
| 203 | 244 | } |
| 204 | -.media_page_imagify-bulk-optimization .media-item .progress .bar { | |
| 205 | - width: 1px; | |
| 206 | - height: 22px; | |
| 207 | - margin-top: 0; | |
| 208 | - background: #46B1CE; | |
| 209 | - border-radius: 0; | |
| 210 | - overflow: visible; | |
| 211 | - -webkit-transition: width .5s; | |
| 212 | - transition: width .5s; | |
| 245 | +.imagify-chart-container { | |
| 246 | + position: relative; | |
| 247 | + display: inline-block; | |
| 248 | + margin-right: 5px; | |
| 213 | 249 | } |
| 250 | +.imagify-chart-container canvas { | |
| 251 | + display: block; | |
| 252 | +} | |
| 214 | 253 | |
| 215 | - | |
| 216 | -/* | |
| 254 | +/** | |
| 217 | 255 | * |
| 218 | 256 | * == Settings page |
| 219 | - * | |
| 257 | + * | |
| 220 | 258 | */ |
| 221 | 259 | |
| 222 | 260 | |
| 223 | -/* Basic HTML elements */ | |
| 224 | - | |
| 261 | +/* Basic HTML elements for Options and Bulk pages */ | |
| 225 | 262 | .imagify-settings a, |
| 226 | 263 | .imagify-settings .button, |
| 227 | 264 | .imagify-settings input, |
| 228 | 265 | .imagify-welcome a, |
| @@ -234,52 +271,36 @@ | ||
| 234 | 271 | .imagify-settings a { |
| 235 | 272 | color: #40b1d0; |
| 236 | 273 | } |
| 237 | 274 | |
| 238 | -.imagify-options-title { | |
| 239 | - padding-bottom: .5em; | |
| 240 | - border-bottom: 3px solid #F2F2F2; | |
| 241 | - font-size: 13px; | |
| 242 | - font-weight: 500; | |
| 243 | - text-transform: uppercase; | |
| 244 | - letter-spacing: 0.025em; | |
| 245 | - color: #40b1d0; | |
| 246 | -} | |
| 247 | - | |
| 248 | 275 | .imagify-settings, |
| 249 | 276 | .imagify-settings p, |
| 250 | 277 | .imagify-settings th { |
| 251 | 278 | color: #5F758E; |
| 252 | 279 | } |
| 253 | -@media (max-width: 782px) { | |
| 254 | - .imagify-settings .form-table th { | |
| 255 | - padding-top: 2em; | |
| 256 | - padding-bottom: .5em; | |
| 257 | - } | |
| 258 | -} | |
| 259 | -.imagify-settings .form-table td { | |
| 260 | - vertical-align: top; | |
| 261 | -} | |
| 262 | -.imagify-settings .form-table th span { | |
| 263 | - cursor: pointer; | |
| 264 | -} | |
| 265 | -.imagify-middle th { | |
| 266 | - padding-top: 35px; | |
| 267 | -} | |
| 268 | -.imagify-settings .button, | |
| 280 | + | |
| 281 | +/* Buttons */ | |
| 282 | +.imagify-main-content .button, | |
| 283 | +.imagify-settings-section .button, | |
| 269 | 284 | .imagify-welcome .button, |
| 270 | -.imagify-notice .button { | |
| 285 | +.imagify-notice .button, | |
| 286 | +.imagify-button.imagify-button, | |
| 287 | +.imagify-button-primary.imagify-button-primary, | |
| 288 | +.imagify-button-secondary.imagify-button-secondary { | |
| 271 | 289 | height: auto; |
| 272 | - padding: 8px 20px; | |
| 290 | + padding: 11px 22px; | |
| 273 | 291 | border: 0 none; |
| 274 | 292 | font-size: 14px; |
| 275 | 293 | font-weight: 600; |
| 294 | + text-transform: uppercase; | |
| 295 | + letter-spacing: 0.01em; | |
| 296 | + word-spacing: 0.01em; | |
| 276 | 297 | box-shadow: 0 3px 0 rgba(0, 0, 0, .15); |
| 298 | + border-radius: 3px; | |
| 299 | + cursor: pointer; | |
| 300 | + transition: all .275s; | |
| 277 | 301 | } |
| 278 | -.imagify-notice .button-mini { | |
| 279 | - padding: 2px 10px; | |
| 280 | - font-size: 13px; | |
| 281 | -} | |
| 302 | + | |
| 282 | 303 | .button-primary.button-mini { |
| 283 | 304 | padding: 2px 10px; |
| 284 | 305 | } |
| 285 | 306 | .imagify-settings .button.button-mini-flat { |
| @@ -285,9 +306,9 @@ | ||
| 285 | 306 | .imagify-settings .button.button-mini-flat { |
| 286 | 307 | padding: 3px 6px 5px; |
| 287 | 308 | font-size: 12px; |
| 288 | 309 | box-shadow: none!important; |
| 289 | - line-height: 1.2; | |
| 310 | + line-height: 1.2; | |
| 290 | 311 | } |
| 291 | 312 | .imagify-settings .button.button-mini-flat:hover, |
| 292 | 313 | .imagify-settings .button.button-mini-flat:focus { |
| 293 | 314 | box-shadow: none!important; |
| @@ -292,9 +313,10 @@ | ||
| 292 | 313 | .imagify-settings .button.button-mini-flat:focus { |
| 293 | 314 | box-shadow: none!important; |
| 294 | 315 | } |
| 295 | 316 | |
| 296 | -.imagify-title .button-ghost.button-ghost { | |
| 317 | +.imagify-title .button-ghost.button-ghost, | |
| 318 | +.imagify-button-ghost.imagify-button-ghost { | |
| 297 | 319 | padding: 2px 9px; |
| 298 | 320 | border: 1px solid #40B1D0; |
| 299 | 321 | font-size: 12px; |
| 300 | 322 | font-weight: normal; |
| @@ -299,60 +321,207 @@ | ||
| 299 | 321 | font-size: 12px; |
| 300 | 322 | font-weight: normal; |
| 301 | 323 | color: #40B1D0; |
| 302 | 324 | background: transparent; |
| 325 | + box-shadow: none; | |
| 303 | 326 | } |
| 304 | 327 | .imagify-title .button-ghost.button-ghost:hover, |
| 305 | -.imagify-title .button-ghost.button-ghost:focus { | |
| 328 | +.imagify-title .button-ghost.button-ghost:focus, | |
| 329 | +.imagify-button-ghost.imagify-button-ghost:hover, | |
| 330 | +.imagify-button-ghost.imagify-button-ghost:focus { | |
| 306 | 331 | border-color: transparent; |
| 307 | 332 | color: #000; |
| 308 | 333 | background: #40B1D0; |
| 309 | 334 | } |
| 310 | -.button .dashicons { | |
| 335 | +.imagify-button-ghost.imagify-button-ghost:hover, | |
| 336 | +.imagify-button-ghost.imagify-button-ghost:focus { | |
| 337 | + color: #FFF; | |
| 338 | +} | |
| 339 | +.imagify-button-medium.imagify-button-medium { | |
| 340 | + text-transform: uppercase; | |
| 341 | + letter-spacing: 0.1em; | |
| 342 | + padding: 3px 10px; | |
| 343 | + font-weight: bold; | |
| 344 | +} | |
| 345 | +.imagify-button-medium.imagify-button-ghost { | |
| 346 | + border-width: 2px; | |
| 347 | +} | |
| 348 | +[class*="imagify-"] .button .dashicons { | |
| 311 | 349 | margin-right: 5px; |
| 312 | 350 | vertical-align: middle; |
| 351 | + line-height: 1; | |
| 313 | 352 | } |
| 353 | + | |
| 314 | 354 | .imagify-settings .button-primary.button-primary, |
| 315 | -.imagify-welcome .button-primary.button-primary { | |
| 355 | +.imagify-welcome .button-primary.button-primary, | |
| 356 | +.imagify-button-primary.imagify-button-primary { | |
| 316 | 357 | background: #40B1D0; |
| 317 | 358 | color: #FFF; |
| 318 | 359 | box-shadow: 0 3px 0 rgba(51, 142, 166, 1); |
| 319 | - text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799 | |
| 360 | + text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799!important; | |
| 320 | 361 | } |
| 362 | +.imagify-button-secondary.imagify-button-secondary { | |
| 363 | + background: #8BC34A; | |
| 364 | + color: #FFF; | |
| 365 | + box-shadow: 0 3px 0 #6F9C3B; | |
| 366 | + text-shadow: 0 -1px 1px #6F9C3B, 1px 0 1px #6F9C3B, 0 1px 1px #6F9C3B!important; | |
| 367 | +} | |
| 321 | 368 | .imagify-settings .button-primary:hover, |
| 322 | 369 | .imagify-settings .button-primary:focus, |
| 323 | 370 | .imagify-welcome .button-primary:hover, |
| 324 | -.imagify-welcome .button-primary:focus { | |
| 371 | +.imagify-welcome .button-primary:focus, | |
| 372 | +.imagify-button-primary.imagify-button-primary:hover, | |
| 373 | +.imagify-button-primary.imagify-button-primary:focus { | |
| 325 | 374 | background: rgb(51, 142, 166); |
| 326 | 375 | box-shadow: 0 3px 0 rgb(31, 122, 146); |
| 327 | 376 | } |
| 328 | -.imagify-settings input[type="text"] { | |
| 329 | - color: #4A4A4A; | |
| 330 | - font-weight: 600; | |
| 377 | +.imagify-button-secondary.imagify-button-secondary:hover, | |
| 378 | +.imagify-button-secondary.imagify-button-secondary:focus { | |
| 379 | + background: #6F9C3B; | |
| 380 | + color: #FFF; | |
| 381 | +} | |
| 382 | + | |
| 383 | +.imagify-button-light.imagify-button-light { | |
| 384 | + background: #FFF; | |
| 385 | + color: #4a4a4a; | |
| 386 | + box-shadow: 0 2px 0 rgba(0, 0, 0, .2); | |
| 387 | +} | |
| 388 | +.imagify-block-secondary .imagify-button-light.imagify-button-light { | |
| 389 | + color: #6F9C3B; | |
| 390 | +} | |
| 391 | +.imagify-button-light.imagify-button-light:hover, | |
| 392 | +.imagify-button-light.imagify-button-light:focus { | |
| 393 | + color: #FFF; | |
| 394 | + background: rgba(0, 0, 0, .2); | |
| 395 | +} | |
| 396 | + | |
| 397 | +/* Buttons clean */ | |
| 398 | +.button.imagify-button-clean, | |
| 399 | +.imagify-button-clean { | |
| 400 | + padding: 0; | |
| 401 | + background: transparent; | |
| 331 | 402 | box-shadow: none; |
| 332 | 403 | } |
| 333 | -.imagify-settings p.submit .button-primary { | |
| 334 | - margin-left: 240px; | |
| 404 | +.imagify-button-clean .dashicons-plus { | |
| 405 | + width: 32px; | |
| 406 | + height: 25px; | |
| 335 | 407 | } |
| 336 | -@media (max-width: 850px) { | |
| 337 | - .imagify-settings p.submit .button-primary { | |
| 338 | - margin-left: 0px; | |
| 339 | - } | |
| 340 | - .imagify-settings p.submit { | |
| 341 | - text-align: center; | |
| 342 | - } | |
| 408 | +.imagify-button-clean .dashicons-plus:before { | |
| 409 | + display: flex; | |
| 410 | + align-items: center; | |
| 411 | + justify-content: center; | |
| 412 | + width: 25px; | |
| 413 | + height: 22px; | |
| 414 | + margin-left: 2px; | |
| 415 | + padding-top: 3px; | |
| 416 | + font-size: 17px; | |
| 417 | + background: #40B1D0; | |
| 418 | + color: #FFF; | |
| 419 | + transition: all .275s; | |
| 343 | 420 | } |
| 421 | +.button.imagify-button-clean:hover, | |
| 422 | +.button.imagify-button-clean:focus, | |
| 423 | +.button.imagify-button-clean:active, | |
| 424 | +.button.imagify-button-clean[disabled] { | |
| 425 | + background: transparent!important; | |
| 426 | + color: #343A49; | |
| 427 | + box-shadow: none; | |
| 428 | +} | |
| 429 | +.button.imagify-button-clean:hover .dashicons-plus:before, | |
| 430 | +.button.imagify-button-clean:focus .dashicons-plus:before { | |
| 431 | + background: #343A49; | |
| 432 | +} | |
| 344 | 433 | |
| 434 | +/* Buttons link-like */ | |
| 435 | +button.imagify-link-like { | |
| 436 | + border: 0; | |
| 437 | + padding: 0; | |
| 438 | + color: inherit; | |
| 439 | + text-decoration: underline; | |
| 440 | + font-size: 13px; | |
| 441 | + box-shadow: none; | |
| 442 | + background: transparent; | |
| 443 | + cursor: pointer; | |
| 444 | +} | |
| 345 | 445 | |
| 346 | -/* Header & Subheader */ | |
| 446 | +/* Modifier */ | |
| 447 | +.imagify-section-positive .imagify-button-light { | |
| 448 | + color: #709A41; | |
| 449 | +} | |
| 450 | +.imagify-button.imagify-button-big { | |
| 451 | + font-size: 15px; | |
| 452 | + padding: 11px 30px; | |
| 453 | +} | |
| 454 | +.imagify-button-big .dashicons { | |
| 455 | + font-size: 1.45em; | |
| 456 | + margin-right: 6px; | |
| 457 | + margin-left: -4px; | |
| 458 | +} | |
| 347 | 459 | |
| 460 | +.imagify-settings .button .dashicons, | |
| 461 | +.imagify-welcome .button .dashicons, | |
| 462 | +.imagify-notice .button .dashicons, | |
| 463 | +.imagify-button.imagify-button .dashicons, | |
| 464 | +.imagify-button-primary.imagify-button-primary .dashicons, | |
| 465 | +.imagify-button-secondary.imagify-button-secondary .dashicons { | |
| 466 | + vertical-align: middle; | |
| 467 | + line-height: 1; | |
| 468 | +} | |
| 469 | + | |
| 470 | +[class*="imagify-"] .button-text { | |
| 471 | + display: inline-block; | |
| 472 | + vertical-align: middle; | |
| 473 | +} | |
| 474 | + | |
| 475 | +/* Exception in Media edition page and post Edition pages (insert media popin) */ | |
| 476 | +.wp_attachment_image .imagify-button-primary, | |
| 477 | +.media-frame-content .imagify-button-primary { | |
| 478 | + padding: 0 10px 1px; | |
| 479 | + margin: 0 5px 2px 0; | |
| 480 | + font-size: 13px; | |
| 481 | + line-height: 26px; | |
| 482 | + box-shadow: 0 3px 0 rgba(51, 142, 166, 1); | |
| 483 | +} | |
| 484 | +.wp_attachment_image .imagify-button-primary { | |
| 485 | + float: left; | |
| 486 | +} | |
| 487 | + | |
| 488 | +/** | |
| 489 | + * == Header & Subheader & Sections | |
| 490 | + * | |
| 491 | + * (options, Welcome Notice, Bulk) | |
| 492 | + */ | |
| 348 | 493 | .imagify-title.imagify-title { |
| 349 | 494 | position: relative; |
| 350 | - padding: 30px 50px; | |
| 495 | + padding: 10px 30px; | |
| 351 | 496 | font-size: 23px; |
| 352 | - background: #2E3243; | |
| 497 | + background: #1F2332; | |
| 353 | 498 | color: #FFF; |
| 354 | 499 | } |
| 500 | +.imagify-welcome .imagify-logo { | |
| 501 | + opacity: 1; | |
| 502 | +} | |
| 503 | +.imagify-welcome .imagify-title { | |
| 504 | + display: flex; | |
| 505 | + padding: 20px 30px; | |
| 506 | +} | |
| 507 | +.imagify-settings .imagify-title { /* (options and bulk) */ | |
| 508 | + display: flex; | |
| 509 | + justify-content: space-between; | |
| 510 | + align-items: center; | |
| 511 | +} | |
| 512 | +.imagify-settings .imagify-logo-block { | |
| 513 | + display: flex; | |
| 514 | + align-items: center; | |
| 515 | + flex-shrink: 0; | |
| 516 | + flex-grow: 0; | |
| 517 | + padding: 0; | |
| 518 | + margin-right: 35px; | |
| 519 | + color: inherit; | |
| 520 | +} | |
| 521 | +.imagify-logo-block sup { | |
| 522 | + color: #1F2332; | |
| 523 | +} | |
| 355 | 524 | .imagify-settings .imagify-title + .imagify-notice { |
| 356 | 525 | margin: 0; |
| 357 | 526 | border-right: 1px solid #D9D9D9; |
| 358 | 527 | padding-top: 15px; |
| @@ -357,85 +526,141 @@ | ||
| 357 | 526 | border-right: 1px solid #D9D9D9; |
| 358 | 527 | padding-top: 15px; |
| 359 | 528 | padding-bottom: 15px; |
| 360 | 529 | } |
| 530 | +.imagify-title .title-text { | |
| 531 | + font-size: 28px; | |
| 532 | + font-weight: bold; | |
| 533 | + color: #FFF; | |
| 534 | +} | |
| 535 | +.imagify-lb-icon { | |
| 536 | + padding-right: 18px; | |
| 537 | +} | |
| 538 | +.imagify-lb-text img { | |
| 539 | + margin-bottom: .15em; | |
| 540 | +} | |
| 541 | +.imagify-lb-text { | |
| 542 | + font-size: 23px; | |
| 543 | + font-weight: bold; | |
| 544 | + color: #FFF; | |
| 545 | +} | |
| 361 | 546 | .imagify-logo { |
| 547 | + display: block; | |
| 362 | 548 | vertical-align: top; |
| 549 | + opacity: .4; | |
| 363 | 550 | } |
| 364 | 551 | .imagify-sub-header, |
| 365 | -.imagify-sub-title.imagify-sub-title, | |
| 366 | -.imagify-settings div.submit { /* heavier is better */ | |
| 552 | +.imagify-sub-title.imagify-sub-title, /* heavier is better */ | |
| 553 | +.imagify-settings div.submit, | |
| 554 | +.imagify-section { | |
| 367 | 555 | margin: 0; |
| 368 | 556 | padding: 20px; |
| 369 | 557 | background: #F2F5F7; |
| 370 | 558 | } |
| 559 | +.imagify-sub-title.imagify-sub-title, | |
| 560 | +.imagify-section-positive { | |
| 561 | + padding-left: 40px; | |
| 562 | +} | |
| 563 | +.imagify-section-positive { | |
| 564 | + background: #8cc152; | |
| 565 | + color: #FFF; | |
| 566 | +} | |
| 567 | +.imagify-section-positive p { | |
| 568 | + color: #FFF | |
| 569 | +} | |
| 570 | +.imagify-section-gray { | |
| 571 | + background: #D9E4EB; | |
| 572 | +} | |
| 573 | +.imagify-section-gray .imagify-count-title { | |
| 574 | + color: #4a4a4a; | |
| 575 | +} | |
| 576 | +.imagify-section p:first-child { | |
| 577 | + margin-top: 0; | |
| 578 | +} | |
| 579 | +.imagify-section p:last-child { | |
| 580 | + margin-bottom: 0; | |
| 581 | +} | |
| 371 | 582 | |
| 372 | -.imagify-bulk-info { | |
| 373 | - margin: 1em 1em 1em 240px; | |
| 374 | - transition: margin .3s; | |
| 583 | +/* Documentation link */ | |
| 584 | +.imagify-settings .imagify-documentation-link-box { | |
| 585 | + display: flex; | |
| 586 | + padding: 12px 13px 14px; | |
| 587 | + border: 1px solid #40b1d0; | |
| 588 | + color: #E5EBEF; | |
| 589 | + border-radius: 3px; | |
| 375 | 590 | } |
| 376 | -@media (max-width: 850px) { | |
| 377 | - .imagify-bulk-info { | |
| 378 | - margin: 1em; | |
| 379 | - } | |
| 591 | +.imagify-documentation-link-icon { | |
| 592 | + width: 23px; | |
| 593 | + height: 31px; | |
| 594 | + font-size: 2.6em; | |
| 595 | + margin-right: 15px; | |
| 596 | + line-height: 1.3; | |
| 380 | 597 | } |
| 381 | -.imagify-bulk-info p { | |
| 382 | - display: inline-block; | |
| 383 | - text-align: left; | |
| 384 | - width: 400px; | |
| 385 | - max-width: 100%; | |
| 598 | +.imagify-documentation-link-box span { | |
| 599 | + font-size: 12px; | |
| 600 | +} | |
| 601 | +.imagify-documentation-link-box a { | |
| 386 | 602 | font-weight: bold; |
| 387 | 603 | } |
| 388 | 604 | |
| 389 | -@media (min-width: 1500px) { | |
| 390 | - .imagify-settings div.submit { | |
| 391 | - display: table; | |
| 392 | - width: 100%; | |
| 605 | +@media (max-width: 1120px) { | |
| 606 | + .imagify-settings .imagify-title { | |
| 607 | + flex-wrap: wrap; | |
| 393 | 608 | } |
| 394 | - .imagify-settings div.submit > * { | |
| 395 | - display: table-cell; | |
| 396 | - vertical-align: middle; | |
| 397 | - } | |
| 398 | - .imagify-bulk-info { | |
| 399 | - padding: 0 25px; | |
| 400 | - text-align: right; | |
| 401 | - } | |
| 402 | 609 | } |
| 403 | -.imagify-settings div.submit { | |
| 404 | - margin-top: 2em; | |
| 405 | - padding: 20px 0; | |
| 610 | + | |
| 611 | +.imagify-settings-section { | |
| 612 | + padding: 10px 20px; | |
| 406 | 613 | } |
| 407 | -.imagify-sub-header th { | |
| 408 | - text-align: right; | |
| 614 | +.imagify-account-info-col .imagify-settings-section { | |
| 615 | + padding-right: 0; | |
| 409 | 616 | } |
| 410 | -.imagify-sub-header .form-table { | |
| 411 | - margin: 0; | |
| 617 | +.imagify-settings-main-content, | |
| 618 | +.imagify-welcome .imagify-settings-section { | |
| 619 | + border: 1px solid #D9D9D9; | |
| 620 | + border-top-width: 0; | |
| 621 | + background: #FFF; | |
| 412 | 622 | } |
| 413 | -.imagify-sub-header th, | |
| 414 | -.imagify-sub-header td { | |
| 415 | - padding-top: 0; | |
| 416 | - padding-bottom: 0; | |
| 623 | + | |
| 624 | +.imagify-settings-main-content { | |
| 625 | + padding-bottom: 20px; | |
| 417 | 626 | } |
| 418 | -[for="api_key"] { | |
| 419 | - padding-top: 5px; | |
| 627 | +.imagify-settings-main-content p, | |
| 628 | +.imagify-settings-main-content .imagify-setting-line { | |
| 629 | + font-size: 14px; | |
| 630 | + line-height: 1.5; | |
| 420 | 631 | } |
| 421 | 632 | |
| 422 | -.imagify-notice .imagify-rate-us.imagify-rate-us { | |
| 423 | - position: relative; | |
| 424 | - bottom: 0; right: 0; | |
| 425 | - text-align: left; | |
| 633 | +.imagify-settings-main-content .code { | |
| 634 | + max-height: 10em; | |
| 635 | + padding: 3px 5px 2px 5px; | |
| 636 | + overflow: auto; | |
| 637 | + background: #EAEAEA; | |
| 638 | + background: rgba(0,0,0,.07); | |
| 426 | 639 | } |
| 427 | 640 | |
| 428 | -.imagify-notice .imagify-rate-us .stars { | |
| 429 | - margin: 0; | |
| 641 | +.imagify-settings-main-content + .imagify-settings-main-content { | |
| 642 | + margin-top: 20px; | |
| 643 | + border-top-width: 1px; | |
| 430 | 644 | } |
| 431 | 645 | |
| 646 | +.imagify-br { | |
| 647 | + line-height: 2; | |
| 648 | +} | |
| 649 | + | |
| 650 | +/* New to imagify, title */ | |
| 651 | +p.imagify-section-title.imagify-section-title { | |
| 652 | + font-size: 20px; | |
| 653 | + margin-top: -.3em; | |
| 654 | + margin-bottom: -.6em; | |
| 655 | +} | |
| 656 | + | |
| 657 | +/** | |
| 658 | + * == Rating (Notice + Settings) | |
| 659 | + */ | |
| 432 | 660 | .imagify-rate-us.imagify-rate-us { |
| 433 | - position: absolute; | |
| 434 | - bottom: 50%; | |
| 435 | - right: 20px; | |
| 436 | 661 | text-align: right; |
| 437 | - margin-bottom: -2.4em; | |
| 662 | + margin: -1em -2.4em -1em 0; | |
| 438 | 663 | color: #FFF; |
| 439 | 664 | } |
| 440 | 665 | .imagify-rate-us a { |
| 441 | 666 | color: #40B1D0; |
| @@ -468,32 +693,21 @@ | ||
| 468 | 693 | margin-left: 0; |
| 469 | 694 | } |
| 470 | 695 | } |
| 471 | 696 | |
| 472 | - | |
| 473 | -/* Sections */ | |
| 474 | - | |
| 475 | -.imagify-settings-section { | |
| 476 | - padding: 10px 20px; | |
| 477 | -} | |
| 478 | -[id="imagify-settings"], | |
| 479 | -.imagify-welcome .imagify-settings-section { | |
| 480 | - border: 1px solid #D9D9D9; | |
| 481 | - border-top: 0 none; | |
| 482 | - background: #FFF; | |
| 483 | -} | |
| 484 | -.imagify-br { | |
| 485 | - line-height: 2; | |
| 486 | -} | |
| 487 | - | |
| 488 | - | |
| 489 | -/* Some colors */ | |
| 697 | +/** | |
| 698 | + * == Messages & infos | |
| 699 | + */ | |
| 490 | 700 | .imagify-important { |
| 491 | 701 | color: #F5A623; |
| 492 | 702 | } |
| 703 | +.imagify-success, | |
| 704 | +.imagify-settings .imagify-success { | |
| 705 | + color: #8BC34A; | |
| 706 | +} | |
| 493 | 707 | .imagify-info, |
| 494 | 708 | .imagify-info a { |
| 495 | - color: #40B1D0; | |
| 709 | + color: #7A8996; | |
| 496 | 710 | font-size: 12px; |
| 497 | 711 | } |
| 498 | 712 | .imagify-info { |
| 499 | 713 | position: relative; |
| @@ -498,55 +712,27 @@ | ||
| 498 | 712 | .imagify-info { |
| 499 | 713 | position: relative; |
| 500 | 714 | display: inline-block; |
| 501 | 715 | padding-left: 25px; |
| 502 | - vertical-align: top; | |
| 503 | 716 | } |
| 504 | 717 | .imagify-info .dashicons { |
| 505 | 718 | position: absolute; |
| 506 | - left: 0; top: -1px; | |
| 719 | + left: 0; top: 0; | |
| 720 | + color: #40B1D0; | |
| 507 | 721 | } |
| 508 | -label + .imagify-info, | |
| 509 | -label + .imagify-options-line, | |
| 510 | -.imagify-visual-label { | |
| 511 | - display: inline-block; | |
| 512 | - max-width: 70%; | |
| 513 | - margin-left: 15px; | |
| 514 | - margin-top: 2px!important; | |
| 515 | - -webkit-transition: opacity .3s; | |
| 516 | - transition: opacity .3s; | |
| 517 | -} | |
| 518 | -.imagify-visual-label { | |
| 519 | - vertical-align: -5px; | |
| 520 | -} | |
| 521 | -label[for="imagify_sizes_full"] + .imagify-info { | |
| 522 | - vertical-align: middle; | |
| 523 | -} | |
| 524 | 722 | |
| 525 | -.imagify-settings.imagify-settings [type="checkbox"]:not(:checked) + label + .imagify-options-line, | |
| 526 | -.imagify-settings.imagify-settings [type="checkbox"]:not(:checked) + label .imagify-visual-label { | |
| 527 | - opacity: .5; | |
| 528 | -} | |
| 529 | -.imagify-settings.imagify-settings [type="checkbox"]:checked + label + .imagify-options-line, | |
| 530 | -.imagify-settings.imagify-settings [type="checkbox"]:checked + label .imagify-visual-label { | |
| 531 | - opacity: 1; | |
| 532 | -} | |
| 533 | - | |
| 534 | -.imagify-checkbox-marged { | |
| 535 | - max-width: 500px; | |
| 536 | - margin-left: 45px; | |
| 537 | -} | |
| 538 | - | |
| 539 | - | |
| 540 | - | |
| 541 | 723 | /* Custom checkboxes in CSS */ |
| 542 | - | |
| 543 | 724 | .imagify-settings.imagify-settings [type="checkbox"]:not(:checked), |
| 544 | -.imagify-settings.imagify-settings [type="checkbox"]:checked { | |
| 725 | +.imagify-settings.imagify-settings [type="checkbox"]:checked, | |
| 726 | +.imagify-checkbox.imagify-checkbox:not(:checked), | |
| 727 | +.imagify-checkbox.imagify-checkbox:checked { | |
| 728 | + position: absolute; | |
| 545 | 729 | opacity: 0.01; |
| 546 | 730 | } |
| 547 | 731 | .imagify-settings.imagify-settings [type="checkbox"]:not(:checked):focus, |
| 548 | -.imagify-settings.imagify-settings [type="checkbox"]:checked:focus { | |
| 732 | +.imagify-settings.imagify-settings [type="checkbox"]:checked:focus, | |
| 733 | +.imagify-checkbox.imagify-checkbox:not(:checked):focus, | |
| 734 | +.imagify-checkbox.imagify-checkbox:checked:focus { | |
| 549 | 735 | box-shadow: none!important; /* system value to override */ |
| 550 | 736 | outline: none!important; |
| 551 | 737 | border: 0 none!important; |
| 552 | 738 | } |
| @@ -551,33 +737,46 @@ | ||
| 551 | 737 | border: 0 none!important; |
| 552 | 738 | } |
| 553 | 739 | |
| 554 | 740 | .imagify-settings [type="checkbox"]:not(:checked) + label, |
| 555 | -.imagify-settings [type="checkbox"]:checked + label { | |
| 741 | +.imagify-settings [type="checkbox"]:checked + label, | |
| 742 | +.imagify-checkbox.imagify-checkbox:not(:checked) + label, | |
| 743 | +.imagify-checkbox.imagify-checkbox:checked + label { | |
| 556 | 744 | position: relative; |
| 557 | - padding-left: 6px; | |
| 745 | + display: flex; | |
| 746 | + align-items: center; | |
| 747 | + min-height: 24px; | |
| 748 | + padding-left: 40px; | |
| 558 | 749 | cursor: pointer; |
| 559 | - vertical-align: top; | |
| 750 | + font-size: 14px; | |
| 751 | + font-weight: bold; | |
| 752 | + color: #2E3243; | |
| 560 | 753 | } |
| 561 | 754 | |
| 562 | 755 | /* checkbox aspect */ |
| 563 | 756 | .imagify-settings [type="checkbox"]:not(:checked) + label:before, |
| 564 | -.imagify-settings [type="checkbox"]:checked + label:before { | |
| 757 | +.imagify-settings [type="checkbox"]:checked + label:before, | |
| 758 | +.imagify-checkbox.imagify-checkbox:not(:checked) + label:before, | |
| 759 | +.imagify-checkbox.imagify-checkbox:checked + label:before { | |
| 565 | 760 | content: ''; |
| 566 | 761 | position: absolute; |
| 567 | 762 | left: 0; top: 0; |
| 568 | - width: 28px; height: 28px; | |
| 569 | - margin: 0 0 0 -24px; | |
| 763 | + width: 22px; height: 22px; | |
| 570 | 764 | border: 2px solid #8BA6B4; |
| 571 | 765 | background: #FFFFFF; |
| 572 | - border-radius: 4px; | |
| 766 | + border-radius: 3px; | |
| 573 | 767 | } |
| 574 | 768 | /* checked mark aspect */ |
| 575 | 769 | .imagify-settings [type="checkbox"]:not(:checked) + label:after, |
| 576 | -.imagify-settings [type="checkbox"]:checked + label:after { | |
| 577 | - content: url('../images/check.svg'); | |
| 770 | +.imagify-settings [type="checkbox"]:checked + label:after, | |
| 771 | +.imagify-checkbox.imagify-checkbox:not(:checked) + label:after, | |
| 772 | +.imagify-checkbox.imagify-checkbox:checked + label:after { | |
| 773 | + content: "✓"; | |
| 578 | 774 | position: absolute; |
| 579 | - top: 8px; left: -16px; | |
| 775 | + font-size: 1.4em; | |
| 776 | + top: -2px; left: 4.5px; | |
| 777 | + color: #8BA6B4; | |
| 778 | + font-weight: normal; | |
| 580 | 779 | -webkit-transition: all .2s; |
| 581 | 780 | -moz-transition: all .2s; |
| 582 | 781 | -ms-transition: all .2s; |
| 583 | 782 | transition: all .2s; |
| @@ -583,14 +782,17 @@ | ||
| 583 | 782 | transition: all .2s; |
| 584 | 783 | } |
| 585 | 784 | /* disabled aspect */ |
| 586 | 785 | .imagify-settings [type="checkbox"][disabled]:not(:checked) + label:before, |
| 587 | -.imagify-settings [type="checkbox"][disabled]:checked + label:before { | |
| 786 | +.imagify-settings [type="checkbox"][disabled]:checked + label:before, | |
| 787 | +.imagify-checkbox.imagify-checkbox[disabled]:not(:checked) + label:before, | |
| 788 | +.imagify-checkbox.imagify-checkbox[disabled]:checked + label:before { | |
| 588 | 789 | border-color: #ccc; |
| 589 | 790 | background: #ddd; |
| 590 | 791 | } |
| 591 | 792 | /* checked mark aspect changes */ |
| 592 | -.imagify-settings [type="checkbox"]:not(:checked) + label:after { | |
| 793 | +.imagify-settings [type="checkbox"]:not(:checked) + label:after, | |
| 794 | +.imagify-checkbox.imagify-checkbox:not(:checked) + label:after { | |
| 593 | 795 | opacity: 0; |
| 594 | 796 | -webkit-transform: scale(0); |
| 595 | 797 | -moz-transform: scale(0); |
| 596 | 798 | -ms-transform: scale(0); |
| @@ -595,9 +797,10 @@ | ||
| 595 | 797 | -moz-transform: scale(0); |
| 596 | 798 | -ms-transform: scale(0); |
| 597 | 799 | transform: scale(0); |
| 598 | 800 | } |
| 599 | -.imagify-settings [type="checkbox"]:checked + label:after { | |
| 801 | +.imagify-settings [type="checkbox"]:checked + label:after, | |
| 802 | +.imagify-checkbox.imagify-checkbox:checked + label:after { | |
| 600 | 803 | opacity: 1; |
| 601 | 804 | -webkit-transform: scale(1); |
| 602 | 805 | -moz-transform: scale(1); |
| 603 | 806 | -ms-transform: scale(1); |
| @@ -602,15 +805,30 @@ | ||
| 602 | 805 | -moz-transform: scale(1); |
| 603 | 806 | -ms-transform: scale(1); |
| 604 | 807 | transform: scale(1); |
| 605 | 808 | } |
| 606 | -input[id^="imagify_sizes_"]:checked + label { | |
| 607 | - font-weight: bold; | |
| 809 | + | |
| 810 | +/* medium version */ | |
| 811 | +.medium.imagify-checkbox:not(:checked) + label:before, | |
| 812 | +.medium.imagify-checkbox:checked + label:before { | |
| 813 | + width: 22px; | |
| 814 | + height: 22px; | |
| 815 | + border-width: 1.5px; | |
| 816 | + border-radius: 2px; | |
| 817 | + margin-top: 0; | |
| 608 | 818 | } |
| 819 | +.medium.imagify-checkbox:not(:checked) + label:after, | |
| 820 | +.medium.imagify-checkbox:checked + label:after { | |
| 821 | + font-size: 1.1em; | |
| 822 | + left: -17px; | |
| 823 | + top: 3px; | |
| 824 | +} | |
| 609 | 825 | |
| 610 | 826 | /* mini version */ |
| 611 | 827 | .imagify-settings .mini[type="checkbox"]:not(:checked) + label:before, |
| 612 | -.imagify-settings .mini[type="checkbox"]:checked + label:before { | |
| 828 | +.imagify-settings .mini[type="checkbox"]:checked + label:before, | |
| 829 | +.mini.imagify-checkbox:not(:checked) + label:before, | |
| 830 | +.mini.imagify-checkbox:checked + label:before { | |
| 613 | 831 | width: 15px; |
| 614 | 832 | height: 15px; |
| 615 | 833 | border-width: 1px; |
| 616 | 834 | border-radius: 2px; |
| @@ -616,20 +834,50 @@ | ||
| 616 | 834 | border-radius: 2px; |
| 617 | 835 | margin-top: 0; |
| 618 | 836 | } |
| 619 | 837 | .imagify-settings .mini[type="checkbox"]:not(:checked) + label:after, |
| 620 | -.imagify-settings .mini[type="checkbox"]:checked + label:after { | |
| 621 | - content: url("../images/check-mini.svg"); | |
| 622 | - left: -19px; | |
| 623 | - top: -1px; | |
| 838 | +.imagify-settings .mini[type="checkbox"]:checked + label:after, | |
| 839 | +.mini.imagify-checkbox:not(:checked) + label:after, | |
| 840 | +.mini.imagify-checkbox:checked + label:after { | |
| 841 | + font-size: .9em; | |
| 842 | + left: -21px; | |
| 843 | + top: -0.5px; | |
| 624 | 844 | } |
| 625 | 845 | /* focus aspect */ |
| 626 | 846 | .imagify-settings [type="checkbox"]:not(:checked):focus + label:before, |
| 627 | -.imagify-settings [type="checkbox"]:checked:focus + label:before { | |
| 847 | +.imagify-settings [type="checkbox"]:checked:focus + label:before, | |
| 848 | +.imagify-checkbox.imagify-checkbox:not(:checked):focus + label:before, | |
| 849 | +.imagify-checkbox.imagify-checkbox:checked:focus + label:before { | |
| 628 | 850 | border-style: dotted; |
| 629 | 851 | border-color: #40b1d0; |
| 630 | 852 | } |
| 631 | 853 | |
| 854 | +/* Checkbox groups */ | |
| 855 | +.imagify-check-group { | |
| 856 | + padding-left: 2px; | |
| 857 | + margin-bottom: 0; | |
| 858 | +} | |
| 859 | +.imagify-check-group.imagify-is-scrollable { | |
| 860 | + height: 15em; | |
| 861 | + overflow-y: auto; | |
| 862 | + padding: 8px; | |
| 863 | + margin: 1.5em 0 0 -8px; | |
| 864 | + background: #F4F7F9; | |
| 865 | + border: 1px solid #D2D3D6; | |
| 866 | + border-radius: 3px; | |
| 867 | +} | |
| 868 | +.imagify-is-scrollable legend + p { | |
| 869 | + margin-top: 0; | |
| 870 | +} | |
| 871 | +.imagify-is-scrollable [type="checkbox"]:not(:checked) + label:before, | |
| 872 | +.imagify-is-scrollable [type="checkbox"]:checked + label:before { | |
| 873 | + background: #F4F7F9; | |
| 874 | +} | |
| 875 | +.imagify-settings .imagify-check-group.imagify-check-group label { | |
| 876 | + color: #338EA6; | |
| 877 | + font-weight: 500; | |
| 878 | +} | |
| 879 | + | |
| 632 | 880 | /* Custom radio in CSS */ |
| 633 | 881 | .imagify-inline-options { |
| 634 | 882 | position: relative; |
| 635 | 883 | display: table; |
| @@ -636,13 +884,9 @@ | ||
| 636 | 884 | width: 100%; |
| 637 | 885 | max-width: 600px; |
| 638 | 886 | border-collapse: collapse; |
| 639 | 887 | } |
| 640 | -.imagify-inline-options:after { | |
| 641 | - content: ""; | |
| 642 | - display: table; | |
| 643 | - clear: both; | |
| 644 | -} | |
| 888 | + | |
| 645 | 889 | .imagify-inline-options input[type="radio"]:not(:checked), |
| 646 | 890 | .imagify-inline-options input[type="radio"]:checked { |
| 647 | 891 | position: absolute; |
| 648 | 892 | left: 5px; top: 5px; |
| @@ -647,15 +891,12 @@ | ||
| 647 | 891 | position: absolute; |
| 648 | 892 | left: 5px; top: 5px; |
| 649 | 893 | display: none; |
| 650 | 894 | } |
| 895 | + | |
| 651 | 896 | .imagify-inline-options input[type="radio"]:not(:checked) + label, |
| 652 | 897 | .imagify-inline-options input[type="radio"]:checked + label { |
| 653 | 898 | position: relative; |
| 654 | - /* | |
| 655 | - float: left; | |
| 656 | - padding: 13px 40px; | |
| 657 | - */ | |
| 658 | 899 | display: table-cell; |
| 659 | 900 | padding: 13px 10px; |
| 660 | 901 | text-align: center; |
| 661 | 902 | |
| @@ -664,22 +905,20 @@ | ||
| 664 | 905 | text-transform: uppercase; |
| 665 | 906 | letter-spacing: 0.1em; |
| 666 | 907 | color: #FFF; |
| 667 | 908 | background: #2E3243; |
| 668 | - border-left: 1px solid rgba(255, 255, 255, 0.2); | |
| 669 | - box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.1) inset, inset -1px 0 0 rgba(255, 255, 255, 0.2); | |
| 909 | + box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.1) inset; | |
| 670 | 910 | z-index: 2; |
| 671 | 911 | -webkit-transition: all .275s; |
| 672 | 912 | transition: all .275s; |
| 913 | + cursor: pointer; | |
| 673 | 914 | } |
| 674 | -.imagify-bulk-submit .imagify-inline-options input[type="radio"]:not(:checked) + label, | |
| 675 | -.imagify-bulk-submit .imagify-inline-options input[type="radio"]:checked + label { | |
| 676 | - margin-bottom: 1.75em; | |
| 677 | -} | |
| 915 | + | |
| 678 | 916 | .imagify-inline-options input[type="radio"]:not(:checked) + label:first-of-type, |
| 679 | 917 | .imagify-inline-options input[type="radio"]:checked + label:first-of-type { |
| 680 | 918 | border-radius: 3px 0 0 3px; |
| 681 | 919 | } |
| 920 | + | |
| 682 | 921 | .imagify-inline-options input[type="radio"]:not(:checked) + label:last-of-type, |
| 683 | 922 | .imagify-inline-options input[type="radio"]:checked + label:last-of-type { |
| 684 | 923 | border-radius: 0 3px 3px 0; |
| 685 | 924 | } |
| @@ -687,175 +926,82 @@ | ||
| 687 | 926 | .imagify-inline-options input[type="radio"]:checked + label { |
| 688 | 927 | background: #8BC34A |
| 689 | 928 | } |
| 690 | 929 | |
| 930 | +.imagify-inline-options input[type="radio"]:disabled + label { | |
| 931 | + background: #ccc; | |
| 932 | + color: #999; | |
| 933 | + cursor:not-allowed; | |
| 934 | +} | |
| 935 | + | |
| 691 | 936 | .imagify-inline-options .imagify-info { |
| 692 | 937 | margin-top: 15px; |
| 693 | 938 | } |
| 694 | -.imagify-btn-info { | |
| 695 | - display: block; | |
| 696 | - font-size: 0.7em; | |
| 697 | - letter-spacing: 0; | |
| 698 | - line-height: 1; | |
| 699 | - text-transform: none; | |
| 939 | + | |
| 940 | +/** | |
| 941 | + * Account information columns (Settings & Bulk) | |
| 942 | + */ | |
| 943 | +.imagify-col.imagify-col.imagify-account-info-col, | |
| 944 | +.imagify-account-info-col { | |
| 945 | + width: 380px; | |
| 946 | + max-width: 100%; | |
| 947 | + padding: 0 20px 0 0; | |
| 700 | 948 | } |
| 701 | - | |
| 702 | -/* Some inputs */ | |
| 703 | -#describe-resize-larger input { | |
| 704 | - width: 5em; | |
| 949 | +.imagify-col.imagify-col.imagify-shared-with-account-col, | |
| 950 | +.imagify-shared-with-account-col { | |
| 951 | + width: calc(100% - 380px); | |
| 952 | + padding: 0; | |
| 705 | 953 | } |
| 706 | 954 | |
| 707 | -/* Ads & columns */ | |
| 708 | -.imagify-col { | |
| 709 | - overflow: hidden; | |
| 955 | +.imagify-account-info-col .imagify-options-title { | |
| 956 | + padding: 24px 26px; | |
| 957 | + color: #FFF; | |
| 958 | + background: #1F2332; | |
| 710 | 959 | } |
| 711 | -.imagify-sidebar { | |
| 712 | - float: right; | |
| 713 | - width: 280px; | |
| 714 | - margin-left: 25px; | |
| 960 | +.imagify-block-secondary { | |
| 961 | + padding: 26px 26px 35px; | |
| 962 | + border: 1px solid #75A345; | |
| 963 | + background: #8BC34A; | |
| 964 | + border-radius: 3px; | |
| 965 | + color: #FFF; | |
| 715 | 966 | } |
| 716 | -.imagify-sidebar-section { | |
| 717 | - border: 1px solid #BBB; | |
| 718 | - background: #FFF; | |
| 967 | +.imagify-block-secondary.imagify-block-secondary p, | |
| 968 | +.imagify-account-info-col .imagify-block-secondary.imagify-block-secondary h3 { | |
| 969 | + color: inherit; | |
| 719 | 970 | } |
| 720 | -.imagify-sidebar-section + .imagify-sidebar-section { | |
| 721 | - margin-top: 2em; | |
| 971 | +.imagify-account-info-col .imagify-col-content h3:first-child { | |
| 972 | + margin-top: 0; | |
| 722 | 973 | } |
| 723 | -@media (max-width: 760px) { | |
| 724 | - .imagify-settings { | |
| 725 | - display: flex; | |
| 726 | - flex-direction: column; | |
| 727 | - } | |
| 728 | - .imagify-sidebar { | |
| 729 | - order: 2; | |
| 730 | - float: none; | |
| 731 | - width: auto; | |
| 732 | - margin-left: 0; | |
| 733 | - margin-top: 25px; | |
| 734 | - } | |
| 735 | - .wp-media-products { | |
| 736 | - text-align: center; | |
| 737 | - } | |
| 738 | - .wp-media-products li { | |
| 739 | - display: inline-block; | |
| 740 | - width: 100%; | |
| 741 | - max-width: 276px; | |
| 742 | - } | |
| 974 | +.imagify-account-info-col .imagify-col-content h3 { | |
| 975 | + font-size: 19px; | |
| 743 | 976 | } |
| 744 | -.imagify-sidebar-title { | |
| 745 | - display: block; | |
| 746 | - padding: 20px 15px; | |
| 747 | - border-bottom: 1px solid #BBB; | |
| 748 | - font-size: 14px; | |
| 749 | - font-weight: bold; | |
| 750 | - color: #23282d; | |
| 751 | - background: #F2F5F7; | |
| 977 | +.imagify-account-info-col .imagify-col-content p { | |
| 978 | + margin: 1.5em 0; | |
| 752 | 979 | } |
| 753 | -.imagify-sidebar-title img { | |
| 754 | - vertical-align: top; | |
| 755 | - margin-right: 5px; | |
| 756 | -} | |
| 757 | -.imagify-sidebar .wp-media-products { | |
| 980 | +.imagify-account-info-col .imagify-col-content p:first-child { | |
| 758 | 981 | margin-top: 0; |
| 759 | - margin-bottom: -.5em; | |
| 760 | 982 | } |
| 761 | -.imagify-sidebar .wp-media-products .links { | |
| 762 | - display: block; | |
| 763 | - padding: 85px 25px 24px; | |
| 764 | - text-align: center; | |
| 765 | - background-color: #2E3243; | |
| 766 | - background-size: contain; | |
| 767 | - background-repeat: no-repeat; | |
| 768 | - background-position: 50% 0; | |
| 769 | - text-decoration: none; | |
| 770 | -} | |
| 771 | -.imagify-sidebar .wp-media-products .links p { | |
| 772 | - margin: 1.5em auto; | |
| 773 | - color: #FFF; | |
| 774 | -} | |
| 775 | -.imagify-sidebar .wp-media-products .wprocket-link { | |
| 776 | - background-image: linear-gradient(to bottom, rgba(59, 30, 78 ,0), rgba(59, 30, 78 ,0) 130px, rgba(59 ,30 ,78 , 1) 210px), url("../images/sidebar-wp-rocket.jpg"); | |
| 777 | - background-color: #3B1E4E; | |
| 778 | - background-repeat: repeat-x, no-repeat; | |
| 779 | -} | |
| 780 | 983 | |
| 781 | -.imagify-sidebar-content { | |
| 782 | - padding: 10px 20px; | |
| 984 | +.imagify-user-plan-label { | |
| 985 | + float: right; | |
| 986 | + margin-top: -4px; | |
| 987 | + padding: 2px 10px; | |
| 988 | + border: 2px solid #40B1D0; | |
| 989 | + font-size: 14px; | |
| 990 | + text-transform: uppercase; | |
| 991 | + letter-spacing: 0.02em; | |
| 992 | + color: #40B1D0; | |
| 993 | + border-radius: 3px; | |
| 783 | 994 | } |
| 784 | 995 | |
| 785 | -.imagify-mark-styled { | |
| 786 | - display: inline-block; | |
| 787 | - padding: 1px 2px 1px 4px; | |
| 788 | - line-height: 1.3; | |
| 789 | - font-weight: bold; | |
| 790 | - background: #F7A933; | |
| 791 | - transform-origine: 50% 50%; | |
| 792 | - transform: rotateZ(-2deg) rotateX(-10deg) skewX(-2deg) skewY(-3deg); | |
| 793 | - text-shadow: 1px 1px 0 rgba(0,0,0,0.2); | |
| 996 | +/* Content given after remote answer, avoid "flash" effect on content */ | |
| 997 | +.imagify-user-plan-label:empty { | |
| 998 | + display: none; | |
| 794 | 999 | } |
| 795 | -.imagify-mark-styled span { | |
| 796 | - display: inline-block; | |
| 797 | - transform: rotateZ(2deg) rotateX(10deg) skewX(2deg) skewY(3deg); | |
| 798 | -} | |
| 799 | 1000 | |
| 800 | -.imagify-discount-code { | |
| 801 | - margin: 0.35em 0 .5em; | |
| 802 | - display: block; | |
| 803 | - font-size: 2em; | |
| 804 | - letter-spacing: .05em; | |
| 805 | - font-weight: bold; | |
| 806 | - text-align: center; | |
| 807 | - text-shadow: 1px 1px 0 rgba(0,0,0,0.2); | |
| 808 | -} | |
| 809 | -.imagify-big-text { | |
| 810 | - font-size: 15px; | |
| 811 | - font-weight: bold; | |
| 812 | -} | |
| 813 | -.imagify-big-text strong { | |
| 814 | - font-size: 20px; | |
| 815 | -} | |
| 816 | -a.btn-rocket { | |
| 817 | - display: block; | |
| 818 | - font-size: 1.15em; | |
| 819 | - padding: 12px; | |
| 820 | - background: #F7A933; | |
| 821 | - box-shadow: 0 3px 0 #D69626; | |
| 822 | - border-radius: 3px; | |
| 823 | - color: #FFF; | |
| 824 | - text-transform: uppercase; | |
| 825 | - font-weight: bold; | |
| 826 | - text-shadow: 1px 1px 0 rgba(0,0,0,0.2); | |
| 827 | - text-decoration: none; | |
| 828 | -} | |
| 829 | -a.btn-rocket:hover, | |
| 830 | -a.btn-rocket:focus { | |
| 831 | - background: darkorange; | |
| 832 | - box-shadow: 0 3px 0 darkorange; | |
| 833 | -} | |
| 834 | - | |
| 835 | - | |
| 836 | -/* | |
| 837 | - * == Welcome section | |
| 1001 | +/** | |
| 1002 | + * == Columns | |
| 838 | 1003 | */ |
| 839 | - | |
| 840 | -.imagify-welcome { | |
| 841 | - margin: 30px 20px 0 0; | |
| 842 | -} | |
| 843 | -.imagify-welcome .baseline { | |
| 844 | - display: inline-block; | |
| 845 | - margin: .2em 0 0 2em; | |
| 846 | - font-size: 17px; | |
| 847 | -} | |
| 848 | -.imagify-welcome .imagify-logo { | |
| 849 | - vertical-align: middle; | |
| 850 | -} | |
| 851 | -.imagify-welcome-remove { | |
| 852 | - position: absolute; | |
| 853 | - top: 50%; right: 15px; | |
| 854 | - margin-top: -8px; | |
| 855 | - color: #FFF; | |
| 856 | - text-decoration: none; | |
| 857 | -} | |
| 858 | 1004 | .imagify-columns { |
| 859 | 1005 | overflow: hidden; |
| 860 | 1006 | padding: 15px 0; |
| 861 | 1007 | counter-reset: cols; |
| @@ -869,19 +1015,17 @@ | ||
| 869 | 1015 | .imagify-columns .col-1-3 { |
| 870 | 1016 | width: 33.333%; |
| 871 | 1017 | padding-left: 28px; |
| 872 | 1018 | } |
| 1019 | +.imagify-columns .col-2-3 { | |
| 1020 | + width: 66.666%; | |
| 1021 | + padding-left: 28px | |
| 1022 | +} | |
| 873 | 1023 | .imagify-columns .col-1-2 { |
| 874 | 1024 | width: 50%; |
| 875 | 1025 | padding: 0 20px; |
| 876 | 1026 | } |
| 877 | -.imagify-columns .col-informations { | |
| 878 | - width: 41.6%; | |
| 879 | - padding-right: 30px; | |
| 880 | -} | |
| 881 | -.imagify-columns .col-statistics { | |
| 882 | - width: 25%; | |
| 883 | -} | |
| 1027 | + | |
| 884 | 1028 | @media (max-width: 830px) { |
| 885 | 1029 | .imagify-columns [class^="col-"] { |
| 886 | 1030 | float: none; |
| 887 | 1031 | margin-bottom: 1.5em; |
| @@ -893,99 +1037,10 @@ | ||
| 893 | 1037 | clear: both; |
| 894 | 1038 | padding-top: 1em; |
| 895 | 1039 | } |
| 896 | 1040 | } |
| 897 | -.imagify-columns [class^="col-"] img { | |
| 898 | - float: left; | |
| 899 | - margin-right: 18px; | |
| 900 | -} | |
| 901 | -.imagify-col-content { | |
| 902 | - overflow: hidden; | |
| 903 | -} | |
| 904 | -.imagify-col-title { | |
| 905 | - margin: 0 0 15px 0; | |
| 906 | - font-size: 23px; | |
| 907 | -} | |
| 908 | -.counter .imagify-col-title:before { | |
| 909 | - counter-increment: cols; | |
| 910 | - content: counter(cols) ". "; | |
| 911 | - color: #40B1D0; | |
| 912 | -} | |
| 913 | -.imagify-col-desc { | |
| 914 | - color: #5F758E; | |
| 915 | - margin-bottom: 2em; | |
| 916 | -} | |
| 917 | 1041 | |
| 918 | - | |
| 919 | -/* | |
| 920 | - * == Imagify Notices | |
| 921 | - */ | |
| 922 | -.imagify-notice.imagify-notice { | |
| 923 | - position: relative; | |
| 924 | - display: -webkit-box; | |
| 925 | - display: -webkit-flex; | |
| 926 | - display: -ms-flexbox; | |
| 927 | - display: flex; | |
| 928 | - padding: 0; | |
| 929 | - margin: 10px 20px 10px 2px; | |
| 930 | - border: 0 none; | |
| 931 | - background: #2E3243; | |
| 932 | - box-shadow: none; | |
| 933 | - color: #FFF; | |
| 934 | -} | |
| 935 | -@media (max-width:782px) { | |
| 936 | - .imagify-notice.imagify-notice, | |
| 937 | - .imagify-welcome { | |
| 938 | - margin-right: 12px; | |
| 939 | - } | |
| 940 | -} | |
| 941 | -@media (max-width: 450px) { | |
| 942 | - .imagify-notice.imagify-notice { | |
| 943 | - -webkit-box-orient: vertical; | |
| 944 | - -webkit-box-direction: normal; | |
| 945 | - -webkit-flex-direction: column; | |
| 946 | - -ms-flex-direction: column; | |
| 947 | - flex-direction: column; | |
| 948 | - } | |
| 949 | -} | |
| 950 | -.wrap .imagify-notice { | |
| 951 | - margin: 5px 15px 2px; | |
| 952 | - position: relative; | |
| 953 | -} | |
| 954 | -.imagify-notice-logo { | |
| 955 | - padding: 18px 23px; | |
| 956 | - background: #40B1D0; | |
| 957 | -} | |
| 958 | -.updated .imagify-notice-logo { | |
| 959 | - background: #8BC34A; | |
| 960 | -} | |
| 961 | -.error .imagify-notice-logo { | |
| 962 | - background: #D0021B; | |
| 963 | -} | |
| 964 | - | |
| 965 | -.imagify-notice-title { | |
| 966 | - font-size: 15px; | |
| 967 | -} | |
| 968 | - | |
| 969 | -.imagify-notice-content { | |
| 970 | - padding: 5px 23px; | |
| 971 | -} | |
| 972 | -.imagify-notice-content.imagify-notice-content p { | |
| 973 | - margin: 0.65em 0; | |
| 974 | -} | |
| 975 | -.imagify-notice a { | |
| 976 | - color: #40B1D0; | |
| 977 | -} | |
| 978 | -.imagify-notice a:hover, | |
| 979 | -.imagify-notice a:focus { | |
| 980 | - color: #FEE102; | |
| 981 | -} | |
| 982 | - | |
| 983 | -.imagify-notice code { | |
| 984 | - background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0; | |
| 985 | -} | |
| 986 | - | |
| 987 | -/* | |
| 1042 | +/** | |
| 988 | 1043 | * == Custom column & Metabox |
| 989 | 1044 | */ |
| 990 | 1045 | .column-imagify_optimized_file.column-imagify_optimized_file { |
| 991 | 1046 | width: 300px; |
| @@ -992,16 +1047,51 @@ | ||
| 992 | 1047 | text-align: center; |
| 993 | 1048 | vertical-align: middle; |
| 994 | 1049 | } |
| 995 | 1050 | .column-imagify_optimized_file > * { |
| 996 | - max-width: 235px; | |
| 1051 | + max-width: 21em; | |
| 997 | 1052 | margin: 0 auto; |
| 998 | 1053 | } |
| 999 | -ul.imagify-datas-list.imagify-datas-list { | |
| 1000 | - margin: 0 auto; | |
| 1001 | - color: #555; | |
| 1002 | - font-size: 10px; | |
| 1054 | +@media (min-width: 1151px) and (max-width: 1800px) { | |
| 1055 | + .column-imagify_optimized_file.column-imagify_optimized_file { | |
| 1056 | + width: 21em; | |
| 1057 | + } | |
| 1003 | 1058 | } |
| 1059 | +@media (min-width: 783px) and (max-width: 1150px) { | |
| 1060 | + .column-imagify_optimized_file.column-imagify_optimized_file { | |
| 1061 | + width: 13em; | |
| 1062 | + } | |
| 1063 | + table.media .column-title .has-media-icon ~ .row-actions.row-actions { | |
| 1064 | + margin-left: 0; | |
| 1065 | + } | |
| 1066 | +} | |
| 1067 | +@media (max-width: 782px) { | |
| 1068 | + table.media .column-imagify_optimized_file.column-imagify_optimized_file { | |
| 1069 | + text-align: left; | |
| 1070 | + } | |
| 1071 | + table.media .imagify-datas-more-action, | |
| 1072 | + table.media .imagify-datas-actions-links { | |
| 1073 | + text-align: center; | |
| 1074 | + } | |
| 1075 | + table.media .column-imagify_optimized_file > *, | |
| 1076 | + table.media .column-imagify_optimized_file .imagify-datas-actions-links a { | |
| 1077 | + max-width: 100%; | |
| 1078 | + margin-left: 0; | |
| 1079 | + } | |
| 1080 | +} | |
| 1081 | +@media (min-width: 783px) and (max-width: 1150px), (max-width: 360px) { | |
| 1082 | + table.media .imagify-hide-if-small { | |
| 1083 | + position: absolute; | |
| 1084 | + margin: -1px; | |
| 1085 | + padding: 0; | |
| 1086 | + height: 1px; | |
| 1087 | + width: 1px; | |
| 1088 | + overflow: hidden; | |
| 1089 | + clip: rect(0 0 0 0); | |
| 1090 | + border: 0; | |
| 1091 | + word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ | |
| 1092 | + } | |
| 1093 | +} | |
| 1004 | 1094 | .compat-field-imagify .label { |
| 1005 | 1095 | vertical-align: top; |
| 1006 | 1096 | } |
| 1007 | 1097 | .compat-field-imagify ul.imagify-datas-list { |
| @@ -1007,8 +1097,12 @@ | ||
| 1007 | 1097 | .compat-field-imagify ul.imagify-datas-list { |
| 1008 | 1098 | margin-top: 7px; |
| 1009 | 1099 | font-size: 11px; |
| 1010 | 1100 | } |
| 1101 | +ul.imagify-datas-list.imagify-datas-list { | |
| 1102 | + margin: 0 auto; | |
| 1103 | + color: #555; | |
| 1104 | +} | |
| 1011 | 1105 | ul.imagify-datas-list .big { |
| 1012 | 1106 | font-size: 12px; |
| 1013 | 1107 | color: #40B1D0; |
| 1014 | 1108 | } |
| @@ -1014,15 +1108,8 @@ | ||
| 1014 | 1108 | } |
| 1015 | 1109 | .imagify-data-item { |
| 1016 | 1110 | overflow: hidden; |
| 1017 | 1111 | } |
| 1018 | -.imagify-data-item .imagify-chart { | |
| 1019 | - display: inline-block; | |
| 1020 | - top: 1px; | |
| 1021 | - width: 20px; | |
| 1022 | - vertical-align: middle; | |
| 1023 | - margin-bottom: 0; | |
| 1024 | -} | |
| 1025 | 1112 | li.imagify-data-item { |
| 1026 | 1113 | clear: both; |
| 1027 | 1114 | margin-bottom: 2px; |
| 1028 | 1115 | } |
| @@ -1028,16 +1115,17 @@ | ||
| 1028 | 1115 | } |
| 1029 | 1116 | ul.imagify-datas-list .imagify-data-item span.data, |
| 1030 | 1117 | ul.imagify-datas-list .imagify-data-item strong { |
| 1031 | 1118 | float: left; |
| 1032 | - width: 50%; | |
| 1119 | + width: 38%; | |
| 1033 | 1120 | -webkit-box-sizing: border-box; |
| 1034 | 1121 | -moz-box-sizing: border-box; |
| 1035 | 1122 | box-sizing: border-box; |
| 1036 | 1123 | } |
| 1037 | 1124 | ul.imagify-datas-list .imagify-data-item span.data { |
| 1125 | + width: 62%; | |
| 1126 | + padding-right: 5px; | |
| 1038 | 1127 | text-align: left; |
| 1039 | - padding-right: 5px; | |
| 1040 | 1128 | } |
| 1041 | 1129 | .compat-field-imagify .imagify-datas-list .imagify-data-item .data { |
| 1042 | 1130 | width: 130px; |
| 1043 | 1131 | text-align: left; |
| @@ -1046,9 +1134,20 @@ | ||
| 1046 | 1134 | ul.imagify-datas-list .imagify-data-item strong { |
| 1047 | 1135 | text-align: left; |
| 1048 | 1136 | padding-left: 5px; |
| 1049 | 1137 | } |
| 1050 | - | |
| 1138 | +.media-sidebar .imagify-datas-list .imagify-data-item .data { | |
| 1139 | + width: auto; | |
| 1140 | + float: none; | |
| 1141 | +} | |
| 1142 | +.media-sidebar .imagify-datas-list .imagify-data-item strong { | |
| 1143 | + display: inline-block; | |
| 1144 | + width: auto; | |
| 1145 | + float: none; | |
| 1146 | +} | |
| 1147 | +.media-sidebar .imagify-datas-list .imagify-data-item .imagify-chart { | |
| 1148 | + float: left; | |
| 1149 | +} | |
| 1051 | 1150 | .imagify-datas-more-action.imagify-datas-more-action { |
| 1052 | 1151 | margin: .4em auto; |
| 1053 | 1152 | background: linear-gradient(to bottom, transparent, transparent 49%, rgba(0,0,0,.075) 50%, rgba(0,0,0,.075) 58%, transparent 58%, transparent); |
| 1054 | 1153 | } |
| @@ -1080,10 +1179,10 @@ | ||
| 1080 | 1179 | } |
| 1081 | 1180 | .imagify-datas-more-action .the-text { |
| 1082 | 1181 | display: inline-block; |
| 1083 | 1182 | vertical-align: middle; |
| 1084 | - height: 20px; | |
| 1085 | - line-height: 20px; | |
| 1183 | + height: auto; | |
| 1184 | + line-height: inherit; | |
| 1086 | 1185 | } |
| 1087 | 1186 | |
| 1088 | 1187 | ul.imagify-datas-details.imagify-datas-details { |
| 1089 | 1188 | margin: .7em auto; |
| @@ -1098,10 +1197,17 @@ | ||
| 1098 | 1197 | .imagify-datas-actions-links { |
| 1099 | 1198 | overflow: hidden; |
| 1100 | 1199 | border-top: 2px solid transparent; |
| 1101 | 1200 | padding-top: 5px; |
| 1102 | - font-size: 8px; | |
| 1201 | + font-size: 11px; | |
| 1103 | 1202 | } |
| 1203 | +.nggform .imagify-datas-actions-links { | |
| 1204 | + position: relative; | |
| 1205 | + z-index: 2; | |
| 1206 | +} | |
| 1207 | +.nggform .row-actions { | |
| 1208 | + z-index: 1; | |
| 1209 | +} | |
| 1104 | 1210 | .imagify-datas-actions-links a { |
| 1105 | 1211 | position: relative; |
| 1106 | 1212 | display: inline-block; |
| 1107 | 1213 | padding-left: 17px; |
| @@ -1114,20 +1220,30 @@ | ||
| 1114 | 1220 | .misc-pub-imagify .imagify-datas-actions-links { |
| 1115 | 1221 | border-top: 2px solid #f2f2f2; |
| 1116 | 1222 | padding-bottom: 5px; |
| 1117 | 1223 | } |
| 1224 | +/* Library */ | |
| 1225 | +.column-imagify_optimized_file .imagify-datas-actions-links a { | |
| 1226 | + margin: 0 .7em; | |
| 1227 | + padding-left: 15px; | |
| 1228 | +} | |
| 1229 | + | |
| 1118 | 1230 | /* Media edition */ |
| 1119 | 1231 | .compat-field-imagify .imagify-datas-actions-links a, |
| 1120 | 1232 | .misc-pub-imagify .imagify-datas-actions-links a { |
| 1121 | - font-size: 10px; | |
| 1122 | 1233 | float: left; |
| 1123 | 1234 | width: 50%; |
| 1124 | 1235 | } |
| 1125 | -/* Medias list */ | |
| 1126 | -.column-imagify_optimized_file .imagify-datas-actions-links a { | |
| 1127 | - margin: 0 .7em; | |
| 1128 | - padding-left: 15px; | |
| 1236 | +.media-sidebar .compat-field-imagify .imagify-datas-actions-links a, | |
| 1237 | +.submitbox .misc-pub-imagify .imagify-datas-actions-links a { | |
| 1238 | + display: block; | |
| 1239 | + width: auto; | |
| 1240 | + float: none; | |
| 1129 | 1241 | } |
| 1242 | +.media-sidebar .compat-field-imagify .imagify-datas-actions-links br, | |
| 1243 | +.submitbox .misc-pub-imagify .imagify-datas-actions-links br { | |
| 1244 | + display: none; | |
| 1245 | +} | |
| 1130 | 1246 | .imagify-datas-actions-links a:only-child { |
| 1131 | 1247 | float: none; |
| 1132 | 1248 | width: auto; |
| 1133 | 1249 | } |
| @@ -1141,68 +1257,16 @@ | ||
| 1141 | 1257 | margin-right: 2px; |
| 1142 | 1258 | font-size: 11px; |
| 1143 | 1259 | } |
| 1144 | 1260 | |
| 1145 | -/* | |
| 1261 | +/** | |
| 1146 | 1262 | * == Bulk page |
| 1147 | 1263 | */ |
| 1148 | 1264 | |
| 1149 | -.imagify-title > h1 { | |
| 1150 | - padding: 0; | |
| 1151 | -} | |
| 1152 | -.imagify-title-right { | |
| 1153 | - display: table; | |
| 1154 | - float: right; | |
| 1155 | - margin-top: -10px; | |
| 1156 | -} | |
| 1157 | -.imagify-title-right p { | |
| 1158 | - margin: 0; | |
| 1159 | -} | |
| 1160 | -.imagify-title-right a { | |
| 1161 | - font-weight: bold; | |
| 1162 | - text-decoration: none; | |
| 1163 | -} | |
| 1164 | -.imagify-title-right > div { | |
| 1165 | - display: table-cell; | |
| 1166 | - vertical-align: middle; | |
| 1167 | -} | |
| 1168 | -.imagify-title-right .dashicons-arrow-down-alt2 { | |
| 1169 | - vertical-align: -4px; | |
| 1170 | - margin-left: 2px; | |
| 1171 | -} | |
| 1172 | -@media (max-width: 1200px) { | |
| 1173 | - .imagify-bulk .imagify-title { | |
| 1174 | - display: -webkit-box; | |
| 1175 | - display: -webkit-flex; | |
| 1176 | - display: -ms-flexbox; | |
| 1177 | - display: flex; | |
| 1178 | - -webkit-box-orient: vertical; | |
| 1179 | - -webkit-box-direction: normal; | |
| 1180 | - -webkit-flex-direction: column; | |
| 1181 | - -ms-flex-direction: column; | |
| 1182 | - flex-direction: column; | |
| 1183 | - } | |
| 1184 | - .imagify-title-right { | |
| 1185 | - -webkit-box-ordinal-group: 3; | |
| 1186 | - -webkit-order: 2; | |
| 1187 | - -ms-flex-order: 2; | |
| 1188 | - order: 2; | |
| 1189 | - margin-top: 20px; | |
| 1190 | - } | |
| 1191 | -} | |
| 1192 | 1265 | .imagify-account, |
| 1193 | 1266 | .imagify-account-link { |
| 1194 | 1267 | padding-right: 15px; |
| 1195 | 1268 | } |
| 1196 | -.imagify-sep-v { | |
| 1197 | - width: 1px; | |
| 1198 | - background: rgba(255, 255, 255, .2); | |
| 1199 | -} | |
| 1200 | -.imagify-credit-left { | |
| 1201 | - position: relative; | |
| 1202 | - min-width: 280px; | |
| 1203 | - padding-left: 15px; | |
| 1204 | -} | |
| 1205 | 1269 | .imagify-meteo-icon { |
| 1206 | 1270 | display: inline-block; |
| 1207 | 1271 | height: 38px; |
| 1208 | 1272 | vertical-align: middle; |
| @@ -1211,96 +1275,30 @@ | ||
| 1211 | 1275 | .imagify-user-plan { |
| 1212 | 1276 | color: #40b1d0; |
| 1213 | 1277 | } |
| 1214 | 1278 | |
| 1215 | -@media (max-width: 630px) { | |
| 1216 | - .imagify-title-right { | |
| 1217 | - display: block; | |
| 1218 | - width: auto; | |
| 1219 | - } | |
| 1220 | - .imagify-title-right > div { | |
| 1221 | - display: block; | |
| 1222 | - width: auto; | |
| 1223 | - margin-top: 10px; | |
| 1224 | - max-width: 100%; | |
| 1225 | - } | |
| 1226 | - .imagify-credit-left { | |
| 1227 | - padding-left: 0; | |
| 1228 | - } | |
| 1229 | -} | |
| 1230 | -/* | |
| 1231 | -.imagify-meteo-icon:after { | |
| 1232 | - opacity: 0; | |
| 1233 | - visibility: hidden; | |
| 1234 | - content: attr(data-title); | |
| 1235 | - position: absolute; | |
| 1236 | - top: 100%; | |
| 1237 | - left: 50%; | |
| 1238 | - font-size: 11px; | |
| 1239 | - line-height: 1.3; | |
| 1240 | - width: 150px; | |
| 1241 | - margin-left: -80px; | |
| 1242 | - padding: 6px 12px; | |
| 1243 | - background: #60758d; | |
| 1244 | - border-radius: 4px; | |
| 1245 | - -webkit-transition: opacity .3s; | |
| 1246 | - transition: opacity .3s; | |
| 1247 | -} | |
| 1248 | -.imagify-meteo-icon:hover:after, | |
| 1249 | -.imagify-meteo-icon:focus:after { | |
| 1250 | - opacity: 1; | |
| 1251 | - visibility: visible; | |
| 1252 | -} | |
| 1253 | -*/ | |
| 1254 | 1279 | .imagify-meteo-title.imagify-meteo-title { |
| 1255 | 1280 | color: #FFF; |
| 1256 | 1281 | font-size: 17px; |
| 1257 | 1282 | } |
| 1258 | -.imagify-space-left { | |
| 1259 | - display: inline-block; | |
| 1260 | - min-height: 38px; | |
| 1261 | - min-width: 245px; | |
| 1262 | - vertical-align: middle; | |
| 1263 | -} | |
| 1264 | 1283 | .imagify-space-left > p { |
| 1265 | 1284 | color: #FFF; |
| 1266 | 1285 | } |
| 1267 | -[class^="imagify-bar-"], | |
| 1268 | -#wp-admin-bar-imagify-profile [class^="imagify-bar-"] { | |
| 1286 | +[class^="imagify-bar-"] { | |
| 1269 | 1287 | position: relative; |
| 1270 | - height: 15px; | |
| 1288 | + height: 8px; | |
| 1271 | 1289 | width: 100%; |
| 1272 | - background: #60758D; | |
| 1290 | + background: #343A49; | |
| 1273 | 1291 | color: #FFF; |
| 1274 | 1292 | font-size: 10px; |
| 1275 | 1293 | } |
| 1276 | -.base-transparent { | |
| 1277 | - background: transparent; | |
| 1294 | + | |
| 1295 | +.imagify-progress { | |
| 1296 | + height: 8px; | |
| 1278 | 1297 | } |
| 1279 | -[class^="imagify-bar-"].right-outside-number { | |
| 1280 | - -webkit-box-sizing: border-box; | |
| 1281 | - box-sizing: border-box; | |
| 1282 | - padding-right: 45px; | |
| 1298 | +.imagify-progress { | |
| 1299 | + transition: width .3s; | |
| 1283 | 1300 | } |
| 1284 | -.right-outside-number .imagify-barnb { | |
| 1285 | - display: block; | |
| 1286 | - margin-right: -45px; | |
| 1287 | - text-align: right; | |
| 1288 | - font-weight: bold; | |
| 1289 | - line-height: 15px; | |
| 1290 | -} | |
| 1291 | -.imagify-progress-value, | |
| 1292 | -#wp-admin-bar-imagify-profile .imagify-progress-value { | |
| 1293 | - position: absolute; | |
| 1294 | - top: 0; right: 0; left: 0; bottom: 0; | |
| 1295 | - text-align: center; | |
| 1296 | - line-height: 13px; | |
| 1297 | - font-weight: bold; | |
| 1298 | -} | |
| 1299 | -.imagify-progress, | |
| 1300 | -#wp-admin-bar-imagify-profile .imagify-progress { | |
| 1301 | - height: 15px; | |
| 1302 | -} | |
| 1303 | 1301 | .imagify-bar-positive .imagify-progress { |
| 1304 | 1302 | background: #8CC152; |
| 1305 | 1303 | } |
| 1306 | 1304 | .imagify-bar-positive .imagify-barnb { |
| @@ -1305,110 +1303,29 @@ | ||
| 1305 | 1303 | } |
| 1306 | 1304 | .imagify-bar-positive .imagify-barnb { |
| 1307 | 1305 | color: #8CC152; |
| 1308 | 1306 | } |
| 1307 | +.imagify-bar-primary .imagify-progress { | |
| 1308 | + background: #40B1D0; | |
| 1309 | +} | |
| 1310 | +.imagify-bar-primary .imagify-barnb { | |
| 1311 | + color: #40B1D0; | |
| 1312 | +} | |
| 1309 | 1313 | .imagify-bar-negative .imagify-progress { |
| 1310 | - background: #73818C; | |
| 1314 | + background: #D2D3D6; | |
| 1311 | 1315 | } |
| 1312 | 1316 | .imagify-bar-negative .imagify-barnb { |
| 1313 | - color: #73818C; | |
| 1317 | + color: #7A8996; | |
| 1314 | 1318 | } |
| 1315 | 1319 | .imagify-bar-neutral .imagify-progress { |
| 1316 | 1320 | background: #F5A623; |
| 1317 | 1321 | } |
| 1318 | 1322 | .imagify-space-left .imagify-bar-negative .imagify-progress { |
| 1319 | - background: #D0021B; | |
| 1323 | + background: #ffffff; | |
| 1320 | 1324 | } |
| 1321 | 1325 | |
| 1322 | -/* admin bar version */ | |
| 1323 | -#wpadminbar #wp-admin-bar-imagify-profile * { | |
| 1324 | - line-height: 1.5; | |
| 1325 | - white-space: initial; | |
| 1326 | -} | |
| 1327 | -#wpadminbar #wp-admin-bar-imagify .ab-submenu { | |
| 1328 | - padding-bottom: 0; | |
| 1329 | -} | |
| 1330 | -#wpadminbar #wp-admin-bar-imagify-profile .ab-item { | |
| 1331 | - height: auto; | |
| 1332 | - padding: 0 13px; | |
| 1333 | -} | |
| 1334 | -#wpadminbar #wp-admin-bar-imagify-profile { | |
| 1335 | - min-width: 200px; | |
| 1336 | - padding: 15px 0 10px; | |
| 1337 | - margin-top: 0.7em; | |
| 1338 | - background: #222; | |
| 1339 | -} | |
| 1340 | -#wp-admin-bar-imagify .dashicons { | |
| 1341 | - font-family: "dashicons"; | |
| 1342 | - font-size: 18px; | |
| 1343 | - vertical-align: middle; | |
| 1344 | - margin: 0 5px 0 0; | |
| 1345 | -} | |
| 1346 | -#wp-admin-bar-imagify .button-text { | |
| 1326 | +.imagify-btn-ghost { | |
| 1347 | 1327 | display: inline-block; |
| 1348 | - vertical-align: middle; | |
| 1349 | -} | |
| 1350 | -#wp-admin-bar-imagify .imagify-abq-row { | |
| 1351 | - display: table; | |
| 1352 | - width: 100%; | |
| 1353 | -} | |
| 1354 | -#wp-admin-bar-imagify .imagify-abq-row + .imagify-abq-row { | |
| 1355 | - margin-top: .75em; | |
| 1356 | -} | |
| 1357 | -#wp-admin-bar-imagify .imagify-abq-row > * { | |
| 1358 | - display: table-cell; | |
| 1359 | -} | |
| 1360 | -#wp-admin-bar-imagify-profile .imagify-meteo-icon { | |
| 1361 | - padding-right: 7px; | |
| 1362 | -} | |
| 1363 | -#wp-admin-bar-imagify-profile .imagify-meteo-icon img { | |
| 1364 | - width: 37px; | |
| 1365 | -} | |
| 1366 | -#wp-admin-bar-imagify-profile .imagify-meteo-title { | |
| 1367 | - font-size: 17px; | |
| 1368 | -} | |
| 1369 | -#wp-admin-bar-imagify-profile .imagify-meteo-subs { | |
| 1370 | - color: #72889F; | |
| 1371 | -} | |
| 1372 | -#wpadminbar #wp-admin-bar-imagify-profile strong { | |
| 1373 | - font-weight: bold; | |
| 1374 | -} | |
| 1375 | -#wpadminbar #wp-admin-bar-imagify-profile .imagify-user-plan, | |
| 1376 | -#wpadminbar #wp-admin-bar-imagify-profile a { | |
| 1377 | - padding: 0; | |
| 1378 | - color: #40B1D0; | |
| 1379 | -} | |
| 1380 | -#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link { | |
| 1381 | - display: table; | |
| 1382 | -} | |
| 1383 | -#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link > * { | |
| 1384 | - display: table-cell; | |
| 1385 | -} | |
| 1386 | -#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left { | |
| 1387 | - max-width: 210px; | |
| 1388 | - min-width: 210px; | |
| 1389 | - width: 210px; | |
| 1390 | -} | |
| 1391 | -#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left p { | |
| 1392 | - font-size: 12px; | |
| 1393 | -} | |
| 1394 | -#wp-admin-bar-imagify-profile .imagify-error, | |
| 1395 | -#wp-admin-bar-imagify-profile .imagify-warning { | |
| 1396 | - padding: 10px; | |
| 1397 | - margin: 0 -13px -13px; | |
| 1398 | -} | |
| 1399 | -#wp-admin-bar-imagify-profile .imagify-error p + p, | |
| 1400 | -#wp-admin-bar-imagify-profile .imagify-warning p + p { | |
| 1401 | - margin-top: .5em; | |
| 1402 | -} | |
| 1403 | -#wp-admin-bar-imagify-profile .imagify-error p + p + p, | |
| 1404 | -#wp-admin-bar-imagify-profile .imagify-warning p + p + p { | |
| 1405 | - margin-top: 1em; | |
| 1406 | -} | |
| 1407 | - | |
| 1408 | -.btn-ghost, | |
| 1409 | -#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost { | |
| 1410 | - display: inline-block; | |
| 1411 | 1328 | height: auto; |
| 1412 | 1329 | padding: 7px 10px; |
| 1413 | 1330 | border: 1px solid #FFF; |
| 1414 | 1331 | text-align: center; |
| @@ -1417,500 +1334,51 @@ | ||
| 1417 | 1334 | border-radius: 3px; |
| 1418 | 1335 | transition: all .275s; |
| 1419 | 1336 | } |
| 1420 | 1337 | |
| 1421 | -.btn-ghost:hover, | |
| 1422 | -.btn-ghost:focus, | |
| 1423 | -#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:hover, | |
| 1424 | -#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:focus { | |
| 1338 | +.imagify-btn-ghost:hover, | |
| 1339 | +.imagify-btn-ghost:focus { | |
| 1425 | 1340 | background: #FFF; |
| 1426 | 1341 | color: #888; |
| 1427 | 1342 | } |
| 1428 | 1343 | |
| 1429 | -.txt-center { | |
| 1430 | - text-align: center; | |
| 1344 | +/* Some Errors */ | |
| 1345 | +.imagify-error { | |
| 1346 | + background: #D0021B; | |
| 1347 | + color: #FFF; | |
| 1431 | 1348 | } |
| 1432 | - | |
| 1433 | -.imagify-list-dash li { | |
| 1434 | - position: relative; | |
| 1435 | - padding-left: 24px; | |
| 1436 | -} | |
| 1437 | -.imagify-list-dash li:before { | |
| 1438 | - content: ""; | |
| 1439 | - position: absolute; | |
| 1440 | - left: 0; top: 9px; | |
| 1441 | - height: 1px; width: 12px; | |
| 1442 | - background: #5f758e; | |
| 1443 | -} | |
| 1444 | - | |
| 1445 | -.imagify-sub-title.imagify-sub-title { | |
| 1446 | - font-size: 23px; | |
| 1447 | - background: #FFF; | |
| 1448 | - color: #2E3243; | |
| 1449 | - border-left: 1px solid #D9D9D9; | |
| 1450 | - border-right: 1px solid #D9D9D9; | |
| 1451 | - font-weight: lighter; | |
| 1452 | -} | |
| 1453 | -.imagify-sub-title .icon-bulk { | |
| 1454 | - margin-right: 10px; | |
| 1455 | - vertical-align: middle; | |
| 1456 | -} | |
| 1457 | -.imagify-sub-title .title-text { | |
| 1349 | +.imagify-settings-section .imagify-error { | |
| 1458 | 1350 | display: inline-block; |
| 1459 | - line-height: 1; | |
| 1460 | - vertical-align: middle; | |
| 1461 | -} | |
| 1462 | -.imagify-bulk .imagify-settings-section { | |
| 1463 | - border: 1px solid #D9D9D9; | |
| 1464 | - border-top: 0; | |
| 1465 | - background: #F2F5F7; | |
| 1466 | - color: #4A4A4A; | |
| 1467 | -} | |
| 1468 | -.imagify-bulk .imagify-settings-section p, | |
| 1469 | -.imagify-bulk .imagify-settings-section li, | |
| 1470 | -.imagify-bulk .imagify-settings-section h3 { | |
| 1471 | - color: #4A4A4A; | |
| 1472 | -} | |
| 1473 | -.imagify-bulk .imagify-settings-section h3 { | |
| 1474 | - margin-bottom: 2em; | |
| 1475 | -} | |
| 1476 | - | |
| 1477 | -.imagify-bulk-submit { | |
| 1478 | - margin-top: 4em; | |
| 1479 | -} | |
| 1480 | -#imagify-bulk-action { | |
| 1481 | - float: left; | |
| 1482 | -} | |
| 1483 | -#imagify-bulk-action + .imagify-tooltips { | |
| 1484 | - overflow: hidden; | |
| 1485 | - display: block; | |
| 1486 | -} | |
| 1487 | -.imagify-title .imagify-tooltips { | |
| 1488 | - position: absolute; | |
| 1489 | - top: 100%; | |
| 1490 | - left: 0; | |
| 1491 | -} | |
| 1492 | -.imagify-tooltips .icon-round { | |
| 1493 | - float: left; | |
| 1494 | - display: inline-block; | |
| 1495 | - width: 28px; | |
| 1496 | - height: 28px; | |
| 1497 | - border: 1px solid #FFF; | |
| 1498 | - margin-right: 8px; | |
| 1499 | - margin-bottom: 8px; | |
| 1500 | - font-size: 17px; | |
| 1501 | - font-style: italic; | |
| 1502 | - line-height: 29px; | |
| 1503 | - font-weight: bold; | |
| 1504 | - text-align: center; | |
| 1505 | - border-radius: 50%; | |
| 1506 | -} | |
| 1507 | -.imagify-tooltips .tooltip-content { | |
| 1508 | - display: block; | |
| 1509 | - position: relative; | |
| 1510 | - max-width: 250px; | |
| 1511 | - padding: 7px 15px 8px; | |
| 1512 | - background: #2e3242; | |
| 1513 | - color: #FFF; | |
| 1514 | - font-size: 10px; | |
| 1351 | + padding: 7px 10px; | |
| 1352 | + margin: 10px 0 0 45px; | |
| 1515 | 1353 | border-radius: 3px; |
| 1516 | 1354 | } |
| 1517 | -.imagify-tooltips.right .tooltip-content { | |
| 1518 | - margin-left: 12px; | |
| 1355 | +.imagify-settings-section .imagify-error code { | |
| 1356 | + font-weight: normal; | |
| 1519 | 1357 | } |
| 1520 | -.imagify-tooltips.bottom .tooltip-content { | |
| 1521 | - margin-top: 4px; | |
| 1522 | -} | |
| 1523 | -.imagify-inline-options label .tooltip-content { | |
| 1524 | - position: absolute; | |
| 1525 | - left: 0; right: 0; | |
| 1526 | - top: 100%; | |
| 1527 | - text-transform: none; | |
| 1528 | - font-size: 10px; | |
| 1529 | - letter-spacing: 0; | |
| 1530 | - text-align: center; | |
| 1531 | -} | |
| 1532 | -.imagify-tooltips .tooltip-content:after { | |
| 1533 | - content: ""; | |
| 1534 | - position: absolute; | |
| 1535 | -} | |
| 1536 | -.imagify-tooltips.right .tooltip-content:after { | |
| 1537 | - top: 16px; left: -6px; | |
| 1538 | - border-right: 8px solid #2e3242; | |
| 1539 | - border-top: 6px solid transparent; | |
| 1540 | - border-bottom: 6px solid transparent; | |
| 1541 | -} | |
| 1542 | -.imagify-tooltips.bottom .tooltip-content:after { | |
| 1543 | - top: -5px; left: 50%; | |
| 1544 | - margin-left: -3px; | |
| 1545 | - border-bottom: 6px solid #2e3242; | |
| 1546 | - border-left: 6px solid transparent; | |
| 1547 | - border-right: 6px solid transparent; | |
| 1548 | -} | |
| 1549 | -.imagify-space-tooltips .tooltip-content { | |
| 1550 | - max-width: 280px; | |
| 1551 | - margin-top: 20px; | |
| 1552 | - margin-left: 0; | |
| 1553 | - padding: 5px 15px 5px; | |
| 1554 | - font-size: 13px; | |
| 1555 | - background: #40B1D0; | |
| 1556 | - box-shadow: 0 3px 0 #338EA6; | |
| 1557 | -} | |
| 1558 | -.imagify-space-tooltips .tooltip-content:after { | |
| 1559 | - top: -14px; | |
| 1560 | - left: 50%; | |
| 1561 | - margin-left: -7px; | |
| 1562 | - border: 0 none; | |
| 1563 | - border-bottom: 15px solid #40B1D0; | |
| 1564 | - border-left: 15px solid transparent; | |
| 1565 | - border-right: 15px solid transparent; | |
| 1566 | -} | |
| 1567 | -.tooltip-content.tooltip-table { | |
| 1568 | - display: table; | |
| 1569 | - width: 100%; | |
| 1570 | -} | |
| 1571 | -.tooltip-content.tooltip-table > * { | |
| 1572 | - display: table-cell; | |
| 1573 | - vertical-align: middle; | |
| 1574 | -} | |
| 1575 | -.tooltip-content .cell-icon { | |
| 1576 | - width: 28px; | |
| 1577 | -} | |
| 1578 | -.tooltip-content .cell-icon .icon { | |
| 1579 | - margin-bottom: 0; | |
| 1580 | -} | |
| 1581 | -.tooltip-content .cell-text { | |
| 1582 | - padding: 5px 10px 5px 0; | |
| 1583 | - line-height: 1.3; | |
| 1584 | -} | |
| 1585 | -.tooltip-content .cell-sep { | |
| 1586 | - width: 1px; | |
| 1587 | - background: rgba(255, 255, 255, .4); | |
| 1588 | -} | |
| 1589 | -.tooltip-content .cell-cta { | |
| 1590 | - padding-left: 10px; | |
| 1591 | -} | |
| 1592 | -.tooltip-content .cell-cta a { | |
| 1593 | - display: block; | |
| 1594 | - color: #FFF; | |
| 1595 | - width: 100%; | |
| 1596 | - height: 100%; | |
| 1597 | - white-space: nowrap; | |
| 1598 | -} | |
| 1599 | - | |
| 1600 | -.imagify-number-you-optimized .number { | |
| 1601 | - float: left; | |
| 1602 | - margin-right: 15px; | |
| 1603 | - font-size: 36px; | |
| 1604 | - font-weight: bold; | |
| 1605 | - line-height: 1.1; | |
| 1606 | -} | |
| 1607 | -.imagify-number-you-optimized .text { | |
| 1608 | - display: block; | |
| 1609 | - overflow: hidden; | |
| 1610 | - font-size: 12px; | |
| 1611 | -} | |
| 1612 | -.imagify-number-you-optimized { | |
| 1613 | - padding-bottom: 0.85em; | |
| 1614 | - margin-bottom: 1.35em; | |
| 1615 | - overflow: hidden; | |
| 1616 | - border-bottom: 1px solid rgba(0,0,0, 0.05); | |
| 1617 | -} | |
| 1618 | -.imagify-bars p { | |
| 1619 | - font-weight: bold; | |
| 1620 | - font-size: 12px; | |
| 1621 | - margin-bottom: 0; | |
| 1622 | -} | |
| 1623 | -.imagify-bars + .imagify-number-you-optimized { | |
| 1624 | - border-bottom: 0; | |
| 1625 | - padding-top: 0.85em; | |
| 1626 | -} | |
| 1627 | -.imagify-bars + .imagify-number-you-optimized p { | |
| 1628 | - color: #46b1ce; | |
| 1629 | -} | |
| 1630 | - | |
| 1631 | -/* | |
| 1632 | - * == Bulk table | |
| 1633 | - */ | |
| 1634 | -.imagify-bulk-table { | |
| 1635 | - margin-top: 2em; | |
| 1636 | - max-height: 600px; | |
| 1637 | - max-height: 60vh; | |
| 1638 | - overflow: auto; | |
| 1639 | -} | |
| 1640 | -.imagify-bulk-table table { | |
| 1641 | - width: 100%; | |
| 1642 | - border-spacing: 0; | |
| 1643 | - border-collapse: collapse; | |
| 1644 | - border: 1px solid #D3D3D3; | |
| 1645 | -} | |
| 1646 | -.imagify-bulk-table td { | |
| 1647 | - padding: 8px 15px; | |
| 1648 | -} | |
| 1649 | -.imagify-bulk-table thead tr, | |
| 1650 | -.imagify-bulk-table thead th { | |
| 1651 | - background: #2E3242; | |
| 1652 | -} | |
| 1653 | -.imagify-bulk-table tfoot tr, | |
| 1654 | -.imagify-bulk-table tfoot th { | |
| 1655 | - background: #73818C; | |
| 1656 | -} | |
| 1657 | -.imagify-bulk-table thead th { | |
| 1658 | - padding: 14px 15px; | |
| 1659 | - text-align: left; | |
| 1660 | - color: #F2F5F7; | |
| 1661 | - font-weight: bold; | |
| 1662 | - font-size: 14px; | |
| 1663 | -} | |
| 1664 | -.imagify-bulk-table tfoot td { | |
| 1665 | - padding: 14px 15px; | |
| 1666 | - color: #F9FAFA; | |
| 1667 | -} | |
| 1668 | - | |
| 1669 | -.imagify-bulk-table tbody tr, | |
| 1670 | -.imagify-bulk-table tbody td { | |
| 1671 | - background: #FFF; | |
| 1672 | -} | |
| 1673 | -.imagify-bulk-table tbody tr:nth-child(odd), | |
| 1674 | -.imagify-bulk-table tbody tr:nth-child(odd) td { | |
| 1675 | - background: #F2F5F7; | |
| 1676 | -} | |
| 1677 | - | |
| 1678 | -.imagify-bulk-table .imagify-row-progress { | |
| 1358 | +.imagify-settings-section .imagify-error.hidden { | |
| 1679 | 1359 | display: none; |
| 1680 | 1360 | } |
| 1681 | - | |
| 1682 | -.imagify-bulk-table .imagify-row-progress, | |
| 1683 | -.imagify-bulk-table .imagify-row-progress td { | |
| 1684 | - height: 15px; | |
| 1685 | - padding: 0; | |
| 1686 | -} | |
| 1687 | -.imagify-bulk-table .imagify-no-uploaded-yet td { | |
| 1688 | - height: 200px; | |
| 1689 | - font-size: 17px; | |
| 1690 | - letter-spacing: .1em; | |
| 1691 | - word-spacing: .12em; | |
| 1692 | - vertical-align: middle; | |
| 1693 | - text-transform: uppercase; | |
| 1694 | - font-weight: bold; | |
| 1695 | - text-align: center; | |
| 1696 | - color: #999; | |
| 1697 | - background-color: #FFF; | |
| 1698 | -} | |
| 1699 | - | |
| 1700 | -.imagify-row-complete { | |
| 1701 | - padding: 35px 20px; | |
| 1702 | - margin-top: 2em; | |
| 1703 | - background: #8BC34A; | |
| 1704 | - color: #FFF; | |
| 1705 | - text-shadow: 0 0 2px rgba(0,0,0,.1); | |
| 1706 | -} | |
| 1707 | -.imagify-row-complete .imagify-ac-chart { | |
| 1708 | - margin-top: 3px; | |
| 1709 | -} | |
| 1710 | -.imagify-row-complete p { | |
| 1711 | - color: #FFF; | |
| 1712 | - margin: 0; | |
| 1713 | -} | |
| 1714 | - | |
| 1715 | -@-webkit-keyframes congrate { | |
| 1716 | - 0% { | |
| 1717 | - opacity: 0; | |
| 1718 | - -webkit-transform: scale(1); | |
| 1719 | - } | |
| 1720 | - 50% { | |
| 1721 | - -webkit-transform: scale(1.05); | |
| 1722 | - opacity: 1; | |
| 1723 | - } | |
| 1724 | - 100% { | |
| 1725 | - -webkit-transform: scale(1); | |
| 1726 | - opacity: 1; | |
| 1727 | - } | |
| 1728 | -} | |
| 1729 | -​ | |
| 1730 | -@keyframes congrate { | |
| 1731 | - 0% { | |
| 1732 | - opacity: 0; | |
| 1733 | - transform: scale(1); | |
| 1734 | - } | |
| 1735 | - 50% { | |
| 1736 | - transform: scale(1.05); | |
| 1737 | - opacity: 1; | |
| 1738 | - } | |
| 1739 | - 100% { | |
| 1740 | - transform: scale(1); | |
| 1741 | - opacity: 1; | |
| 1742 | - } | |
| 1743 | -} | |
| 1744 | - | |
| 1745 | - | |
| 1746 | -.imagify-row-complete.done { | |
| 1747 | - -webkit-animation: congrate 500ms ease-in-out; | |
| 1748 | - animation: congrate 500ms ease-in-out; | |
| 1749 | -} | |
| 1750 | - | |
| 1751 | -.imagify-all-complete { | |
| 1752 | - margin: 1.5em 0; | |
| 1753 | -} | |
| 1754 | -.imagify-all-complete > div { | |
| 1755 | - display: inline-block; | |
| 1756 | - vertical-align: middle; | |
| 1757 | -} | |
| 1758 | -.imagify-ac-report { | |
| 1759 | - min-width: 310px; | |
| 1760 | -} | |
| 1761 | -.imagify-ac-chart { | |
| 1762 | - width: 46px; | |
| 1763 | - height: 46px; | |
| 1764 | - float: left; | |
| 1765 | - margin: 0 20px 0 10px; | |
| 1766 | -} | |
| 1767 | -.imagify-ac-report-text { | |
| 1768 | - overflow: hidden; | |
| 1769 | -} | |
| 1770 | -.imagify-ac-report-text p { | |
| 1771 | - line-height: 1.3; | |
| 1772 | -} | |
| 1773 | -.imagify-ac-rt-big { | |
| 1774 | - font-weight: bold; | |
| 1775 | - font-size: 24px; | |
| 1776 | - letter-spacing: 0.15em; | |
| 1777 | - word-spacing: 0.15em; | |
| 1778 | - text-transform: uppercase; | |
| 1779 | -} | |
| 1780 | -.imagify-ac-share { | |
| 1781 | - text-align: right; | |
| 1782 | -} | |
| 1783 | -.imagify-ac-share-content { | |
| 1784 | - display: inline-block; | |
| 1785 | - padding: 10px 15px; | |
| 1786 | - background: rgba(255,255,255,.2); | |
| 1787 | -} | |
| 1788 | -.imagify-ac-share-content > * { | |
| 1789 | - display: inline-block; | |
| 1790 | - vertical-align: middle; | |
| 1791 | -} | |
| 1792 | -.imagify-bulk-table .imagify-ac-share-content p { | |
| 1793 | - margin-right: 5px; | |
| 1794 | -} | |
| 1795 | -.imagify-share-networks, | |
| 1796 | -.imagify-share-networks li { | |
| 1797 | - margin: 0; | |
| 1798 | -} | |
| 1799 | -.imagify-share-networks li { | |
| 1800 | - display: inline-block; | |
| 1801 | -} | |
| 1802 | -.imagify-share-networks a { | |
| 1803 | - display: inline-block; | |
| 1804 | - vertical-align: -7px; | |
| 1805 | - margin: 0 5px; | |
| 1806 | - text-decoration: none; | |
| 1807 | - color: #FFF; | |
| 1808 | -} | |
| 1809 | - | |
| 1810 | -/* TD's width */ | |
| 1811 | -.imagify-cell-filename { | |
| 1812 | - max-width: 200px; | |
| 1813 | -} | |
| 1814 | -.imagify-cell-status { | |
| 1815 | - max-width: 145px; | |
| 1816 | -} | |
| 1817 | -.imagify-cell-status .dashicons-warning { | |
| 1818 | - margin-right: 2px; | |
| 1819 | -} | |
| 1820 | -.imagify-cell-thumbnails { | |
| 1821 | - max-width: 120px; | |
| 1822 | -} | |
| 1823 | - | |
| 1824 | -td.imagify-cell-filename { | |
| 1825 | - text-overflow: clip; /* ellipsis replace all the text by ... :`/ */ | |
| 1826 | - white-space: nowrap; | |
| 1827 | - overflow: hidden; | |
| 1828 | -} | |
| 1829 | -.imagify-bulk-table td.imagify-cell-totaloriginal { | |
| 1830 | - padding-right: 78px; | |
| 1831 | -} | |
| 1832 | - | |
| 1833 | -.imagiuploaded, | |
| 1834 | -.imagifilename { | |
| 1835 | - display: inline-block; | |
| 1836 | - vertical-align: middle; | |
| 1837 | -} | |
| 1838 | -.imagifilename { | |
| 1839 | - font-size: 12px; | |
| 1840 | -} | |
| 1841 | -.imagiuploaded { | |
| 1842 | - width: 33px; | |
| 1843 | - height: 33px; | |
| 1844 | - margin-right: 5px; | |
| 1845 | - margin-left: -8px; | |
| 1846 | - overflow: hidden; | |
| 1847 | - background: url(../images/upload-image.png) 0 0 no-repeat; | |
| 1848 | - background-size: cover; | |
| 1849 | -} | |
| 1850 | -.imagiuploaded img { | |
| 1851 | - max-widht: 100%; | |
| 1852 | - height: auto; | |
| 1853 | -} | |
| 1854 | - | |
| 1855 | -.imagistatus { | |
| 1856 | - color: #8CA6B3; | |
| 1857 | - text-transform: uppercase; | |
| 1858 | - font-weight: bold; | |
| 1859 | -} | |
| 1860 | -.status-compressing { | |
| 1861 | - color: #46B1CE; | |
| 1862 | -} | |
| 1863 | -.status-error { | |
| 1864 | - color: #CE0B24; | |
| 1865 | -} | |
| 1866 | -.status-warning { | |
| 1867 | - color: #f5a623; | |
| 1868 | -} | |
| 1869 | -.status-complete { | |
| 1870 | - color: #8CC152; | |
| 1871 | -} | |
| 1872 | -.imagify-error { | |
| 1873 | - background: #D0021B; | |
| 1874 | - color: #FFF; | |
| 1875 | -} | |
| 1876 | -.imagify-warning, | |
| 1877 | -#wpadminbar .imagify-warning * { | |
| 1361 | +.imagify-warning { | |
| 1878 | 1362 | background: #f5a623; |
| 1879 | 1363 | color: #FFF; |
| 1880 | 1364 | text-shadow: 0 0 2px rgba(0, 0, 0, 0.2); |
| 1881 | 1365 | } |
| 1882 | -.imagify-bulk-table .imagify-cell-thumbnails { | |
| 1883 | - text-align: center; | |
| 1884 | -} | |
| 1885 | -.imagify-cell-percentage, | |
| 1886 | -.imagify-cell-savings { | |
| 1887 | - color: #46B1CE; | |
| 1888 | - font-weight: bold; | |
| 1889 | -} | |
| 1890 | -.imagify-cell-optimized { | |
| 1891 | - font-weight: bold; | |
| 1892 | -} | |
| 1893 | 1366 | |
| 1894 | -.imagify-cell-totaloriginal { | |
| 1895 | - text-align: right; | |
| 1896 | -} | |
| 1897 | - | |
| 1898 | -/* icon rotate */ | |
| 1899 | -.dashicons.rotate { | |
| 1900 | - -webkit-animation: icon-rotate 2.6s infinite linear; | |
| 1901 | - animation: icon-rotate 2.6s infinite linear; | |
| 1902 | -} | |
| 1903 | -.dashicons-admin-generic { | |
| 1904 | - transform-origin: 48.75% 51.75%; | |
| 1905 | -} | |
| 1906 | - | |
| 1907 | - | |
| 1908 | -/* Imagify Modal */ | |
| 1367 | +/* Imagify Modal (is everywhere) */ | |
| 1909 | 1368 | .imagify-modal { |
| 1369 | + display: -webkit-box; | |
| 1370 | + display: -ms-flexbox; | |
| 1910 | 1371 | display: flex; |
| 1372 | + -webkit-box-orient: vertical; | |
| 1373 | + -webkit-box-direction: normal; | |
| 1374 | + -ms-flex-direction: column; | |
| 1911 | 1375 | flex-direction: column; |
| 1376 | + -webkit-box-align: center; | |
| 1377 | + -ms-flex-align: center; | |
| 1912 | 1378 | align-items: center; |
| 1379 | + -webkit-box-pack: center; | |
| 1380 | + -ms-flex-pack: center; | |
| 1913 | 1381 | justify-content: center; |
| 1914 | 1382 | } |
| 1915 | 1383 | .js .imagify-modal { |
| 1916 | 1384 | display: none; |
| @@ -1926,9 +1394,9 @@ | ||
| 1926 | 1394 | box-sizing: border-box; |
| 1927 | 1395 | position: relative; |
| 1928 | 1396 | width: 800px; |
| 1929 | 1397 | max-width: 95%; |
| 1930 | - max-height: 90vw; | |
| 1398 | + max-height: 90vh; | |
| 1931 | 1399 | overflow: auto; |
| 1932 | 1400 | padding: 20px 25px; |
| 1933 | 1401 | margin: 1em auto; |
| 1934 | 1402 | background: #FFF; |
| @@ -1934,9 +1402,13 @@ | ||
| 1934 | 1402 | background: #FFF; |
| 1935 | 1403 | box-shadow: 1px 1px 4px rgba(0,0,0,.7); |
| 1936 | 1404 | border-radius: 3px; |
| 1937 | 1405 | } |
| 1938 | -#imagify-visual-comparison .imagify-modal-content { | |
| 1406 | +.imagify-modal-loading .imagify-modal-content{ | |
| 1407 | + overflow: hidden; | |
| 1408 | +} | |
| 1409 | +#imagify-visual-comparison .imagify-modal-content, | |
| 1410 | +.imagify-visual-comparison .imagify-modal-content { | |
| 1939 | 1411 | max-width: 1400px; |
| 1940 | 1412 | background: transparent; |
| 1941 | 1413 | padding: 5px; |
| 1942 | 1414 | box-shadow: none; |
| @@ -1956,12 +1428,8 @@ | ||
| 1956 | 1428 | font-size: 18px; |
| 1957 | 1429 | letter-spacing: 0.075em; |
| 1958 | 1430 | text-align: center; |
| 1959 | 1431 | } |
| 1960 | -.text-justify { | |
| 1961 | - text-align: justify; | |
| 1962 | -} | |
| 1963 | - | |
| 1964 | 1432 | .imagify-modal .close-btn { |
| 1965 | 1433 | display: none; |
| 1966 | 1434 | visibility: hidden; |
| 1967 | 1435 | position: absolute; |
| @@ -1971,8 +1439,11 @@ | ||
| 1971 | 1439 | background: transparent none; |
| 1972 | 1440 | border-radius: 0; |
| 1973 | 1441 | cursor: pointer; |
| 1974 | 1442 | } |
| 1443 | +.imagify-modal .close-btn i { | |
| 1444 | + margin-left: -2px; | |
| 1445 | +} | |
| 1975 | 1446 | .imagify-modal .close-btn:hover, |
| 1976 | 1447 | .imagify-modal .close-btn:focus { |
| 1977 | 1448 | color: #40b1d0; |
| 1978 | 1449 | } |
| @@ -1978,141 +1449,375 @@ | ||
| 1978 | 1449 | } |
| 1979 | 1450 | .js .imagify-modal .close-btn { |
| 1980 | 1451 | display: block; |
| 1981 | 1452 | visibility: visible; |
| 1453 | + z-index: 12; | |
| 1982 | 1454 | } |
| 1983 | -#imagify-visual-comparison .close-btn { | |
| 1984 | - top: 50px; | |
| 1985 | - right: 5px; | |
| 1986 | - width: 33px; | |
| 1987 | - height: 33px; | |
| 1988 | - padding: 1px 0 0 2px; | |
| 1989 | - border: 1px solid #F2F2F2; | |
| 1990 | - color: #F2F2F2; | |
| 1991 | - line-height: 19px; | |
| 1455 | + | |
| 1456 | +/* Attachments specifics */ | |
| 1457 | +.wp_attachment_image #imagify-visual-comparison .imagify-modal-content, | |
| 1458 | +.imagify-visual-comparison .imagify-modal-content { | |
| 1459 | + padding-top: 40px; | |
| 1460 | +} | |
| 1461 | + | |
| 1462 | +/* Col, behavior depending on parent */ | |
| 1463 | +.imagify-col { | |
| 1464 | + float: left; | |
| 1465 | + width: 50%; | |
| 1466 | + box-sizing: border-box; | |
| 1467 | + -webkit-flex-basis: 50%; | |
| 1468 | + -ms-flex-preferred-size: 50%; | |
| 1469 | + flex-basis: 50%; | |
| 1470 | +} | |
| 1471 | +.imagify-col { | |
| 1472 | + padding-right: 20px; | |
| 1473 | +} | |
| 1474 | +.imagify-col + .imagify-col { | |
| 1475 | + padding-right: 0; | |
| 1476 | + padding-left: 20px; | |
| 1477 | +} | |
| 1478 | + | |
| 1479 | +.imagify-col:target { | |
| 1480 | + animation: hello 1s 3 linear backwards; | |
| 1481 | +} | |
| 1482 | + | |
| 1483 | +@keyframes hello { | |
| 1484 | + 0%, 100% { | |
| 1485 | + background: #FFF; | |
| 1486 | + } | |
| 1487 | + 50% { | |
| 1488 | + background: #F4F7F9; | |
| 1489 | + } | |
| 1490 | +} | |
| 1491 | +@media (max-width: 730px) { | |
| 1492 | + .imagify-settings .imagify-documentation-link-box{ | |
| 1493 | + margin-top: 2em; | |
| 1494 | + } | |
| 1495 | +} | |
| 1496 | + | |
| 1497 | +@media (max-width: 782px) { | |
| 1498 | + input[type="radio"], input[type="checkbox"] { | |
| 1499 | + height: 1.5625rem; | |
| 1500 | + width: 1.5625rem; | |
| 1501 | + margin: 1px; | |
| 1502 | + } | |
| 1503 | + [class*="imagify-"] .button-text{ | |
| 1504 | + font-size: 13px; | |
| 1505 | + } | |
| 1506 | + .imagify-account-info-col .imagify-settings-section{ | |
| 1507 | + padding: 0 10px; | |
| 1508 | + } | |
| 1509 | + .imagify-settings-section{ | |
| 1510 | + padding: 10px; | |
| 1511 | + } | |
| 1512 | + .imagify-check-group.imagify-is-scrollable{ | |
| 1513 | + margin: auto; | |
| 1514 | + } | |
| 1515 | + .imagify-settings-section .imagify-col, | |
| 1516 | + .imagify-col.imagify-col.imagify-shared-with-account-col, | |
| 1517 | + .imagify-media-lib-section .imagify-col, | |
| 1518 | + .imagify-custom-folders-section .imagify-col, | |
| 1519 | + .imagify-shared-with-account-col { | |
| 1520 | + width:100%; | |
| 1521 | + float: none; | |
| 1522 | + padding-right: 0; | |
| 1523 | + } | |
| 1524 | + .imagify-col.imagify-col.imagify-account-info-col, | |
| 1525 | + .imagify-media-lib-section .imagify-account-info-col, | |
| 1526 | + .imagify-custom-folders-section .imagify-account-info-col, | |
| 1527 | + .imagify-account-info-col{ | |
| 1528 | + width: 100%; | |
| 1529 | + float: none; | |
| 1530 | + padding-left: 0; | |
| 1531 | + padding-right: 0; | |
| 1532 | + } | |
| 1533 | + .imagify-lb-text{ | |
| 1534 | + font-size: 20px; | |
| 1535 | + } | |
| 1536 | + .imagify-vcenter{ | |
| 1537 | + -webkit-flex-direction: column; | |
| 1538 | + -ms-flex-direction: column; | |
| 1539 | + flex-direction: column; | |
| 1540 | + -webkit-box-direction: normal; | |
| 1541 | + -webkit-box-orient: vertical; | |
| 1542 | + -moz-box-direction: normal; | |
| 1543 | + -moz-box-orient: vertical; | |
| 1544 | + align-items: center; | |
| 1545 | + } | |
| 1546 | + .imagify-pr2.imagify-pr2{ | |
| 1547 | + padding-right: 0em; | |
| 1548 | + } | |
| 1549 | +} | |
| 1550 | + | |
| 1551 | +.imagify-upsell { | |
| 1552 | + position:relative; | |
| 1553 | + background: #c51161; | |
| 1554 | + padding: 20px 25px; | |
| 1555 | +} | |
| 1556 | + | |
| 1557 | +.imagify-upsell p { | |
| 1558 | + color: #fff !important; | |
| 1559 | +} | |
| 1560 | + | |
| 1561 | +.imagify-upsell-button { | |
| 1562 | + display: block; | |
| 1563 | + background: #fff; | |
| 1564 | + border-radius: 5px; | |
| 1565 | + color: #c51161 !important; | |
| 1566 | + font-weight: bold; | |
| 1567 | + padding: 10px 0; | |
| 1992 | 1568 | text-align: center; |
| 1993 | - border-radius: 50%; | |
| 1569 | + text-decoration: none; | |
| 1570 | + text-transform: uppercase; | |
| 1994 | 1571 | } |
| 1995 | 1572 | |
| 1996 | -.imagify-modal .imagify-comparison-title { | |
| 1997 | - font-size: 28px; | |
| 1998 | - margin-bottom: 1em; | |
| 1999 | - color: #F2F2F2; | |
| 2000 | - text-align: left; | |
| 1573 | +.imagify-upsell-arrow::after { | |
| 1574 | + content: '\2192'; | |
| 1575 | + font-size: large; | |
| 1576 | + margin-left: 5px; | |
| 1577 | + vertical-align: top; | |
| 2001 | 1578 | } |
| 2002 | -.imagify-modal .imagify-comparison-title .twentytwenty-duo-buttons { | |
| 2003 | - position: static; | |
| 2004 | - margin: 0 10px 0 15px; | |
| 1579 | + | |
| 1580 | +.imagify-upsell .imagify-meteo-icon { | |
| 1581 | + filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(104deg) brightness(103%) contrast(103%); | |
| 2005 | 1582 | } |
| 2006 | -.imagify-comparison-title .twentytwenty-duo-buttons button { | |
| 2007 | - float: none; | |
| 2008 | - padding: 6px 12px; | |
| 2009 | - font-size: 16px; | |
| 2010 | - text-transform: none; | |
| 2011 | - border: 1px solid #40B1D0; | |
| 2012 | - color: #888899; | |
| 2013 | - letter-spacing: 0; | |
| 1583 | + | |
| 1584 | +.imagify-original-fize-size { | |
| 1585 | + display: block !important; | |
| 2014 | 1586 | } |
| 2015 | -.imagify-comparison-title .twentytwenty-duo-buttons button:focus { | |
| 2016 | - outline: none; | |
| 2017 | - box-shadow: none; | |
| 1587 | + | |
| 1588 | +.imagify-original-fize-size .value { | |
| 1589 | + padding-left: 15px !important; | |
| 2018 | 1590 | } |
| 2019 | -.imagify-comparison-title .twentytwenty-duo-buttons .selected { | |
| 2020 | - border: 1px solid #40B1D0; | |
| 2021 | - color: #FFF; | |
| 2022 | - background: #40B1D0; | |
| 1591 | +.imagify-plugin-family-cards { | |
| 1592 | + display: flex; | |
| 1593 | + flex-wrap: wrap; | |
| 1594 | + margin: 0 -10px; | |
| 2023 | 1595 | } |
| 2024 | - | |
| 2025 | -.imagify-comparison-levels { | |
| 2026 | - margin: 15px 0; | |
| 2027 | - overflow: hidden; | |
| 1596 | +.imagify-plugin-family-col { | |
| 1597 | + width: 25%; | |
| 1598 | + box-sizing: border-box; | |
| 1599 | + padding: 0 10px; | |
| 1600 | + margin-bottom: 20px; | |
| 1601 | + display: flex; | |
| 1602 | + flex-direction: column; | |
| 2028 | 1603 | } |
| 2029 | -.imagify-comparison-levels div { | |
| 2030 | - display: none; | |
| 2031 | - min-width: 175px; | |
| 2032 | - font-size: 11px; | |
| 1604 | +@media (max-width: 1200px) { | |
| 1605 | + .imagify-plugin-family-col { | |
| 1606 | + width: 50%; | |
| 1607 | + } | |
| 2033 | 1608 | } |
| 2034 | -.imagify-comparison-levels .imagify-chart, | |
| 2035 | -.imagify-comparison-levels .imagify-chart-container { | |
| 2036 | - width: 25px; | |
| 2037 | - float: none; | |
| 2038 | - margin: 0; | |
| 1609 | +@media (max-width: 600px) { | |
| 1610 | + .imagify-plugin-family-col { | |
| 1611 | + width: 100%; | |
| 1612 | + } | |
| 2039 | 1613 | } |
| 2040 | -.imagify-c-level.go-left { | |
| 2041 | - float: left; | |
| 1614 | +.imagify-card { | |
| 1615 | + border: 1px solid #dfdfdf; | |
| 1616 | + background-color: #f4f7f9; | |
| 1617 | + border-radius: 5px; | |
| 1618 | + width: 100%; | |
| 1619 | + display: flex; | |
| 1620 | + flex-direction: column; | |
| 1621 | + flex: 1 1 auto; | |
| 2042 | 1622 | } |
| 2043 | -.imagify-c-level.go-right { | |
| 2044 | - float: right; | |
| 1623 | +.imagify-card-header { | |
| 1624 | + margin-bottom: 10px; | |
| 1625 | + padding-top: 25px; | |
| 2045 | 1626 | } |
| 2046 | -.imagify-c-level.go-right, | |
| 2047 | -.imagify-c-level.go-left { | |
| 2048 | - display: table; | |
| 1627 | +.imagify-card-logo { | |
| 1628 | + min-height: 42px; | |
| 1629 | + display: flex; | |
| 1630 | + align-items: center; | |
| 1631 | + justify-content: center; | |
| 2049 | 1632 | } |
| 2050 | -.imagify-c-level .imagify-c-level-row { | |
| 2051 | - display: table-row; | |
| 2052 | - margin: 0; | |
| 2053 | - color: #FFF; | |
| 1633 | +.imagify-card-logo img { | |
| 1634 | + display: block; | |
| 1635 | + margin: 0 auto; | |
| 1636 | + max-width: 100%; | |
| 1637 | + height: auto; | |
| 2054 | 1638 | } |
| 2055 | -.imagify-c-level-row > span { | |
| 2056 | - display: table-cell; | |
| 2057 | - padding: 2px 0; | |
| 1639 | +.imagify-card-header h4 { | |
| 1640 | + text-align: center; | |
| 1641 | + color: #323232; | |
| 1642 | + font-size: 1.1em; | |
| 1643 | + font-weight:bold; | |
| 2058 | 1644 | } |
| 2059 | -.imagify-c-level-row .value { | |
| 2060 | - text-align: right; | |
| 2061 | - padding-left: 5px; | |
| 1645 | +.imagify-card-body { | |
| 1646 | + margin-bottom: 10px; | |
| 1647 | + padding: 0 10px 0 10px; | |
| 1648 | + flex: 1 1 auto; | |
| 2062 | 1649 | } |
| 2063 | -.imagify-c-level-row .value.level { | |
| 2064 | - color: #40b1d0; | |
| 1650 | +.imagify-card-body p { | |
| 1651 | + font-size: 1em; | |
| 1652 | + color: #323232; | |
| 1653 | + text-align:center; | |
| 1654 | + line-height: 17px; | |
| 2065 | 1655 | } |
| 2066 | -.imagify-c-level-row .value.size { | |
| 2067 | - color: #8bc34a; | |
| 1656 | +.imagify-card-footer { | |
| 1657 | + display: flex; | |
| 1658 | + justify-content: center; | |
| 1659 | + align-items: center; | |
| 1660 | + padding: 10px; | |
| 1661 | + height: 40px; | |
| 1662 | + margin-top: auto; | |
| 1663 | +} | |
| 1664 | +.imagify-card-footer span { | |
| 1665 | + text-transform: uppercase; | |
| 1666 | + font-weight:bold; | |
| 1667 | + color: #6f9c3b; | |
| 1668 | +} | |
| 1669 | +.imagify-card-footer a { | |
| 1670 | + margin: 0 15px 0 15px; | |
| 1671 | + font-size: 1em; | |
| 2068 | 1672 | font-weight: bold; |
| 2069 | 1673 | } |
| 2070 | -.imagify-c-level-row .value .imagify-chart { | |
| 2071 | - top: 1px; | |
| 1674 | +.imagify-card-footer a.imagify-card-btn { | |
| 1675 | + text-transform: uppercase; | |
| 1676 | + text-decoration: none; | |
| 1677 | + background-color: #2f3242; | |
| 1678 | + padding: 8px 20px 8px 20px; | |
| 1679 | + color: white; | |
| 2072 | 1680 | } |
| 1681 | +.imagify-upsell-cta { | |
| 1682 | + display: inline-flex; | |
| 1683 | + align-items: center; | |
| 1684 | + justify-content: center; | |
| 1685 | +} | |
| 1686 | +.imagify-upsell-cta .imagify-svg-icon { | |
| 1687 | + margin-left: 7px; | |
| 1688 | + margin-top: 2px; | |
| 1689 | +} | |
| 1690 | +.imagify-upsell.imagify-col-content .imagify-space-left p { | |
| 1691 | + font-size: 14px; | |
| 1692 | +} | |
| 2073 | 1693 | |
| 2074 | -@-webkit-keyframes icon-rotate { | |
| 2075 | - from { | |
| 2076 | - -webkit-transform: rotate(0deg); | |
| 2077 | - transform: rotate(0deg); | |
| 2078 | - } | |
| 2079 | - to { | |
| 2080 | - -webkit-transform: rotate(360deg); | |
| 2081 | - transform: rotate(360deg); | |
| 2082 | - } | |
| 1694 | +/* Analytics opt-in ============================================================================= */ | |
| 1695 | +.imagify-analytics-section { | |
| 1696 | + padding: 20px 24px; | |
| 1697 | + background: #f6f7f7; | |
| 1698 | + border-radius: 4px; | |
| 2083 | 1699 | } |
| 2084 | -@keyframes icon-rotate { | |
| 2085 | - from { | |
| 2086 | - transform: rotate(0deg); | |
| 2087 | - } | |
| 2088 | - to { | |
| 2089 | - transform: rotate(360deg); | |
| 2090 | - } | |
| 1700 | + | |
| 1701 | +.imagify-analytics-optin { | |
| 1702 | + display: flex; | |
| 1703 | + flex-direction: column; | |
| 1704 | + gap: 8px; | |
| 2091 | 1705 | } |
| 2092 | 1706 | |
| 2093 | -.imagify-menu-bar-img { | |
| 2094 | - margin-top: 1em; | |
| 1707 | +.imagify-analytics-label { | |
| 1708 | + display: inline-flex; | |
| 1709 | + align-items: center; | |
| 1710 | + gap: 12px; | |
| 1711 | + cursor: pointer; | |
| 1712 | + font-size: 14px; | |
| 1713 | + font-weight: 600; | |
| 1714 | + color: #2E3243; | |
| 2095 | 1715 | } |
| 2096 | 1716 | |
| 2097 | -/** | |
| 2098 | - * Visual Comparison | |
| 2099 | - */ | |
| 2100 | -.imagify-modal .loader { | |
| 1717 | +/* Hide native checkbox */ | |
| 1718 | +.imagify-analytics-checkbox { | |
| 2101 | 1719 | position: absolute; |
| 2102 | - top: 50%; | |
| 2103 | - left: 50%; | |
| 2104 | - margin: -32px 0 0 -32px; | |
| 2105 | 1720 | opacity: 0; |
| 2106 | - visibility: hidden; | |
| 2107 | - transition: opacity .4s; | |
| 1721 | + width: 0; | |
| 1722 | + height: 0; | |
| 2108 | 1723 | } |
| 2109 | -.imagify-modal .loading .loader { | |
| 2110 | - visibility: visible; | |
| 2111 | - opacity: 1; | |
| 1724 | + | |
| 1725 | +/* Toggle switch track */ | |
| 1726 | +.imagify-analytics-toggle-ui { | |
| 1727 | + position: relative; | |
| 1728 | + display: inline-block; | |
| 1729 | + width: 48px; | |
| 1730 | + height: 26px; | |
| 1731 | + background: #ccc; | |
| 1732 | + border-radius: 13px; | |
| 1733 | + transition: background .2s ease; | |
| 1734 | + flex-shrink: 0; | |
| 2112 | 1735 | } |
| 2113 | 1736 | |
| 2114 | -.imagify-settings .imagify-visual-comparison-text { | |
| 2115 | - margin-top: 1em; | |
| 2116 | - color: #40b1d0; | |
| 2117 | - font-weight: bold; | |
| 2118 | -} | |
| 1737 | +/* Toggle switch thumb */ | |
| 1738 | +.imagify-analytics-toggle-ui::after { | |
| 1739 | + content: ''; | |
| 1740 | + position: absolute; | |
| 1741 | + top: 3px; | |
| 1742 | + left: 3px; | |
| 1743 | + width: 20px; | |
| 1744 | + height: 20px; | |
| 1745 | + background: #fff; | |
| 1746 | + border-radius: 50%; | |
| 1747 | + box-shadow: 0 1px 3px rgba(0,0,0,.3); | |
| 1748 | + transition: transform .2s ease; | |
| 1749 | +} | |
| 1750 | + | |
| 1751 | +.imagify-analytics-checkbox:checked ~ .imagify-analytics-toggle-ui, | |
| 1752 | +.imagify-analytics-label .imagify-analytics-checkbox:checked + .imagify-analytics-toggle-ui { | |
| 1753 | + background: #40B1D0; | |
| 1754 | +} | |
| 1755 | + | |
| 1756 | +.imagify-analytics-checkbox:checked + .imagify-analytics-toggle-ui::after { | |
| 1757 | + transform: translateX(22px); | |
| 1758 | +} | |
| 1759 | + | |
| 1760 | +.imagify-analytics-description { | |
| 1761 | + margin: 0; | |
| 1762 | + color: #666; | |
| 1763 | + font-size: 13px; | |
| 1764 | +} | |
| 1765 | + | |
| 1766 | +.imagify-btn-link { | |
| 1767 | + background: none; | |
| 1768 | + border: none; | |
| 1769 | + padding: 0; | |
| 1770 | + color: #40B1D0; | |
| 1771 | + text-decoration: underline; | |
| 1772 | + cursor: pointer; | |
| 1773 | + font-size: inherit; | |
| 1774 | +} | |
| 1775 | + | |
| 1776 | +.imagify-btn-link:hover { | |
| 1777 | + color: #338ea6; | |
| 1778 | +} | |
| 1779 | + | |
| 1780 | +/* Analytics data table (modal + thank-you notice) */ | |
| 1781 | +.imagify-analytics-data-table { | |
| 1782 | + width: 100%; | |
| 1783 | + border-collapse: collapse; | |
| 1784 | + margin: 12px 0; | |
| 1785 | + border-left: 3px solid #40B1D0; | |
| 1786 | + background-color: #F0FAFD; | |
| 1787 | + border-radius: 4px; | |
| 1788 | + overflow: hidden; | |
| 1789 | +} | |
| 1790 | + | |
| 1791 | +.imagify-analytics-data-table td { | |
| 1792 | + padding: 8px 12px; | |
| 1793 | + font-size: 13px; | |
| 1794 | + border-bottom: 1px solid #D8EFF6; | |
| 1795 | + vertical-align: top; | |
| 1796 | + color: #2E3243; | |
| 1797 | +} | |
| 1798 | + | |
| 1799 | +.imagify-analytics-data-table td:first-child { | |
| 1800 | + font-weight: 600; | |
| 1801 | + width: 40%; | |
| 1802 | +} | |
| 1803 | + | |
| 1804 | +.imagify-analytics-data-table tr:last-child td { | |
| 1805 | + border-bottom: 0; | |
| 1806 | +} | |
| 1807 | + | |
| 1808 | +/* Thank-you notice text colour override */ | |
| 1809 | +.imagify-analytics-thankyou-notice, | |
| 1810 | +.imagify-analytics-thankyou-notice p { | |
| 1811 | + color: #1d2327; | |
| 1812 | +} | |
| 1813 | + | |
| 1814 | +/* Opt-in ask notice */ | |
| 1815 | +.imagify-analytics-optin-notice .imagify-analytics-data-container { | |
| 1816 | + margin-bottom: 12px; | |
| 1817 | +} | |
| 1818 | + | |
| 1819 | +.imagify-analytics-optin-notice .imagify-analytics-data-container .description { | |
| 1820 | + color: #666; | |
| 1821 | + font-size: 13px; | |
| 1822 | +} | |
| 1823 | + | |