Improve the appearance on the history page

Make the revision-compare button level with buttons on the right side;
Improve the specificity of rules, make hovered styles of buttons on the history page consistent.

Change-Id: I0832da75a3d2624793692fd495ab6e723a079309
isekai
Func 3 years ago
parent 90976a8957
commit cbc7500b77

@ -6,8 +6,8 @@ input {
// Because weird special cases that get broken by this usually aren't forms? // Because weird special cases that get broken by this usually aren't forms?
form { form {
// Special-case out the datetime widget // Special-case out the datetime widget and revision-compare button
input:not( .mw-widgets-datetime-dateTimeInputWidget-editField ) { input:not( .mw-widgets-datetime-dateTimeInputWidget-editField ):not( .mw-history-compareselectedversions-button ) {
margin: 0.5em 0; margin: 0.5em 0;
padding: 0.35em; padding: 0.35em;
} }
@ -99,8 +99,8 @@ form:not( .oo-ui-layout ) {
color: #fff; color: #fff;
border: solid 1px #36c; border: solid 1px #36c;
&:hover, &:not( :disabled ):hover,
&:active { &:not( :disabled ):active {
background-color: #47f; background-color: #47f;
} }
} }

Loading…
Cancel
Save