Fix deprecated CSS (#928)

* Fix nested var

* Fix deprecated @apply syntax

* Hassio
This commit is contained in:
Paulus Schoutsen
2018-02-26 11:43:58 -08:00
committed by GitHub
parent 0ab240c678
commit ff658c86ff
39 changed files with 84 additions and 84 deletions

View File

@@ -32,7 +32,7 @@
}
.grey {
--ha-label-badge-color: var(--label-badge-grey, --paper-grey-500);
--ha-label-badge-color: var(--label-badge-grey, var(--paper-grey-500));
}
</style>

View File

@@ -8,7 +8,7 @@
<template>
<style>
:host {
@apply(--paper-font-body1);
@apply --paper-font-body1;
min-width: 150px;
white-space: nowrap;
}
@@ -22,7 +22,7 @@
}
.name {
@apply(--paper-font-common-nowrap);
@apply --paper-font-common-nowrap;
color: var(--primary-text-color);
line-height: 40px;
}
@@ -32,7 +32,7 @@
}
.time-ago, ::slotted(*) {
@apply(--paper-font-common-nowrap);
@apply --paper-font-common-nowrap;
color: var(--secondary-text-color);
}
</style>