[data-sr-web] { --sr-web-sidebar-width: 174px; --sr-web-toolbar-height: 38px; --setup-mark: url("/_siderelay/assets/SideRelay.png"); --icon-dashboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8M5 9.5V21h5v-6h4v6h5V9.5'/%3E%3C/svg%3E"); --icon-devices: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2'/%3E%3Cpath d='M10 5h4m-4 14h4'/%3E%3C/svg%3E"); --icon-apps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); --icon-store: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65'%3E%3Crect x='4' y='7' width='16' height='14' rx='2'/%3E%3Cpath d='M9 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); --icon-accounts: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M5.4 19a6.7 6.7 0 0 1 13.2 0'/%3E%3C/svg%3E"); --icon-queue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 1 1.5 4.7M1.5 9.5 4 12l2.5-2.5M12 7v5l3 2'/%3E%3C/svg%3E"); --icon-settings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'%3E%3Cpath d='m10 2-.6 3-2 .9-2.6-1.6-2 2 1.6 2.6-.9 2-3 .6v2.5l3 .6.9 2-1.6 2.6 2 2 2.6-1.6 2 .9.6 3h2.5l.6-3 2-.9 2.6 1.6 2-2-1.6-2.6.9-2 3-.6v-2.5l-3-.6-.9-2 1.6-2.6-2-2-2.6 1.6-2-.9-.6-3z' transform='translate(1) scale(.92)'/%3E%3Ccircle cx='11.5' cy='11.6' r='3'/%3E%3C/svg%3E"); --icon-import: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v14m-5-5 5 5 5-5M5 21h14'/%3E%3C/svg%3E"); --icon-tv: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'%3E%3Crect x='2.5' y='4' width='19' height='13' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E"); --icon-certificate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Ccircle cx='8' cy='11' r='2'/%3E%3Cpath d='M5 16c0-2 6-2 6 0m3-6h4m-4 4h4'/%3E%3C/svg%3E"); --store-search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E"); --sr-web-split-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M9 5v14M5.5 9h1m-1 3h1m-1 3h1'/%3E%3C/svg%3E"); } .sr-portal-login { display: grid; min-block-size: 100vh; place-items: center; padding: 20px; box-sizing: border-box; } .sr-portal-login .card { inline-size: min(100%, 420px); box-sizing: border-box; padding: 24px; margin: 0; } .sr-portal-login h1 { margin: 12px 0 4px; font-size: 23px; } .sr-portal-login p { margin: 0; color: var(--muted); } .sr-portal-login form { display: grid; gap: 8px; margin-block-start: 18px; } .sr-portal-login input { min-inline-size: 0; } .sr-portal-login button { justify-self: end; margin-block-start: 4px; } .sr-web-sign-out { margin: 10px 3px 0; } html[data-sr-web] body { margin: 0; padding-block-start: var(--sr-web-toolbar-height); } [data-sr-web-sidebar] body { padding-inline-start: var(--sr-web-sidebar-width); } html[data-sr-web][data-sr-view^="setup-"] body { padding: 0; } [data-sr-web][data-sr-view^="setup-"] :is(.sr-web-toolbar, .sr-web-nav) { display: none; } .sr-web-toolbar { position: fixed; z-index: 3; inset: 0 0 auto; block-size: var(--sr-web-toolbar-height); box-sizing: border-box; display: flex; align-items: center; gap: 9px; padding-inline: 10px; background: var(--bg); border-bottom: 1px solid var(--hairline); } [data-sr-web-sidebar] .sr-web-toolbar { background: linear-gradient(to right, var(--sidebar) var(--sr-web-sidebar-width), var(--bg) var(--sr-web-sidebar-width)); } .sr-web-toolbar .sr-web-sidebar-toggle { display: grid; place-items: center; inline-size: 30px; block-size: 28px; padding: 0; background: transparent; } .sr-web-sidebar-toggle::before, .sr-web-nav a::before { content: ""; inline-size: 17px; block-size: 17px; background: currentColor; mask: var(--sr-web-split-icon) center / contain no-repeat; } .sr-web-toolbar .sr-web-sidebar-toggle:hover { background: var(--control-hover); } .sr-web-nav { position: fixed; z-index: 2; inset: var(--sr-web-toolbar-height) auto 0 0; box-sizing: border-box; inline-size: var(--sr-web-sidebar-width); overflow-y: auto; background: var(--sidebar); border-inline-end: 1px solid var(--hairline); padding: 9px; } .sr-web-nav-group { display: flex; align-items: end; block-size: 27px; padding: 0 6px 3px; margin-block-start: 6px; color: var(--muted); font-size: 11px; font-weight: 600; } .sr-web-nav a { display: flex; align-items: center; gap: 8px; min-height: 31px; padding: 3px 8px; border-radius: 8px; color: var(--text); text-decoration: none; } .sr-web-nav a::before { flex: 0 0 17px; color: var(--focus); mask-image: var(--sr-web-nav-icon); } .sr-web-nav [data-icon="dashboard"] { --sr-web-nav-icon: var(--icon-dashboard); } .sr-web-nav [data-icon="apps"] { --sr-web-nav-icon: var(--icon-apps); } .sr-web-nav [data-icon="store"] { --sr-web-nav-icon: var(--icon-store); } .sr-web-nav [data-icon="devices"] { --sr-web-nav-icon: var(--icon-devices); } .sr-web-nav [data-icon="accounts"] { --sr-web-nav-icon: var(--icon-accounts); } .sr-web-nav [data-icon="queue"] { --sr-web-nav-icon: var(--icon-queue); } .sr-web-nav [data-icon="settings"] { --sr-web-nav-icon: var(--icon-settings); } .sr-web-nav a:hover { background: var(--row-hover); } .sr-web-nav a[aria-current] { background: var(--selected); font-weight: 600; } .sr-web-nav a[aria-current]::before { color: inherit; } .sr-web-nav a:focus-visible, .sr-web-toolbar button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; } .sr-web-nav a:active, .sr-web-toolbar button:active { background: var(--control-hover); } .sr-web-nav[hidden], .sr-web-toolbar [hidden], .sr-web-device-source, .sr-web-devices [hidden] { display: none; } .sr-web-devices .sr-section-header > .sr-actions, .sr-web-devices .sr-device-row > .sr-actions { justify-content: end; flex-wrap: wrap; } .sr-web-devices .sr-device-identity { min-width: 0; overflow-wrap: anywhere; } @media (max-width: 500px) { .sr-web-devices .sr-section-header > .sr-actions { justify-content: start; } } .sr-web-device-back { margin-inline-start: max(0px, calc(var(--sr-web-sidebar-width) - 45px)); } :not([data-sr-web-sidebar]) > body .sr-web-device-back { margin-inline-start: 0; } @media (max-width: 620px) { html[data-sr-web] body { padding-inline-start: 0; } .sr-web-nav { box-shadow: 0 14px 35px #0003; } } .sr-web-fields { display: grid; gap: 10px; margin-block: 10px; } .sr-web-fields [hidden] { display: none; } .sr-web-fields > details > summary { cursor: pointer; } .sr-web-fields fieldset { border: 1px solid var(--hairline); border-radius: 6px; padding: 8px; } .sr-web-fields pre { white-space: pre-wrap; overflow-wrap: anywhere; max-block-size: 60vh; overflow: auto; } .sr-web-menu[open] { display: grid; position: fixed; inset: auto; margin: 0; padding: 5px; max-inline-size: calc(100vw - 16px); max-block-size: calc(100vh - 16px); overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 10px 26px #0003; } .sr-web-menu::backdrop { background: transparent; } .sr-web-menu-items { display: grid; } .sr-web-menu-items hr { inline-size: calc(100% - 10px); margin: 4px 5px; border: 0; border-top: 1px solid var(--hairline); } .sr-web-menu .btn { background: transparent; text-align: start; } .sr-web-menu .btn:hover:not(:disabled) { background: var(--control-hover); } .sr-web-platform { font-size: 11px; color: var(--muted); white-space: nowrap; }