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:
parent
fc285d8ad4
commit
458ccc676f
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user