Commit Graph

11 Commits

Author SHA1 Message Date
Antonio Scandurra
d294f35849 Get rid of .underlayer
/cc: @nathansobo
2015-06-05 16:26:33 +02:00
Ben Ogle
2338f8e65b Make atom-pane overflow: visible
This allows children of the pane-item to make the decision to overflow or not.
2015-04-01 17:40:59 -07:00
postcasio
5489d7d351 Use double colons for "before" and "after" pseudo-elements 2015-02-16 16:34:31 +00:00
simurai
c024abcc5f 🐛 Fix line-height of the indent-guide
Issue #4279
2015-01-15 20:14:57 +09:00
Nathan Sobo
ed6ca9cd06 Remove .editor class to force themes to style background via :host
The goal is to allow the editor’s styling to be overridden as follows:

atom-text-editor {
  background: black;
  color: white;
}

If we retain these classes, themes will continue to style the root
element of the editor and destroy the ability to style the editor in
this way. You would instead have to do the following:

atom-text-editor::shadow .editor {
  background: black;
  color: white;
}

This is way less intuitive and confusing for people.
2014-11-13 16:04:57 -08:00
Nathan Sobo
263ff21cc1 Clean up shadow-DOM-specific text editor style sheet 2014-11-13 16:04:24 -08:00
Ben Ogle
9553c46030 Override the default styling of .highlight in the editor.
Closes #4136
2014-11-10 14:34:50 -08:00
Nathan Sobo
058ef0a5a8 Fix autocomplete specs 2014-11-07 14:43:02 -07:00
Nathan Sobo
e0f8d6f365 Fix disappearing editor when folding all
Also: simplify the editor stylesheet a bit. Still some more to do but
fixing this issue is more important.
2014-11-06 12:36:14 -07:00
Nathan Sobo
670b44f250 Only set both height and width of editor when shadow DOM is used
These work inside a shadow root, but break the flexbox behavior when
the shadow DOM is disabled.
2014-11-05 11:21:29 -07:00
Nathan Sobo
7202908780 Split editor stylesheet into light and shadow DOM versions
This prevents the need for a :host pseudo-class in the editor CSS which
breaks linting. It also fits selectors targeting the host element in a
more intuitive spot in the cascade.
2014-11-04 16:37:24 -07:00