Added bad shader warning instead of hard fail
This commit is contained in:
@@ -749,6 +749,22 @@ pre {
|
||||
box-shadow: inset 0 0 0 1px var(--app-primary-soft);
|
||||
}
|
||||
|
||||
.shader-picker__option--unavailable {
|
||||
border-color: rgba(217, 83, 79, 0.45);
|
||||
background: rgba(217, 83, 79, 0.08);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.shader-picker__option:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.shader-picker__option--unavailable .shader-picker__name,
|
||||
.shader-picker__option--unavailable .shader-picker__meta {
|
||||
color: #ffd0cf;
|
||||
}
|
||||
|
||||
.shader-picker__name,
|
||||
.shader-picker__meta {
|
||||
min-width: 0;
|
||||
@@ -788,6 +804,12 @@ pre {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.shader-picker__category--error {
|
||||
border-color: rgba(217, 83, 79, 0.45);
|
||||
background: var(--app-error-soft);
|
||||
color: #ffd0cf;
|
||||
}
|
||||
|
||||
.shader-picker__meta {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user