Skip to content

Commit efd3b66

Browse files
committed
better coloring
1 parent 275a2c6 commit efd3b66

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

core/src/server/static/index.html

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
--header-footer-background: #1a1a1a;
4949
--banks-background: #b0b0b0;
5050
--highlight-color: #b0b0b0;
51+
--highlight-color-border: #d4af37;
5152
--highlight-color-darker: #808080;
5253
--highlight-color-darkerer: #505050;
5354
--hover-color: #909090;
@@ -134,14 +135,16 @@ <h2>Settings</h2>
134135
</select>
135136
</p>
136137
<p id="pSettingsClockOutput" style="margin: 0.25em 0;">
137-
<label for="settingsClockOutput" style="display: block; margin-bottom: 0.25em;">Outgoing clock type</label>
138+
<label for="settingsClockOutput" style="display: block; margin-bottom: 0.25em;">Outgoing clock
139+
type</label>
138140
<select id="settingsClockOutput" v-model="settingsClockOutput" style="width: 100%;">
139141
<option value="trig">trig</option>
140142
<option value="gate">gate</option>
141143
</select>
142144
</p>
143145
<p id="pSettingsClockBehaviorSync" style="margin: 0.25em 0;">
144-
<label for="settingsClockBehaviorSync" style="display: block; margin-bottom: 0.25em;">Outgoing clock behavior</label>
146+
<label for="settingsClockBehaviorSync" style="display: block; margin-bottom: 0.25em;">Outgoing clock
147+
behavior</label>
145148
<select id="settingsClockBehaviorSync" v-model="settingsClockBehaviorSync" style="width: 100%;">
146149
<option value="tempo">sync with tempo</option>
147150
<option value="slice">sync with slice</option>
@@ -150,7 +153,8 @@ <h2>Settings</h2>
150153
<p id="pSettingsAmenCV" style="margin: 0.25em 0;">
151154
<label for="settingsAmenCV" style="display: block; margin-bottom: 0.25em;"
152155
:class="{ 'grayed': settingsOverrideWithReset === 'amen' }">Amen CV polarity</label>
153-
<select id="settingsAmenCV" v-model="settingsAmenCV" :disabled="settingsOverrideWithReset === 'amen'" style="width: 100%;">
156+
<select id="settingsAmenCV" v-model="settingsAmenCV"
157+
:disabled="settingsOverrideWithReset === 'amen'" style="width: 100%;">
154158
<option value="bipolar">bipolar (-5 to +5v)</option>
155159
<option value="unipolar">unipolar (0 to +5v)</option>
156160
</select>
@@ -162,7 +166,8 @@ <h2>Settings</h2>
162166
:disabled="settingsOverrideWithReset === 'amen'" style="width: 100%;">
163167
<option value="jump">jump on change</option>
164168
<option value="repeat">repeat at CV</option>
165-
<option v-if="settingsAmenCV=='bipolar'" value="split">split: &lt;0v repeat, &ge;0v jump</option>
169+
<option v-if="settingsAmenCV=='bipolar'" value="split">split: &lt;0v repeat, &ge;0v jump
170+
</option>
166171
</select>
167172
</p>
168173
<p id="pSettingsBreakCV" style="margin: 0.25em 0;">
@@ -184,15 +189,16 @@ <h2>Settings</h2>
184189
</select>
185190
</p>
186191
<p id="pSettingsOverrideWithReset" style="margin: 0.25em 0;">
187-
<label for="settingsOverrideWithReset" style="display: block; margin-bottom: 0.25em;">Reset CV (Override)</label>
192+
<label for="settingsOverrideWithReset" style="display: block; margin-bottom: 0.25em;">Reset CV
193+
(Override)</label>
188194
<select id="settingsOverrideWithReset" v-model="settingsOverrideWithReset" style="width: 100%;">
189195
<option value="none">None</option>
190196
<option value="amen">Amen CV</option>
191197
<option value="break">Break CV</option>
192198
<option value="sample">Sample CV</option>
193199
<option value="clk">Incoming Clock</option>
194-
</select>
195-
</p>
200+
</select>
201+
</p>
196202
</div>
197203

198204
<!-- slider for brightness-->

core/src/server/static/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ a:hover {
163163
}
164164

165165
.file-details {
166-
border: 3px solid var(--highlight-color);
166+
border: 3px solid var(--highlight-color-border);
167167
border-radius: 10px;
168168
padding: 1em;
169169
margin: 1em;
@@ -203,7 +203,7 @@ a:hover {
203203
}
204204

205205
.file-list li.selected {
206-
background-color: var(--highlight-color-darker);
206+
background-color: var(--highlight-color-border);
207207
/* Highlight color for selected file */
208208
color: #333;
209209
}

0 commit comments

Comments
 (0)