1
0
mirror of https://github.com/til-schneider/slim-wiki.git synced 2025-02-06 05:48:26 +01:00

Removed background flickering while the editor loads

This commit is contained in:
til-schneider 2015-12-22 23:01:43 +01:00
parent fc285d8ad4
commit 458ccc676f
2 changed files with 7 additions and 1 deletions

View File

@ -4,3 +4,6 @@
@colorText: #666;
@colorLink: #1982C4;
@colorLinkHover: #000;
// This doesn't set the editor's background (this is done in their theme) - it's just the same color they use
@colorEditorBg: #2b2b2b;

View File

@ -42,8 +42,11 @@ footer {
#editor-wrapper {
font-size: 14px;
// Avoid flickering while the editor loads
background-color: @colorEditorBg;
.CodeMirror-selected {
// The original selection background of the railscasts theme is nearly not visible
background: lighten(#2b2b2b, 10%) !important;
background: lighten(@colorEditorBg, 10%) !important;
}
}