mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 05:05:53 +00:00
fix: Dark mode for modals, remove fade hack
This commit is contained in:
parent
64596f863d
commit
74c36cae64
@ -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 {
|
.modal.in .modal-dialog {
|
||||||
-webkit-transform: translate(0, 0);
|
-webkit-transform: translate(0, 0);
|
||||||
-o-transform: translate(0, 0);
|
-o-transform: translate(0, 0);
|
||||||
|
@ -1,25 +1,16 @@
|
|||||||
@import "../themes/themes";
|
@import "../themes/themes";
|
||||||
|
|
||||||
@include themifyRoot() {
|
@include themifyRoot() {
|
||||||
.dialog {
|
.modal-content {
|
||||||
background-color: themed(dialogBgColor);
|
background-color: themed(dialogBgColor);
|
||||||
color: themed(dialogFgColor);
|
color: themed(dialogFgColor);
|
||||||
|
|
||||||
.dialog-header {
|
.modal-header {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-bottom: 1px solid themed(dialogBorderColor);
|
border-bottom: 1px solid themed(dialogBorderColor);
|
||||||
|
|
||||||
h4 {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.dialog-content {
|
|
||||||
padding: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog-footer {
|
.dialog-footer {
|
||||||
padding: 20px;
|
|
||||||
border-top: 1px solid themed(dialogFooterBorderColor);
|
border-top: 1px solid themed(dialogFooterBorderColor);
|
||||||
background-color: themed(dialogFooterBackgroundColor);
|
background-color: themed(dialogFooterBackgroundColor);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user