mirror of
https://github.com/til-schneider/slim-wiki.git
synced 2025-08-13 12:04:10 +02:00
Removed background flickering while the editor loads
This commit is contained in:
@@ -4,3 +4,6 @@
|
|||||||
@colorText: #666;
|
@colorText: #666;
|
||||||
@colorLink: #1982C4;
|
@colorLink: #1982C4;
|
||||||
@colorLinkHover: #000;
|
@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;
|
||||||
|
@@ -42,8 +42,11 @@ footer {
|
|||||||
#editor-wrapper {
|
#editor-wrapper {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
|
// Avoid flickering while the editor loads
|
||||||
|
background-color: @colorEditorBg;
|
||||||
|
|
||||||
.CodeMirror-selected {
|
.CodeMirror-selected {
|
||||||
// The original selection background of the railscasts theme is nearly not visible
|
// The original selection background of the railscasts theme is nearly not visible
|
||||||
background: lighten(#2b2b2b, 10%) !important;
|
background: lighten(@colorEditorBg, 10%) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user