From 957ad84b8115494e4fbf53f2afbfed15068664ac Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 4 Mar 2019 22:02:52 +0000 Subject: [PATCH] Coding standards: Fix incorrect CSS `rgba()` values. Also, fixes some indentation where spaces were used instead of tabs. Props nielslange, mukesh27. Fixes #45937. Built from https://develop.svn.wordpress.org/trunk@44791 git-svn-id: http://core.svn.wordpress.org/trunk@44623 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/about-rtl.css | 6 +-- wp-admin/css/about.css | 6 +-- wp-admin/css/admin-menu-rtl.css | 8 ++-- wp-admin/css/admin-menu.css | 8 ++-- wp-admin/css/code-editor-rtl.css | 4 +- wp-admin/css/code-editor.css | 4 +- wp-admin/css/color-picker-rtl.css | 8 ++-- wp-admin/css/color-picker.css | 8 ++-- wp-admin/css/common-rtl.css | 48 ++++++++++---------- wp-admin/css/common.css | 48 ++++++++++---------- wp-admin/css/customize-controls-rtl.css | 20 ++++---- wp-admin/css/customize-controls.css | 20 ++++---- wp-admin/css/customize-nav-menus-rtl.css | 2 +- wp-admin/css/customize-nav-menus.css | 2 +- wp-admin/css/customize-widgets-rtl.css | 4 +- wp-admin/css/customize-widgets.css | 4 +- wp-admin/css/dashboard-rtl.css | 2 +- wp-admin/css/dashboard.css | 2 +- wp-admin/css/edit-rtl.css | 6 +-- wp-admin/css/edit.css | 6 +-- wp-admin/css/forms-rtl.css | 24 +++++----- wp-admin/css/forms.css | 24 +++++----- wp-admin/css/install-rtl.css | 6 +-- wp-admin/css/install.css | 6 +-- wp-admin/css/list-tables-rtl.css | 14 +++--- wp-admin/css/list-tables.css | 14 +++--- wp-admin/css/login-rtl.css | 6 +-- wp-admin/css/login.css | 6 +-- wp-admin/css/media-rtl.css | 12 ++--- wp-admin/css/media.css | 12 ++--- wp-admin/css/nav-menus-rtl.css | 4 +- wp-admin/css/nav-menus.css | 4 +- wp-admin/css/revisions-rtl.css | 53 ++++++++++++---------- wp-admin/css/revisions.css | 53 ++++++++++++---------- wp-admin/css/themes-rtl.css | 30 ++++++------ wp-admin/css/themes.css | 30 ++++++------ wp-admin/css/widgets-rtl.css | 8 ++-- wp-admin/css/widgets.css | 8 ++-- wp-includes/class-wp-customize-widgets.php | 4 +- wp-includes/css/admin-bar-rtl.css | 14 +++--- wp-includes/css/admin-bar.css | 14 +++--- wp-includes/css/buttons-rtl.css | 12 ++--- wp-includes/css/buttons.css | 12 ++--- wp-includes/css/customize-preview-rtl.css | 2 +- wp-includes/css/customize-preview.css | 2 +- wp-includes/css/editor-rtl.css | 40 ++++++++-------- wp-includes/css/editor.css | 40 ++++++++-------- wp-includes/css/jquery-ui-dialog-rtl.css | 6 +-- wp-includes/css/jquery-ui-dialog.css | 6 +-- wp-includes/css/media-views-rtl.css | 48 ++++++++++---------- wp-includes/css/media-views.css | 48 ++++++++++---------- wp-includes/css/wp-auth-check-rtl.css | 2 +- wp-includes/css/wp-auth-check.css | 2 +- wp-includes/css/wp-embed-template.css | 4 +- wp-includes/css/wp-pointer-rtl.css | 2 +- wp-includes/css/wp-pointer.css | 2 +- wp-includes/functions.php | 18 ++++---- wp-includes/version.php | 2 +- 58 files changed, 408 insertions(+), 402 deletions(-) diff --git a/wp-admin/css/about-rtl.css b/wp-admin/css/about-rtl.css index e315a760dd..aa94402a4d 100644 --- a/wp-admin/css/about-rtl.css +++ b/wp-admin/css/about-rtl.css @@ -67,9 +67,9 @@ padding: 40px 10px 15px; overflow: auto; box-sizing: border-box; - background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent); + background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 60%, transparent); font-weight: 600; - text-shadow: 0px 0px 5px rgba(0,0,0,.75); + text-shadow: 0 0 5px rgba(0, 0, 0, 0.75); } .about-wrap .jetpack-video-wrapper { @@ -92,7 +92,7 @@ display: inline-block; width: 140px; text-rendering: optimizeLegibility; - box-shadow: 0 1px 3px rgba(0,0,0,0.2); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .svg .wp-badge { diff --git a/wp-admin/css/about.css b/wp-admin/css/about.css index 358b1f01d2..35d8a4691d 100644 --- a/wp-admin/css/about.css +++ b/wp-admin/css/about.css @@ -67,9 +67,9 @@ padding: 40px 10px 15px; overflow: auto; box-sizing: border-box; - background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent); + background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 60%, transparent); font-weight: 600; - text-shadow: 0px 0px 5px rgba(0,0,0,.75); + text-shadow: 0 0 5px rgba(0, 0, 0, 0.75); } .about-wrap .jetpack-video-wrapper { @@ -92,7 +92,7 @@ display: inline-block; width: 140px; text-rendering: optimizeLegibility; - box-shadow: 0 1px 3px rgba(0,0,0,0.2); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .svg .wp-badge { diff --git a/wp-admin/css/admin-menu-rtl.css b/wp-admin/css/admin-menu-rtl.css index 1bafcb919e..9c74077467 100644 --- a/wp-admin/css/admin-menu-rtl.css +++ b/wp-admin/css/admin-menu-rtl.css @@ -166,7 +166,7 @@ #adminmenu .wp-submenu a { color: #b4b9be; - color: rgba(240,245,250,0.7); + color: rgba(240, 245, 250, 0.7); } #adminmenu .wp-submenu a:hover, @@ -202,7 +202,7 @@ padding: 7px 0 8px; z-index: 9999; background-color: #32373c; - box-shadow: 0 3px 5px rgba(0,0,0,0.2); + box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); } .js #adminmenu .sub-open, @@ -359,14 +359,14 @@ div.wp-menu-image:before { color: #a0a5aa; - color: rgba(240,245,250,0.6); + color: rgba(240, 245, 250, 0.6); padding: 7px 0; transition: all .1s ease-in-out; } #adminmenu div.wp-menu-image:before { color: #a0a5aa; - color: rgba(240,245,250,0.6); + color: rgba(240, 245, 250, 0.6); } #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, diff --git a/wp-admin/css/admin-menu.css b/wp-admin/css/admin-menu.css index 3fd785906a..182fd780f4 100644 --- a/wp-admin/css/admin-menu.css +++ b/wp-admin/css/admin-menu.css @@ -166,7 +166,7 @@ #adminmenu .wp-submenu a { color: #b4b9be; - color: rgba(240,245,250,0.7); + color: rgba(240, 245, 250, 0.7); } #adminmenu .wp-submenu a:hover, @@ -202,7 +202,7 @@ padding: 7px 0 8px; z-index: 9999; background-color: #32373c; - box-shadow: 0 3px 5px rgba(0,0,0,0.2); + box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); } .js #adminmenu .sub-open, @@ -359,14 +359,14 @@ div.wp-menu-image:before { color: #a0a5aa; - color: rgba(240,245,250,0.6); + color: rgba(240, 245, 250, 0.6); padding: 7px 0; transition: all .1s ease-in-out; } #adminmenu div.wp-menu-image:before { color: #a0a5aa; - color: rgba(240,245,250,0.6); + color: rgba(240, 245, 250, 0.6); } #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, diff --git a/wp-admin/css/code-editor-rtl.css b/wp-admin/css/code-editor-rtl.css index 671277659b..57aa83b2aa 100644 --- a/wp-admin/css/code-editor-rtl.css +++ b/wp-admin/css/code-editor-rtl.css @@ -28,7 +28,7 @@ .wp-core-ui .CodeMirror-lint-message-error, .wp-core-ui .CodeMirror-lint-message-warning { - box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); margin: 5px 0 2px; padding: 3px 28px 3px 12px; } @@ -63,7 +63,7 @@ } .wrap .CodeMirror .CodeMirror-matchingbracket { - background: rgba(255, 150, 0, .3); + background: rgba(255, 150, 0, 0.3); color: inherit; } diff --git a/wp-admin/css/code-editor.css b/wp-admin/css/code-editor.css index cc959e4803..27db1fd33a 100644 --- a/wp-admin/css/code-editor.css +++ b/wp-admin/css/code-editor.css @@ -28,7 +28,7 @@ .wp-core-ui .CodeMirror-lint-message-error, .wp-core-ui .CodeMirror-lint-message-warning { - box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); margin: 5px 0 2px; padding: 3px 12px 3px 28px; } @@ -63,7 +63,7 @@ } .wrap .CodeMirror .CodeMirror-matchingbracket { - background: rgba(255, 150, 0, .3); + background: rgba(255, 150, 0, 0.3); color: inherit; } diff --git a/wp-admin/css/color-picker-rtl.css b/wp-admin/css/color-picker-rtl.css index 438f36c0ba..22362c2a77 100644 --- a/wp-admin/css/color-picker-rtl.css +++ b/wp-admin/css/color-picker-rtl.css @@ -45,7 +45,7 @@ .wp-color-result:focus { border-color: #5b9dd9; - box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); } .wp-color-result:active { @@ -115,14 +115,14 @@ .iris-picker .iris-strip .ui-slider-handle:focus { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .iris-picker .iris-palette:focus { box-shadow: - inset 0 0 5px rgba(0,0,0,.4), + inset 0 0 5px rgba(0, 0, 0, 0.4), 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } @media screen and (max-width: 782px) { diff --git a/wp-admin/css/color-picker.css b/wp-admin/css/color-picker.css index 7bad7226e8..d2147f0f37 100644 --- a/wp-admin/css/color-picker.css +++ b/wp-admin/css/color-picker.css @@ -45,7 +45,7 @@ .wp-color-result:focus { border-color: #5b9dd9; - box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); } .wp-color-result:active { @@ -115,14 +115,14 @@ .iris-picker .iris-strip .ui-slider-handle:focus { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .iris-picker .iris-palette:focus { box-shadow: - inset 0 0 5px rgba(0,0,0,.4), + inset 0 0 5px rgba(0, 0, 0, 0.4), 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } @media screen and (max-width: 782px) { diff --git a/wp-admin/css/common-rtl.css b/wp-admin/css/common-rtl.css index f63773c628..7f65eff194 100644 --- a/wp-admin/css/common-rtl.css +++ b/wp-admin/css/common-rtl.css @@ -156,7 +156,7 @@ color: #0073aa; z-index: 100000; line-height: normal; - box-shadow: 0 0 2px 2px rgba(0,0,0,.6); + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); text-decoration: none; /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; @@ -191,7 +191,7 @@ p.popular-tags, .imgedit-group, .comment-ays { border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); } table.widefat, @@ -274,7 +274,7 @@ a:focus .media-icon img, color: #124964; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 1px solid transparent; } @@ -423,7 +423,7 @@ code { padding: 3px 5px 2px 5px; margin: 0 1px; background: #eaeaea; - background: rgba(0,0,0,0.07); + background: rgba(0, 0, 0, 0.07); font-size: 13px; } @@ -647,7 +647,7 @@ code { .wrap .page-title-action:focus { border-color: #5b9dd9; - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } @@ -666,7 +666,7 @@ code { div#widgets-right .widget-top:hover, #widgets-left .widget-top:hover { border-color: #999; - box-shadow: 0 1px 2px rgba(0,0,0,0.1); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .sorthelper { @@ -831,7 +831,7 @@ img.emoji { .tagchecklist .ntdelbutton:focus .remove-tag-icon:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .key-labels label { @@ -996,7 +996,7 @@ th.action-links { margin: 12px 0 25px; padding: 0 10px; width: 100%; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); border: 1px solid #e5e5e5; background: #fff; color: #555; @@ -1185,7 +1185,7 @@ th.action-links { width: 24%; background: #fff; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); } .filter-group legend { @@ -1267,7 +1267,7 @@ th.action-links { margin: 0 5px; padding: 4px 8px; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; font-size: 11px; } @@ -1365,7 +1365,7 @@ div.updated, div.error { background: #fff; border-right: 4px solid #fff; - box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); margin: 5px 15px 2px; padding: 1px 12px; } @@ -1430,7 +1430,7 @@ div.error p, .notice-dismiss:focus { outline: none; - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 .notice-dismiss:focus { @@ -1558,7 +1558,7 @@ div.error { margin: 25px 2px 0 20px; background-color: #fff; border-right: 4px solid #ffba00; - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); } ul#dismissed-updates { @@ -1670,7 +1670,7 @@ form.upgrade .hint { background-color: #fff; border: 1px solid #ddd; border-top: none; - box-shadow: 0 1px 0 rgba(0,0,0,.025); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.025); } #screen-options-link-wrap, @@ -1681,7 +1681,7 @@ form.upgrade .hint { border: 1px solid #ddd; border-top: none; background: #fff; - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); + box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1); } #screen-meta-links .screen-meta-toggle { @@ -1879,7 +1879,7 @@ form.upgrade .hint { margin: 0 0 0 -1px; border-right: 2px solid #00a0d2; background: #f6fbfd; - box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); + box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02); } .contextual-help-tabs .active a { @@ -2564,9 +2564,9 @@ div.action-links { padding: 0 15px; margin-top: 174px; color: #fff; - background: rgba( 30, 30, 30, 0.9 ); - text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 ); - box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); + background: rgba(30, 30, 30, 0.9); + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); + box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); border-radius: 8px; } @@ -2582,7 +2582,7 @@ div.action-links { height: 250px; width: 100%; background: transparent; - box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); + box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } #plugin-information-tabs { @@ -2795,7 +2795,7 @@ div.action-links { max-width: 100%; width: auto; height: auto; - box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } /* rtl:ignore */ @@ -3050,7 +3050,7 @@ img { .js .postbox .handlediv:focus .toggle-indicator:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } /* @todo: appears to be Press This only and overridden */ @@ -3145,7 +3145,7 @@ img { } [role="treeitem"] .folder-label.focus { color: #124964; - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } [role="treeitem"].hover, [role="treeitem"] .folder-label.hover { @@ -3374,7 +3374,7 @@ img { .widget-top .widget-action:focus .toggle-indicator:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30,140,190,.8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .control-section .accordion-section-title:after, diff --git a/wp-admin/css/common.css b/wp-admin/css/common.css index ae6d418a4d..fffe1b3e5d 100644 --- a/wp-admin/css/common.css +++ b/wp-admin/css/common.css @@ -156,7 +156,7 @@ color: #0073aa; z-index: 100000; line-height: normal; - box-shadow: 0 0 2px 2px rgba(0,0,0,.6); + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); text-decoration: none; /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; @@ -191,7 +191,7 @@ p.popular-tags, .imgedit-group, .comment-ays { border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); } table.widefat, @@ -274,7 +274,7 @@ a:focus .media-icon img, color: #124964; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 1px solid transparent; } @@ -423,7 +423,7 @@ code { padding: 3px 5px 2px 5px; margin: 0 1px; background: #eaeaea; - background: rgba(0,0,0,0.07); + background: rgba(0, 0, 0, 0.07); font-size: 13px; } @@ -647,7 +647,7 @@ code { .wrap .page-title-action:focus { border-color: #5b9dd9; - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } @@ -666,7 +666,7 @@ code { div#widgets-right .widget-top:hover, #widgets-left .widget-top:hover { border-color: #999; - box-shadow: 0 1px 2px rgba(0,0,0,0.1); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .sorthelper { @@ -831,7 +831,7 @@ img.emoji { .tagchecklist .ntdelbutton:focus .remove-tag-icon:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .key-labels label { @@ -996,7 +996,7 @@ th.action-links { margin: 12px 0 25px; padding: 0 10px; width: 100%; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); border: 1px solid #e5e5e5; background: #fff; color: #555; @@ -1185,7 +1185,7 @@ th.action-links { width: 24%; background: #fff; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); } .filter-group legend { @@ -1267,7 +1267,7 @@ th.action-links { margin: 0 5px; padding: 4px 8px; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; font-size: 11px; } @@ -1365,7 +1365,7 @@ div.updated, div.error { background: #fff; border-left: 4px solid #fff; - box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); margin: 5px 15px 2px; padding: 1px 12px; } @@ -1430,7 +1430,7 @@ div.error p, .notice-dismiss:focus { outline: none; - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 .notice-dismiss:focus { @@ -1558,7 +1558,7 @@ div.error { margin: 25px 20px 0 2px; background-color: #fff; border-left: 4px solid #ffba00; - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); } ul#dismissed-updates { @@ -1670,7 +1670,7 @@ form.upgrade .hint { background-color: #fff; border: 1px solid #ddd; border-top: none; - box-shadow: 0 1px 0 rgba(0,0,0,.025); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.025); } #screen-options-link-wrap, @@ -1681,7 +1681,7 @@ form.upgrade .hint { border: 1px solid #ddd; border-top: none; background: #fff; - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); + box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1); } #screen-meta-links .screen-meta-toggle { @@ -1879,7 +1879,7 @@ form.upgrade .hint { margin: 0 -1px 0 0; border-left: 2px solid #00a0d2; background: #f6fbfd; - box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02); + box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02); } .contextual-help-tabs .active a { @@ -2564,9 +2564,9 @@ div.action-links { padding: 0 15px; margin-top: 174px; color: #fff; - background: rgba( 30, 30, 30, 0.9 ); - text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 ); - box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 ); + background: rgba(30, 30, 30, 0.9); + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); + box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); border-radius: 8px; } @@ -2582,7 +2582,7 @@ div.action-links { height: 250px; width: 100%; background: transparent; - box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 ); + box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); } #plugin-information-tabs { @@ -2795,7 +2795,7 @@ div.action-links { max-width: 100%; width: auto; height: auto; - box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } /* rtl:ignore */ @@ -3050,7 +3050,7 @@ img { .js .postbox .handlediv:focus .toggle-indicator:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } /* @todo: appears to be Press This only and overridden */ @@ -3145,7 +3145,7 @@ img { } [role="treeitem"] .folder-label.focus { color: #124964; - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } [role="treeitem"].hover, [role="treeitem"] .folder-label.hover { @@ -3374,7 +3374,7 @@ img { .widget-top .widget-action:focus .toggle-indicator:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30,140,190,.8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .control-section .accordion-section-title:after, diff --git a/wp-admin/css/customize-controls-rtl.css b/wp-admin/css/customize-controls-rtl.css index c97639ec20..0b5cbfe954 100644 --- a/wp-admin/css/customize-controls-rtl.css +++ b/wp-admin/css/customize-controls-rtl.css @@ -21,7 +21,7 @@ body { } #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked { - background-color: rgba( 0, 0, 0, 0.7 ); + background-color: rgba(0, 0, 0, 0.7); padding: 25px; } @@ -34,7 +34,7 @@ body { padding: 25px 109px 25px 25px; position: relative; background: #fff; - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); line-height: 1.5; overflow-y: auto; text-align: right; @@ -392,7 +392,7 @@ body.trashing #publish-settings { position: absolute; z-index: 9; width: 100%; - box-shadow: 0 1px 0 rgba(0, 0, 0, .1); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); } #customize-controls .customize-section-title.is-in-view { @@ -1532,7 +1532,7 @@ p.customize-section-description { outline: none; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 3px 1px rgba(30, 140, 190, .8); + 0 0 3px 1px rgba(30, 140, 190, 0.8); } .customize-control-header .uploaded div:last-child > .choice { @@ -1624,7 +1624,7 @@ p.customize-section-description { .theme-browser .theme.active .theme-actions, .wp-customizer .theme-browser .theme .theme-actions { padding: 10px 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } @media screen and (max-width: 640px) { @@ -1786,7 +1786,7 @@ p.customize-section-description { .themes-filter-bar .feature-filter-toggle.open { background: #eee; border-color: #999; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); transform: translateY(1px); } @@ -2245,7 +2245,7 @@ p.customize-section-description { } .wp-customizer .theme-overlay .theme-backdrop { - background: rgba( 238, 238, 238, 0.75 ); + background: rgba(238, 238, 238, 0.75); position: fixed; z-index: 110; } @@ -2345,7 +2345,7 @@ body.cheatin { padding: 1em 2em; max-width: 700px; min-width: 0; - box-shadow: 0 1px 3px rgba(0,0,0,0.13); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13); } body.cheatin h1 { @@ -2643,7 +2643,7 @@ body.adding-widget .add-new-widget:before, #available-menu-items-search .clear-results:focus { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } #available-menu-items-search .search-icon:after, @@ -2942,7 +2942,7 @@ body.adding-widget .add-new-widget:before, .theme-browser .theme.active .theme-actions, .wp-customizer .theme-browser .theme .theme-actions { padding: 9px 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } } diff --git a/wp-admin/css/customize-controls.css b/wp-admin/css/customize-controls.css index d42a4a2388..d3dbe764ff 100644 --- a/wp-admin/css/customize-controls.css +++ b/wp-admin/css/customize-controls.css @@ -21,7 +21,7 @@ body { } #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked { - background-color: rgba( 0, 0, 0, 0.7 ); + background-color: rgba(0, 0, 0, 0.7); padding: 25px; } @@ -34,7 +34,7 @@ body { padding: 25px 25px 25px 109px; position: relative; background: #fff; - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); line-height: 1.5; overflow-y: auto; text-align: left; @@ -392,7 +392,7 @@ body.trashing #publish-settings { position: absolute; z-index: 9; width: 100%; - box-shadow: 0 1px 0 rgba(0, 0, 0, .1); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); } #customize-controls .customize-section-title.is-in-view { @@ -1532,7 +1532,7 @@ p.customize-section-description { outline: none; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 3px 1px rgba(30, 140, 190, .8); + 0 0 3px 1px rgba(30, 140, 190, 0.8); } .customize-control-header .uploaded div:last-child > .choice { @@ -1624,7 +1624,7 @@ p.customize-section-description { .theme-browser .theme.active .theme-actions, .wp-customizer .theme-browser .theme .theme-actions { padding: 10px 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } @media screen and (max-width: 640px) { @@ -1786,7 +1786,7 @@ p.customize-section-description { .themes-filter-bar .feature-filter-toggle.open { background: #eee; border-color: #999; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); transform: translateY(1px); } @@ -2245,7 +2245,7 @@ p.customize-section-description { } .wp-customizer .theme-overlay .theme-backdrop { - background: rgba( 238, 238, 238, 0.75 ); + background: rgba(238, 238, 238, 0.75); position: fixed; z-index: 110; } @@ -2345,7 +2345,7 @@ body.cheatin { padding: 1em 2em; max-width: 700px; min-width: 0; - box-shadow: 0 1px 3px rgba(0,0,0,0.13); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13); } body.cheatin h1 { @@ -2643,7 +2643,7 @@ body.adding-widget .add-new-widget:before, #available-menu-items-search .clear-results:focus { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } #available-menu-items-search .search-icon:after, @@ -2942,7 +2942,7 @@ body.adding-widget .add-new-widget:before, .theme-browser .theme.active .theme-actions, .wp-customizer .theme-browser .theme .theme-actions { padding: 9px 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } } diff --git a/wp-admin/css/customize-nav-menus-rtl.css b/wp-admin/css/customize-nav-menus-rtl.css index f80ace0174..9aea719f6d 100644 --- a/wp-admin/css/customize-nav-menus-rtl.css +++ b/wp-admin/css/customize-nav-menus-rtl.css @@ -870,7 +870,7 @@ li.assigned-to-menu-location .add-new-menu-item { #available-menu-items .item-add:focus:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } diff --git a/wp-admin/css/customize-nav-menus.css b/wp-admin/css/customize-nav-menus.css index b5a813db2c..cb5ca29d46 100644 --- a/wp-admin/css/customize-nav-menus.css +++ b/wp-admin/css/customize-nav-menus.css @@ -870,7 +870,7 @@ li.assigned-to-menu-location .add-new-menu-item { #available-menu-items .item-add:focus:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } diff --git a/wp-admin/css/customize-widgets-rtl.css b/wp-admin/css/customize-widgets-rtl.css index a46f233c45..0324646548 100644 --- a/wp-admin/css/customize-widgets-rtl.css +++ b/wp-admin/css/customize-widgets-rtl.css @@ -112,7 +112,7 @@ .control-section.accordion-section.highlighted > .accordion-section-title, .customize-control-widget_form.highlighted { outline: none; - box-shadow: 0 0 2px rgba(30,140,190,0.8); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); position: relative; z-index: 1; } @@ -189,7 +189,7 @@ #customize-theme-controls .widget-area-select .selected { color: #fff; - text-shadow: 0 -1px 0 rgba(0,0,0,.4); + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4); background: #00a0d2; } diff --git a/wp-admin/css/customize-widgets.css b/wp-admin/css/customize-widgets.css index c2ad0552c2..d24539e51b 100644 --- a/wp-admin/css/customize-widgets.css +++ b/wp-admin/css/customize-widgets.css @@ -112,7 +112,7 @@ .control-section.accordion-section.highlighted > .accordion-section-title, .customize-control-widget_form.highlighted { outline: none; - box-shadow: 0 0 2px rgba(30,140,190,0.8); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); position: relative; z-index: 1; } @@ -189,7 +189,7 @@ #customize-theme-controls .widget-area-select .selected { color: #fff; - text-shadow: 0 -1px 0 rgba(0,0,0,.4); + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4); background: #00a0d2; } diff --git a/wp-admin/css/dashboard-rtl.css b/wp-admin/css/dashboard-rtl.css index 990ca14202..8c91fd74b5 100644 --- a/wp-admin/css/dashboard-rtl.css +++ b/wp-admin/css/dashboard-rtl.css @@ -104,7 +104,7 @@ margin: 16px 0; padding: 23px 10px 0; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; font-size: 13px; line-height: 2.1em; diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css index 2b0f20f859..90aa5b691c 100644 --- a/wp-admin/css/dashboard.css +++ b/wp-admin/css/dashboard.css @@ -104,7 +104,7 @@ margin: 16px 0; padding: 23px 10px 0; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; font-size: 13px; line-height: 2.1em; diff --git a/wp-admin/css/edit-rtl.css b/wp-admin/css/edit-rtl.css index 0de68794bd..7a9135d055 100644 --- a/wp-admin/css/edit-rtl.css +++ b/wp-admin/css/edit-rtl.css @@ -154,7 +154,7 @@ body.post-new-php .submitbox .submitdelete { position: relative; min-width: 255px; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; } @@ -312,7 +312,7 @@ form#tags-filter { border: 1px solid #e5e5e5; border-top: none; background-color: #f7f7f7; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); z-index: 999; } @@ -506,7 +506,7 @@ span.wp-media-buttons-icon:before { width: 450px; margin-right: -225px; background: #fff; - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); line-height: 1.5; z-index: 1000005; overflow-y: auto; diff --git a/wp-admin/css/edit.css b/wp-admin/css/edit.css index f3537f5046..1f878a3e45 100644 --- a/wp-admin/css/edit.css +++ b/wp-admin/css/edit.css @@ -154,7 +154,7 @@ body.post-new-php .submitbox .submitdelete { position: relative; min-width: 255px; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; } @@ -312,7 +312,7 @@ form#tags-filter { border: 1px solid #e5e5e5; border-top: none; background-color: #f7f7f7; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); z-index: 999; } @@ -506,7 +506,7 @@ span.wp-media-buttons-icon:before { width: 450px; margin-left: -225px; background: #fff; - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); line-height: 1.5; z-index: 1000005; overflow-y: auto; diff --git a/wp-admin/css/forms-rtl.css b/wp-admin/css/forms-rtl.css index 5cf7a2e599..0a95bd05d4 100644 --- a/wp-admin/css/forms-rtl.css +++ b/wp-admin/css/forms-rtl.css @@ -24,7 +24,7 @@ input[type="week"], select, textarea { border: 1px solid #ddd; - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); background-color: #fff; color: #32373c; outline: none; @@ -51,7 +51,7 @@ input[type="radio"]:focus, select:focus, textarea:focus { border-color: #5b9dd9; - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } @@ -86,7 +86,7 @@ input[type="radio"] { width: 16px; min-width: 16px; -webkit-appearance: none; - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); transition: .05s border-color ease-in-out; } @@ -243,7 +243,7 @@ textarea[readonly] { .form-invalid select, .form-invalid select:focus { border-color: #dc3232 !important; - box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); + box-shadow: 0 0 2px rgba(204, 0, 0, 0.8); } .form-table .form-required.form-invalid td:after { @@ -277,10 +277,10 @@ select:disabled, select.disabled, textarea:disabled, textarea.disabled { - background: rgba( 255, 255, 255, 0.5 ); - border-color: rgba( 222, 222, 222, 0.75 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); - color: rgba( 51, 51, 51, 0.5 ); + background: rgba(255, 255, 255, 0.5); + border-color: rgba(222, 222, 222, 0.75); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); + color: rgba(51, 51, 51, 0.5); } input[type="file"]:disabled, @@ -579,7 +579,7 @@ ul#add-to-blog-users { position: absolute; z-index: 10000; border: 1px solid #5b9dd9; - box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8); background-color: #fff; } @@ -782,7 +782,7 @@ table.form-table td .updated p { min-width: 255px; max-width: 520px; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; } @@ -1114,7 +1114,7 @@ table.form-table td .updated p { .privacy_requests tbody th { border-right: 4px solid #fff; background: #fff; - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .privacy_requests tbody .has-request-results th { @@ -1127,7 +1127,7 @@ table.form-table td .updated p { .privacy_requests tbody td { background: #fff; - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .privacy_requests tbody .has-request-results td { diff --git a/wp-admin/css/forms.css b/wp-admin/css/forms.css index 0f44f73474..85f4828888 100644 --- a/wp-admin/css/forms.css +++ b/wp-admin/css/forms.css @@ -24,7 +24,7 @@ input[type="week"], select, textarea { border: 1px solid #ddd; - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 ); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); background-color: #fff; color: #32373c; outline: none; @@ -51,7 +51,7 @@ input[type="radio"]:focus, select:focus, textarea:focus { border-color: #5b9dd9; - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } @@ -86,7 +86,7 @@ input[type="radio"] { width: 16px; min-width: 16px; -webkit-appearance: none; - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 ); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); transition: .05s border-color ease-in-out; } @@ -243,7 +243,7 @@ textarea[readonly] { .form-invalid select, .form-invalid select:focus { border-color: #dc3232 !important; - box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); + box-shadow: 0 0 2px rgba(204, 0, 0, 0.8); } .form-table .form-required.form-invalid td:after { @@ -277,10 +277,10 @@ select:disabled, select.disabled, textarea:disabled, textarea.disabled { - background: rgba( 255, 255, 255, 0.5 ); - border-color: rgba( 222, 222, 222, 0.75 ); - box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 ); - color: rgba( 51, 51, 51, 0.5 ); + background: rgba(255, 255, 255, 0.5); + border-color: rgba(222, 222, 222, 0.75); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); + color: rgba(51, 51, 51, 0.5); } input[type="file"]:disabled, @@ -579,7 +579,7 @@ ul#add-to-blog-users { position: absolute; z-index: 10000; border: 1px solid #5b9dd9; - box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8); background-color: #fff; } @@ -782,7 +782,7 @@ table.form-table td .updated p { min-width: 255px; max-width: 520px; border: 1px solid #e5e5e5; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); background: #fff; } @@ -1114,7 +1114,7 @@ table.form-table td .updated p { .privacy_requests tbody th { border-left: 4px solid #fff; background: #fff; - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .privacy_requests tbody .has-request-results th { @@ -1127,7 +1127,7 @@ table.form-table td .updated p { .privacy_requests tbody td { background: #fff; - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .privacy_requests tbody .has-request-results td { diff --git a/wp-admin/css/install-rtl.css b/wp-admin/css/install-rtl.css index a32ffa4a6a..b5921196d2 100644 --- a/wp-admin/css/install-rtl.css +++ b/wp-admin/css/install-rtl.css @@ -11,7 +11,7 @@ body { padding: 20px 20px 10px 20px; max-width: 700px; -webkit-font-smoothing: subpixel-antialiased; - box-shadow: 0 1px 3px rgba(0,0,0,0.13); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13); } a { @@ -27,7 +27,7 @@ a:focus { color: #124964; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 a:focus { @@ -163,7 +163,7 @@ textarea { font-size: 15px; padding: 3px 5px; border: 1px solid #ddd; - box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); } input, diff --git a/wp-admin/css/install.css b/wp-admin/css/install.css index 0c5b405dcb..ea99ce25a9 100644 --- a/wp-admin/css/install.css +++ b/wp-admin/css/install.css @@ -11,7 +11,7 @@ body { padding: 20px 20px 10px 20px; max-width: 700px; -webkit-font-smoothing: subpixel-antialiased; - box-shadow: 0 1px 3px rgba(0,0,0,0.13); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13); } a { @@ -27,7 +27,7 @@ a:focus { color: #124964; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 a:focus { @@ -163,7 +163,7 @@ textarea { font-size: 15px; padding: 3px 5px; border: 1px solid #ddd; - box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07); } input, diff --git a/wp-admin/css/list-tables-rtl.css b/wp-admin/css/list-tables-rtl.css index c2acc60df9..2172bf0205 100644 --- a/wp-admin/css/list-tables-rtl.css +++ b/wp-admin/css/list-tables-rtl.css @@ -506,7 +506,7 @@ th.asc a:focus span.sorting-indicator:before { .wp-list-table .toggle-row:focus:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 .wp-list-table .toggle-row:focus:before { @@ -1211,15 +1211,15 @@ ul.cat-checklist { .plugin-install #the-list td, .upgrade .plugins td, .upgrade .plugins th { - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .plugins tr.active.plugin-update-tr + tr.inactive th, .plugins tr.active.plugin-update-tr + tr.inactive td, .plugins tr.active + tr.inactive th, .plugins tr.active + tr.inactive td { - border-top: 1px solid rgba(0,0,0,0.03); - box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; + border-top: 1px solid rgba(0, 0, 0, 0.03); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02), inset 0 -1px 0 #e1e1e1; } .plugins .update td, @@ -1257,7 +1257,7 @@ ul.cat-checklist { .plugins .plugin-title .dashicons:before { padding: 2px; background-color: #eee; - box-shadow: inset 0 0 10px rgba(160,165,170,.15); + box-shadow: inset 0 0 10px rgba(160, 165, 170, 0.15); font-size: 60px; color: #B4B9BE; } @@ -1290,7 +1290,7 @@ ul.cat-checklist { } .plugins .plugin-update-tr .plugin-update { - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); overflow: hidden; /* clearfix */ padding: 0; } @@ -2132,7 +2132,7 @@ div.action-links, table.plugin-install #the-list tr { display: block; - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .plugin-card { diff --git a/wp-admin/css/list-tables.css b/wp-admin/css/list-tables.css index 20eb9ca585..87cc3f2f8a 100644 --- a/wp-admin/css/list-tables.css +++ b/wp-admin/css/list-tables.css @@ -506,7 +506,7 @@ th.asc a:focus span.sorting-indicator:before { .wp-list-table .toggle-row:focus:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 .wp-list-table .toggle-row:focus:before { @@ -1211,15 +1211,15 @@ ul.cat-checklist { .plugin-install #the-list td, .upgrade .plugins td, .upgrade .plugins th { - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .plugins tr.active.plugin-update-tr + tr.inactive th, .plugins tr.active.plugin-update-tr + tr.inactive td, .plugins tr.active + tr.inactive th, .plugins tr.active + tr.inactive td { - border-top: 1px solid rgba(0,0,0,0.03); - box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; + border-top: 1px solid rgba(0, 0, 0, 0.03); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02), inset 0 -1px 0 #e1e1e1; } .plugins .update td, @@ -1257,7 +1257,7 @@ ul.cat-checklist { .plugins .plugin-title .dashicons:before { padding: 2px; background-color: #eee; - box-shadow: inset 0 0 10px rgba(160,165,170,.15); + box-shadow: inset 0 0 10px rgba(160, 165, 170, 0.15); font-size: 60px; color: #B4B9BE; } @@ -1290,7 +1290,7 @@ ul.cat-checklist { } .plugins .plugin-update-tr .plugin-update { - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); overflow: hidden; /* clearfix */ padding: 0; } @@ -2132,7 +2132,7 @@ div.action-links, table.plugin-install #the-list tr { display: block; - box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } .plugin-card { diff --git a/wp-admin/css/login-rtl.css b/wp-admin/css/login-rtl.css index 9eb42d1764..89991ab77b 100644 --- a/wp-admin/css/login-rtl.css +++ b/wp-admin/css/login-rtl.css @@ -37,7 +37,7 @@ a:focus { color: #124964; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 a:focus { @@ -56,7 +56,7 @@ p { margin-right: 0; margin-bottom: 20px; background-color: #fff; - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); } .login .success { @@ -104,7 +104,7 @@ p { font-weight: 400; overflow: hidden; background: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.13); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13); } .login form .forgetmenot { diff --git a/wp-admin/css/login.css b/wp-admin/css/login.css index a8cf64a78d..43920e9434 100644 --- a/wp-admin/css/login.css +++ b/wp-admin/css/login.css @@ -37,7 +37,7 @@ a:focus { color: #124964; box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .ie8 a:focus { @@ -56,7 +56,7 @@ p { margin-left: 0; margin-bottom: 20px; background-color: #fff; - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); } .login .success { @@ -104,7 +104,7 @@ p { font-weight: 400; overflow: hidden; background: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.13); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13); } .login form .forgetmenot { diff --git a/wp-admin/css/media-rtl.css b/wp-admin/css/media-rtl.css index 36e905acab..ea2f0bca8d 100644 --- a/wp-admin/css/media-rtl.css +++ b/wp-admin/css/media-rtl.css @@ -164,7 +164,7 @@ overflow: hidden; border-radius: 22px; background: #ddd; - box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } .media-item .bar { @@ -174,7 +174,7 @@ margin-top: -22px; border-radius: 22px; background-color: #0073aa; - box-shadow: inset 0 0 2px rgba(0,0,0,0.3); + box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); } .media-item .progress .percent { @@ -186,7 +186,7 @@ text-align: center; line-height: 22px; font-weight: 400; - text-shadow: 0 1px 2px rgba(0,0,0,0.2); + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .upload-php .fixed .column-parent { @@ -222,7 +222,7 @@ .find-box { background-color: #fff; - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); width: 600px; overflow: hidden; margin-right: -300px; @@ -312,7 +312,7 @@ #find-posts-close:focus { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; outline-offset: -2px; @@ -1091,7 +1091,7 @@ border color while dragging a file over the uploader drop area */ .image-editor .imgedit-settings .imgedit-help-toggle:focus { color: #0074a2; border-color: #5b9dd9; - box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } diff --git a/wp-admin/css/media.css b/wp-admin/css/media.css index 56abfd4823..c45fa3b331 100644 --- a/wp-admin/css/media.css +++ b/wp-admin/css/media.css @@ -164,7 +164,7 @@ overflow: hidden; border-radius: 22px; background: #ddd; - box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } .media-item .bar { @@ -174,7 +174,7 @@ margin-top: -22px; border-radius: 22px; background-color: #0073aa; - box-shadow: inset 0 0 2px rgba(0,0,0,0.3); + box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); } .media-item .progress .percent { @@ -186,7 +186,7 @@ text-align: center; line-height: 22px; font-weight: 400; - text-shadow: 0 1px 2px rgba(0,0,0,0.2); + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .upload-php .fixed .column-parent { @@ -222,7 +222,7 @@ .find-box { background-color: #fff; - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); width: 600px; overflow: hidden; margin-left: -300px; @@ -312,7 +312,7 @@ #find-posts-close:focus { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; outline-offset: -2px; @@ -1091,7 +1091,7 @@ border color while dragging a file over the uploader drop area */ .image-editor .imgedit-settings .imgedit-help-toggle:focus { color: #0074a2; border-color: #5b9dd9; - box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } diff --git a/wp-admin/css/nav-menus-rtl.css b/wp-admin/css/nav-menus-rtl.css index be6d6ddc81..715d51e05a 100644 --- a/wp-admin/css/nav-menus-rtl.css +++ b/wp-admin/css/nav-menus-rtl.css @@ -629,7 +629,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } .nav-menus-php .item-edit:focus:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } /* Menu editing */ @@ -645,7 +645,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ border: 1px solid #e5e5e5; border-top: none; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); } .menu-item-settings .field-move { diff --git a/wp-admin/css/nav-menus.css b/wp-admin/css/nav-menus.css index 0a1b75f3b0..101323c8e9 100644 --- a/wp-admin/css/nav-menus.css +++ b/wp-admin/css/nav-menus.css @@ -629,7 +629,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } .nav-menus-php .item-edit:focus:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } /* Menu editing */ @@ -645,7 +645,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ border: 1px solid #e5e5e5; border-top: none; - box-shadow: 0 1px 1px rgba(0,0,0,0.04); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); } .menu-item-settings .field-move { diff --git a/wp-admin/css/revisions-rtl.css b/wp-admin/css/revisions-rtl.css index 7a4abd5036..14984abbfb 100644 --- a/wp-admin/css/revisions-rtl.css +++ b/wp-admin/css/revisions-rtl.css @@ -7,7 +7,7 @@ } .revisions-diff-frame { - top: 10px; + top: 10px; } .revisions-controls { @@ -26,7 +26,7 @@ top: 0; height: 82px; background: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .revisions-tickmarks { @@ -113,8 +113,8 @@ body.folded .revisions .loading-indicator { .revisions-meta { margin-top: 20px; background-color: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); - overflow: hidden; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + overflow: hidden; } .revisions.pinned .revisions-meta { @@ -176,7 +176,7 @@ body.folded .revisions .loading-indicator { .revisions-diff { padding: 15px; background-color: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .revisions-diff h3:first-child { @@ -401,7 +401,7 @@ table.diff .diff-addedline ins { .arrow:after { z-index: 9999; background-color: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .arrow.top { @@ -474,7 +474,7 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { .wp-slider .ui-slider-handle.ui-state-active { background: #eee; border-color: #999; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); transform: translateY(1px); } @@ -569,30 +569,33 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { #diff-previous-revision { margin-top: -1em; } - .revisions-buttons { - overflow: hidden; - margin-bottom: 15px; - } - .revisions-controls, - .comparing-two-revisions .revisions-controls { - height: 170px; - } + .revisions-buttons { + overflow: hidden; + margin-bottom: 15px; + } - .revisions-tooltip { - bottom: 130px; - z-index: 2; - } + .revisions-controls, + .comparing-two-revisions .revisions-controls { + height: 170px; + } + + .revisions-tooltip { + bottom: 130px; + z-index: 2; + } + + .diff-meta { + overflow: hidden; + } - .diff-meta { - overflow: hidden; - } table.diff { -ms-word-break: break-all; word-break: break-all; word-wrap: break-word; } - .diff-meta input.restore-revision { - margin-top: 0; - } + + .diff-meta input.restore-revision { + margin-top: 0; + } } diff --git a/wp-admin/css/revisions.css b/wp-admin/css/revisions.css index 9239fca36a..2069b4fe6b 100644 --- a/wp-admin/css/revisions.css +++ b/wp-admin/css/revisions.css @@ -7,7 +7,7 @@ } .revisions-diff-frame { - top: 10px; + top: 10px; } .revisions-controls { @@ -26,7 +26,7 @@ top: 0; height: 82px; background: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .revisions-tickmarks { @@ -113,8 +113,8 @@ body.folded .revisions .loading-indicator { .revisions-meta { margin-top: 20px; background-color: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); - overflow: hidden; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + overflow: hidden; } .revisions.pinned .revisions-meta { @@ -176,7 +176,7 @@ body.folded .revisions .loading-indicator { .revisions-diff { padding: 15px; background-color: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .revisions-diff h3:first-child { @@ -401,7 +401,7 @@ table.diff .diff-addedline ins { .arrow:after { z-index: 9999; background-color: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .arrow.top { @@ -474,7 +474,7 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { .wp-slider .ui-slider-handle.ui-state-active { background: #eee; border-color: #999; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); transform: translateY(1px); } @@ -569,30 +569,33 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { #diff-previous-revision { margin-top: -1em; } - .revisions-buttons { - overflow: hidden; - margin-bottom: 15px; - } - .revisions-controls, - .comparing-two-revisions .revisions-controls { - height: 170px; - } + .revisions-buttons { + overflow: hidden; + margin-bottom: 15px; + } - .revisions-tooltip { - bottom: 130px; - z-index: 2; - } + .revisions-controls, + .comparing-two-revisions .revisions-controls { + height: 170px; + } + + .revisions-tooltip { + bottom: 130px; + z-index: 2; + } + + .diff-meta { + overflow: hidden; + } - .diff-meta { - overflow: hidden; - } table.diff { -ms-word-break: break-all; word-break: break-all; word-wrap: break-word; } - .diff-meta input.restore-revision { - margin-top: 0; - } + + .diff-meta input.restore-revision { + margin-top: 0; + } } diff --git a/wp-admin/css/themes-rtl.css b/wp-admin/css/themes-rtl.css index 9c3a7e0d44..f38e0288d4 100644 --- a/wp-admin/css/themes-rtl.css +++ b/wp-admin/css/themes-rtl.css @@ -60,7 +60,7 @@ body.js .theme-browser.search-loading { position: relative; width: 30.6%; border: 1px solid #ddd; - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); + box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1); box-sizing: border-box; } @@ -84,12 +84,12 @@ body.js .theme-browser.search-loading { height: 18px; margin: 0; padding: 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: #fff; - background: rgba(255,255,255,0.65); + background: rgba(255, 255, 255, 0.65); } /* Activate and Customize buttons, shown on hover and focus */ @@ -99,7 +99,7 @@ body.js .theme-browser.search-loading { transition: opacity 0.1s ease-in-out; height: auto; background: rgba(244, 244, 244, 0.7); - border-right: 1px solid rgba(0,0,0,0.05); + border-right: 1px solid rgba(0, 0, 0, 0.05); } .theme-browser .theme:hover .theme-actions, @@ -165,10 +165,10 @@ body.js .theme-browser.search-loading { left: 20%; right: 20%; background: #23282d; - background: rgba(0,0,0,0.7); + background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 15px; - text-shadow: 0 1px 0 rgba(0,0,0,0.6); + text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); -webkit-font-smoothing: antialiased; font-weight: 600; padding: 15px 12px; @@ -179,7 +179,7 @@ body.js .theme-browser.search-loading { .theme-browser .theme:focus { border-color: #5b9dd9; - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); } .theme-browser .theme:focus .more-details { @@ -205,7 +205,7 @@ body.js .theme-browser.search-loading { color: #fff; padding-left: 110px; font-weight: 300; - box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5); } .theme-browser .customize-control .theme.active .theme-name { @@ -217,7 +217,7 @@ body.js .theme-browser.search-loading { } .theme-browser .theme.active .theme-actions { - background: rgba(49,49,49,0.7); + background: rgba(49, 49, 49, 0.7); border-right: none; opacity: 1; } @@ -233,7 +233,7 @@ body.js .theme-browser.search-loading { transform: translateY(-50%); left: 0; padding: 10px 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } .theme-browser .theme.active .theme-actions .button-primary { @@ -367,7 +367,7 @@ body.js .theme-browser.search-loading { top: 0; bottom: 0; background: #f1f1f1; - background: rgba( 238, 238, 238, 0.9 ); + background: rgba(238, 238, 238, 0.9); z-index: 10000; /* Over WP Pointers. */ } @@ -573,7 +573,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { box-sizing: border-box; overflow: hidden; position: relative; - box-shadow: 0 0 0 1px rgba(0,0,0,0.2); + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); } .theme-overlay .screenshot:after { @@ -1166,13 +1166,13 @@ div#custom-background-image img { .background-position-control input[type="radio"]:checked ~ .button { background: #eee; border-color: #999; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, .5 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); z-index: 1; } .background-position-control input[type="radio"]:focus ~ .button { border-color: #5b9dd9; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, .5 ), 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(0, 115, 170, 0.8); color: #23282d; } @@ -1529,7 +1529,7 @@ body.full-overlay-active { .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .wp-full-overlay .collapse-sidebar-label { diff --git a/wp-admin/css/themes.css b/wp-admin/css/themes.css index e69f8a2ebe..ed1a3db7f2 100644 --- a/wp-admin/css/themes.css +++ b/wp-admin/css/themes.css @@ -60,7 +60,7 @@ body.js .theme-browser.search-loading { position: relative; width: 30.6%; border: 1px solid #ddd; - box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1); + box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1); box-sizing: border-box; } @@ -84,12 +84,12 @@ body.js .theme-browser.search-loading { height: 18px; margin: 0; padding: 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: #fff; - background: rgba(255,255,255,0.65); + background: rgba(255, 255, 255, 0.65); } /* Activate and Customize buttons, shown on hover and focus */ @@ -99,7 +99,7 @@ body.js .theme-browser.search-loading { transition: opacity 0.1s ease-in-out; height: auto; background: rgba(244, 244, 244, 0.7); - border-left: 1px solid rgba(0,0,0,0.05); + border-left: 1px solid rgba(0, 0, 0, 0.05); } .theme-browser .theme:hover .theme-actions, @@ -165,10 +165,10 @@ body.js .theme-browser.search-loading { right: 20%; left: 20%; background: #23282d; - background: rgba(0,0,0,0.7); + background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 15px; - text-shadow: 0 1px 0 rgba(0,0,0,0.6); + text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); -webkit-font-smoothing: antialiased; font-weight: 600; padding: 15px 12px; @@ -179,7 +179,7 @@ body.js .theme-browser.search-loading { .theme-browser .theme:focus { border-color: #5b9dd9; - box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); } .theme-browser .theme:focus .more-details { @@ -205,7 +205,7 @@ body.js .theme-browser.search-loading { color: #fff; padding-right: 110px; font-weight: 300; - box-shadow: inset 0 1px 1px rgba(0,0,0,0.5); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5); } .theme-browser .customize-control .theme.active .theme-name { @@ -217,7 +217,7 @@ body.js .theme-browser.search-loading { } .theme-browser .theme.active .theme-actions { - background: rgba(49,49,49,0.7); + background: rgba(49, 49, 49, 0.7); border-left: none; opacity: 1; } @@ -233,7 +233,7 @@ body.js .theme-browser.search-loading { transform: translateY(-50%); right: 0; padding: 10px 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); + box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } .theme-browser .theme.active .theme-actions .button-primary { @@ -367,7 +367,7 @@ body.js .theme-browser.search-loading { top: 0; bottom: 0; background: #f1f1f1; - background: rgba( 238, 238, 238, 0.9 ); + background: rgba(238, 238, 238, 0.9); z-index: 10000; /* Over WP Pointers. */ } @@ -573,7 +573,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { box-sizing: border-box; overflow: hidden; position: relative; - box-shadow: 0 0 0 1px rgba(0,0,0,0.2); + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); } .theme-overlay .screenshot:after { @@ -1166,13 +1166,13 @@ div#custom-background-image img { .background-position-control input[type="radio"]:checked ~ .button { background: #eee; border-color: #999; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, .5 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); z-index: 1; } .background-position-control input[type="radio"]:focus ~ .button { border-color: #5b9dd9; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, .5 ), 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(0, 115, 170, 0.8); color: #23282d; } @@ -1529,7 +1529,7 @@ body.full-overlay-active { .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .wp-full-overlay .collapse-sidebar-label { diff --git a/wp-admin/css/widgets-rtl.css b/wp-admin/css/widgets-rtl.css index c9c9e5d083..43dabfedc3 100644 --- a/wp-admin/css/widgets-rtl.css +++ b/wp-admin/css/widgets-rtl.css @@ -222,7 +222,7 @@ display: flex; align-items: center; justify-content: center; - background-color: rgba( 0, 0, 0, .5 ); + background-color: rgba(0, 0, 0, 0.5); } .media-widget-gallery-preview .gallery-icon-placeholder-text { @@ -308,7 +308,7 @@ .sidebar-name .handlediv:focus .toggle-indicator:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .sidebar-name h2, @@ -482,7 +482,7 @@ div#widgets-right .closed .widgets-sortables { /* Dragging a widget over a closed sidebar */ #widgets-right .widgets-holder-wrap.widget-hover { border-color: #72777c; - box-shadow: 0 1px 2px rgba(0,0,0,0.3); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } /* Accessibility Mode */ @@ -639,7 +639,7 @@ div#widgets-right .closed .widgets-sortables { div#widgets-right .widget-top:hover, #widgets-left .widget-top:hover { border-color: #999; - box-shadow: 0 1px 2px rgba(0,0,0,0.1); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .widgets-chooser ul.widgets-chooser-sidebars { diff --git a/wp-admin/css/widgets.css b/wp-admin/css/widgets.css index b503a084c5..eea7a913e4 100644 --- a/wp-admin/css/widgets.css +++ b/wp-admin/css/widgets.css @@ -222,7 +222,7 @@ display: flex; align-items: center; justify-content: center; - background-color: rgba( 0, 0, 0, .5 ); + background-color: rgba(0, 0, 0, 0.5); } .media-widget-gallery-preview .gallery-icon-placeholder-text { @@ -308,7 +308,7 @@ .sidebar-name .handlediv:focus .toggle-indicator:before { box-shadow: 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + 0 0 2px 1px rgba(30, 140, 190, 0.8); } .sidebar-name h2, @@ -482,7 +482,7 @@ div#widgets-right .closed .widgets-sortables { /* Dragging a widget over a closed sidebar */ #widgets-right .widgets-holder-wrap.widget-hover { border-color: #72777c; - box-shadow: 0 1px 2px rgba(0,0,0,0.3); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } /* Accessibility Mode */ @@ -639,7 +639,7 @@ div#widgets-right .closed .widgets-sortables { div#widgets-right .widget-top:hover, #widgets-left .widget-top:hover { border-color: #999; - box-shadow: 0 1px 2px rgba(0,0,0,0.1); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .widgets-chooser ul.widgets-chooser-sidebars { diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index d45f7c5207..aa9c3499b2 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -1151,8 +1151,8 @@ final class WP_Customize_Widgets {