24 lines
1.5 KiB
CSS
24 lines
1.5 KiB
CSS
.sga-help{list-style:disc;margin-left:1.4em}
|
|
.sga-media{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
|
|
.sga-media-name{font-weight:600;overflow-wrap:anywhere}
|
|
.sga-media-warn{flex-basis:100%;margin:0;color:#996800}
|
|
.sga-media-warn:empty{display:none}
|
|
.sga-form input[type=range]{vertical-align:middle;width:220px;max-width:100%}
|
|
.sga-stage{min-height:140px;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:repeating-conic-gradient(#2b2b33 0 25%,#34343d 0 50%) 0 0/20px 20px;border-radius:6px;font-size:18px;color:#fff;line-height:1.2}
|
|
.sga-alert{width:100%;max-width:560px;text-align:center;background:rgba(0,0,0,.45);border:2px solid #7c5cff;border-radius:12px;padding:10px 14px}
|
|
.sga-alert-media{display:flex;justify-content:center;margin-bottom:6px}
|
|
.sga-alert-media img,.sga-alert-media video{display:block;max-width:100%;max-height:260px;object-fit:contain;border-radius:6px}
|
|
.sga-alert-head{font-weight:800;font-size:1.2em}
|
|
.sga-alert-head b{color:#22d3ee}
|
|
.sga-idle{color:#bbb;font-size:14px;align-self:center}
|
|
|
|
/* Phones: radio rows breathe, slider fills the width, preview stage scales and never overflows. */
|
|
@media (max-width:782px){
|
|
.sga-form label{display:inline-block;margin:6px 0;min-height:32px}
|
|
.sga-form input[type=range]{width:100%;min-height:32px}
|
|
.sga-stage{min-height:120px;padding:10px;font-size:16px;overflow:hidden;box-sizing:border-box;max-width:100%}
|
|
.sga-alert{box-sizing:border-box}
|
|
.sga-alert-media img,.sga-alert-media video{max-height:180px}
|
|
.sga-media .button{min-height:40px}
|
|
}
|