fix: Dark mode for modals, remove fade hack

This commit is contained in:
Tony Stipanic 2021-09-01 01:02:53 +02:00
parent 64596f863d
commit 74c36cae64
No known key found for this signature in database
GPG key ID: 3026BCCB6C9CC6BD
2 changed files with 2 additions and 17 deletions

View file

@ -25,12 +25,6 @@ body {
}
}
// HACK: Work around dialog not showing up
// ref: https://github.com/shlomiassaf/angular2-modal/issues/280
.fade.in {
opacity: 1;
}
.modal.in .modal-dialog {
-webkit-transform: translate(0, 0);
-o-transform: translate(0, 0);

View file

@ -1,25 +1,16 @@
@import "../themes/themes";
@include themifyRoot() {
.dialog {
.modal-content {
background-color: themed(dialogBgColor);
color: themed(dialogFgColor);
.dialog-header {
.modal-header {
padding: 20px;
border-bottom: 1px solid themed(dialogBorderColor);
h4 {
margin: 0;
}
}
.dialog-content {
padding: 20px;
}
.dialog-footer {
padding: 20px;
border-top: 1px solid themed(dialogFooterBorderColor);
background-color: themed(dialogFooterBackgroundColor);
}