UNPKG

p3x-redis-ui-material

Version:

💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io

21 lines • 4.16 kB
/*! * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */:host{color:var(--mat-app-text-color,inherit);display:block;padding-bottom:64px}.p3xr-monitoring-loading{align-items:center;display:flex;font-size:18px;gap:8px;justify-content:center;opacity:.5;padding:64px}.p3xr-monitoring-server-info{font-size:12px;opacity:.6;white-space:nowrap}.p3xr-mono{font-family:Roboto Mono,monospace}.p3xr-monitoring-sub{font-size:12px;margin-left:8px;opacity:.5}.p3xr-monitoring-chart{min-height:180px;overflow:hidden;width:100%}.p3xr-monitoring-chart .uplot{font-family:Roboto,sans-serif}.p3xr-monitoring-chart .u-legend{color:var(--mat-app-text-color,inherit);font-size:12px;opacity:.8}.p3xr-monitoring-chart .u-legend .u-series td{padding:1px 4px}.p3xr-monitoring-client-row{align-items:center;display:flex;gap:8px;width:100%}.p3xr-monitoring-client-addr{font-size:13px;font-weight:700;min-width:150px}.p3xr-monitoring-client-name{font-size:12px;opacity:.5}.p3xr-monitoring-client-info{flex:1;font-family:Roboto Mono,monospace;font-size:12px;opacity:.6;text-align:right}.p3xr-monitoring-client-kill{color:var(--p3xr-btn-warn-bg,#f44336);cursor:pointer;flex-shrink:0;font-size:18px!important;height:18px!important;opacity:.7;width:18px!important}.p3xr-monitoring-client-kill:hover{opacity:1}.p3xr-monitoring-slowlog-row{align-items:center;display:flex;gap:12px;width:100%}.p3xr-monitoring-slowlog-cmd{flex:1;font-family:Roboto Mono,monospace;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uplot,.uplot *,.uplot :after,.uplot :before{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;width:min-content}.u-title{font-size:18px;font-weight:700;text-align:center}.u-wrap{position:relative;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;height:100%;position:relative;width:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{display:inline-block;vertical-align:middle}.u-legend .u-marker{background-clip:padding-box!important;height:1em;margin-right:4px;width:1em}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:rgba(0,0,0,.07)}.u-cursor-x,.u-cursor-y,.u-select{pointer-events:none;position:absolute}.u-cursor-x,.u-cursor-y{left:0;top:0;will-change:transform}.u-hz .u-cursor-x,.u-vt .u-cursor-y{border-right:1px dashed #607d8b;height:100%}.u-hz .u-cursor-y,.u-vt .u-cursor-x{border-bottom:1px dashed #607d8b;width:100%}.u-cursor-pt{background-clip:padding-box!important;border:0 solid;border-radius:50%;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.u-axis.u-off,.u-cursor-pt.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-select.u-off{display:none}