mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-23 22:13:38 +00:00
Fix some OOUI and Flow darkmode issues on 1.35 (#191)
* Fix some ooui and flow darkmode issues on 1.35 * Make CI happy * Make CI happy Co-authored-by: Hannes <hannes@octofox.de>
This commit is contained in:
parent
0910842eeb
commit
3c3e4159c4
|
@ -20,7 +20,8 @@
|
|||
/**
|
||||
mw.flow.ui.EditorWidget.less
|
||||
*/
|
||||
.flow-ui-editorWidget > .flow-ui-editorWidget-editor {
|
||||
.flow-ui-editorWidget > .flow-ui-editorWidget-editor,
|
||||
.flow-ui-editorWidget > .flow-ui-editorWidget-editor:not(.oo-ui-pendingElement-pending) {
|
||||
background-color: @dark-bg-10;
|
||||
border-color: @dark-bg-30;
|
||||
}
|
||||
|
|
|
@ -65,6 +65,11 @@
|
|||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover {
|
||||
background-color: @dark-bg-20;
|
||||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
.oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:focus {
|
||||
outline: 1px solid @accent-50;
|
||||
box-shadow: inset 0 0 0 1px solid @accent-50;
|
||||
|
@ -149,6 +154,10 @@
|
|||
.oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle {
|
||||
background-color: @accent-10;
|
||||
color: @accent-50;
|
||||
|
||||
.oo-ui-labelElement-label {
|
||||
color: @dark-text-100;
|
||||
}
|
||||
}
|
||||
|
||||
.oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle:hover {
|
||||
|
@ -164,17 +173,13 @@
|
|||
box-shadow: inset 0 0 0 2px @accent-50;
|
||||
}
|
||||
|
||||
.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
|
||||
background-color: @dark-bg-20;
|
||||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled {
|
||||
background-color: @accent-10;
|
||||
}
|
||||
&:hover {
|
||||
background-color: rgba( 41, 98, 204, 0.1 );
|
||||
color: @dark-text-100;
|
||||
}
|
||||
|
||||
.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled:hover {
|
||||
background-color: rgba( 41, 98, 204, 0.1 );
|
||||
background-color: @accent-10;
|
||||
}
|
||||
|
||||
.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
|
||||
|
@ -232,6 +237,12 @@
|
|||
border-color: #447ff5;
|
||||
}
|
||||
|
||||
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
|
||||
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active:focus,
|
||||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
|
||||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link,
|
||||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link .oo-ui-tool-title,
|
||||
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link .oo-ui-tool-title,
|
||||
.oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active,
|
||||
.oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-popupToolGroup-handle:active:focus,
|
||||
.oo-ui-toolbar-actions > .oo-ui-buttonGroupWidget > .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-popupToolGroup-handle,
|
||||
|
@ -246,4 +257,10 @@
|
|||
border-color: @accent-50;
|
||||
box-shadow: inset 0 0 0 1px solid @accent-50, inset 0 0 0 2px @dark-bg-0;
|
||||
}
|
||||
|
||||
.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link,
|
||||
.oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link {
|
||||
background-color: @dark-bg-30;;
|
||||
border-color: @dark-bg-30;;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue