mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
33aea27e94
This is a workaround to show the missing border on the top button to expand the RevisionSlider as seen in the ticket. It can be removed when OOjs UI v0.21.1 is used in core where the original issue is fixed. Bug: T162858 Change-Id: Ib22d598b8fc62e4a19f03d0170ea6a474812d7f8
53 lines
1.1 KiB
CSS
53 lines
1.1 KiB
CSS
@media print {
|
|
.mw-revslider-container {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.mw-revslider-container {
|
|
/* This will flip with CSSJanus in case */
|
|
/* the interface is in RTL */
|
|
direction: ltr;
|
|
position: relative;
|
|
z-index: 8;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.mw-revslider-slider-wrapper {
|
|
min-height: 142px;
|
|
border-top: 1px solid #ccc;
|
|
padding: 20px 10px;
|
|
}
|
|
|
|
.mw-revslider-placeholder .oo-ui-progressBarWidget {
|
|
margin: 60px auto;
|
|
}
|
|
|
|
.mw-revslider-toggle-button {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.mw-revslider-toggle-button .oo-ui-buttonElement-button {
|
|
min-height: 0;
|
|
min-width: 0;
|
|
width: 100%;
|
|
padding: 0.06em 0 0.06em 0;
|
|
}
|
|
|
|
.mw-revslider-toggle-button .oo-ui-iconElement-icon {
|
|
left: auto !important; /* stylelint-disable-line declaration-no-important */
|
|
right: 0;
|
|
/* For OOUI-Apex */
|
|
position: absolute;
|
|
}
|
|
|
|
.mw-revslider-toggle-button .oo-ui-labelElement-label {
|
|
line-height: 1.875em;
|
|
}
|
|
|
|
/* can be removed when OOjs UI v0.21.1 is put into core master */
|
|
.mw-revslider-toggle-button > .oo-ui-buttonElement-button {
|
|
margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
}
|