Dark theme markdown fixes (#7260)

* fix colors in dark theme - tables inside rendered markdown

Signed-off-by: Michael Gnehr <michael@gnehr.de>

* fix colors in dark theme - simpleMDE rendered preview

Signed-off-by: Michael Gnehr <michael@gnehr.de>

* Update public/less/themes/arc-green.less

remove scroll bar color, to add this globally on additional PR

Co-Authored-By: Lauris BH <lauris@nix.lv>
Signed-off-by: Michael Gnehr <michael@gnehr.de>

* add missing class name

Signed-off-by: Michael Gnehr <michael@gnehr.de>
This commit is contained in:
Cherrg
2019-06-21 15:27:47 +02:00
committed by Lunny Xiao
parent a25b3d4c72
commit d14595514e
3 changed files with 39 additions and 4 deletions

View File

@ -501,7 +501,36 @@ a.ui.basic.green.label:hover {
}
.markdown:not(code) table tr:nth-child(2n) {
background-color: #474d61;
background-color: #2a2e39;
}
.markdown:not(code) table tr:nth-child(2n-1) {
background-color: #383b44;
}
.markdown:not(code) table thead tr:nth-child(2n-1) {
background-color: #464c5d !important;
}
.markdown:not(code) table td,
.markdown:not(code) table th {
border-color: #4c505c !important;
}
.repository.file.editor.edit,
.repository.wiki.new .CodeMirror {
border-right: 1px solid rgba(187,187,187, 0.6);
border-left: 1px solid rgba(187,187,187, 0.6);
border-bottom: 1px solid rgba(187,187,187, 0.6);
.editor-preview,
.editor-preview-side {
background: #353945;
.markdown:not(code).ui.segment {
border-width: 0;
}
}
}
.ui.dropdown .menu {