From d6851a30d0c0c17639c8b2aa12a9012efdea3362 Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Thu, 2 Sep 2021 22:16:16 +0000 Subject: [PATCH] Coding Standards: Apply coding standards on CSS. Remove units when the value is zero. Combine redundant values in shorthand declarations. This was generated with `stylelint --fix` and a custom config (see #53866). Props ankitmaru, audrasjb, pbiron, ayeshrajans, hareesh-pillai, netweb, mukesh27. Fixes #53866. git-svn-id: https://develop.svn.wordpress.org/trunk@51727 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/admin-menu.css | 10 +++++----- src/wp-admin/css/color-picker.css | 2 +- src/wp-admin/css/common.css | 22 ++++++++++----------- src/wp-admin/css/customize-controls.css | 24 +++++++++++------------ src/wp-admin/css/customize-nav-menus.css | 20 +++++++++---------- src/wp-admin/css/customize-widgets.css | 2 +- src/wp-admin/css/dashboard.css | 6 +++--- src/wp-admin/css/deprecated-media.css | 2 +- src/wp-admin/css/edit.css | 12 ++++++------ src/wp-admin/css/forms.css | 12 ++++++------ src/wp-admin/css/install.css | 6 +++--- src/wp-admin/css/list-tables.css | 4 ++-- src/wp-admin/css/login.css | 4 ++-- src/wp-admin/css/media.css | 6 +++--- src/wp-admin/css/nav-menus.css | 10 +++++----- src/wp-admin/css/site-health.css | 4 ++-- src/wp-admin/css/themes.css | 12 ++++++------ src/wp-admin/css/widgets.css | 10 +++++----- src/wp-includes/css/editor.css | 4 ++-- src/wp-includes/css/media-views.css | 14 ++++++------- src/wp-includes/css/wp-embed-template.css | 2 +- src/wp-includes/css/wp-pointer.css | 4 ++-- 22 files changed, 96 insertions(+), 96 deletions(-) diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css index 593157019669..243dde7daa3b 100644 --- a/src/wp-admin/css/admin-menu.css +++ b/src/wp-admin/css/admin-menu.css @@ -39,7 +39,7 @@ .icon16 { height: 18px; width: 18px; - padding: 6px 6px; + padding: 6px; margin: -6px 0 0 -8px; float: left; } @@ -344,7 +344,7 @@ } #adminmenu .wp-menu-image img { - padding: 9px 0 0 0; + padding: 9px 0 0; opacity: 0.6; filter: alpha(opacity=60); } @@ -487,7 +487,7 @@ ul#adminmenu > li.current > a.current:after { #adminmenu li.wp-menu-separator { height: 5px; padding: 0; - margin: 0 0 6px 0; + margin: 0 0 6px; cursor: inherit; } @@ -502,7 +502,7 @@ ul#adminmenu > li.current > a.current:after { font-weight: 400; font-size: 14px; padding: 5px 4px 5px 11px; - margin: -7px 0px 4px -5px; + margin: -7px 0 4px -5px; border-width: 3px 0 3px 5px; border-style: solid; border-color: transparent; @@ -653,7 +653,7 @@ li#wp-admin-bar-menu-toggle { .auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - top: 0px; + top: 0; left: 36px; } diff --git a/src/wp-admin/css/color-picker.css b/src/wp-admin/css/color-picker.css index be98537fb294..89513949579b 100644 --- a/src/wp-admin/css/color-picker.css +++ b/src/wp-admin/css/color-picker.css @@ -11,7 +11,7 @@ /* Needs higher specificiity. */ .wp-picker-container .wp-color-result.button { min-height: 30px; - margin: 0 6px 6px 0px; + margin: 0 6px 6px 0; padding: 0 0 0 30px; font-size: 11px; } diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index fb60bac031ff..50eb94d98e24 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -417,7 +417,7 @@ code { kbd, code { - padding: 3px 5px 2px 5px; + padding: 3px 5px 2px; margin: 0 1px; background: #f0f0f1; background: rgba(0, 0, 0, 0.07); @@ -582,7 +582,7 @@ code { font-size: 23px; font-weight: 400; margin: 0; - padding: 9px 0 4px 0; + padding: 9px 0 4px; line-height: 1.3; } @@ -957,7 +957,7 @@ a#remove-post-thumbnail:hover { } #minor-publishing-actions { - padding: 10px 10px 0 10px; + padding: 10px 10px 0; text-align: right; } @@ -1232,7 +1232,7 @@ th.action-links { .filter-group .filter-group-feature label { display: block; - margin: 14px 0px 14px 23px; + margin: 14px 0 14px 23px; } .filter-drawer .buttons { @@ -1609,7 +1609,7 @@ form.upgrade { form.upgrade .hint { font-style: italic; font-size: 85%; - margin: -0.5em 0 2em 0; + margin: -0.5em 0 2em; } .update-php .spinner { @@ -1707,7 +1707,7 @@ p.auto-update-status { /* screen options and help tabs revert */ #screen-meta { display: none; - margin: 0 20px -1px 0px; + margin: 0 20px -1px 0; position: relative; background-color: #fff; border: 1px solid #c3c4c7; @@ -3285,7 +3285,7 @@ img { .tree-folder > .current-file::before { left: 4px; height: 15px; - width: 0px; + width: 0; border-left: none; top: 3px; } @@ -3380,7 +3380,7 @@ img { } #templateside li.howto { - padding: 6px 12px 12px 12px; + padding: 6px 12px 12px; } .theme-editor-php .highlight { @@ -3432,7 +3432,7 @@ img { } .widget-top .widget-action .toggle-indicator:before { - padding: 1px 2px 1px 0px; + padding: 1px 2px 1px 0; border-radius: 50%; } @@ -3827,7 +3827,7 @@ img { .wrap div.updated, .wrap div.error, .media-upload-form div.error { - margin: 20px 0 10px 0; + margin: 20px 0 10px; padding: 5px 10px; font-size: 14px; line-height: 175%; @@ -3937,7 +3937,7 @@ img { left: -8px; } .tree-folder > li::before { - top: 0px; + top: 0; height: 13px; } .tree-folder > .current-file::before { diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 7e50a59bb5fa..7f437e86e810 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -743,7 +743,7 @@ body.trashing #publish-settings { } .customize-section-title { - margin: -12px -12px 0 -12px; + margin: -12px -12px 0; border-bottom: 1px solid #dcdcde; background: #fff; } @@ -766,11 +766,11 @@ div.customize-section-description p:last-child { #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child { border-bottom: 1px solid #dcdcde; - padding: 12px 12px 12px 12px; + padding: 12px; } .ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child { - padding: 12px 12px 13px 12px; + padding: 12px 12px 13px; } .customize-section-title h3, @@ -1140,7 +1140,7 @@ p.customize-section-description { */ #customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */ - margin: 4px 0 8px 0; + margin: 4px 0 8px; padding: 0; cursor: default; } @@ -1153,7 +1153,7 @@ p.customize-section-description { #customize-controls .customize-control-notifications-container li.notice { list-style: none; - margin: 0 0 6px 0; + margin: 0 0 6px; padding: 9px 14px; overflow: hidden; } @@ -1455,7 +1455,7 @@ p.customize-section-description { } .customize-control-header .header-view:last-child { - margin-bottom: 0px; + margin-bottom: 0; } /* Convoluted, but 'outline' support isn't good enough yet */ @@ -1691,7 +1691,7 @@ p.customize-section-description { border-bottom: 1px solid #dcdcde; border-left: none; border-right: none; - margin: 0 0 15px 0; + margin: 0 0 15px; padding-right: 100px; /* Space for the button */ } @@ -1893,7 +1893,7 @@ p.customize-section-description { } .control-panel-themes .customize-themes-notifications .notice { - margin: 0 0 25px 0; + margin: 0 0 25px; } .customize-themes-full-container .customize-themes-section { @@ -1907,7 +1907,7 @@ p.customize-section-description { .control-section .customize-section-text-before { padding: 0 0 8px 15px; - margin: 15px 0 0 0; + margin: 15px 0 0; line-height: 16px; border-bottom: 1px solid #dcdcde; color: #50575e; @@ -2128,7 +2128,7 @@ p.customize-section-description { position: relative; left: 0; width: 100%; - margin: 0 0 25px 0; + margin: 0 0 25px; } .filter-drawer { top: 46px; @@ -2238,7 +2238,7 @@ p.customize-section-description { width: 26px; display: block; line-height: 2.3; - padding: 0 8px 0 8px; + padding: 0 8px; border-right: 1px solid #dcdcde; } @@ -2399,7 +2399,7 @@ body.cheatin h1 { color: #50575e; font-size: 24px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - margin: 30px 0 0 0; + margin: 30px 0 0; padding: 0 0 7px; } diff --git a/src/wp-admin/css/customize-nav-menus.css b/src/wp-admin/css/customize-nav-menus.css index 0fa7bc4f15c2..46ac3066efd1 100644 --- a/src/wp-admin/css/customize-nav-menus.css +++ b/src/wp-admin/css/customize-nav-menus.css @@ -11,7 +11,7 @@ #customize-theme-controls .customize-section-title-nav_menus-heading, #customize-theme-controls .customize-section-title-menu_locations-heading, #customize-theme-controls .customize-section-title-menu_locations-description { - padding: 0 12px 0 12px; + padding: 0 12px; } #customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description { @@ -100,7 +100,7 @@ .wp-customizer .menu-item-settings .description-thin { width: 100%; height: auto; - margin: 0 0 8px 0; + margin: 0 0 8px; } .wp-customizer .menu-item-settings input[type="text"] { @@ -185,7 +185,7 @@ } .wp-customizer .menu-settings dl { - margin: 12px 0 0 0; + margin: 12px 0 0; padding: 0; } @@ -322,7 +322,7 @@ #available-menu-items .accordion-section-title .toggle-indicator:before { content: "\f140"; display: block; - padding: 1px 2px 1px 0px; + padding: 1px 2px 1px 0; speak: never; border-radius: 50%; color: #787c82; @@ -581,8 +581,8 @@ } #available-menu-items .accordion-section-content .available-menu-items-list { - margin: 0 0 45px 0; - padding: 1px 15px 15px 15px; + margin: 0 0 45px; + padding: 1px 15px 15px; } #available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */ @@ -590,7 +590,7 @@ } #new-custom-menu-item .accordion-section-content { - padding: 0 15px 15px 15px; + padding: 0 15px 15px; } #available-menu-items .menu-item-tpl { @@ -690,7 +690,7 @@ position: absolute; left: 0; top: 60px; /* below title div / search input */ - bottom: 0px; /* 100% height that still triggers lazy load */ + bottom: 0; /* 100% height that still triggers lazy load */ max-height: none; width: 100%; padding: 1px 15px 15px; @@ -795,7 +795,7 @@ body.adding-menu-items #customize-preview iframe { #create-new-menu-submit { float: right; - margin: 0 0 12px 0; + margin: 0 0 12px; } .menu-delete-item { @@ -805,7 +805,7 @@ body.adding-menu-items #customize-preview iframe { } .assigned-menu-locations-title p { - margin: 0 0 8px 0; + margin: 0 0 8px; } li.assigned-to-menu-location .menu-delete-item { diff --git a/src/wp-admin/css/customize-widgets.css b/src/wp-admin/css/customize-widgets.css index 52d9552be042..3bd7a46b28e3 100644 --- a/src/wp-admin/css/customize-widgets.css +++ b/src/wp-admin/css/customize-widgets.css @@ -81,7 +81,7 @@ } .widget-inside { - padding: 1px 10px 10px 10px; + padding: 1px 10px 10px; border-top: none; line-height: 1.23076923; } diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 1dfe3b573605..66505ec34e00 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -518,7 +518,7 @@ body #dashboard-widgets .postbox form .submit { #dashboard_primary .rss-widget { font-size: 13px; - padding: 0 12px 0; + padding: 0 12px; } #dashboard_primary .rss-widget:last-child { @@ -599,7 +599,7 @@ body #dashboard-widgets .postbox form .submit { color: #50575e; background: #f6f7f7; border-top: 1px solid #f0f0f1; - padding: 10px 12px 6px 12px; + padding: 10px 12px 6px; } #dashboard_right_now .sub h3 { @@ -835,7 +835,7 @@ body #dashboard-widgets .postbox form .submit { } #activity-widget #the-comment-list .comment-item p.row-actions { - margin: 4px 0 0 0; + margin: 4px 0 0; } #activity-widget #the-comment-list .comment-item:first-child { diff --git a/src/wp-admin/css/deprecated-media.css b/src/wp-admin/css/deprecated-media.css index 66eae89047e7..359fc59e3c3b 100644 --- a/src/wp-admin/css/deprecated-media.css +++ b/src/wp-admin/css/deprecated-media.css @@ -100,7 +100,7 @@ th { width: 100%; border: none; text-align: justify; - margin: 0 0 1em 0; + margin: 0 0 1em; padding: 0; } diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index a6bfda6310f7..44a444b7140c 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -450,7 +450,7 @@ form#tags-filter { } .curtime #timestamp { - padding: 2px 0 1px 0; + padding: 2px 0 1px; display: inline !important; height: auto !important; } @@ -650,7 +650,7 @@ form#tags-filter { } #poststuff .inside { - margin: 6px 0 0 0; + margin: 6px 0 0; } .link-php #poststuff .inside, @@ -721,7 +721,7 @@ form#tags-filter { font-weight: 600; margin: 0 0.8rem 1rem; font-size: 23px; - padding: 9px 0 4px 0; + padding: 9px 0 4px; line-height: 1.3; } @@ -1363,7 +1363,7 @@ p.description code { } #poststuff .tagsdiv .howto { - margin: 1em 0 6px 0; + margin: 1em 0 6px; } .ajaxtag .newtag { @@ -1772,7 +1772,7 @@ table.links-table { } #titlediv #title-prompt-text { - padding: 10px 10px; + padding: 10px; } #poststuff .stuffbox .inside { @@ -1955,7 +1955,7 @@ table.links-table { } .misc-pub-section { - padding: 20px 10px 20px; + padding: 20px 10px; } .misc-pub-section > a { diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 56c78b5c488d..7893915d6d9a 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -32,7 +32,7 @@ select { } textarea.code { - padding: 4px 6px 1px 6px; + padding: 4px 6px 1px; } input[type="text"], @@ -999,8 +999,8 @@ table.form-table td .updated p { .pressthis-bookmarklet span { display: inline-block; - margin: 0px 0 0; - padding: 0px 12px 8px 9px; + margin: 0; + padding: 0 12px 8px 9px; } .pressthis-bookmarklet span:before { @@ -1225,7 +1225,7 @@ table.form-table td .updated p { } .request-filesystem-credentials-form .notice { - margin: 0 0 20px 0; + margin: 0 0 20px; clear: both; } @@ -1562,13 +1562,13 @@ table.form-table td .updated p { } .form-table th { - padding: 10px 0 0 0; + padding: 10px 0 0; border-bottom: 0; } .form-table td { margin-bottom: 0; - padding: 4px 0 6px 0; + padding: 4px 0 6px; } .form-table.permalink-structure td code { diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index b8ddbef0141d..62a596f0fe1f 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -9,7 +9,7 @@ body { color: #3c434a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; margin: 140px auto 25px; - padding: 20px 20px 10px 20px; + padding: 20px 20px 10px; max-width: 700px; -webkit-font-smoothing: subpixel-antialiased; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); @@ -78,7 +78,7 @@ label { #logo { margin: -130px auto 25px; - padding: 0 0 25px 0; + padding: 0 0 25px; width: 84px; height: 84px; overflow: hidden; @@ -141,7 +141,7 @@ textarea { } .form-table p { - margin: 4px 0 0 0; + margin: 4px 0 0; font-size: 11px; } diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 3b9bb0e945ea..55145b598dba 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -1552,7 +1552,7 @@ div.action-links, } .plugin-card .notice { - margin: 20px 20px 0 20px; + margin: 20px 20px 0; } .plugin-icon { @@ -1643,7 +1643,7 @@ div.action-links, } .tablenav.top { - margin: 20px 0 5px 0; + margin: 20px 0 5px; } .tablenav.bottom { diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 245799fa987e..3c795ebab5c4 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -288,11 +288,11 @@ p { .login #nav, .login #backtoblog { font-size: 13px; - padding: 0 24px 0; + padding: 0 24px; } .login #nav { - margin: 24px 0 0 0; + margin: 24px 0 0; } #backtoblog { diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index 1e2959748d71..5aaf859ad4cf 100644 --- a/src/wp-admin/css/media.css +++ b/src/wp-admin/css/media.css @@ -248,7 +248,7 @@ .media-upload-form .media-item.error, .media-upload-form .media-item .error { width: auto; - margin: 0 0 1px 0; + margin: 0 0 1px; } .media-upload-form .media-item .error { @@ -759,7 +759,7 @@ border color while dragging a file over the uploader drop area */ bottom: 0; right: 0; left: 0; - box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); } .edit-attachment-frame .attachment-media-view { @@ -810,7 +810,7 @@ border color while dragging a file over the uploader drop area */ padding: 12px 16px 0; width: 35%; height: 100%; - box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); border-bottom: 0; border-left: 1px solid #dcdcde; background: #f6f7f7; diff --git a/src/wp-admin/css/nav-menus.css b/src/wp-admin/css/nav-menus.css index a6804bccaf79..086ceafad807 100644 --- a/src/wp-admin/css/nav-menus.css +++ b/src/wp-admin/css/nav-menus.css @@ -303,7 +303,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{ #select-nav-menu-container { text-align: right; - padding: 0 10px 3px 10px; + padding: 0 10px 3px; margin-bottom: 5px; } @@ -433,7 +433,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{ } #manage-menu .inside { - padding: 0px 0px; + padding: 0; } /* Custom Links */ @@ -614,7 +614,7 @@ li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar { } /* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */ -.menu-item-depth-0 { margin-left: 0px; } +.menu-item-depth-0 { margin-left: 0; } .menu-item-depth-1 { margin-left: 30px; } .menu-item-depth-2 { margin-left: 60px; } .menu-item-depth-3 { margin-left: 90px; } @@ -627,7 +627,7 @@ li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar { .menu-item-depth-10 { margin-left: 300px; } .menu-item-depth-11 { margin-left: 330px; } -.menu-item-depth-0 .menu-item-transport { margin-left: 0px; } +.menu-item-depth-0 .menu-item-transport { margin-left: 0; } .menu-item-depth-1 .menu-item-transport { margin-left: -30px; } .menu-item-depth-2 .menu-item-transport { margin-left: -60px; } .menu-item-depth-3 .menu-item-transport { margin-left: -90px; } @@ -1005,7 +1005,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } position: sticky; bottom: 0; z-index: 10; - box-shadow: 0 -1px 0 0px #ddd; + box-shadow: 0 -1px 0 0 #ddd; } #save_menu_header { diff --git a/src/wp-admin/css/site-health.css b/src/wp-admin/css/site-health.css index 8c16d4b4a056..60f07f2d0d09 100644 --- a/src/wp-admin/css/site-health.css +++ b/src/wp-admin/css/site-health.css @@ -149,8 +149,8 @@ are styled in the Privacy section of edit.css */ width: 0; height: 0; border-style: solid; - border-width: 0 10px 5px 10px; - border-color: transparent transparent #ffffff transparent; + border-width: 0 10px 5px; + border-color: transparent transparent #ffffff; right: 20px; top: 5px; } diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index b5811c347b59..04bfdd00f7f7 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -703,7 +703,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { font-size: 15px; font-weight: 400; line-height: 1.5; - margin: 30px 0 0 0; + margin: 30px 0 0; } .theme-overlay .theme-tags { @@ -711,7 +711,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { color: #646970; font-size: 13px; font-weight: 400; - margin: 30px 0 0 0; + margin: 30px 0 0; padding-top: 20px; } @@ -865,7 +865,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { } .theme-browser .theme .theme-actions { - padding: 5px 10px 4px 10px; + padding: 5px 10px 4px; } .theme-overlay.small-screenshot .theme-screenshots { @@ -938,7 +938,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { } .theme-overlay .theme-author { - margin: 5px 0 15px 0; + margin: 5px 0 15px; } .theme-overlay .current-label { @@ -951,7 +951,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { clear: both; left: 0; right: 0; - margin: -5px 0 20px 0; + margin: -5px 0 20px; width: 100%; max-width: 280px; } @@ -1316,7 +1316,7 @@ div#custom-background-image img { } .background-position-control .button-group:last-child > label:last-child .button { - border-radius: 0 0 3px 0; + border-radius: 0 0 3px; } .background-position-control .button-group:last-child > label:last-child .dashicons { diff --git a/src/wp-admin/css/widgets.css b/src/wp-admin/css/widgets.css index c5798c7fb1a8..9d64f979702b 100644 --- a/src/wp-admin/css/widgets.css +++ b/src/wp-admin/css/widgets.css @@ -42,7 +42,7 @@ .widgets-holder-wrap .widget-inside { border-top: none; - padding: 1px 15px 15px 15px; + padding: 1px 15px 15px; line-height: 1.23076923; } @@ -436,7 +436,7 @@ div#widgets-left .widget-holder { width: 100%; background: transparent; padding: 0; - margin: 0 0 20px 0; + margin: 0 0 20px; border: none; box-shadow: none; } @@ -471,7 +471,7 @@ div#widgets-right .sidebars-column-2 { } div#widgets-right .widgets-holder-wrap { - margin: 10px 0 0 0; + margin: 10px 0 0; } div#widgets-right .sidebar-description { @@ -734,7 +734,7 @@ div#widgets-right .widget-top:hover, } .widgets-chooser .widgets-chooser-actions { - padding: 10px 0 12px 0; + padding: 10px 0 12px; text-align: center; } @@ -826,7 +826,7 @@ ul.CodeMirror-hints { .widget-access-link { float: none; - margin: 15px 0 0 0; + margin: 15px 0 0; } } diff --git a/src/wp-includes/css/editor.css b/src/wp-includes/css/editor.css index e75e9b7b4db0..fac059c7874e 100644 --- a/src/wp-includes/css/editor.css +++ b/src/wp-includes/css/editor.css @@ -623,7 +623,7 @@ div.mce-path { div.mce-menubar { border-color: #dcdcde; background: #fff; - border-width: 0px 0px 1px; + border-width: 0 0 1px; } .mce-menubar .mce-menubtn:hover, @@ -643,7 +643,7 @@ div.mce-menubar { div.mce-menu .mce-menu-item-sep, .mce-menu-item-sep:hover { border-bottom: 1px solid #dcdcde; - height: 0px; + height: 0; margin: 5px 0; } diff --git a/src/wp-includes/css/media-views.css b/src/wp-includes/css/media-views.css index ae62e862ab7d..02c32c4998cb 100644 --- a/src/wp-includes/css/media-views.css +++ b/src/wp-includes/css/media-views.css @@ -1394,7 +1394,7 @@ top: 50%; left: 15%; width: 70%; - margin: -5px 0 0 0; + margin: -5px 0 0; } .media-uploader-status { @@ -1976,7 +1976,7 @@ } .media-modal .imgedit-wrap .imgedit-panel-content { - padding: 16px 16px 0 16px; + padding: 16px 16px 0; position: absolute; top: 0; right: 282px; @@ -2289,7 +2289,7 @@ .image-details .custom-size .sep { float: left; - margin: 26px 6px 0 6px; + margin: 26px 6px 0; } .image-details .custom-size .description { @@ -2428,7 +2428,7 @@ float: left; width: 25%; text-align: right; - margin: 8px 1% 0 1%; + margin: 8px 1% 0; line-height: 1.1; } @@ -2625,7 +2625,7 @@ .media-sidebar .setting, .attachment-details .setting { - margin: 6px 0px; + margin: 6px 0; } .media-sidebar .setting input, @@ -2919,7 +2919,7 @@ /* Change margin direction on load more button in responsive views. */ .load-more-wrapper .load-more-jump { - margin: 12px 0 0 0; + margin: 12px 0 0; } } @@ -2933,7 +2933,7 @@ /* Change margin direction on load more button in responsive views. */ .load-more-wrapper .load-more-jump { - margin: 12px 0 0 0; + margin: 12px 0 0; } } diff --git a/src/wp-includes/css/wp-embed-template.css b/src/wp-includes/css/wp-embed-template.css index 2c1e29464311..c1f1cc5c847b 100644 --- a/src/wp-includes/css/wp-embed-template.css +++ b/src/wp-includes/css/wp-embed-template.css @@ -301,7 +301,7 @@ p.wp-embed-share-description { width: 100%; border: none; height: 28px; - margin: 0 0 10px 0; + margin: 0 0 10px; padding: 0 5px; font-size: 14px; font-weight: 400; diff --git a/src/wp-includes/css/wp-pointer.css b/src/wp-includes/css/wp-pointer.css index 9263346e06eb..a1c085cbcfaa 100644 --- a/src/wp-includes/css/wp-pointer.css +++ b/src/wp-includes/css/wp-pointer.css @@ -140,7 +140,7 @@ .wp-pointer-top .wp-pointer-arrow, .wp-pointer-undefined .wp-pointer-arrow { top: 0; - border-width: 0 13px 13px 13px; + border-width: 0 13px 13px; border-bottom-color: #2271b1; } @@ -157,7 +157,7 @@ .wp-pointer-bottom .wp-pointer-arrow { bottom: 0; - border-width: 13px 13px 0 13px; + border-width: 13px 13px 0; border-top-color: #c3c4c7; }