fix userinfo on mobile devices and small refactoring name scss method (#2558)

This commit is contained in:
Eugenio Romano
2017-10-26 22:52:37 +01:00
committed by GitHub
parent 90403bab32
commit 1fd45ba1bd
52 changed files with 152 additions and 98 deletions

View File

@@ -107,3 +107,18 @@ $dark-theme: mat-dark-theme($primary, $accent, $warn);
}
```
Any component with the `add-dark-theme` class will use the dark theme, while other components will fall back to the default.
## Default reusable class
.adf-hide-small // Display none vieweport <960px
.adf-hide-xsmall // Display none vieweport <600px
.adf-primary-color // Primary color
.adf-accent-color // Accent color
.adf-warn-color // Warn color
.adf-primary-contrast-text-color // Default contrast color for primary color
.adf-accent-contrast-text-color // Default contrast color for accent color
.adf-background-color // Dialog background color
.adf-primary-background-color // Primary background color
.adf-accent-background-color // Default background color for accent