Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated selector in build-cargo\styles\linter.less #81

Closed
Arzte opened this issue Jan 17, 2017 · 1 comment
Closed

Deprecated selector in build-cargo\styles\linter.less #81

Arzte opened this issue Jan 17, 2017 · 1 comment

Comments

@Arzte
Copy link

Arzte commented Jan 17, 2017

In build-cargo\styles\linter.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .linter-highlight.note:not(.line-number), .linter-highlight.note:not(.line-number) => atom-text-editor.editor .linter-highlight.syntax--note:not(.line-number), .linter-highlight.note:not(.line-number)

  • atom-text-editor::shadow .linter-highlight.note .linter-gutter, .linter-highlight.note .linter-gutter => atom-text-editor.editor .linter-highlight.syntax--note .linter-gutter, .linter-highlight.note .linter-gutter

  • atom-text-editor::shadow .linter-highlight.note .region, .linter-highlight.note .region => atom-text-editor.editor .linter-highlight.syntax--note .region, .linter-highlight.note .region

  • atom-text-editor::shadow .linter-highlight.help:not(.line-number), .linter-highlight.help:not(.line-number) => atom-text-editor.editor .linter-highlight.syntax--help:not(.line-number), .linter-highlight.help:not(.line-number)

  • atom-text-editor::shadow .linter-highlight.help .linter-gutter, .linter-highlight.help .linter-gutter => atom-text-editor.editor .linter-highlight.syntax--help .linter-gutter, .linter-highlight.help .linter-gutter

  • atom-text-editor::shadow .linter-highlight.help .region, .linter-highlight.help .region => atom-text-editor.editor .linter-highlight.syntax--help .region, .linter-highlight.help .region

  • atom-text-editor::shadow .linter-highlight.macro:not(.line-number), .linter-highlight.macro:not(.line-number) => atom-text-editor.editor .linter-highlight.syntax--macro:not(.line-number), .linter-highlight.macro:not(.line-number)

  • atom-text-editor::shadow .linter-highlight.macro .linter-gutter, .linter-highlight.macro .linter-gutter => atom-text-editor.editor .linter-highlight.syntax--macro .linter-gutter, .linter-highlight.macro .linter-gutter

  • atom-text-editor::shadow .linter-highlight.macro .region, .linter-highlight.macro .region => atom-text-editor.editor .linter-highlight.syntax--macro .region, .linter-highlight.macro .region

  • atom-text-editor::shadow .linter-highlight.panic:not(.line-number), .linter-highlight.panic:not(.line-number) => atom-text-editor.editor .linter-highlight.panic:not(.line-number), .linter-highlight.panic:not(.line-number)

  • atom-text-editor::shadow .linter-highlight.panic .linter-gutter, .linter-highlight.panic .linter-gutter => atom-text-editor.editor .linter-highlight.panic .linter-gutter, .linter-highlight.panic .linter-gutter

  • atom-text-editor::shadow .linter-highlight.panic .region, .linter-highlight.panic .region => atom-text-editor.editor .linter-highlight.panic .region, .linter-highlight.panic .region

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

@Arzte
Copy link
Author

Arzte commented Jan 17, 2017

Just noticed that this is already reported in #80, sorry for the duplicate.

@Arzte Arzte closed this as completed Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant