summaryrefslogtreecommitdiff
path: root/sample_editor/sample_editor.css
diff options
context:
space:
mode:
Diffstat (limited to 'sample_editor/sample_editor.css')
-rw-r--r--sample_editor/sample_editor.css188
1 files changed, 188 insertions, 0 deletions
diff --git a/sample_editor/sample_editor.css b/sample_editor/sample_editor.css
new file mode 100644
index 0000000..f1f83c8
--- /dev/null
+++ b/sample_editor/sample_editor.css
@@ -0,0 +1,188 @@
+input[type="text"] {
+ font-family: 'Barlow Condensed', sans-serif !important;
+}
+
+input[type="range"]::-webkit-slider-thumb,
+input[type="checkbox"]:checked,
+input[type="radio"]:checked {
+ accent-color: hsl(var(--highlight-hue), 100%, 50%);
+}
+
+input[type="range"]::-webkit-slider-thumb {
+ background: hsl(var(--highlight-hue), 100%, 50%);
+}
+
+input[type="range"]::-ms-thumb {
+ background: hsl(var(--highlight-hue), 100%, 50%);
+}
+
+input[type="range"] {
+ accent-color: hsl(var(--highlight-hue), 100%, 50%);
+}
+
+.canvas-container {
+ width: 100%;
+ height: 256px;
+ border-bottom: 1px solid #ccc;
+ position: relative;
+}
+
+#canvas {
+ width: 100%;
+ height: 100%;
+}
+
+.main-container {
+ display: flex;
+ height: 256px;
+ border-bottom: 1px solid #ccc;
+}
+
+.slice-list {
+ width: 25%;
+ padding: 5px;
+ box-sizing: border-box;
+ border-right: 1px solid #ccc;
+ overflow: auto;
+}
+
+.slice-list ul {
+ list-style: none;
+ padding: 0px;
+ margin: 0px;
+}
+
+.slice-list li {
+ padding: 5px;
+ cursor: pointer;
+ border-bottom: 1px solid #ccc;
+ display: flex;
+ align-items: center;
+}
+
+.slice-list li:hover {
+ background-color: #666;
+ color: white !important;
+}
+
+.slice-list .selected {
+ background-color: hsl(var(--highlight-hue), 70%, 50%);
+ color: white;
+}
+
+.color-chip {
+ width: 10px;
+ height: 10px;
+ margin-right: 10px;
+ display: inline-block;
+}
+
+.editor-container {
+ width: 33%;
+ padding: 5px;
+ box-sizing: border-box;
+ border-right: 1px solid #ccc;
+ display: none;
+}
+
+.name-track-container {
+ display: grid;
+ grid-template-columns: 65% 30%;
+ gap: 10px;
+ align-items: center;
+}
+
+.editor-container label {
+ display: block;
+}
+
+div .spacer {
+ height: 10px;
+}
+
+.slider {
+ width: 100%;
+}
+
+.radio-group {
+ margin-top: 10px;
+ display: flex;
+ gap: 10px;
+}
+
+.radio-group label {
+ margin-right: 10px;
+}
+
+.eq-container {
+ width: 42%;
+ height: 257px;
+ padding: 0px;
+ box-sizing: border-box;
+ border-bottom: 1px solid #ccc;
+ position: relative;
+}
+
+#eqCanvas,
+#fftCanvas {
+ width: 100%;
+ height: 256px;
+ top: 0;
+ left: 0;
+ position: absolute;
+}
+
+#fftCanvas {
+ pointer-events: none;
+ z-index: 1;
+}
+
+#eqCanvas {
+ z-index: 0;
+}
+
+#audioCanvas {
+ width: 100%;
+ height: 256px;
+}
+
+.header {
+ width: 100%;
+ height: 24px;
+ border-bottom: 1px solid #ccc;
+ background-color: white;
+ color: hsl(var(--highlight-hue), 70%, 50%);
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 0 10px;
+ box-sizing: border-box;
+ font-size: 18px;
+}
+
+.title {
+ pointer-events: none;
+}
+
+#help {
+ display: block;
+ position: absolute;
+ text-align: center;
+ padding: 10px;
+ font-size: 48px;
+ color: #888;
+}
+
+.header-button {
+ background-color: hsl(var(--highlight-hue), 70%, 50%);
+ color: white;
+ border: none;
+ padding: 2px 8px;
+ cursor: pointer;
+ font-size: 12px;
+}
+
+.header-button:hover {
+ background-color: #666;
+ color: white;
+}