MediaWiki:Common.js: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 15:
/* global mw, $ */
/* jshint strict:false, browser:true */
 
body { border: 5px solid red !important; }
 
mw.loader.using( [ 'mediawiki.util' ] ).done( function () {
Line 280 ⟶ 278:
}, { passive: true });
})();
 
/* Style the SPAN as the button container */
.quiet-btn-wrapper {
background-color: #f8f9fa !important;
border-radius: 2px !important;
padding: 0 !important; /* Reset padding */
display: inline-block !important;
border: 1px solid transparent;
}
 
/* Style the LINK to fill the container */
.quiet-btn-wrapper a {
display: block !important; /* Fill the span */
padding: 6px 12px !important; /* Padding goes here */
color: #202122 !important; /* Force Black Text */
font-size: 14px !important;
font-weight: 700 !important;
text-decoration: none !important;
background: none !important; /* Ensure link has no bg of its own */
}
 
/* Hover effects - We target the wrapper hovering, then change the link inside */
.quiet-btn-wrapper:hover {
background-color: #eaecf0 !important;
text-decoration: none !important;
}
 
/* DO NOT ADD CODE BELOW THIS LINE */