Upload files to "CSS"
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#balrocWindow{position:fixed;right:22px;top:90px;width:min(450px,calc(100vw - 25px));height:min(620px,75dvh);min-height:280px;z-index:110;display:flex;flex-direction:column;resize:both;overflow:hidden;background:#121d2b;border:1px solid #426187;border-radius:14px;box-shadow:0 22px 70px #000b;color:#ecf3ff;font:14px system-ui,sans-serif}#balrocWindow[hidden]{display:none!important}.balroc-header{display:flex;align-items:center;gap:10px;padding:12px;background:#203149;cursor:grab;user-select:none;touch-action:none}.balroc-header span{color:#afc7df;font-size:12px;margin-left:auto}.balroc-header button,.balroc-form button{border:1px solid #526d8c;background:#294365;color:white;padding:8px 11px;border-radius:8px;cursor:pointer}.balroc-messages{flex:1;overflow:auto;padding:13px;display:flex;flex-direction:column;gap:10px}.balroc-message{padding:11px 13px;max-width:90%;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4}.balroc-message.user{align-self:flex-end;background:#244a76}.balroc-message.assistant{align-self:flex-start;background:#233246}.balroc-form{padding:9px;display:flex;gap:7px;align-items:stretch;border-top:1px solid #30455f}.balroc-form textarea{flex:1;min-width:0;background:#0f1b2a;border:1px solid #466280;border-radius:9px;padding:9px;color:white;font:inherit;resize:none}.balroc-form button:disabled{opacity:.45}.balroc-hint{font-size:11px;padding:0 12px 9px;color:#91a6be}@media(max-width:700px){#balrocWindow{top:60px;left:6px!important;right:6px;width:calc(100vw - 12px);height:70dvh;resize:none}}
|
||||
/* Shared AI Command remote panel */
|
||||
#balrocWindow{height:min(800px,90dvh);width:min(490px,calc(100vw - 24px));}
|
||||
.balroc-playback{flex:none;padding:10px 12px;background:#192a3a;border-bottom:1px solid #30455f;min-width:0;}
|
||||
.balroc-now{display:flex;gap:10px;align-items:center;min-width:0}.balroc-now img{width:46px;height:54px;object-fit:cover;border-radius:6px}.balroc-now img[hidden]{display:none}.balroc-now>div{display:flex;flex-direction:column;gap:3px;min-width:0}.balroc-now small,.balroc-now span,.balroc-time{font-size:12px;color:#a9bfd4}.balroc-now strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balroc-playback progress{width:100%;height:6px;accent-color:#8aafdc}.balroc-time{font-variant-numeric:tabular-nums}.balroc-time:empty{display:none}.balroc-transport{display:flex;gap:5px;justify-content:space-between;margin-top:7px}.balroc-transport button{flex:1;min-width:0;min-height:42px;background:#263b51;color:#eaf3ff;border:1px solid #426187;border-radius:8px;font-size:18px;cursor:pointer}.balroc-transport button:disabled{opacity:.35;cursor:default}.balroc-voice{display:flex;flex:none;align-items:center;justify-content:center;gap:10px;padding:6px;color:#c1d4e7}.balroc-voice #balrocMic{width:64px;height:64px;border-radius:50%;background:#294c73;border:2px solid #527eae;color:white;font-size:28px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer}.balroc-voice #balrocMic[aria-pressed=true]{background:#913b49;border-color:#e28b90}.balroc-voice #balrocMic:disabled{opacity:.5}.balroc-messages{min-height:0}.balroc-message details{margin-top:6px;font-size:12px;opacity:.8}.balroc-form{flex:none}.kronic-mobile #balrocHeader{display:none}.kronic-mobile .balroc-playback{padding:8px 12px}.kronic-mobile .balroc-voice{padding:4px}.kronic-mobile .balroc-hint{display:none}@media(max-height:520px){.balroc-voice #balrocMic{width:44px;height:44px;font-size:20px}.balroc-playback{padding:5px}.balroc-transport button{min-height:32px}.balroc-now img{height:32px;width:32px}.balroc-header{padding:5px}.balroc-hint{display:none}}
|
||||
.balroc-result-message{width:100%;max-width:100%;box-sizing:border-box;flex-shrink:0}.balroc-result-list,.balroc-full-results{display:flex;flex-direction:column;gap:6px;margin-top:9px}.balroc-result-row{display:flex;align-items:center;text-align:left;gap:9px;width:100%;min-width:0;min-height:55px;padding:6px;background:#192a3c;color:#eaf3ff;border:1px solid #405a76;border-radius:8px;cursor:pointer;white-space:normal;font:inherit}.balroc-result-row:hover,.balroc-result-row:focus-visible{background:#294663}.balroc-result-thumb{position:relative;display:grid;place-items:center;width:76px;aspect-ratio:16/10;flex:none;background:#30445a;border-radius:5px;overflow:hidden;color:#bdcde0;font-size:13px}.balroc-result-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.balroc-result-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;overflow-wrap:anywhere}.balroc-result-text strong{font-size:13px;font-weight:600;line-height:1.3}.balroc-result-text small{font-size:11px;color:#aabed4}.balroc-view-results{display:block;width:100%;margin-top:9px;min-height:40px;border:1px solid #527397;border-radius:7px;background:#294b70;color:#fff;cursor:pointer;font:inherit}.balroc-full-results{padding:12px;margin:0 0 18px;background:#162333;border-radius:9px}.balroc-full-results h2{font-size:16px;margin:0 0 7px}.balroc-full-results .balroc-result-thumb{width:100px}.balroc-messages>*{flex-shrink:0}
|
||||
|
||||
/* Stable push-to-talk geometry: status text never moves the microphone. */
|
||||
#balrocWindow .balroc-voice{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:8px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;}
|
||||
#balrocWindow .balroc-voice #balrocMic{grid-column:2;grid-row:1;flex:none;box-sizing:border-box;touch-action:none;}
|
||||
#balrocWindow .balroc-voice .balroc-voice-label{grid-column:3;grid-row:1;min-width:0;max-width:100%;height:3.6em;display:flex;align-items:center;font-size:12px;line-height:1.2;overflow-wrap:anywhere;overflow:hidden;pointer-events:none;}
|
||||
@@ -0,0 +1,14 @@
|
||||
/* Scoped to the persistent embedded room in /m, not desktop or standalone chat. */
|
||||
html.mobile-room-embedded,html.mobile-room-embedded body{width:100%;height:100%;overflow:hidden}
|
||||
.mobile-room-embedded .app-shell{height:100%;min-height:0;max-width:100%;overflow:hidden}
|
||||
.mobile-room-embedded .topbar{width:100%;max-width:100%;min-height:0;flex-wrap:wrap!important;gap:5px!important;padding:5px!important}
|
||||
.mobile-room-embedded .topbar .brand,.mobile-room-embedded #mobileAudioMenuBtn,.mobile-room-embedded #chatToolButton{display:none!important}
|
||||
.mobile-room-embedded #kronicVoiceTop{width:100%;min-width:0!important;max-width:100%;flex:1 1 100%!important}
|
||||
.mobile-room-embedded #kronicVoiceTop .panel-section{flex-wrap:wrap!important;max-width:100%;min-width:0}
|
||||
.mobile-room-embedded #kronicVoiceTop input,.mobile-room-embedded #kronicVoiceTop select{min-width:0!important;max-width:100%;font-size:16px}
|
||||
.mobile-room-embedded .topbar-tools{flex-wrap:wrap;gap:5px}
|
||||
.mobile-room-embedded .workspace{min-height:0;overflow:auto}
|
||||
.mobile-room-embedded #chatFrameWrap:not([hidden]):not(.window-minimized){position:fixed!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;transform:none!important;resize:none!important;border-radius:0!important}
|
||||
.mobile-room-embedded #chatFrameWrap iframe{width:100%;height:100%;flex:1;min-height:0}
|
||||
.mobile-room-embedded .kronic-audio-popup:not([hidden]){position:fixed!important;inset:5px!important;width:auto!important;max-width:none!important;height:auto!important;max-height:calc(100% - 10px)!important;overflow:auto!important;z-index:100000!important}
|
||||
.mobile-room-embedded button{min-height:36px;touch-action:manipulation}
|
||||
@@ -0,0 +1,30 @@
|
||||
/* Dedicated /m shell. Existing media renderer styles are intentionally reused. */
|
||||
html:has(body.kronic-mobile),body.kronic-mobile{height:100%;margin:0;overflow:hidden;background:#111923;color:#e8eef7}
|
||||
body.kronic-mobile{--nav:calc(65px + env(safe-area-inset-bottom,0px));--head:calc(50px + env(safe-area-inset-top,0px));--player:0px;font-family:system-ui,sans-serif;display:flex;flex-direction:column;min-width:0}
|
||||
.kronic-mobile:has(#musicPersistentPlayer.active){--player:130px}
|
||||
.kronic-mobile [hidden]{display:none!important}
|
||||
.kronic-mobile button,.kronic-mobile select,.kronic-mobile input:not([type=checkbox]):not([type=range]),.kronic-mobile .button-link{min-height:44px;max-width:100%;font-size:16px;touch-action:manipulation}
|
||||
.kronic-mobile button{border:1px solid #34465b;border-radius:9px;background:#223247;color:#eef5ff;padding:7px 10px;cursor:pointer}
|
||||
.kronic-mobile button:focus-visible,.kronic-mobile a:focus-visible{outline:2px solid #9ec5ff;outline-offset:2px}
|
||||
.kronic-mobile .mobile-header{position:fixed;z-index:90;inset:0 0 auto;height:var(--head);padding:env(safe-area-inset-top,0px) 12px 0;display:flex;align-items:center;gap:12px;background:#172331;border-bottom:1px solid #34465b}
|
||||
.mobile-header strong{letter-spacing:2px;color:#b5d2ff;font-size:14px}.mobile-header #mobileTitle{flex:1;font-weight:650}.mobile-header #borgRoomVoiceState{max-width:40%;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a7dfc8}
|
||||
.kronic-mobile #mobileNav{position:fixed;z-index:100;inset:auto 0 0;display:flex;align-items:stretch;justify-content:space-around;height:var(--nav);padding:4px 4px env(safe-area-inset-bottom,0px);background:#172331;border-top:1px solid #34465b;gap:3px}
|
||||
.kronic-mobile #mobileNav button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;font-size:22px;padding:2px;color:#abb9cb;white-space:nowrap}
|
||||
.kronic-mobile #mobileNav button span{font-size:11px}.kronic-mobile #mobileNav [aria-current=page]{color:#b5d2ff;background:#293d58}
|
||||
.kronic-mobile #borgShell,.kronic-mobile #borgWindowWrap,.kronic-mobile #mobileMore,.kronic-mobile #balrocWindow{position:fixed!important;inset:var(--head) 0 calc(var(--nav) + var(--player)) 0!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;transform:none!important;resize:none!important;box-shadow:none!important;background:#111923}
|
||||
.kronic-mobile #borgShell{z-index:1;overflow:hidden}.kronic-mobile .borg-workspace{display:flex;flex-direction:column;height:100%;min-height:0}.kronic-mobile .borg-room-background,.kronic-mobile #borgAvatarHost{flex:1;min-height:0;height:100%;width:100%;display:flex}.kronic-mobile #borgChatFrame{border:0;width:100%;height:100%;display:block}.mobile-room-actions{display:flex;gap:7px;padding:7px;background:#172331}.mobile-room-actions button{flex:1}.mobile-room-actions #borgRoomLeave{background:#542b39}
|
||||
.kronic-mobile:not([data-mobile-tab=room]):not([data-mobile-tab=chat]) #borgShell{visibility:hidden;pointer-events:none}.kronic-mobile[data-mobile-tab=chat] .mobile-room-actions{display:none}
|
||||
.kronic-mobile #borgWindowWrap{z-index:10;overflow:auto;overscroll-behavior:contain;padding:10px;display:flex;flex-direction:column;gap:9px}.kronic-mobile #borgWindowHeader{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650}.mobile-categories{display:flex;gap:6px;overflow-x:auto;flex:0 0 auto;padding-bottom:4px}.mobile-categories button{white-space:nowrap;flex:none}.mobile-categories .borg-selected{background:#34547d;color:#fff}
|
||||
.kronic-mobile #searchForm{display:flex!important;position:static!important;flex-wrap:wrap;width:100%!important;gap:6px;margin:0;max-width:none}.kronic-mobile #searchInput{flex:1;min-width:100px}.kronic-mobile #mediaPrimaryNav{display:flex;flex-wrap:wrap;position:relative;gap:5px;width:100%;max-width:100%;order:1}.kronic-mobile #mediaPrimaryNav .media-account-nav{display:none!important}.kronic-mobile #mediaPrimaryNav details{position:relative}.kronic-mobile #mediaPrimaryNav .top-nav-menu{max-width:calc(100vw - 24px)}.kronic-mobile #kronicHeaderTools,.kronic-mobile #kronicSiteBack{display:none!important}
|
||||
.kronic-mobile #borgMediaWindow{position:static!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;min-width:0;overflow:visible;order:2}.kronic-mobile #content,.kronic-mobile #toolbar{min-width:0;max-width:100%;overflow-wrap:anywhere}.kronic-mobile #toolbar,.kronic-mobile .media-actions,.kronic-mobile .manage-library-controls{display:flex;flex-wrap:wrap;gap:6px}.kronic-mobile :is(.media-grid,.show-grid,.music-track-grid,.youtube-card-grid,.home-module-grid,.twitch-channel-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.kronic-mobile :is(.media-card,.show-card,.season-card,.music-track-card,.youtube-card,.home-module-card){min-width:0!important;max-width:100%!important}.kronic-mobile :is(.media-actions,.music-track-actions) button{flex:1;min-width:0}.kronic-mobile img{max-width:100%}.kronic-mobile .borg-category-picks{display:grid;gap:8px}.kronic-mobile .metadata-table-wrapper{overflow:auto}
|
||||
.kronic-mobile #mobileMore{z-index:20;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.kronic-mobile #mobileMore h2{font-size:18px;margin:0 0 6px}.kronic-mobile #mobileMore a,.kronic-mobile #mobileMore label{padding:14px;border:1px solid #34465b;border-radius:9px;color:#dceaff;text-decoration:none;background:#1a293b}.kronic-mobile #mobileMore input{width:20px;height:20px;vertical-align:middle}
|
||||
.kronic-mobile #balrocWindow{z-index:25;display:flex;flex-direction:column;overflow:hidden}.kronic-mobile #balrocHeader{cursor:default;touch-action:auto;flex-wrap:wrap}.kronic-mobile .ai-command-player-toolbar{flex:0 0 auto}.kronic-mobile #aiCommandDestination{min-width:0!important;flex:1 1 180px!important}.kronic-mobile .balroc-messages{min-height:0;flex:1;overflow:auto}.kronic-mobile .balroc-form{flex:0 0 auto}.kronic-mobile .balroc-form textarea{font-size:16px;min-height:48px}.kronic-mobile .balroc-hint{flex:0 0 auto}
|
||||
.kronic-mobile #musicPersistentPlayer.active{position:fixed!important;inset:auto 0 var(--nav) 0!important;width:auto!important;max-width:none!important;height:var(--player)!important;min-height:0!important;margin:0!important;transform:none!important;z-index:95!important;display:grid!important;grid-template-columns:46px minmax(0,1fr) auto!important;gap:5px;padding:7px!important;border-radius:0!important;overflow:auto}.kronic-mobile #musicPersistentPlayer .music-player-info{min-width:0!important}.kronic-mobile #musicPersistentPlayer .kronic-music-touch-controls{grid-column:1/-1}.kronic-mobile #musicPersistentPlayer audio{width:100%;min-width:0}.kronic-mobile #musicPersistentPlayer .kronic-music-touch-row button{min-height:36px}
|
||||
.kronic-mobile :is(#playerWindow,#youtubePlayerWindow,#twitchPlayerWindow):not(:fullscreen){position:fixed!important;inset:var(--head) 0 var(--nav) 0!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;transform:none!important;margin:0!important;border-radius:0!important;resize:none!important;display:flex;flex-direction:column;overflow:auto}
|
||||
.kronic-mobile :is(.player-header,.youtube-player-header,.player-controls,.youtube-player-actions){flex-wrap:wrap;max-width:100%;gap:4px}.kronic-mobile :is(#mediaPlayerFrame,#youtubeVideoElement,#twitchVideoElement){max-width:100%;max-height:55dvh;object-fit:contain}.kronic-mobile :is(.player-overlay,.youtube-player-overlay,.twitch-player-overlay){pointer-events:none}.kronic-mobile :is(#playerWindow,#youtubePlayerWindow,#twitchPlayerWindow){pointer-events:auto}.kronic-mobile :is(#playerOverlay,.youtube-player-overlay,.twitch-player-overlay){z-index:80!important}.kronic-mobile .borg-player-size-tools{display:none!important}
|
||||
@media(min-width:800px){.kronic-mobile :is(.media-grid,.show-grid,.music-track-grid,.youtube-card-grid,.home-module-grid){grid-template-columns:repeat(4,minmax(0,1fr))!important}}
|
||||
@media(max-height:420px){body.kronic-mobile{--nav:48px;--head:40px}.kronic-mobile:has(#musicPersistentPlayer.active){--player:90px}.kronic-mobile #mobileNav button{font-size:16px;gap:0}.kronic-mobile .balroc-hint{display:none}}
|
||||
/* Keep only contextual actions in the legacy renderer's home toolbar. */
|
||||
.kronic-mobile #mediaPrimaryNav:not(.media-primary-nav-library){display:none!important}
|
||||
.kronic-mobile #searchForm.kronic-search-popover{visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important;inset:auto!important}
|
||||
.kronic-mobile #mobileNav{box-sizing:border-box}.kronic-mobile .mobile-header{box-sizing:border-box}
|
||||
@@ -0,0 +1,2 @@
|
||||
[data-room-brand]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.kronic-mobile .mobile-header [data-room-brand]{max-width:42%;letter-spacing:0}.borg-brand [data-room-brand]{display:inline-block;max-width:100%;vertical-align:middle}#mediaPrimaryNav .media-account-nav .top-nav-menu{left:auto!important;right:0!important;max-width:calc(100vw - 24px)}
|
||||
body[data-has-media-access="false"] #kronicHeaderTools,body[data-has-media-access="false"] #borgMediaShareToggle,body[data-has-media-access="false"] .borg-media-share-toggle{display:none!important}
|
||||
@@ -0,0 +1,2 @@
|
||||
*{box-sizing:border-box}body{margin:0;background:#121b25;color:#e7edf5;font:16px system-ui,sans-serif;min-height:100dvh;display:grid;place-items:center;padding:20px}main{width:min(100%,540px);background:#1b2937;padding:24px;border:1px solid #34485c;border-radius:16px}header{display:flex;align-items:center;justify-content:space-between;gap:16px}h1{font-size:26px;margin:0}p{color:#b5c4d4;line-height:1.5}nav{display:grid;gap:12px}.room-card{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#263c53;color:#f2f6fa;text-decoration:none;padding:18px;border:1px solid #42617f;border-radius:10px;min-height:60px;overflow-wrap:anywhere}.room-card:hover,.room-card:focus-visible{background:#345373}button{background:#263c53;color:#fff;border:1px solid #42617f;border-radius:8px;padding:12px;cursor:pointer}#roomPickerError{color:#ffb4b4}
|
||||
main>a{display:inline-block;color:#b9d8ff;margin-top:16px}
|
||||
Reference in New Issue
Block a user