2022-03-19 05:12:38 +11:00
|
|
|
/* Default styling for the widgets included in nih_plug_vizia */
|
2022-03-23 04:31:40 +11:00
|
|
|
/* See ./theme.css for overrides for the default widgets */
|
2022-03-19 11:17:13 +11:00
|
|
|
|
2022-03-23 03:06:54 +11:00
|
|
|
generic-ui {
|
|
|
|
child-space: 10px;
|
|
|
|
col-between: 5px;
|
|
|
|
layout-type: column;
|
|
|
|
row-between: 5px;
|
|
|
|
}
|
2022-03-23 04:49:56 +11:00
|
|
|
scrollview > vstack > generic-ui {
|
|
|
|
child-space: 5px;
|
|
|
|
|
|
|
|
/* Our scrollview styling will already add some padding here */
|
|
|
|
child-right: 0;
|
|
|
|
}
|
2022-03-23 03:06:54 +11:00
|
|
|
|
|
|
|
generic-ui .row {
|
|
|
|
col-between: 6px;
|
|
|
|
layout-type: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
generic-ui .label {
|
|
|
|
left: 1s;
|
|
|
|
top: 1s;
|
|
|
|
bottom: 1s;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-05 01:36:23 +11:00
|
|
|
param-button {
|
|
|
|
height: 30px;
|
|
|
|
width: auto;
|
|
|
|
border-color: #0a0a0a;
|
|
|
|
border-width: 1px;
|
2022-11-05 02:21:39 +11:00
|
|
|
child-top: 1s;
|
|
|
|
child-right: 5px;
|
|
|
|
child-bottom: 1s;
|
|
|
|
child-left: 5px;
|
|
|
|
background-color: #80808000;
|
2022-11-05 01:36:23 +11:00
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
|
|
|
param-button:hover {
|
2022-11-05 02:21:39 +11:00
|
|
|
background-color: #80808020;
|
2022-11-05 01:36:23 +11:00
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
|
|
|
param-button:checked {
|
2022-11-05 02:21:39 +11:00
|
|
|
background-color: #808080;
|
2022-11-05 01:36:23 +11:00
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
|
|
|
|
2022-11-05 02:21:39 +11:00
|
|
|
param-button.bypass {
|
|
|
|
background-color: #ffcfcb00;
|
2022-11-05 01:50:03 +11:00
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
2022-11-05 02:21:39 +11:00
|
|
|
param-button.bypass:hover {
|
|
|
|
background-color: #ffcfcb20;
|
2022-11-05 01:50:03 +11:00
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
2022-11-05 02:21:39 +11:00
|
|
|
param-button.bypass:checked {
|
|
|
|
background-color: #ffcfcb;
|
|
|
|
transition: background-color 0.1 0;
|
2022-11-05 01:36:23 +11:00
|
|
|
}
|
|
|
|
|
2022-03-19 11:17:13 +11:00
|
|
|
param-slider {
|
|
|
|
height: 30px;
|
|
|
|
width: 180px;
|
|
|
|
border-color: #0a0a0a;
|
|
|
|
border-width: 1px;
|
|
|
|
background-color: transparent;
|
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
|
|
|
|
2022-03-20 01:28:58 +11:00
|
|
|
/* Vizia doesn't support commas in selectors */
|
|
|
|
/* Also, WTB Sass */
|
2022-03-19 11:17:13 +11:00
|
|
|
param-slider:active {
|
|
|
|
background-color: #8080801a;
|
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
|
|
|
param-slider:hover {
|
|
|
|
background-color: #8080801a;
|
|
|
|
transition: background-color 0.1 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
param-slider .fill {
|
|
|
|
background-color: #c4c4c4;
|
|
|
|
}
|
2022-05-02 04:08:11 +10:00
|
|
|
param-slider .fill--modulation {
|
2022-05-02 04:16:17 +10:00
|
|
|
background-color: #a4eafc69;
|
2022-05-02 04:08:11 +10:00
|
|
|
}
|
2022-03-20 03:47:50 +11:00
|
|
|
|
|
|
|
/* This is a textbox, but we want it to appear just like the label */
|
|
|
|
param-slider .value-entry {
|
|
|
|
/* Vizia doesn't support the unset value */
|
|
|
|
background-color: transparent;
|
|
|
|
border-width: 0px;
|
|
|
|
}
|
2022-03-22 02:11:55 +11:00
|
|
|
param-slider .value-entry .caret {
|
|
|
|
background-color: #0a0a0a;
|
|
|
|
}
|
|
|
|
param-slider .value-entry .selection {
|
|
|
|
background-color: #0a0a0a30;
|
|
|
|
}
|
2022-03-22 08:28:54 +11:00
|
|
|
|
|
|
|
peak-meter {
|
|
|
|
height: 30px;
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
|
|
|
|
peak-meter .bar {
|
|
|
|
height: 50%;
|
|
|
|
border-width: 1px;
|
|
|
|
border-color: #0a0a0a;
|
|
|
|
}
|
2022-03-22 09:45:55 +11:00
|
|
|
|
2022-03-22 08:28:54 +11:00
|
|
|
peak-meter .ticks {
|
|
|
|
height: 50%;
|
|
|
|
}
|
2022-03-22 09:45:55 +11:00
|
|
|
peak-meter .ticks__tick {
|
|
|
|
background-color: #0a0a0a;
|
|
|
|
top: 0;
|
|
|
|
width: 1px;
|
|
|
|
height: 30%;
|
|
|
|
}
|
|
|
|
peak-meter .ticks__label {
|
|
|
|
top: 4px; /* In pixels in an attempt to get this to better align to the grid */
|
2022-03-22 11:02:25 +11:00
|
|
|
font-size: 11; /* 14.667px */
|
2022-03-22 09:45:55 +11:00
|
|
|
}
|
2022-03-28 09:32:53 +11:00
|
|
|
|
|
|
|
resize-handle {
|
|
|
|
bottom: 0;
|
|
|
|
color: #696969;
|
|
|
|
height: 20px;
|
|
|
|
left: 1s;
|
2022-03-30 01:59:46 +11:00
|
|
|
opacity: 0.4;
|
2022-03-28 09:32:53 +11:00
|
|
|
position-type: self-directed;
|
|
|
|
right: 0;
|
|
|
|
top: 1s;
|
|
|
|
transition: opacity 0.1 0;
|
|
|
|
width: 20px;
|
|
|
|
z-index: 1337;
|
|
|
|
}
|
2022-03-30 01:59:46 +11:00
|
|
|
resize-handle:active {
|
|
|
|
opacity: 0.8;
|
|
|
|
transition: opacity 0.1 0;
|
|
|
|
}
|
|
|
|
/* No commas in VIZIA */
|
2022-03-28 09:32:53 +11:00
|
|
|
resize-handle:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
transition: opacity 0.1 0;
|
|
|
|
}
|