mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Weather Card: Fix overwritten changes (#5841)
This commit is contained in:
parent
825db8a56a
commit
eb2b24d57c
@ -374,13 +374,13 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard {
|
|||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.name,
|
.state,
|
||||||
.temp-attribute .temp {
|
.temp-attribute .temp {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.state,
|
.name,
|
||||||
.attribute {
|
.attribute {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@ -438,7 +438,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard {
|
|||||||
|
|
||||||
.attribute,
|
.attribute,
|
||||||
.templow,
|
.templow,
|
||||||
.state {
|
.name {
|
||||||
color: var(--secondary-text-color);
|
color: var(--secondary-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -467,7 +467,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard {
|
|||||||
--mdc-icon-size: 52px;
|
--mdc-icon-size: 52px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([narrow]) .name,
|
:host([narrow]) .state,
|
||||||
:host([narrow]) .temp-attribute .temp {
|
:host([narrow]) .temp-attribute .temp {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
@ -483,7 +483,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard {
|
|||||||
|
|
||||||
/* ============= VERY NARROW ============= */
|
/* ============= VERY NARROW ============= */
|
||||||
|
|
||||||
:host([veryNarrow]) .state,
|
:host([veryNarrow]) .name,
|
||||||
:host([veryNarrow]) .attribute {
|
:host([veryNarrow]) .attribute {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user