2023-03-20 09:48:17 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2021-11-18 10:50:17 +00:00
|
|
|
|
2022-04-19 07:08:24 +00:00
|
|
|
.ext-WikiEditor-realtimepreview-button:hover {
|
2023-03-20 09:48:17 +00:00
|
|
|
background-color: @background-color-interactive;
|
2022-04-19 07:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-realtimepreview-button.oo-ui-toggleWidget-on .oo-ui-labelElement-label {
|
2023-03-20 09:48:17 +00:00
|
|
|
color: @color-progressive;
|
2022-04-19 07:08:24 +00:00
|
|
|
}
|
|
|
|
|
2021-11-18 10:50:17 +00:00
|
|
|
/* stylelint-disable selector-max-id */
|
2022-06-09 09:27:24 +00:00
|
|
|
.ext-WikiEditor-realtimepreview-textbox#wpTextbox1,
|
|
|
|
.mw-editform .ext-WikiEditor-realtimepreview-textbox#wpTextbox1 {
|
2021-11-18 10:50:17 +00:00
|
|
|
resize: none;
|
|
|
|
height: 100%;
|
|
|
|
min-height: auto;
|
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
|
2022-03-23 03:28:12 +00:00
|
|
|
.ext-WikiEditor-realtimepreview-preview {
|
|
|
|
padding: 0 6px;
|
2022-08-22 15:45:19 +00:00
|
|
|
position: relative;
|
2022-03-23 03:28:12 +00:00
|
|
|
}
|
|
|
|
|
2021-11-18 10:50:17 +00:00
|
|
|
.wikiEditor-ui .wikiEditor-ui-view {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-ResizingDragBar-ns {
|
2023-03-20 09:48:17 +00:00
|
|
|
border-top: @border-width-base @border-style-base @border-color-subtle;
|
2021-11-18 10:50:17 +00:00
|
|
|
}
|
2022-04-07 08:36:33 +00:00
|
|
|
|
2023-03-20 09:48:17 +00:00
|
|
|
@width-loading-bar: 20%;
|
2022-04-07 08:36:33 +00:00
|
|
|
|
2022-04-06 02:48:31 +00:00
|
|
|
.ext-WikiEditor-realtimepreview-loadingbar div {
|
2022-04-07 08:36:33 +00:00
|
|
|
position: absolute;
|
|
|
|
z-index: 5;
|
|
|
|
display: block;
|
|
|
|
opacity: 1;
|
|
|
|
content: ' ';
|
2023-03-20 09:48:17 +00:00
|
|
|
background-color: @background-color-progressive;
|
|
|
|
width: @width-loading-bar;
|
2022-04-07 08:36:33 +00:00
|
|
|
height: 4px;
|
|
|
|
// Hide the loading bar to start with; it'll be shown if the loading state persists for more than 1s.
|
|
|
|
visibility: hidden;
|
2023-03-20 09:48:17 +00:00
|
|
|
animation: loading-bar 1.5s 1s infinite linear alternate;
|
2022-04-07 08:36:33 +00:00
|
|
|
}
|
|
|
|
|
2023-03-20 09:48:17 +00:00
|
|
|
@keyframes loading-bar {
|
2022-04-07 08:36:33 +00:00
|
|
|
0% {
|
|
|
|
visibility: visible;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
2023-03-20 09:48:17 +00:00
|
|
|
left: calc( 100% - @width-loading-bar );
|
2022-04-07 08:36:33 +00:00
|
|
|
}
|
|
|
|
}
|
2022-04-08 03:45:34 +00:00
|
|
|
|
2022-06-27 13:03:11 +00:00
|
|
|
.ext-WikiEditor-twopanes-pane2 {
|
|
|
|
.ext-WikiEditor-reloadButton {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 100ms;
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
right: 15px;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
2022-04-08 03:45:34 +00:00
|
|
|
|
2022-06-27 13:03:11 +00:00
|
|
|
&:hover .ext-WikiEditor-reloadButton {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2022-04-08 03:45:34 +00:00
|
|
|
}
|