new automation modal update
- improved inline alert title spacing - added a background color to the modal component - it was grey on light - changed static color of triggers - yellow -
This commit is contained in:
parent
18853d34e1
commit
45243876dc
|
@ -63,4 +63,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
}
|
}
|
||||||
|
.spectrum-InLineAlert-header {
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -182,6 +182,7 @@
|
||||||
--spectrum-global-dimension-size-100
|
--spectrum-global-dimension-size-100
|
||||||
);
|
);
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
background-color: var(--background);
|
||||||
}
|
}
|
||||||
:global(.spectrum--lightest .spectrum-Modal.inline) {
|
:global(.spectrum--lightest .spectrum-Modal.inline) {
|
||||||
border: var(--border-light);
|
border: var(--border-light);
|
||||||
|
|
|
@ -267,7 +267,8 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.icon-background-trigger {
|
.icon-background-trigger {
|
||||||
background-color: #6afdef;
|
background-color: #ffd230;
|
||||||
|
/*background-color: #6afdef;*/
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
min-height: 32px;
|
min-height: 32px;
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
onConfirm={createAutomation}
|
onConfirm={createAutomation}
|
||||||
disabled={!selectedTrigger || !name}
|
disabled={!selectedTrigger || !name}
|
||||||
>
|
>
|
||||||
|
<InlineAlert header="Click Publish to activate your automation." />
|
||||||
<Input
|
<Input
|
||||||
bind:value={name}
|
bind:value={name}
|
||||||
on:input={() => (nameTouched = true)}
|
on:input={() => (nameTouched = true)}
|
||||||
|
@ -130,7 +131,8 @@
|
||||||
background: var(--spectrum-global-color-gray-200);
|
background: var(--spectrum-global-color-gray-200);
|
||||||
}
|
}
|
||||||
.icon-background-trigger {
|
.icon-background-trigger {
|
||||||
background-color: #6afdef;
|
background-color: #ffd230;
|
||||||
|
/*background-color: #6afdef;*/
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
min-height: 28px;
|
min-height: 28px;
|
||||||
|
|
Loading…
Reference in New Issue