mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-14 05:20:31 +00:00
Fan speed tile feature (#15958)
* Move fan speed rules outside fan more info * Add fan speed tile feature * Improve select style
This commit is contained in:
@@ -205,8 +205,11 @@ export class HaControlSelect extends LitElement {
|
||||
--control-select-background: var(--disabled-color);
|
||||
--control-select-background-opacity: 0.2;
|
||||
--control-select-thickness: 40px;
|
||||
--control-select-border-radius: 12px;
|
||||
--control-select-border-radius: 10px;
|
||||
--control-select-padding: 4px;
|
||||
--control-select-button-border-radius: calc(
|
||||
var(--control-select-border-radius) - var(--control-select-padding)
|
||||
);
|
||||
--mdc-icon-size: 20px;
|
||||
height: var(--control-select-thickness);
|
||||
width: 100%;
|
||||
@@ -263,9 +266,7 @@ export class HaControlSelect extends LitElement {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: calc(
|
||||
var(--control-select-border-radius) - var(--control-select-padding)
|
||||
);
|
||||
border-radius: var(--control-select-button-border-radius);
|
||||
overflow: hidden;
|
||||
color: var(--primary-text-color);
|
||||
/* For safari border-radius overflow */
|
||||
|
||||
Reference in New Issue
Block a user