Skip to content

Commit

Permalink
update shadow DOM selectors,fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
frantic1048 committed Mar 22, 2017
1 parent aa98b5a commit 101227c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions styles/editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
;
}

atom-text-editor[mini], atom-text-editor[mini]::shadow {
atom-text-editor[mini], atom-text-editor[mini].editor {
color: @text-color-highlight;
background-color: @input-background-color;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
Expand All @@ -27,19 +27,19 @@ atom-text-editor[mini], atom-text-editor[mini]::shadow {
}
}

atom-text-editor[mini]:active, atom-text-editor[mini].active::shadow {
atom-text-editor[mini]:active, atom-text-editor[mini].active.editor {
border-bottom:1px solid lighten(@background-color-info, 45%);
}

atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused::shadow {
atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused.editor {
border-bottom:1px solid lighten(@background-color-info, 5%);
background-color: lighten(@input-background-color, 5%);
transition: border-color 0.3s ease;
.selection .region { background-color: desaturate(@background-color-info, 50%); }
}

// FIXME: these should go in syntax themes?
atom-text-editor, atom-text-editor::shadow {
atom-text-editor, atom-text-editor.editor {
.background(editor);

// wrap-guide not cool
Expand Down

0 comments on commit 101227c

Please sign in to comment.