Skip to content
This repository has been archived by the owner on Sep 26, 2018. It is now read-only.

Stop using shadow DOM selectors #36

Merged
merged 2 commits into from
Oct 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions styles/atom.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ atom-workspace {
}

.scrollbars-visible-always {
/deep/ ::-webkit-scrollbar {
::-webkit-scrollbar {
width: 10px;
height: 10px;
}

/deep/ ::-webkit-scrollbar-track,
/deep/ ::-webkit-scrollbar-corner {
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
background: @scrollbar-background-color;
}

/deep/ ::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
background: @scrollbar-color;
border-radius: 5px;
box-shadow: 0 0 1px white inset;
Expand Down
6 changes: 3 additions & 3 deletions styles/editor.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "ui-variables";
@import "ui-mixins";

atom-text-editor[mini], atom-text-editor[mini]::shadow {
atom-text-editor[mini] {
color: lighten(@text-color, 15%);
background-color: darken(@input-background-color, 1%);
border: 1px solid lighten(@input-border-color, 10%);
Expand All @@ -17,7 +17,7 @@ atom-text-editor[mini], atom-text-editor[mini]::shadow {
}
}

atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused::shadow {
atom-text-editor[mini].is-focused {
color: @text-color;
background-color: @input-background-color;
border-color: @input-border-color;
Expand All @@ -30,7 +30,7 @@ atom-text-editor[mini].is-focused, atom-text-editor[mini].is-focused::shadow {
}

// FIXME: these should go in syntax themes?
atom-text-editor, atom-text-editor::shadow {
atom-text-editor {
.gutter.drop-shadow {
-webkit-box-shadow: -2px 0 10px 2px #222;
}
Expand Down