Bunch of dark mode fixes from test page

This commit is contained in:
2020-07-03 15:00:33 +01:00
parent 79eb0cbff0
commit d09f3994fc
6 changed files with 181 additions and 220 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,11 +2,10 @@ $font-family-sans-serif: "Open Sans", sans-serif;
//Make it look less primary school
$font-size-base: 0.875rem;
$theme-colors: (
"yellow": #FF8800,
"success": #00C851,
"warning": #ffbb33,
"danger": #CC0000,
"info": #33b5e5,
"primary": #4CB8F1
"primary": #3A52A2
) !default;
$enable-shadows: true;

View File

@@ -21,7 +21,6 @@
.form-control:not(.btn) {
background-color: #121416;
color: $gray-100;
border-color: $gray-500;
}
.btn-light, .popover-header, .status {
background-color: #121416 !important;
@@ -43,4 +42,23 @@
.page-item.disabled {
opacity: 0.5;
}
.bg-light {
color: black;
background-color: $gray-200 !important;
border-radius: 0.2em;
}
del {
color: black;
background-color: $danger;
border-radius: 3px;
}
ins {
color: black;
background-color: $success;
border-radius: 3px;
}
pre {
background: $gray-600;
color: white;
}
}

View File

@@ -64,11 +64,13 @@ textarea {
del {
background-color: #f2dede;
border-radius: 3px;
padding: 0.1em;
}
ins {
background-color: #dff0d8;
border-radius: 3px;
padding: 0.1em;
}
.nav-link {
@@ -94,6 +96,19 @@ ins {
transform: translateY(45px); /* TODO Remove absolute positioning */
}
pre {
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
svg {
display: inline;
white-space: no-wrap;