Commit 3c7a51dd authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Administration: Remove non-color related styling from Modern color scheme.

Color schemes should only affect colors, to avoid diverging from a consistent and predictable layout, especially if core CSS rules subsequently change.

Follow-up to [48277], [48286], [48345].

Props Joen, johnbillion, afercia, johnjamesjacoby.
Merges [48862] to the 5.5 branch.
Fixes #51127. See #50504.
Built from https://develop.svn.wordpress.org/branches/5.5@48863


git-svn-id: https://core.svn.wordpress.org/branches/5.5@48625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent e80c0ce3
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -737,7 +737,3 @@ div#wp-responsive-toggle a:before {
.wp-full-overlay-footer .devices button:focus:before {
  color: #3858e9;
}

#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
  padding-bottom: 12px;
}
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+0 −4
Original line number Diff line number Diff line
@@ -737,7 +737,3 @@ div#wp-responsive-toggle a:before {
.wp-full-overlay-footer .devices button:focus:before {
  color: #3858e9;
}

#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
  padding-bottom: 12px;
}
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+0 −5
Original line number Diff line number Diff line
@@ -6,9 +6,4 @@ $notification-color: $highlight-color;
$link: $highlight-color;
$link-focus: darken($highlight-color, 10%);


@import "../_admin.scss";

#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
	padding-bottom: 12px;
}
Loading