mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Automation/Script editor border-radius fix (#23267)
* Update ha-automation-action-row.ts * Update ha-automation-condition-row.ts * Update ha-automation-trigger-row.ts * Update ha-script-field-row.ts * Update ha-script-field-row.ts * Update ha-automation-condition-row.ts * Update ha-automation-trigger-row.ts * Update ha-automation-action-row.ts * Update ha-automation-trigger-row.ts * Update ha-automation-condition-row.ts * Update ha-automation-action-row.ts * Update ha-script-field-row.ts
This commit is contained in:
parent
784b7e4d04
commit
e9b2a83411
@ -614,6 +614,9 @@ export default class HaAutomationActionRow extends LitElement {
|
|||||||
ha-icon-button {
|
ha-icon-button {
|
||||||
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
||||||
}
|
}
|
||||||
|
ha-card {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
.disabled {
|
.disabled {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -646,8 +649,6 @@ export default class HaAutomationActionRow extends LitElement {
|
|||||||
.disabled-bar {
|
.disabled-bar {
|
||||||
background: var(--divider-color, #e0e0e0);
|
background: var(--divider-color, #e0e0e0);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top-right-radius: var(--ha-card-border-radius);
|
|
||||||
border-top-left-radius: var(--ha-card-border-radius);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mwc-list-item[disabled] {
|
mwc-list-item[disabled] {
|
||||||
|
@ -504,6 +504,9 @@ export default class HaAutomationConditionRow extends LitElement {
|
|||||||
ha-button-menu {
|
ha-button-menu {
|
||||||
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
||||||
}
|
}
|
||||||
|
ha-card {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
.disabled {
|
.disabled {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -536,8 +539,6 @@ export default class HaAutomationConditionRow extends LitElement {
|
|||||||
.disabled-bar {
|
.disabled-bar {
|
||||||
background: var(--divider-color, #e0e0e0);
|
background: var(--divider-color, #e0e0e0);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top-right-radius: var(--ha-card-border-radius);
|
|
||||||
border-top-left-radius: var(--ha-card-border-radius);
|
|
||||||
}
|
}
|
||||||
ha-list-item[disabled] {
|
ha-list-item[disabled] {
|
||||||
--mdc-theme-text-primary-on-background: var(--disabled-text-color);
|
--mdc-theme-text-primary-on-background: var(--disabled-text-color);
|
||||||
@ -559,8 +560,6 @@ export default class HaAutomationConditionRow extends LitElement {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: max-height 0.3s;
|
transition: max-height 0.3s;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top-right-radius: var(--ha-card-border-radius, 12px);
|
|
||||||
border-top-left-radius: var(--ha-card-border-radius, 12px);
|
|
||||||
}
|
}
|
||||||
.testing.active {
|
.testing.active {
|
||||||
max-height: 100px;
|
max-height: 100px;
|
||||||
|
@ -651,6 +651,9 @@ export default class HaAutomationTriggerRow extends LitElement {
|
|||||||
ha-button-menu {
|
ha-button-menu {
|
||||||
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
||||||
}
|
}
|
||||||
|
ha-card {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
.disabled {
|
.disabled {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -683,8 +686,6 @@ export default class HaAutomationTriggerRow extends LitElement {
|
|||||||
.disabled-bar {
|
.disabled-bar {
|
||||||
background: var(--divider-color, #e0e0e0);
|
background: var(--divider-color, #e0e0e0);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top-right-radius: var(--ha-card-border-radius);
|
|
||||||
border-top-left-radius: var(--ha-card-border-radius);
|
|
||||||
}
|
}
|
||||||
.triggered {
|
.triggered {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -701,8 +702,6 @@ export default class HaAutomationTriggerRow extends LitElement {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: max-height 0.3s;
|
transition: max-height 0.3s;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top-right-radius: var(--ha-card-border-radius, 12px);
|
|
||||||
border-top-left-radius: var(--ha-card-border-radius, 12px);
|
|
||||||
}
|
}
|
||||||
.triggered.active {
|
.triggered.active {
|
||||||
max-height: 100px;
|
max-height: 100px;
|
||||||
|
@ -295,6 +295,9 @@ export default class HaScriptFieldRow extends LitElement {
|
|||||||
ha-icon-button {
|
ha-icon-button {
|
||||||
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
--mdc-theme-text-primary-on-background: var(--primary-text-color);
|
||||||
}
|
}
|
||||||
|
ha-card {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
.disabled {
|
.disabled {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -327,8 +330,6 @@ export default class HaScriptFieldRow extends LitElement {
|
|||||||
.disabled-bar {
|
.disabled-bar {
|
||||||
background: var(--divider-color, #e0e0e0);
|
background: var(--divider-color, #e0e0e0);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-top-right-radius: var(--ha-card-border-radius);
|
|
||||||
border-top-left-radius: var(--ha-card-border-radius);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-list-item[disabled] {
|
ha-list-item[disabled] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user