2022-11-09 03:57:06 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:WikiEditor
|
|
|
|
* Module: ext.wikiEditor.realtimepreview
|
|
|
|
* Version: REL1_39 02e1c70
|
|
|
|
*
|
2023-06-03 22:50:25 +00:00
|
|
|
* Date: 2023-06-03
|
2022-11-09 03:57:06 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* RealtimePreview.less */
|
2023-06-03 22:50:25 +00:00
|
|
|
.ext-WikiEditor-realtimepreview-button {
|
|
|
|
&.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button {
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
}
|
2022-11-09 03:57:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-realtimepreview-button.oo-ui-toggleWidget-on .oo-ui-labelElement-label {
|
2023-06-03 22:50:25 +00:00
|
|
|
margin-left: 6px;
|
|
|
|
line-height: 2em; /* Align with VE */
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-primary );
|
2022-11-09 03:57:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-ResizingDragBar-ns {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-realtimepreview-loadingbar div {
|
|
|
|
background-color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Cancel out padding added in action.edit to avoid textarea overflow
|
|
|
|
.ext-WikiEditor-realtimepreview-textbox#wpTextbox1,
|
|
|
|
.mw-editform .ext-WikiEditor-realtimepreview-textbox#wpTextbox1 {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ResizingDragBar.less */
|
|
|
|
.ext-WikiEditor-ResizingDragBar {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-ResizingDragBar-ew {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-ResizingDragBar span {
|
|
|
|
background-color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-WikiEditor-ResizingDragBar:hover span {
|
|
|
|
background-color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TwoPaneLayout.less */
|
|
|
|
.ext-WikiEditor-twopanes-TwoPaneLayout {
|
|
|
|
.ext-WikiEditor-twopanes-pane1,
|
|
|
|
.ext-WikiEditor-twopanes-pane2 {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ErrorLayout.less */
|
|
|
|
.ext-WikiEditor-realtimepreview-ErrorLayout {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ManualWidget.less */
|
|
|
|
.ext-WikiEditor-ManualWidget {
|
|
|
|
background-color: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --border-color-base );
|
2022-11-09 03:57:06 +00:00
|
|
|
|
|
|
|
.ext-WikiEditor-realtimepreview-manual-reload {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-widget-disabled .ext-WikiEditor-realtimepreview-manual-reload {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Merge dragbar with editoptions
|
|
|
|
.skin-citizen .mw-editform .editOptions {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|