Administration: Remove unnecessary !important CSS rules from common.css

Fixes #47569.

Props foack, SergeyBiryukov, davidbaumwald, sabernhardt, isabel_brison, audrasjb. 



git-svn-id: https://develop.svn.wordpress.org/trunk@48129 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jake Spurlock 2020-06-22 23:59:04 +00:00
parent 4cbe419d15
commit 5acb95916f
2 changed files with 7 additions and 25 deletions

View File

@ -209,7 +209,6 @@
$handleButtons = $( '.postbox .handlediv' ); $handleButtons = $( '.postbox .handlediv' );
$.extend( this, args || {} ); $.extend( this, args || {} );
$('#wpbody-content').css('overflow','hidden');
$('.meta-box-sortables').sortable({ $('.meta-box-sortables').sortable({
placeholder: 'sortable-placeholder', placeholder: 'sortable-placeholder',
connectWith: '.meta-box-sortables', connectWith: '.meta-box-sortables',

View File

@ -26,7 +26,7 @@
padding-bottom: 65px; padding-bottom: 65px;
float: left; float: left;
width: 100%; width: 100%;
overflow: visible !important; overflow: visible;
} }
/* inner 2 column liquid layout */ /* inner 2 column liquid layout */
@ -1270,7 +1270,7 @@ th.action-links {
.filters-applied .filter-group, .filters-applied .filter-group,
.filters-applied .filter-drawer .buttons, .filters-applied .filter-drawer .buttons,
.filters-applied .filter-drawer br { .filters-applied .filter-drawer br {
display: none !important; display: none;
} }
.filters-applied .filtered-by { .filters-applied .filtered-by {
@ -1651,7 +1651,7 @@ form.upgrade .hint {
#contextual-help-wrap { #contextual-help-wrap {
overflow: auto; overflow: auto;
margin-left: 0 !important; margin-left: 0;
} }
#screen-meta-links { #screen-meta-links {
@ -1722,7 +1722,7 @@ form.upgrade .hint {
vertical-align: bottom; vertical-align: bottom;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none !important; text-decoration: none;
color: #72777c; color: #72777c;
} }
@ -2098,7 +2098,7 @@ html.wp-toolbar {
.postbox .inside > p:last-child, .postbox .inside > p:last-child,
.rss-widget ul li:last-child { .rss-widget ul li:last-child {
margin-bottom: 1px !important; margin-bottom: 1px;
} }
.postbox.closed h3 { .postbox.closed h3 {
@ -2406,10 +2406,6 @@ body.iframe {
margin: 10px 0; margin: 10px 0;
} }
#submitdiv h3 {
margin-bottom: 0 !important;
}
/* - Used - but could/should be deprecated with a CSS reset /* - Used - but could/should be deprecated with a CSS reset
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
.zerosize { .zerosize {
@ -3016,7 +3012,7 @@ img {
speak: none; speak: none;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none !important; text-decoration: none;
} }
.js .widgets-holder-wrap.closed .toggle-indicator:before, .js .widgets-holder-wrap.closed .toggle-indicator:before,
@ -3341,7 +3337,7 @@ img {
display: block; display: block;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-decoration: none !important; text-decoration: none;
} }
.widget-top .widget-action .toggle-indicator:before { .widget-top .widget-action .toggle-indicator:before {
@ -3665,19 +3661,6 @@ img {
background-image: url(../images/spinner-2x.gif); background-image: url(../images/spinner-2x.gif);
} }
/* @todo: evaluate - most of these were likely replaced by dashicons */
.curtime #timestamp,
#screen-meta-links a.show-settings,
.widget-top .widget-action,
.widget-top .widget-action:hover,
.sidebar-name .toggle-indicator,
.sidebar-name:hover .toggle-indicator,
.meta-box-sortables .postbox:hover .handlediv,
#bulk-titles div a,
#bulk-titles div a:hover {
background: none !important;
}
} }
@-ms-viewport { @-ms-viewport {