2023-08-29 15:41:09 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
|
2024-02-26 16:54:53 +00:00
|
|
|
.mw-revslider-container {
|
|
|
|
.client-nojs & {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
2017-11-01 03:02:35 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* This will flip with CSSJanus in case */
|
|
|
|
/* the interface is in RTL */
|
|
|
|
direction: ltr;
|
|
|
|
position: relative;
|
2023-08-29 15:41:09 +00:00
|
|
|
border: @border-width-base @border-style-base #c8ccd1;
|
2017-11-01 03:02:35 +00:00
|
|
|
|
|
|
|
.mw-revslider-toggle-button.oo-ui-buttonElement-frameless.oo-ui-labelElement {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
/* Overrule OOUI frameless button `margin` */
|
2018-03-23 00:55:03 +00:00
|
|
|
margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
2017-11-01 03:02:35 +00:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-revslider-toggle-button {
|
|
|
|
.oo-ui-buttonElement-button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-iconElement-icon {
|
|
|
|
/* Overrule OOUI iconElement `left` */
|
|
|
|
left: auto !important; /* stylelint-disable-line declaration-no-important */
|
2018-03-23 00:55:03 +00:00
|
|
|
right: 0.28571429em;
|
2017-11-01 03:02:35 +00:00
|
|
|
/* For OOUI-Apex */
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-revslider-slider-wrapper {
|
2023-06-15 10:12:47 +00:00
|
|
|
// Same as the .mw-revslider-arrow height
|
2017-11-01 03:02:35 +00:00
|
|
|
min-height: 142px;
|
2023-08-29 15:41:09 +00:00
|
|
|
border-top: @border-width-base @border-style-base #c8ccd1;
|
2017-11-01 03:02:35 +00:00
|
|
|
padding: 20px 10px;
|
2023-06-15 10:12:47 +00:00
|
|
|
// Not a fix for resize issues like T336729 but makes it appear much less broken
|
|
|
|
overflow-x: clip;
|
2017-11-01 03:02:35 +00:00
|
|
|
}
|
|
|
|
|
2018-08-09 03:46:39 +00:00
|
|
|
/* Loading spinner code borrowed from
|
|
|
|
https://codepen.io/Volker_E/pen/yqNXMe */
|
|
|
|
.mw-revslider-spinner {
|
|
|
|
white-space: nowrap;
|
|
|
|
display: block;
|
|
|
|
max-width: 56px;
|
2017-11-01 03:02:35 +00:00
|
|
|
margin: 60px auto;
|
2018-08-09 03:46:39 +00:00
|
|
|
|
|
|
|
.mw-revslider-bounce,
|
2023-03-29 22:42:20 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2018-08-09 03:46:39 +00:00
|
|
|
content: '';
|
|
|
|
background-color: #72777d;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2023-08-29 15:41:09 +00:00
|
|
|
border-radius: @border-radius-circle;
|
2018-08-09 03:46:39 +00:00
|
|
|
animation: bouncedelay 1600ms infinite ease-in-out both;
|
|
|
|
animation-delay: -160ms;
|
|
|
|
}
|
|
|
|
|
2023-03-29 22:42:20 +00:00
|
|
|
&::before {
|
2018-08-09 03:46:39 +00:00
|
|
|
margin-right: 4px;
|
|
|
|
animation-delay: -330ms;
|
|
|
|
}
|
|
|
|
|
2023-03-29 22:42:20 +00:00
|
|
|
&::after {
|
2018-08-09 03:46:39 +00:00
|
|
|
margin-left: 4px;
|
|
|
|
animation-delay: 0s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes bouncedelay {
|
|
|
|
0%,
|
2019-07-03 10:14:05 +00:00
|
|
|
50%, /* equals 800ms */
|
2018-08-09 03:46:39 +00:00
|
|
|
100% {
|
|
|
|
transform: scale( 0.625 );
|
|
|
|
}
|
2018-12-04 23:05:18 +00:00
|
|
|
|
2019-07-03 10:14:05 +00:00
|
|
|
20% { /* equals 320ms */
|
2018-08-09 03:46:39 +00:00
|
|
|
opacity: 0.87;
|
|
|
|
transform: scale( 1 );
|
|
|
|
}
|
2017-11-01 03:02:35 +00:00
|
|
|
}
|