Setup Assistant: Style invalid input type text
Also remove unused 'path-input' class.
This commit is contained in:
parent
ab75d64609
commit
5709d4b1ed
@ -46,6 +46,9 @@
|
|||||||
--transition-speed: 240ms;
|
--transition-speed: 240ms;
|
||||||
--transition-speed-fast: 60ms;
|
--transition-speed-fast: 60ms;
|
||||||
|
|
||||||
|
--color-danger: hsl(352 100% 56%);
|
||||||
|
--color-success: hsl(102 70% 56%);
|
||||||
|
|
||||||
--color-status-active: hsl(166 100% 46%);
|
--color-status-active: hsl(166 100% 46%);
|
||||||
--color-status-completed: hsl(166 100% 46%);
|
--color-status-completed: hsl(166 100% 46%);
|
||||||
|
|
||||||
@ -331,6 +334,10 @@ input[type="text"]:focus {
|
|||||||
border-color: var(--color-accent);
|
border-color: var(--color-accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="text"].is-invalid {
|
||||||
|
border-color: var(--color-danger);
|
||||||
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
background-color: var(--color-button-background);
|
background-color: var(--color-button-background);
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
|
@ -65,7 +65,9 @@
|
|||||||
@keyup.enter="nextStepAfterCheckSharedStoragePath"
|
@keyup.enter="nextStepAfterCheckSharedStoragePath"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Shared Storage Path"
|
placeholder="Shared Storage Path"
|
||||||
class="path-input"
|
:class="{
|
||||||
|
'is-invalid': (sharedStorageCheckResult != null) && !sharedStorageCheckResult.is_usable
|
||||||
|
}"
|
||||||
>
|
>
|
||||||
<p v-if="sharedStorageCheckResult != null"
|
<p v-if="sharedStorageCheckResult != null"
|
||||||
:class="{
|
:class="{
|
||||||
@ -132,7 +134,6 @@
|
|||||||
|
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Blender Path"
|
placeholder="Blender Path"
|
||||||
class="path-input"
|
|
||||||
>
|
>
|
||||||
</span>
|
</span>
|
||||||
<p v-if="isBlenderExeChecking" class="is-in-progress">Checking...</p>
|
<p v-if="isBlenderExeChecking" class="is-in-progress">Checking...</p>
|
||||||
@ -147,7 +148,6 @@
|
|||||||
v-model="customBlenderExe"
|
v-model="customBlenderExe"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Blender Path"
|
placeholder="Blender Path"
|
||||||
class="path-input"
|
|
||||||
>
|
>
|
||||||
|
|
||||||
<p v-if="isBlenderExeChecking" class="is-in-progress">Checking...</p>
|
<p v-if="isBlenderExeChecking" class="is-in-progress">Checking...</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user