OSC updates and video resolution fixes
This commit is contained in:
@@ -48,6 +48,15 @@ input[type="range"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input[type="color"] {
|
||||
width: 100%;
|
||||
min-height: 38px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #303a4d;
|
||||
background: #101722;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
input[type="number"],
|
||||
input[type="text"],
|
||||
select,
|
||||
@@ -347,6 +356,128 @@ pre {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.shader-picker {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shader-picker__topline {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shader-picker__selected {
|
||||
min-width: 0;
|
||||
color: #98aad0;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.shader-picker__search {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.shader-picker__search svg {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
color: #98aad0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.shader-picker__search input {
|
||||
padding-left: 34px;
|
||||
}
|
||||
|
||||
.shader-picker__trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
min-height: 54px;
|
||||
padding: 8px 10px;
|
||||
text-align: left;
|
||||
background: #121b28;
|
||||
border-color: #26364e;
|
||||
}
|
||||
|
||||
.shader-picker__trigger > span {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shader-picker__trigger svg {
|
||||
flex: 0 0 auto;
|
||||
color: #98aad0;
|
||||
}
|
||||
|
||||
.shader-picker__popover {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 8px;
|
||||
border: 1px solid #273246;
|
||||
border-radius: 8px;
|
||||
background: #0d141f;
|
||||
}
|
||||
|
||||
.shader-picker__list {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
max-height: 220px;
|
||||
overflow-y: auto;
|
||||
padding: 6px;
|
||||
border: 1px solid #273246;
|
||||
border-radius: 6px;
|
||||
background: #0c121b;
|
||||
}
|
||||
|
||||
.shader-picker__option {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-height: 58px;
|
||||
padding: 8px 10px;
|
||||
text-align: left;
|
||||
background: #121b28;
|
||||
border-color: #26364e;
|
||||
align-content: center;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.shader-picker__option--selected {
|
||||
background: #233b5f;
|
||||
border-color: #6d95d8;
|
||||
box-shadow: inset 0 0 0 1px rgba(109, 149, 216, 0.25);
|
||||
}
|
||||
|
||||
.shader-picker__name,
|
||||
.shader-picker__meta {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.shader-picker__name {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.shader-picker__meta,
|
||||
.shader-picker__empty {
|
||||
color: #98aad0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.shader-picker__empty {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.layer-card__subheader button {
|
||||
width: auto;
|
||||
min-width: 96px;
|
||||
@@ -354,19 +485,58 @@ pre {
|
||||
|
||||
.parameter-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
gap: 16px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.parameter {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
gap: 7px;
|
||||
padding: 10px;
|
||||
border: 1px solid #273246;
|
||||
border-radius: 8px;
|
||||
background: #0f151f;
|
||||
}
|
||||
|
||||
.parameter__header {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.parameter__osc {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 6px;
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
min-height: 24px;
|
||||
padding: 2px 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: #98aad0;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.parameter__osc:hover:not(:disabled) {
|
||||
background: transparent;
|
||||
color: #c4d6f7;
|
||||
}
|
||||
|
||||
.parameter__osc span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.parameter__osc svg {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.parameter__value {
|
||||
color: #98aad0;
|
||||
font-size: 12px;
|
||||
@@ -378,8 +548,28 @@ pre {
|
||||
|
||||
.parameter__pair {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.parameter__pair input[type="range"] {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.parameter__color-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(92px, 0.42fr) minmax(120px, 0.58fr);
|
||||
gap: 8px;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.parameter__alpha {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
color: #98aad0;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.toggle {
|
||||
|
||||
Reference in New Issue
Block a user