Merge pull request #40 from octfx/feature/ooui_windows_darkmode

Expand oojs windows darkmode
This commit is contained in:
alistair3149 2019-12-30 16:59:57 -05:00 committed by GitHub
commit 8d0448a5ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,4 +54,92 @@
.oo-ui-processDialog-content .oo-ui-window-body {
border-color: @dark-bg-40;
}
}
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 1px solid @dark-bg-50;
}
.oo-ui-messageDialog-title {
color: @dark-text-100;
}
.oo-ui-messageDialog-message {
color: @dark-text-90;
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive .oo-ui-buttonElement-button:active {
background-color: rgba( 8, 126, 204, 0.1 );
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:active {
background-color: rgba( 212, 83, 83, 0.1 );
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-right: 1px solid @dark-bg-50;
}
.oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget {
border-bottom: 1px solid @dark-bg-50;
}
.oo-ui-processDialog-content .oo-ui-window-body {
outline: 1px solid @dark-bg-30;
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless:hover,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless:hover {
background-color: rgba( 0, 0, 0, 0.05 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless:active,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless:active {
background-color: rgba( 0, 0, 0, 0.1 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:hover,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:hover {
background-color: rgba( 8, 126, 204, 0.05 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:active,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-progressive:active {
background-color: rgba( 8, 126, 204, 0.1 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:hover,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:hover {
background-color: rgba( 212, 83, 83, 0.05 );
}
.oo-ui-processDialog-actions-safe .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:active,
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget.oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive:active {
background-color: rgba( 212, 83, 83, 0.1 );
}
.oo-ui-processDialog-errors {
background-color: rgba( 0, 0, 0, 0.9 );
}
.oo-ui-processDialog-errors-title {
color: @dark-text-100;
}
.oo-ui-processDialog-error {
border: 1px solid @red-50;
background-color: @red-90;
}
.oo-ui-windowManager-modal > .oo-ui-dialog {
background-color: rgba( 0, 0, 0, 0.5 );
}
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color: @dark-bg-0;
}
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
border: 1px solid @dark-bg-50;
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
}
}