fix(dashboard): refactor styles for the new theming

This commit is contained in:
KostyaDanovsky 2017-06-12 19:50:57 +03:00
parent 2783671f17
commit 83ed53d477

View file

@ -1,8 +1,6 @@
@import '~@nga/theme/styles/themes/cosmic/theme';
:host {
}
@import '~@nga/theme/styles_new/all';
@include nga-install-component() {
.status-cards {
nga-card {
flex-direction: row;
@ -21,7 +19,7 @@
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.1);
border-radius: $nga-card-border-radius;
border-radius: nga-theme(card-border-radius);
}
&.on {
@ -42,8 +40,8 @@
.icon-container {
font-size: 4em;
padding: 0.5rem 1.75rem;
color: $nga-card-foreground;
border-radius: $nga-card-border-radius 0 0 $nga-card-border-radius;
color: nga-theme(card-foreground);
border-radius: nga-theme(card-border-radius) 0 0 nga-theme(card-border-radius);
&.primary {
@include btn-hero-primary();
@ -67,8 +65,9 @@
}
.status {
font-size: 1.125rem;
font-weight: $nga-font-weight-light;
font-weight: nga-theme(font-weight-light);
text-transform: uppercase;
color: $nga-card-foreground-secondary;
color: nga-theme(card-foreground-secondary);
}
}
}