Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit ad5735a

Browse files
LarzLarz
authored andcommitted
Updated .not-editor styling based on @TomMalbran's feedback.
1 parent 62d3d72 commit ad5735a

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/styles/brackets.less

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -323,17 +323,6 @@ a, img {
323323
position: relative;
324324

325325
/* Placeholder shown when there is no editor open */
326-
.not-editor {
327-
height: 100%;
328-
.vbox;
329-
.box-pack(center);
330-
.box-align(center);
331-
background: @bc-menu-bg url('images/no_content_bg.svg') no-repeat center 45%;
332-
333-
.dark & {
334-
background: @dark-bc-menu-bg url('images/no_content_bg_dark.svg') no-repeat center 45%;
335-
}
336-
}
337326

338327
.view-pane {
339328
opacity: 0.7; // quieten inactive pane
@@ -515,6 +504,19 @@ a, img {
515504
}
516505
}
517506

507+
// moved this out of #editor-holder because we need to lower the specificity so theme authors can override the background color
508+
.not-editor {
509+
height: 100%;
510+
.vbox;
511+
.box-pack(center);
512+
.box-align(center);
513+
background: #f8f8f8 url('images/no_content_bg.svg') no-repeat center 45%;
514+
515+
.dark & {
516+
background: #1d1f21 url('images/no_content_bg_dark.svg') no-repeat center 45%;
517+
}
518+
}
519+
518520
// Split View Separator Styles
519521
.split-vertical #second-pane {
520522
border-left: 1px solid rgba(0, 0, 0, 0.17);
Lines changed: 0 additions & 1 deletion
Loading
Lines changed: 0 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)