Setup Assistant: Initial styling to Blender step

This commit is contained in:
Pablo Vazquez 2022-07-21 20:08:06 +02:00 committed by Francesco Siddi
parent 40b0a04af1
commit 860017fb42
2 changed files with 37 additions and 17 deletions

View File

@ -1,5 +1,6 @@
:root {
--spacer: 1rem;
--spacer-xl: 1.5rem;
--spacer-lg: 1.33rem;
--spacer-sm: .66rem;
--spacer-xs: .33rem;
@ -319,6 +320,13 @@ label {
display: block;
}
fieldset {
background-color: var(--color-background-column-highlight);
border: none;
margin-bottom: var(--spacer);
padding: var(--spacer);
}
input[type="text"] {
appearance: none;
background-color: var(--color-background);

View File

@ -88,9 +88,12 @@
<div v-if="isBlenderExeFinding" class="is-in-progress">Looking for Blender installs...</div>
<p v-if="autoFoundBlenders.length === 0">Provide a path to Blender. This path should be accessible by all Workers. If your rendering
setup features operating systems different form the one you are currently using, you can
manually set up the other paths later.</p>
<p v-if="autoFoundBlenders.length === 0">
Provide a path to Blender. This path should be accessible by all Workers.
<br/><br/>
If your rendering setup features operating systems different form the one you are currently using,
you can manually set up the other paths later.
</p>
<p v-else>Choose how a Worker should invoke the Blender command when performing a task.</p>
@ -118,6 +121,7 @@
</span>
</label>
<label for="blender-input_path">
<div>
<input
type="radio"
v-model="selectedBlender"
@ -125,20 +129,20 @@
:value="blenderFromInputPath"
id="blender-input_path"
>
{{ sourceLabels['input_path'] }} <br>
<span>
{{ sourceLabels['input_path'] }}
</div>
<div>
<input
@input="checkBlenderExePath"
v-model="customBlenderExe"
:class="{'is-invalid': blenderExeCheckResult != null && !blenderExeCheckResult.is_usable}"
type="text"
placeholder="Blender Path"
>
</span>
<p v-if="isBlenderExeChecking" class="is-in-progress">Checking...</p>
<p v-if="blenderExeCheckResult != null && !blenderExeCheckResult.is_usable" class="check-failed">
{{ blenderExeCheckResult.cause }}</p>
</div>
</label>
</fieldset>
@ -622,4 +626,12 @@ h2 {
background-position: 200px;
}
}
fieldset input[type="text"] {
margin-left: var(--spacer-xl);
margin-top: var(--spacer-sm);
width: -moz-available;
width: -webkit-fill-available;
}
</style>