| 1 |
|
| 2 |
/* |
| 3 |
* W3 Colors: |
| 4 |
* |
| 5 |
* Aqua = #00ffff; |
| 6 |
* Blue = #2196f3; |
| 7 |
* Green = #4caf50; |
| 8 |
* Dark Gray = #616161; |
| 9 |
* Light Blue = #87ceeb; |
| 10 |
* Light Green = #8bc34a; |
| 11 |
* Gray = #9e9e9e; |
| 12 |
* Pale Green = #ddffdd; |
| 13 |
* Red = #f44336; |
| 14 |
* Light Gray = #f1f1f1; |
| 15 |
* Orange = #ff9800; |
| 16 |
* Amber = #ffc107; |
| 17 |
* Yellow = #ffeb3b; |
| 18 |
* |
| 19 |
* See https://www.w3schools.com/w3css/w3css_colors.asp. |
| 20 |
* |
| 21 |
* Notice Colors: |
| 22 |
* |
| 23 |
* Red = #dc3232; |
| 24 |
* Yellow = #ffb900; |
| 25 |
* Blue = #00a0d2; |
| 26 |
* Green = #46b450; |
| 27 |
*/ |
| 28 |
|
| 29 |
/* |
| 30 |
* WP Dashboard Widgets. |
| 31 |
*/ |
| 32 |
#dashboard-widgets #wpsso-cache-status .postbox-header h2, |
| 33 |
#dashboard-widgets #wpsso-help-support .postbox-header h2, |
| 34 |
#dashboard-widgets #wpsso-version-info .postbox-header h2 { |
| 35 |
display:block; |
| 36 |
} |
| 37 |
|
| 38 |
#dashboard-widgets #wpsso-cache-status .postbox-header h2:before { |
| 39 |
font-family:"WpssoIcons"; |
| 40 |
margin-right:10px; |
| 41 |
content:"\f1c0"; /* .icon-database */ |
| 42 |
} |
| 43 |
|
| 44 |
#dashboard-widgets #wpsso-help-support .postbox-header h2:before { |
| 45 |
font-family:"WpssoIcons"; |
| 46 |
margin-right:10px; |
| 47 |
content:"\f1cd"; /* .icon-lifebuoy */ |
| 48 |
} |
| 49 |
|
| 50 |
#dashboard-widgets #wpsso-version-info .postbox-header h2:before { |
| 51 |
font-family:"WpssoIcons"; |
| 52 |
margin-right:10px; |
| 53 |
content:"\e80b"; /* .icon-ok-circled */ |
| 54 |
} |
| 55 |
|
| 56 |
#dashboard-widgets table.wpsso-dashboard-widget { |
| 57 |
width:100%; |
| 58 |
padding:0 8px 8px 0; /* td are 2px 2px 2px 10px. */ |
| 59 |
} |
| 60 |
|
| 61 |
#dashboard-widgets table.wpsso-dashboard-widget p { |
| 62 |
margin:10px 0; |
| 63 |
} |
| 64 |
|
| 65 |
#dashboard-widgets table.wpsso-dashboard-widget p.centered { |
| 66 |
text-align:center; |
| 67 |
} |
| 68 |
|
| 69 |
#dashboard-widgets table.wpsso-dashboard-widget p.status-msg, |
| 70 |
#dashboard-widgets table.wpsso-dashboard-widget p.status-msg code { |
| 71 |
color:#999; |
| 72 |
font-size:0.95em; |
| 73 |
line-height:1.4em; |
| 74 |
text-align:center; |
| 75 |
margin:4px 0; |
| 76 |
} |
| 77 |
|
| 78 |
#dashboard-widgets table.wpsso-dashboard-widget p.status-msg.smaller, |
| 79 |
#dashboard-widgets table.wpsso-dashboard-widget p.status-msg.smaller code { |
| 80 |
font-size:0.85em; |
| 81 |
} |
| 82 |
|
| 83 |
#dashboard-widgets table.wpsso-dashboard-widget h4 { |
| 84 |
font-weight:600; |
| 85 |
margin:10px 2px 5px 2px; |
| 86 |
} |
| 87 |
|
| 88 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget h4 { |
| 89 |
margin-bottom:0; |
| 90 |
} |
| 91 |
|
| 92 |
#dashboard-widgets table.wpsso-dashboard-widget ul { |
| 93 |
margin:8px 0 16px 30px; |
| 94 |
} |
| 95 |
|
| 96 |
#dashboard-widgets table.wpsso-dashboard-widget th { |
| 97 |
font-weight:600; |
| 98 |
} |
| 99 |
|
| 100 |
#dashboard-widgets table.wpsso-dashboard-widget th, |
| 101 |
body.rtl #dashboard-widgets table.wpsso-dashboard-widget td { |
| 102 |
text-align:right; |
| 103 |
vertical-align:top; |
| 104 |
padding:2px 10px 2px 2px; |
| 105 |
} |
| 106 |
|
| 107 |
#dashboard-widgets table.wpsso-dashboard-widget td, |
| 108 |
body.rtl #dashboard-widgets table.wpsso-dashboard-widget th { |
| 109 |
text-align:left; |
| 110 |
vertical-align:top; |
| 111 |
padding:2px 2px 2px 10px; |
| 112 |
} |
| 113 |
|
| 114 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-label { |
| 115 |
width:40%; |
| 116 |
} |
| 117 |
|
| 118 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-count, |
| 119 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-size { |
| 120 |
width:15%; |
| 121 |
} |
| 122 |
|
| 123 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-expiration { |
| 124 |
width:30%; |
| 125 |
} |
| 126 |
|
| 127 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-label, |
| 128 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-count, |
| 129 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-size, |
| 130 |
body.rtl #dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-expiration { |
| 131 |
text-align:right; |
| 132 |
padding:2px 2px 2px 10px; |
| 133 |
} |
| 134 |
|
| 135 |
#dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-expiration, |
| 136 |
body.rtl #dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-label, |
| 137 |
body.rtl #dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-count, |
| 138 |
body.rtl #dashboard-widgets #wpsso-cache-status table.wpsso-dashboard-widget .cache-size { |
| 139 |
text-align:left; |
| 140 |
padding:2px 2px 2px 10px; |
| 141 |
} |
| 142 |
|
| 143 |
#dashboard-widgets #wpsso-version-info table.wpsso-dashboard-widget td.latest-notice { |
| 144 |
font-style:italic; |
| 145 |
} |
| 146 |
|
| 147 |
#dashboard-widgets #wpsso-version-info table.wpsso-dashboard-widget td.version-number.newer-version-available { |
| 148 |
background-color:#ffc107; /* Amber. */ |
| 149 |
} |
| 150 |
|
| 151 |
#dashboard-widgets #wpsso-version-info table.wpsso-dashboard-widget td.version-number.current-version-not-stable { |
| 152 |
background-color:#00a0d2; /* Blue. */ |
| 153 |
} |
| 154 |
|
| 155 |
#dashboard-widgets #wpsso-version-info table.wpsso-dashboard-widget td.version-number.current-version { |
| 156 |
background-color:#46b450; /* Green. */ |
| 157 |
} |
| 158 |
|
| 159 |
/* |
| 160 |
* WordPress edit list table. |
| 161 |
*/ |
| 162 |
.wp-list-table.media .column-cb, |
| 163 |
.wp-list-table.media .check-column { |
| 164 |
width:2%; |
| 165 |
} |
| 166 |
|
| 167 |
.wp-list-table th.column-secondary_title, |
| 168 |
.wp-list-table td.column-secondary_title { |
| 169 |
width:15%; /* secondary title plugin */ |
| 170 |
} |
| 171 |
|
| 172 |
.wp-list-table th.column-sku, |
| 173 |
.wp-list-table td.column-sku, |
| 174 |
.wp-list-table th.column-is_in_stock, |
| 175 |
.wp-list-table td.column-is_in_stock { |
| 176 |
width:6%; /* woocommerce plugin */ |
| 177 |
} |
| 178 |
|
| 179 |
.wp-list-table th.column-price, |
| 180 |
.wp-list-table td.column-price { |
| 181 |
width:8%; /* woocommerce plugin */ |
| 182 |
} |
| 183 |
|
| 184 |
.wp-list-table th.column-categories, |
| 185 |
.wp-list-table td.column-categories, |
| 186 |
.wp-list-table th.column-tags, |
| 187 |
.wp-list-table td.column-tags { |
| 188 |
width:12%; /* default is 15% */ |
| 189 |
} |
| 190 |
|
| 191 |
.wp-list-table th.column-language, |
| 192 |
.wp-list-table td.column-language { |
| 193 |
width:8%; /* qtranslate-x plugin */ |
| 194 |
} |
| 195 |
|
| 196 |
.wp-list-table th.column-slug, |
| 197 |
.wp-list-table td.column-slug { |
| 198 |
width:20%; /* default is 25% */ |
| 199 |
} |
| 200 |
|
| 201 |
.wp-list-table th.column-comments, |
| 202 |
.wp-list-table td.column-comments { |
| 203 |
width:4%; |
| 204 |
} |
| 205 |
|
| 206 |
/* |
| 207 |
* WPSSO notices and qTip. |
| 208 |
*/ |
| 209 |
#wpadminbar #wp-toolbar #wp-admin-bar-woocommerce-site-visibility-badge { |
| 210 |
margin-right:8px; |
| 211 |
} |
| 212 |
|
| 213 |
#wpadminbar #wp-toolbar #wp-admin-bar-wpsso-toolbar-notices { |
| 214 |
display:block; |
| 215 |
} |
| 216 |
|
| 217 |
#wpadminbar #wp-toolbar #wp-admin-bar-wpsso-toolbar-notices #wpsso-toolbar-notices-icon.ab-icon::before { |
| 218 |
top:-1px; |
| 219 |
content:"\e826"; /* .icon-orange-5 */ |
| 220 |
font-family:"WpssoIcons"; |
| 221 |
} |
| 222 |
|
| 223 |
.woocommerce-page .wpsso-notice.update-nag { |
| 224 |
margin:90px 20px 0 20px; |
| 225 |
} |
| 226 |
|
| 227 |
.sucom-tooltip { |
| 228 |
cursor:pointer; |
| 229 |
opacity:0.50; |
| 230 |
filter:alpha(opacity=50); /* IE8 and earlier. */ |
| 231 |
margin:0 0 0 6px; |
| 232 |
vertical-align:middle; |
| 233 |
} |
| 234 |
|
| 235 |
body.rtl .sucom-tooltip { |
| 236 |
float:left; |
| 237 |
margin:0 6px 0 0; |
| 238 |
} |
| 239 |
|
| 240 |
.sucom-tooltip-icon::before { |
| 241 |
content:"\f29c"; /* .icon-question-circle-o */ |
| 242 |
font-family:"WpssoIcons"; |
| 243 |
font-size:1.3em; |
| 244 |
font-weight:normal; |
| 245 |
} |
| 246 |
|
| 247 |
body.rtl .qtip.sucom-qtip { |
| 248 |
direction:rtl; |
| 249 |
} |
| 250 |
|
| 251 |
body.rtl .qtip.sucom-qtip .qtip-content { |
| 252 |
text-align:right; |
| 253 |
} |
| 254 |
|
| 255 |
.qtip.sucom-qtip { |
| 256 |
max-width:600px; |
| 257 |
} |
| 258 |
|
| 259 |
.qtip.sucom-qtip .qtip-content { |
| 260 |
font-size:1.2em; |
| 261 |
line-height:1.5em; |
| 262 |
padding:15px 20px; |
| 263 |
} |
| 264 |
|
| 265 |
.wpsso-notice.wpsso-dismissible .notice-dismiss:before { |
| 266 |
content:"\e83d"; /* .icon-cancel-circled */ |
| 267 |
font-family:"WpssoIcons"; |
| 268 |
} |
| 269 |
|
| 270 |
.wpsso-notice.update-nag, |
| 271 |
.qtip.sucom-qtip.qtip-lime-green { |
| 272 |
color:#144e14; |
| 273 |
border:1px solid #46b450; /* Green. */ |
| 274 |
background-color:#ecf7ed; |
| 275 |
} |
| 276 |
|
| 277 |
.wpsso-notice.update-nag { |
| 278 |
border-left-color:#00a32a; |
| 279 |
border-left-width:4px; |
| 280 |
} |
| 281 |
|
| 282 |
.wpsso-notice.update-nag .notice-message a, |
| 283 |
.qtip.sucom-qtip.qtip-lime-green a { |
| 284 |
color:#1f7e1f; |
| 285 |
} |
| 286 |
|
| 287 |
.wpsso-notice.update-nag .notice-message a, |
| 288 |
.qtip.sucom-qtip .qtip-content a { |
| 289 |
text-decoration:underline; |
| 290 |
} |
| 291 |
|
| 292 |
.wpsso-notice.update-nag .notice-message a:active, |
| 293 |
.wpsso-notice.update-nag .notice-message a:hover, |
| 294 |
.qtip.sucom-qtip.qtip-lime-green a:active, |
| 295 |
.qtip.sucom-qtip.qtip-lime-green a:hover { |
| 296 |
color:#279d27; |
| 297 |
} |
| 298 |
|
| 299 |
/* |
| 300 |
* Prevent Firefox from outlining links. |
| 301 |
*/ |
| 302 |
.qtip.sucom-qtip .qtip-content a, |
| 303 |
.qtip.sucom-qtip .qtip-content a:focus, |
| 304 |
.qtip.sucom-qtip .qtip-content a:active { |
| 305 |
-webkit-box-shadow:none; |
| 306 |
-moz-box-shadow:none; |
| 307 |
box-shadow:none; |
| 308 |
} |
| 309 |
|
| 310 |
.qtip.sucom-qtip .qtip-content code { |
| 311 |
font-family:"Courier", monospace; |
| 312 |
padding:2px 4px; |
| 313 |
margin:0; |
| 314 |
vertical-align:middle; |
| 315 |
} |
| 316 |
|
| 317 |
.qtip.sucom-qtip .qtip-content strong { |
| 318 |
font-weight:600; |
| 319 |
} |
| 320 |
|
| 321 |
.qtip.sucom-qtip .qtip-content ul { |
| 322 |
list-style:disc; |
| 323 |
margin-left:20px; |
| 324 |
} |
| 325 |
|
| 326 |
.wpsso-notice.update-nag .notice-message { |
| 327 |
padding:10px 30px; |
| 328 |
} |
| 329 |
|
| 330 |
.wpsso-notice.update-nag .notice-message p, |
| 331 |
.wpsso-notice.update-nag .notice-message ul, |
| 332 |
.wpsso-notice.update-nag .notice-message ol { |
| 333 |
margin:15px 0; |
| 334 |
} |
| 335 |
|
| 336 |
.wpsso-notice.update-nag .notice-message ul li { |
| 337 |
list-style-type:square; |
| 338 |
} |
| 339 |
|
| 340 |
.wpsso-notice.update-nag .notice-message ol li { |
| 341 |
list-style-type:decimal; |
| 342 |
} |
| 343 |
|
| 344 |
.wpsso-notice.update-nag .notice-message li { |
| 345 |
margin:5px 0 5px 60px; |
| 346 |
} |
| 347 |
|
| 348 |
/* |
| 349 |
* Input field and dashicon clipboard for settings pages and table lists. |
| 350 |
*/ |
| 351 |
table td .no_input_clipboard .copy_button { |
| 352 |
float:right; |
| 353 |
} |
| 354 |
|
| 355 |
body.rtl table td .no_input_clipboard .copy_button { |
| 356 |
float:left; |
| 357 |
} |
| 358 |
|
| 359 |
table td .no_input_clipboard .copy_button a { |
| 360 |
display:inline-block; |
| 361 |
width:40px; |
| 362 |
height:40px; |
| 363 |
padding:0; |
| 364 |
margin:0; |
| 365 |
text-decoration:none; |
| 366 |
background-color:#eeeeee; |
| 367 |
border:1px solid #cccccc; |
| 368 |
-webkit-border-radius:0; |
| 369 |
-khtml-border-radius:0; |
| 370 |
-moz-border-radius:0; |
| 371 |
border-radius:0; |
| 372 |
-webkit-box-sizing:content-box; |
| 373 |
-moz-box-sizing:content-box; |
| 374 |
box-sizing:content-box; |
| 375 |
} |
| 376 |
|
| 377 |
table td .no_input_clipboard .copy_button a span.dashicons::before { |
| 378 |
display:inline-block; |
| 379 |
font-size:28px; |
| 380 |
width:40px; |
| 381 |
height:40px; |
| 382 |
line-height:40px; |
| 383 |
} |
| 384 |
|
| 385 |
table td .no_input_clipboard .copy_text input { |
| 386 |
color:#555; |
| 387 |
margin:0; |
| 388 |
height:30px; |
| 389 |
background-color:#eeeeee; |
| 390 |
border:1px solid #cccccc; |
| 391 |
-webkit-border-radius:0; |
| 392 |
-khtml-border-radius:0; |
| 393 |
-moz-border-radius:0; |
| 394 |
border-radius:0; |
| 395 |
-webkit-box-shadow:none; |
| 396 |
-moz-box-shadow:none; |
| 397 |
box-shadow:none; |
| 398 |
-webkit-box-sizing:content-box; |
| 399 |
-moz-box-sizing:content-box; |
| 400 |
box-sizing:content-box; |
| 401 |
} |
| 402 |
|
| 403 |
table td .no_input_clipboard .copy_text { |
| 404 |
margin:0 80px 0 0; /* Leave room for floating button. */ |
| 405 |
} |
| 406 |
|
| 407 |
body.rtl table td .no_input_clipboard .copy_text { |
| 408 |
margin:0 0 0 60px; /* Leave room for floating button. */ |
| 409 |
} |
| 410 |
|
| 411 |
/* |
| 412 |
* WooCommerce changes their tabs to icons at 900px. |
| 413 |
* WordPress collapses the admin menu at 960px. |
| 414 |
* WordPress changes to larger icons at 782px. |
| 415 |
* |
| 416 |
* WPSSO uses @media max-width values of 1330px, 1200px, 960px, 782px, and 600px. |
| 417 |
*/ |
| 418 |
@media screen and ( max-width:1200px ) { |
| 419 |
|
| 420 |
.wp-list-table.media .column-cb, |
| 421 |
.wp-list-table.media .check-column { |
| 422 |
width:3%; |
| 423 |
} |
| 424 |
} |
| 425 |
|
| 426 |
@media screen and ( max-width:782px ) { |
| 427 |
|
| 428 |
.wp-list-table.media .column-cb, |
| 429 |
.wp-list-table.media .check-column { |
| 430 |
width:6%; |
| 431 |
} |
| 432 |
|
| 433 |
#wpadminbar #wp-toolbar #wp-admin-bar-wpsso-toolbar-notices #wpsso-toolbar-notices-icon.ab-icon { |
| 434 |
top:-6px; |
| 435 |
} |
| 436 |
|
| 437 |
#wpadminbar #wp-toolbar #wp-admin-bar-wpsso-toolbar-notices #wpsso-toolbar-notices-icon.ab-icon::before { |
| 438 |
font-size:30px; |
| 439 |
} |
| 440 |
} |
| 441 |
|
| 442 |
@media screen and ( max-width:600px ) { |
| 443 |
|
| 444 |
.wp-list-table.media .column-cb, |
| 445 |
.wp-list-table.media .check-column { |
| 446 |
width:10%; |
| 447 |
} |
| 448 |
} |
| 449 |
|
| 450 |
|