mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
- Move all styles to ng-devtools/src/styles. - Create a BrowserService that detects the browsers and adds it as a class to the body. Move global browser styles. - Create theme mixins that incorporate the browser type into them. - Refactor some of the affected code along with the introduced changes. PR Close #59589
15 lines
235 B
SCSS
15 lines
235 B
SCSS
/* Keep class names in sync with ThemeService */
|
|
|
|
/* Default. Target Chrome */
|
|
@mixin chrome {
|
|
:host-context(.chrome-ui) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
/* Target Firefox */
|
|
@mixin firefox {
|
|
:host-context(.firefox-ui) {
|
|
@content;
|
|
}
|
|
}
|