utkucoban commited on
Commit
382be3d
·
verified ·
1 Parent(s): cdd234d

Upload 4 files

Browse files
Files changed (2) hide show
  1. index.html +19 -17
  2. styles.css +55 -0
index.html CHANGED
@@ -71,23 +71,7 @@
71
  </div>
72
  </div>
73
 
74
- <div class="info-card">
75
- <h5>Playback Instrument</h5>
76
- <div class="select-group">
77
- <select id="instrumentSelect">
78
- <option value="piano" selected>Piano (Default)</option>
79
- <option value="xylophone">Xylophone</option>
80
- <option value="violin">Violin</option>
81
- <option value="trumpet">Trumpet</option>
82
- <option value="saxophone">Saxophone</option>
83
- <option value="organ">Organ</option>
84
- <option value="harp">Harp</option>
85
- <option value="guitar-acoustic">Acoustic Guitar</option>
86
- <option value="guitar-electric">Electric Guitar</option>
87
- <option value="bass-electric">Electric Bass</option>
88
- </select>
89
- </div>
90
- </div>
91
 
92
  <div class="info-card">
93
  <h5>Bored with the song?</h5>
@@ -276,6 +260,24 @@
276
  </div>
277
  </div>
278
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  </div>
280
  </div>
281
  </aside>
 
71
  </div>
72
  </div>
73
 
74
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  <div class="info-card">
77
  <h5>Bored with the song?</h5>
 
260
  </div>
261
  </div>
262
  </div>
263
+ </div>
264
+
265
+ <!-- Playback Instrument Box -->
266
+ <div class="playing-style-panel settings-column" style="margin-top: 15px;">
267
+ <h5>Playback Instrument</h5>
268
+ <div class="custom-select-container">
269
+ <select id="instrumentSelect">
270
+ <option value="piano" selected>Piano (Default)</option>
271
+ <option value="xylophone">Xylophone</option>
272
+ <option value="violin">Violin (Recommended)</option>
273
+ <option value="trumpet">Trumpet (Recommended)</option>
274
+ <option value="saxophone">Saxophone</option>
275
+ <option value="organ">Organ (Recommended)</option>
276
+ <option value="harp">Harp</option>
277
+ <option value="guitar-acoustic">Acoustic Guitar</option>
278
+ <option value="guitar-electric">Electric Guitar</option>
279
+ <option value="bass-electric">Electric Bass</option>
280
+ </select>
281
  </div>
282
  </div>
283
  </aside>
styles.css CHANGED
@@ -823,6 +823,61 @@ select:focus {
823
  border-color: var(--color-border-active);
824
  }
825
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
826
  .midi-seed-controls {
827
  display: flex;
828
  flex-direction: column;
 
823
  border-color: var(--color-border-active);
824
  }
825
 
826
+ /* Custom Pretty Select Dropdown styles */
827
+ .custom-select-container {
828
+ position: relative;
829
+ width: 100%;
830
+ }
831
+
832
+ .custom-select-container select {
833
+ width: 100%;
834
+ appearance: none;
835
+ -webkit-appearance: none;
836
+ -moz-appearance: none;
837
+ background-color: rgba(255, 255, 255, 0.02);
838
+ border: 1px solid var(--color-border);
839
+ border-radius: 8px;
840
+ color: var(--color-text-primary);
841
+ font-size: 0.85rem;
842
+ font-weight: 500;
843
+ padding: 0 36px 0 14px;
844
+ height: 42px;
845
+ outline: none;
846
+ cursor: pointer;
847
+ transition: all var(--transition-normal);
848
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
849
+ }
850
+
851
+ .custom-select-container select:hover {
852
+ background-color: rgba(255, 255, 255, 0.05);
853
+ border-color: var(--color-border-active);
854
+ box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
855
+ }
856
+
857
+ .custom-select-container select:focus {
858
+ border-color: var(--color-emerald-accent);
859
+ box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
860
+ }
861
+
862
+ /* Custom Chevron Indicator */
863
+ .custom-select-container::after {
864
+ content: "";
865
+ position: absolute;
866
+ right: 15px;
867
+ top: 50%;
868
+ transform: translateY(-50%);
869
+ width: 8px;
870
+ height: 5px;
871
+ background-color: var(--color-text-muted);
872
+ clip-path: polygon(100% 0, 0 0, 50% 100%);
873
+ pointer-events: none;
874
+ transition: background-color var(--transition-fast);
875
+ }
876
+
877
+ .custom-select-container:hover::after {
878
+ background-color: var(--color-emerald-accent);
879
+ }
880
+
881
  .midi-seed-controls {
882
  display: flex;
883
  flex-direction: column;