mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 09:35:39 +00:00
45e5fda9d0
Adds a full Phase-52 RBAC implementation and multiple server/frontend fixes. Key changes: new auth/permissions.go with 28 granular permissions and DefaultRolePermissions, expanded 7-role hierarchy and helpers in auth/roles.go, JWT org context and GenerateOrgToken, requirePermission/requireOrgMembership middlewares (Go + Node.js), DB schema & adapter changes for role_permissions and is_server_admin, org role boundary checks and peer org scoping, and guards for last-admin demotion and self-demotion. Also: TCP EOF/connection-reset log filtering in signal/relay servers, improved startup banner port display, KEYS_PATH auto-detect warning, CSS hover/transition layout fixes, admin password race mitigation, ID-change ghost peer cleanup, added Tauri ACL schema files, and a new RBAC_PHASE52.md doc. Misc: numerous web-nodejs i18n, CSS, JS and route updates and an updated .github/copilot-instructions.md timestamp/summary.
2711 lines
65 KiB
CSS
2711 lines
65 KiB
CSS
/**
|
|
* BetterDesk Console — Desktop Widget Mode Styles
|
|
* Glassmorphic widget dashboard with drag/resize support.
|
|
*/
|
|
|
|
/* ============ Widget Canvas ============ */
|
|
|
|
.widget-canvas {
|
|
position: absolute;
|
|
inset: 36px 0 10px 0; /* topbar 36px, no sidebar, slim taskbar 10px */
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Hide floating buttons when desktop mode topbar provides them */
|
|
.desktop-active .widget-add-btn,
|
|
body.desktop-active .tutorial-help-btn {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Reposition help menu near topbar in desktop mode */
|
|
body.desktop-active .tutorial-help-menu {
|
|
bottom: auto;
|
|
top: 42px;
|
|
right: 80px;
|
|
}
|
|
|
|
.desktop-widget,
|
|
.widget-add-btn,
|
|
.widget-picker,
|
|
.widget-config-overlay,
|
|
.wallpaper-picker-overlay {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
/* ============ Widget Base ============ */
|
|
|
|
.desktop-widget {
|
|
position: absolute;
|
|
border-radius: 14px;
|
|
background: rgba(13, 17, 23, 0.55);
|
|
backdrop-filter: blur(28px) saturate(1.5);
|
|
-webkit-backdrop-filter: blur(28px) saturate(1.5);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow:
|
|
0 4px 24px rgba(0, 0, 0, 0.35),
|
|
0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
|
color: #e6edf3;
|
|
overflow: hidden;
|
|
transform: translateY(0);
|
|
transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
|
|
contain: layout style;
|
|
will-change: transform;
|
|
user-select: none;
|
|
cursor: default;
|
|
}
|
|
|
|
.desktop-widget:hover {
|
|
border-color: rgba(255, 255, 255, 0.14);
|
|
box-shadow:
|
|
0 6px 32px rgba(0, 0, 0, 0.4),
|
|
0 0 0 1px rgba(255, 255, 255, 0.08) inset;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.desktop-widget.widget-focused {
|
|
border-color: rgba(88, 166, 255, 0.3);
|
|
box-shadow:
|
|
0 8px 40px rgba(0, 0, 0, 0.45),
|
|
0 0 0 1px rgba(88, 166, 255, 0.2) inset,
|
|
0 0 40px rgba(88, 166, 255, 0.06);
|
|
z-index: 10;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.desktop-widget.widget-dragging {
|
|
opacity: 0.92;
|
|
cursor: grabbing;
|
|
transition: none;
|
|
box-shadow:
|
|
0 12px 48px rgba(0, 0, 0, 0.5),
|
|
0 0 0 2px rgba(88, 166, 255, 0.3);
|
|
}
|
|
|
|
.desktop-widget.widget-resizing {
|
|
transition: none;
|
|
}
|
|
|
|
/* ============ Widget Header ============ */
|
|
|
|
.widget-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 7px 12px 5px;
|
|
cursor: grab;
|
|
position: relative;
|
|
min-height: 30px;
|
|
}
|
|
|
|
.widget-header:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.widget-header-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--accent-blue, #58a6ff);
|
|
}
|
|
|
|
.widget-header-title {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.3px;
|
|
text-transform: uppercase;
|
|
opacity: 0.7;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.widget-header-actions {
|
|
display: flex;
|
|
gap: 2px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.desktop-widget:hover .widget-header-actions {
|
|
opacity: 1;
|
|
}
|
|
|
|
.widget-header-actions button {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 6px;
|
|
color: #8b949e;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
transition: all 0.15s ease;
|
|
padding: 0;
|
|
}
|
|
|
|
.widget-header-actions button:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-header-actions .widget-btn-remove:hover {
|
|
background: rgba(248, 81, 73, 0.2);
|
|
color: #f85149;
|
|
}
|
|
|
|
/* ============ Widget Body ============ */
|
|
|
|
.widget-body {
|
|
padding: 4px 12px 10px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
flex: 1;
|
|
position: relative;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255,255,255,0.15) transparent;
|
|
}
|
|
|
|
.widget-body::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.widget-body::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* ============ Resize Handles ============ */
|
|
|
|
.widget-resize {
|
|
position: absolute;
|
|
z-index: 5;
|
|
}
|
|
|
|
.widget-resize-n { top: -4px; left: 8px; right: 8px; height: 8px; cursor: n-resize; }
|
|
.widget-resize-s { bottom: -4px; left: 8px; right: 8px; height: 8px; cursor: s-resize; }
|
|
.widget-resize-e { top: 8px; bottom: 8px; right: -4px; width: 8px; cursor: e-resize; }
|
|
.widget-resize-w { top: 8px; bottom: 8px; left: -4px; width: 8px; cursor: w-resize; }
|
|
.widget-resize-ne { top: -4px; right: -4px; width: 14px; height: 14px; cursor: ne-resize; }
|
|
.widget-resize-nw { top: -4px; left: -4px; width: 14px; height: 14px; cursor: nw-resize; }
|
|
.widget-resize-se { bottom: -4px; right: -4px; width: 14px; height: 14px; cursor: se-resize; }
|
|
.widget-resize-sw { bottom: -4px; left: -4px; width: 14px; height: 14px; cursor: sw-resize; }
|
|
|
|
/* ============ Widget Animations ============ */
|
|
|
|
@keyframes widgetAppear {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(0.85) translateY(12px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes widgetRemove {
|
|
0% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
}
|
|
}
|
|
|
|
@keyframes widgetPulse {
|
|
0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
|
|
50% { box-shadow: 0 4px 24px rgba(0,0,0,0.35), 0 0 20px rgba(88,166,255,0.1); }
|
|
}
|
|
|
|
.desktop-widget.widget-entering {
|
|
animation: widgetAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
}
|
|
|
|
.desktop-widget.widget-leaving {
|
|
animation: widgetRemove 0.3s cubic-bezier(0.55, 0, 1, 0.45) forwards;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ============ Grid Snap Indicator ============ */
|
|
|
|
.widget-snap-guide {
|
|
position: absolute;
|
|
background: rgba(88, 166, 255, 0.15);
|
|
border: 1px dashed rgba(88, 166, 255, 0.4);
|
|
border-radius: 14px;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
/* ============ Add Widget Button (floating) ============ */
|
|
|
|
.widget-add-btn {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 20px;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: linear-gradient(135deg, #58a6ff 0%, #3b82f6 100%);
|
|
color: white;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4px 16px rgba(88, 166, 255, 0.3);
|
|
transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
z-index: 50;
|
|
}
|
|
|
|
.widget-add-btn:hover {
|
|
transform: scale(1.1) rotate(90deg);
|
|
box-shadow: 0 6px 24px rgba(88, 166, 255, 0.45);
|
|
}
|
|
|
|
.widget-add-btn:active {
|
|
transform: scale(0.95) rotate(90deg);
|
|
}
|
|
|
|
/* ============ Widget Picker Panel ============ */
|
|
|
|
.widget-picker {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 20px;
|
|
width: 360px;
|
|
max-height: 520px;
|
|
border-radius: 16px;
|
|
background: rgba(13, 17, 23, 0.88);
|
|
backdrop-filter: blur(30px) saturate(1.3);
|
|
-webkit-backdrop-filter: blur(30px) saturate(1.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
|
|
z-index: 100;
|
|
overflow: hidden;
|
|
animation: widgetAppear 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
}
|
|
|
|
.widget-picker-header {
|
|
padding: 16px 16px 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-picker-header h3 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #e6edf3;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.widget-picker-search {
|
|
width: 100%;
|
|
padding: 8px 12px 8px 34px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
color: #e6edf3;
|
|
font-size: 13px;
|
|
outline: none;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.widget-picker-search:focus {
|
|
border-color: rgba(88, 166, 255, 0.4);
|
|
}
|
|
|
|
.widget-picker-search-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.widget-picker-search-wrap .material-icons {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 16px;
|
|
color: #8b949e;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.widget-picker-list {
|
|
padding: 8px;
|
|
overflow-y: auto;
|
|
max-height: 400px;
|
|
}
|
|
|
|
.widget-picker-list::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.widget-picker-list::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.widget-picker-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.widget-picker-item:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-picker-item:active {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.widget-picker-item-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.widget-picker-item-info {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.widget-picker-item-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-picker-item-desc {
|
|
font-size: 11px;
|
|
color: #8b949e;
|
|
margin-top: 2px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.widget-picker-category {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
color: #8b949e;
|
|
padding: 12px 12px 4px;
|
|
}
|
|
|
|
/* ============ Wallpaper Picker ============ */
|
|
|
|
.wallpaper-picker-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 200;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: fadeIn 0.2s ease forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.wallpaper-picker {
|
|
width: 90vw;
|
|
max-width: 960px;
|
|
height: 80vh;
|
|
max-height: 80vh;
|
|
background: rgba(13, 17, 23, 0.97);
|
|
backdrop-filter: blur(8px);
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: widgetAppear 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
}
|
|
|
|
.wallpaper-picker-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wallpaper-picker-header h3 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #e6edf3;
|
|
margin: 0;
|
|
}
|
|
|
|
.wallpaper-picker-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
color: #8b949e;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.wallpaper-picker-close:hover {
|
|
background: rgba(248, 81, 73, 0.2);
|
|
color: #f85149;
|
|
}
|
|
|
|
/* ---------- Tabs ---------- */
|
|
|
|
.wallpaper-picker-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 0 20px 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wp-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 7px 14px;
|
|
border: none;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #8b949e;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.wp-tab .material-icons {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.wp-tab:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.wp-tab.active {
|
|
background: rgba(88, 166, 255, 0.12);
|
|
color: #58a6ff;
|
|
}
|
|
|
|
/* ---------- Body / Panels ---------- */
|
|
|
|
.wallpaper-picker-body {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.wp-panel {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.wp-panel::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.wp-panel::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* ---------- Color Panel ---------- */
|
|
|
|
.wp-color-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
|
|
gap: 10px;
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.wp-color-swatch {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
border: 2px solid transparent;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.wp-color-swatch:hover {
|
|
border-color: rgba(88, 166, 255, 0.5);
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.wp-color-swatch.active {
|
|
border-color: #58a6ff;
|
|
box-shadow: 0 0 12px rgba(88, 166, 255, 0.3);
|
|
}
|
|
|
|
.wp-color-swatch.active::after {
|
|
content: 'check';
|
|
font-family: 'Material Icons';
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
color: #fff;
|
|
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.wp-custom-color {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.wp-custom-color label {
|
|
font-size: 13px;
|
|
color: #8b949e;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wp-custom-color input[type="color"] {
|
|
width: 40px;
|
|
height: 32px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
padding: 2px;
|
|
}
|
|
|
|
/* ---------- Footer ---------- */
|
|
|
|
.wallpaper-picker-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
padding: 10px 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wp-fit-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wp-fit-selector label {
|
|
font-size: 13px;
|
|
color: #8b949e;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wp-fit-selector select {
|
|
padding: 5px 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #e6edf3;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
outline: none;
|
|
transition: border-color 0.15s ease;
|
|
}
|
|
|
|
.wp-fit-selector select:hover {
|
|
border-color: rgba(88, 166, 255, 0.4);
|
|
}
|
|
|
|
.wp-fit-selector select:focus {
|
|
border-color: #58a6ff;
|
|
}
|
|
|
|
.wallpaper-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 12px;
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.wallpaper-thumb {
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
border: 2px solid transparent;
|
|
transition: all 0.25s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.wallpaper-thumb:hover {
|
|
border-color: rgba(88, 166, 255, 0.5);
|
|
}
|
|
|
|
.wallpaper-thumb.active {
|
|
border-color: #58a6ff;
|
|
box-shadow: 0 0 16px rgba(88, 166, 255, 0.3);
|
|
}
|
|
|
|
.wallpaper-thumb::after {
|
|
content: 'check_circle';
|
|
font-family: 'Material Icons';
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
font-size: 22px;
|
|
color: #58a6ff;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
text-shadow: 0 1px 4px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.wallpaper-thumb.active::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wallpaper-unavailable-notice {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 48px 24px;
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.wallpaper-unavailable-notice .material-icons {
|
|
font-size: 48px;
|
|
color: rgba(88, 166, 255, 0.4);
|
|
}
|
|
|
|
.wallpaper-unavailable-notice p {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.wallpaper-unavailable-notice small {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.wallpaper-thumb-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(30, 36, 44, 0.8);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.2);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
position: relative;
|
|
}
|
|
|
|
/* Loading spinner animation */
|
|
.wallpaper-thumb-placeholder::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 2px solid rgba(88, 166, 255, 0.1);
|
|
border-top-color: rgba(88, 166, 255, 0.5);
|
|
border-radius: 50%;
|
|
animation: wallpaper-spin 0.8s linear infinite;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.wallpaper-thumb.loading .wallpaper-thumb-placeholder::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wallpaper-thumb.loading .wallpaper-thumb-placeholder span {
|
|
display: none;
|
|
}
|
|
|
|
@keyframes wallpaper-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Image fade-in when loaded */
|
|
.wallpaper-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
content-visibility: auto;
|
|
}
|
|
|
|
.wallpaper-thumb img.loaded {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ============ Widget-Specific Styles ============ */
|
|
|
|
/* Clock Widget */
|
|
.widget-clock-time {
|
|
font-size: 48px;
|
|
font-weight: 200;
|
|
letter-spacing: -2px;
|
|
color: #ffffff;
|
|
line-height: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.widget-clock-date {
|
|
font-size: 13px;
|
|
color: #8b949e;
|
|
text-align: center;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.widget-clock-seconds {
|
|
font-size: 20px;
|
|
font-weight: 300;
|
|
color: rgba(88, 166, 255, 0.7);
|
|
vertical-align: super;
|
|
}
|
|
|
|
/* Status Counter Widget */
|
|
.widget-status-counters {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.widget-status-counter {
|
|
flex: 1;
|
|
min-width: 70px;
|
|
text-align: center;
|
|
padding: 10px 6px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.widget-status-counter:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-status-counter-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.widget-status-counter-label {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: #8b949e;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.widget-status-counter.online .widget-status-counter-value { color: #3fb950; }
|
|
.widget-status-counter.offline .widget-status-counter-value { color: #8b949e; }
|
|
.widget-status-counter.blocked .widget-status-counter-value { color: #f85149; }
|
|
.widget-status-counter.total .widget-status-counter-value { color: #58a6ff; }
|
|
|
|
/* Gauge Widget */
|
|
.widget-gauge {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.widget-gauge-ring {
|
|
width: 100px;
|
|
height: 100px;
|
|
position: relative;
|
|
}
|
|
|
|
.widget-gauge-ring svg {
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.widget-gauge-ring circle {
|
|
fill: none;
|
|
stroke-width: 8;
|
|
stroke-linecap: round;
|
|
}
|
|
|
|
.widget-gauge-ring .gauge-bg {
|
|
stroke: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-gauge-ring .gauge-fill {
|
|
stroke: #58a6ff;
|
|
transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
|
|
}
|
|
|
|
.widget-gauge-ring .gauge-fill.warning { stroke: #d29922; }
|
|
.widget-gauge-ring .gauge-fill.danger { stroke: #f85149; }
|
|
|
|
.widget-gauge-value {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-gauge-label {
|
|
font-size: 11px;
|
|
color: #8b949e;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* Server Health Widget */
|
|
.widget-health-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.widget-health-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.widget-health-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
animation: healthPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.widget-health-dot.up { background: #3fb950; }
|
|
.widget-health-dot.down { background: #f85149; animation: healthPulse 1s ease-in-out infinite; }
|
|
.widget-health-dot.unknown { background: #8b949e; }
|
|
|
|
@keyframes healthPulse {
|
|
0%, 100% { box-shadow: 0 0 0 0 currentColor; }
|
|
50% { box-shadow: 0 0 6px 2px currentColor; }
|
|
}
|
|
|
|
.widget-health-name {
|
|
flex: 1;
|
|
font-size: 13px;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-health-status {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.widget-health-status.up { color: #3fb950; }
|
|
.widget-health-status.down { color: #f85149; }
|
|
.widget-health-status.unknown { color: #8b949e; }
|
|
|
|
/* Server Info Widget (combined health + ports) */
|
|
.widget-server-info { display: flex; flex-direction: column; gap: 8px; }
|
|
.widget-si-services { display: flex; gap: 12px; }
|
|
.widget-si-svc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-primary, #e6edf3); padding: 4px 10px; background: rgba(255,255,255,0.04); border-radius: 6px; }
|
|
.widget-si-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
|
|
.widget-si-dot.up { background: #3fb950; box-shadow: 0 0 6px rgba(63,185,80,0.4); }
|
|
.widget-si-dot.down { background: #f85149; box-shadow: 0 0 6px rgba(248,81,73,0.4); }
|
|
.widget-si-dot.unknown { background: #8b949e; }
|
|
.widget-si-uptime { font-size: 11px; color: var(--text-secondary, #8b949e); padding: 2px 0; }
|
|
.widget-si-ports { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
|
|
.widget-si-port-header { display: flex; gap: 8px; padding: 4px 6px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary, #8b949e); border-bottom: 1px solid rgba(255,255,255,0.06); }
|
|
.widget-si-port-header span:first-child { flex: 1; }
|
|
.widget-si-port-row { display: flex; align-items: center; gap: 6px; padding: 3px 6px; font-size: 12px; border-radius: 4px; }
|
|
.widget-si-port-row:hover { background: rgba(255,255,255,0.04); }
|
|
.widget-si-port-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
|
|
.widget-si-port-dot.up { background: #3fb950; }
|
|
.widget-si-port-dot.down { background: #f85149; }
|
|
.widget-si-port-name { flex: 1; color: var(--text-primary, #e6edf3); }
|
|
.widget-si-port-num { font-family: monospace; color: var(--text-secondary, #8b949e); font-size: 11px; }
|
|
|
|
/* Quick Actions Widget */
|
|
.widget-actions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.widget-action-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 12px 6px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 10px;
|
|
color: #e6edf3;
|
|
cursor: pointer;
|
|
transform: translateY(0);
|
|
transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
|
|
font-size: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.widget-action-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.widget-action-btn .material-icons {
|
|
font-size: 22px;
|
|
}
|
|
|
|
/* Activity Feed Widget */
|
|
.widget-feed-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
max-height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.widget-feed-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.widget-feed-time {
|
|
font-size: 10px;
|
|
color: #8b949e;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.widget-feed-text {
|
|
color: #c9d1d9;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* Notes Widget */
|
|
.widget-notes-textarea {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: transparent;
|
|
border: none;
|
|
color: #e6edf3;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
resize: none;
|
|
outline: none;
|
|
font-family: inherit;
|
|
padding: 0;
|
|
}
|
|
|
|
.widget-notes-textarea::placeholder {
|
|
color: #484f58;
|
|
}
|
|
|
|
/* Device List Widget */
|
|
.widget-device-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
max-height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.widget-device-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
transition: background 0.12s ease;
|
|
}
|
|
|
|
.widget-device-row:hover {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.widget-device-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.widget-device-dot.online { background: #3fb950; }
|
|
.widget-device-dot.offline { background: #484f58; }
|
|
|
|
.widget-device-id {
|
|
font-family: monospace;
|
|
color: #8b949e;
|
|
font-size: 11px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.widget-device-name {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-device-platform {
|
|
font-size: 10px;
|
|
color: #8b949e;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Network Monitor Widget */
|
|
.widget-net-targets {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.widget-net-target {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 8px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.widget-net-status {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.widget-net-status.up { background: #3fb950; }
|
|
.widget-net-status.down { background: #f85149; }
|
|
|
|
.widget-net-name { flex: 1; color: #e6edf3; }
|
|
|
|
.widget-net-latency {
|
|
font-family: monospace;
|
|
font-size: 11px;
|
|
color: #8b949e;
|
|
}
|
|
|
|
/* Tickets Summary Widget */
|
|
.widget-tickets-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.widget-tickets-label { font-size: 13px; color: #c9d1d9; }
|
|
|
|
.widget-tickets-count {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* iFrame Widget */
|
|
.widget-iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
border-radius: 0 0 14px 14px;
|
|
}
|
|
|
|
/* ============ Taskbar Widget Mode Toggle ============ */
|
|
|
|
.taskbar-mode-btn {
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #8b949e;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.taskbar-mode-btn:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.taskbar-mode-btn.active {
|
|
background: rgba(88, 166, 255, 0.15);
|
|
border-color: rgba(88, 166, 255, 0.3);
|
|
color: #58a6ff;
|
|
}
|
|
|
|
.taskbar-mode-btn .material-icons {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* ============ Widget Config Modal ============ */
|
|
|
|
.widget-config-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 250;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: fadeIn 0.15s ease;
|
|
}
|
|
|
|
.widget-config-panel {
|
|
background: rgba(13, 17, 23, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 14px;
|
|
padding: 24px;
|
|
min-width: 340px;
|
|
max-width: 480px;
|
|
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
|
|
animation: widgetAppear 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
}
|
|
|
|
.widget-config-panel h3 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #e6edf3;
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.widget-config-field {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.widget-config-field label {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #8b949e;
|
|
margin-bottom: 4px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.widget-config-field input,
|
|
.widget-config-field select,
|
|
.widget-config-field textarea {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
color: #e6edf3;
|
|
font-size: 13px;
|
|
outline: none;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.widget-config-field input:focus,
|
|
.widget-config-field select:focus,
|
|
.widget-config-field textarea:focus {
|
|
border-color: rgba(88, 166, 255, 0.4);
|
|
}
|
|
|
|
.widget-config-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.widget-config-actions button {
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.widget-config-btn-save {
|
|
background: #58a6ff;
|
|
color: #0d1117;
|
|
}
|
|
|
|
.widget-config-btn-save:hover {
|
|
background: #79c0ff;
|
|
}
|
|
|
|
.widget-config-btn-cancel {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #8b949e;
|
|
}
|
|
|
|
.widget-config-btn-cancel:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #e6edf3;
|
|
}
|
|
|
|
/* ============ Loading Shimmer ============ */
|
|
|
|
.widget-loading {
|
|
background: linear-gradient(90deg,
|
|
rgba(255,255,255,0.03) 25%,
|
|
rgba(255,255,255,0.08) 50%,
|
|
rgba(255,255,255,0.03) 75%
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: shimmer 1.5s linear infinite;
|
|
border-radius: 6px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
/* ============ Empty State ============ */
|
|
|
|
.widget-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
text-align: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.widget-empty .material-icons {
|
|
font-size: 32px;
|
|
color: #484f58;
|
|
}
|
|
|
|
.widget-empty span {
|
|
font-size: 12px;
|
|
color: #8b949e;
|
|
}
|
|
|
|
/* ============ Top Navigation Bar ============ */
|
|
|
|
.widget-topnav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 42px;
|
|
background: rgba(13, 17, 23, 0.90);
|
|
backdrop-filter: blur(20px) saturate(1.3);
|
|
-webkit-backdrop-filter: blur(20px) saturate(1.3);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
display: flex;
|
|
align-items: center;
|
|
z-index: 500;
|
|
padding: 0;
|
|
gap: 0;
|
|
user-select: none;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.topnav-menu {
|
|
width: 42px;
|
|
height: 42px;
|
|
border: none;
|
|
background: none;
|
|
color: #8b949e;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.topnav-menu:hover { color: #e6edf3; }
|
|
|
|
.topnav-brand {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #58a6ff;
|
|
padding: 0 14px 0 2px;
|
|
flex-shrink: 0;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.topnav-tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
flex: 1;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.topnav-tabs::-webkit-scrollbar { display: none; }
|
|
|
|
.topnav-tab {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: none;
|
|
background: none;
|
|
color: #6e7681;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
transition: all 0.15s ease;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.topnav-tab .material-icons { font-size: 20px; }
|
|
|
|
.topnav-tab:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.topnav-tab.active {
|
|
color: #58a6ff;
|
|
background: rgba(88, 166, 255, 0.1);
|
|
}
|
|
|
|
.topnav-tab.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 25%;
|
|
right: 25%;
|
|
height: 2px;
|
|
background: #58a6ff;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.topnav-sep {
|
|
width: 1px;
|
|
height: 20px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
margin: 0 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.topnav-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding-right: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.topnav-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
background: none;
|
|
color: #6e7681;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
transition: all 0.15s ease;
|
|
padding: 0;
|
|
}
|
|
|
|
.topnav-btn .material-icons { font-size: 18px; }
|
|
|
|
.topnav-btn:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.topnav-btn.active {
|
|
color: #58a6ff;
|
|
background: rgba(88, 166, 255, 0.12);
|
|
}
|
|
|
|
/* Mode toggle group in topnav */
|
|
.topnav-mode-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
background: rgba(255,255,255,0.04);
|
|
border-radius: 8px;
|
|
padding: 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
.topnav-mode-btn {
|
|
width: 30px; height: 28px; border: none; background: none;
|
|
color: #6e7681; cursor: pointer; display: flex; align-items: center;
|
|
justify-content: center; border-radius: 6px; transition: all 0.15s ease; padding: 0;
|
|
}
|
|
.topnav-mode-btn .material-icons { font-size: 18px; }
|
|
.topnav-mode-btn:hover { color: #e6edf3; }
|
|
.topnav-mode-btn.active { background: rgba(88,166,255,0.15); color: #58a6ff; }
|
|
|
|
/* Clock in topnav */
|
|
.topnav-clock {
|
|
font-size: 12px; font-weight: 600; color: var(--text-secondary, #8b949e);
|
|
padding: 0 8px; flex-shrink: 0; font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* Exit button */
|
|
.topnav-exit { color: #da3633 !important; margin-right: 4px; }
|
|
.topnav-exit:hover { background: rgba(218,54,51,0.15) !important; }
|
|
|
|
/* Unified mode: taskbar always visible */
|
|
.desktop-mode-unified .desktop-taskbar { display: flex !important; }
|
|
|
|
/* ============ Left Sidebar ============ */
|
|
|
|
.widget-sidebar {
|
|
position: fixed;
|
|
top: 42px;
|
|
left: 0;
|
|
bottom: 48px; /* Stop above taskbar */
|
|
width: 42px;
|
|
background: rgba(13, 17, 23, 0.78);
|
|
backdrop-filter: blur(16px) saturate(1.2);
|
|
-webkit-backdrop-filter: blur(16px) saturate(1.2);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.04);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 8px 0;
|
|
z-index: 500;
|
|
overflow-y: auto;
|
|
scrollbar-width: none;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.widget-sidebar::-webkit-scrollbar { display: none; }
|
|
|
|
.sidebar-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
background: none;
|
|
color: #484f58;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
transition: all 0.15s ease;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-icon .material-icons { font-size: 18px; }
|
|
|
|
.sidebar-icon:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #8b949e;
|
|
}
|
|
|
|
.sidebar-icon.active {
|
|
color: #58a6ff;
|
|
background: rgba(88, 166, 255, 0.12);
|
|
}
|
|
|
|
.sidebar-sep {
|
|
width: 24px;
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
margin: 6px 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-spacer { flex: 1; }
|
|
|
|
/* Hide floating FAB when topnav present */
|
|
.widget-topnav ~ .widget-add-btn,
|
|
.widget-topnav ~ * .widget-add-btn {
|
|
display: none !important;
|
|
}
|
|
|
|
/* ============ Sidebar Collapse ============ */
|
|
|
|
.widget-sidebar.sidebar-collapsed {
|
|
width: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border-right: none;
|
|
}
|
|
|
|
/* ============ Search Overlay ============ */
|
|
|
|
.widget-search-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9000;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
padding-top: 80px;
|
|
animation: fadeIn 0.15s ease;
|
|
}
|
|
|
|
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
|
|
|
.ws-dialog {
|
|
width: 520px;
|
|
max-width: 92vw;
|
|
background: rgba(13, 17, 23, 0.96);
|
|
border: 1px solid rgba(48, 54, 61, 0.6);
|
|
border-radius: 14px;
|
|
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
|
|
backdrop-filter: blur(24px);
|
|
overflow: hidden;
|
|
animation: slideDown 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
}
|
|
|
|
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
.ws-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid rgba(48, 54, 61, 0.4);
|
|
}
|
|
|
|
.ws-header > .material-icons {
|
|
color: #8b949e;
|
|
font-size: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#ws-input {
|
|
flex: 1;
|
|
background: none;
|
|
border: none;
|
|
outline: none;
|
|
color: #e6edf3;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
#ws-input::placeholder { color: #484f58; }
|
|
|
|
.ws-close {
|
|
width: 28px; height: 28px; border: none; background: none;
|
|
color: #6e7681; cursor: pointer; display: flex; align-items: center;
|
|
justify-content: center; border-radius: 6px; flex-shrink: 0;
|
|
}
|
|
.ws-close:hover { background: rgba(255,255,255,0.06); color: #e6edf3; }
|
|
.ws-close .material-icons { font-size: 18px; }
|
|
|
|
.ws-results {
|
|
max-height: 360px;
|
|
overflow-y: auto;
|
|
padding: 6px;
|
|
}
|
|
|
|
.ws-section {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
color: #484f58;
|
|
padding: 8px 10px 4px;
|
|
}
|
|
|
|
.ws-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
color: #e6edf3;
|
|
font-size: 13px;
|
|
transition: background 0.12s ease;
|
|
}
|
|
|
|
.ws-row:hover { background: rgba(255, 255, 255, 0.06); }
|
|
|
|
.ws-row-icon { font-size: 18px; color: #8b949e; flex-shrink: 0; }
|
|
|
|
.ws-row-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
.ws-row-hint { font-size: 11px; color: #484f58; flex-shrink: 0; }
|
|
|
|
.ws-empty {
|
|
text-align: center;
|
|
color: #484f58;
|
|
padding: 24px 16px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ============ Uptime Widget ============ */
|
|
|
|
.widget-uptime {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
gap: 4px;
|
|
}
|
|
|
|
.widget-uptime-value {
|
|
font-size: 36px;
|
|
font-weight: 200;
|
|
color: #ffffff;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.widget-uptime-label {
|
|
font-size: 11px;
|
|
color: #8b949e;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* ============ Port Status Widget ============ */
|
|
|
|
.widget-port-table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.widget-port-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 4px 8px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: #6e7681;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-port-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.widget-port-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 5px 8px;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
transition: background 0.12s ease;
|
|
}
|
|
|
|
.widget-port-row:hover { background: rgba(255, 255, 255, 0.03); }
|
|
|
|
.widget-port-name { flex: 1; color: #e6edf3; }
|
|
.widget-port-num { width: 50px; text-align: center; font-family: monospace; color: #8b949e; font-size: 11px; }
|
|
.widget-port-status { width: 60px; text-align: right; font-size: 11px; font-weight: 600; }
|
|
.widget-port-status.up { color: #3fb950; }
|
|
.widget-port-status.down { color: #f85149; }
|
|
|
|
/* ============ Device Grid Widget ============ */
|
|
|
|
.widget-device-grid-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
|
|
gap: 6px;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.widget-dg-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
padding: 8px 4px 6px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
transition: all 0.2s ease;
|
|
cursor: default;
|
|
}
|
|
|
|
.widget-dg-card:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.widget-dg-card.online .widget-dg-icon { color: #3fb950; }
|
|
.widget-dg-card.offline .widget-dg-icon { color: #484f58; }
|
|
|
|
.widget-dg-icon { font-size: 22px; }
|
|
|
|
.widget-dg-name {
|
|
font-size: 9px;
|
|
color: #c9d1d9;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
}
|
|
|
|
.widget-dg-status {
|
|
font-size: 8px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.widget-dg-card.online .widget-dg-status { color: #3fb950; }
|
|
.widget-dg-card.offline .widget-dg-status { color: #6e7681; }
|
|
|
|
/* ============ Multi-Gauge Widget ============ */
|
|
|
|
.widget-multi-gauge {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
height: 100%;
|
|
}
|
|
|
|
.widget-mg-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
}
|
|
|
|
.widget-mg-ring {
|
|
width: 64px;
|
|
height: 64px;
|
|
position: relative;
|
|
}
|
|
|
|
.widget-mg-ring svg { transform: rotate(-90deg); }
|
|
|
|
.widget-mg-ring circle {
|
|
fill: none;
|
|
stroke-width: 5;
|
|
stroke-linecap: round;
|
|
}
|
|
|
|
.widget-mg-ring .gauge-bg { stroke: rgba(255, 255, 255, 0.08); }
|
|
.widget-mg-ring .gauge-fill { stroke: #58a6ff; transition: stroke-dashoffset 0.6s ease; }
|
|
.widget-mg-ring .gauge-fill.warning { stroke: #d29922; }
|
|
.widget-mg-ring .gauge-fill.danger { stroke: #f85149; }
|
|
|
|
.widget-mg-value {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-mg-label {
|
|
font-size: 9px;
|
|
color: #8b949e;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
/* ============ Weekly Chart Widget ============ */
|
|
|
|
.widget-weekly {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.widget-weekly-bars {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 6px;
|
|
flex: 1;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.widget-wb-col {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
height: 100%;
|
|
}
|
|
|
|
.widget-wb-bars {
|
|
flex: 1;
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 3px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.widget-wb-bar {
|
|
flex: 1;
|
|
border-radius: 4px 4px 0 0;
|
|
min-height: 4px;
|
|
transition: height 0.4s ease;
|
|
}
|
|
|
|
.widget-wb-bar.online { background: linear-gradient(to top, #238636, #3fb950); }
|
|
.widget-wb-bar.offline { background: linear-gradient(to top, #6e7681, #8b949e); }
|
|
|
|
.widget-wb-label {
|
|
font-size: 10px;
|
|
color: #6e7681;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.widget-wb-label.today { color: #58a6ff; }
|
|
|
|
/* ============ Quick Controls Widget ============ */
|
|
|
|
.widget-qc { display: flex; flex-direction: column; gap: 6px; height: 100%; }
|
|
.widget-qc-filter { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
|
|
.widget-qc-search {
|
|
flex: 1; min-width: 100px; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1);
|
|
background: rgba(255,255,255,0.04); color: var(--text-primary, #e6edf3); font-size: 12px; outline: none;
|
|
}
|
|
.widget-qc-search:focus { border-color: var(--accent-blue, #58a6ff); }
|
|
.widget-qc-pills { display: flex; gap: 4px; }
|
|
.widget-qc-pill {
|
|
padding: 3px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
|
|
background: transparent; color: var(--text-secondary, #8b949e); font-size: 10px; cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
.widget-qc-pill.active { background: var(--accent-blue, #58a6ff); color: #fff; border-color: transparent; }
|
|
.widget-qc-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; }
|
|
.widget-qc-row {
|
|
display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px;
|
|
background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04);
|
|
transition: background 0.12s ease;
|
|
}
|
|
.widget-qc-row:hover { background: rgba(255,255,255,0.06); }
|
|
.widget-qc-row.banned { opacity: 0.6; border-color: rgba(248,81,73,0.3); }
|
|
.widget-qc-icon { font-size: 18px; color: var(--text-secondary, #8b949e); }
|
|
.widget-qc-row.online .widget-qc-icon { color: #3fb950; }
|
|
.widget-qc-info { flex: 1; min-width: 0; }
|
|
.widget-qc-name { font-size: 12px; color: var(--text-primary, #e6edf3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.widget-qc-id { font-size: 10px; color: var(--text-secondary, #8b949e); font-family: monospace; }
|
|
.widget-qc-badge { padding: 1px 5px; border-radius: 4px; font-size: 9px; font-weight: 600; }
|
|
.widget-qc-badge.ban { background: rgba(248,81,73,0.2); color: #f85149; }
|
|
.widget-qc-actions { display: flex; gap: 4px; flex-shrink: 0; }
|
|
.widget-qc-btn {
|
|
width: 26px; height: 26px; border-radius: 6px; border: none;
|
|
background: rgba(255,255,255,0.06); color: var(--text-secondary, #8b949e);
|
|
display: flex; align-items: center; justify-content: center; cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
.widget-qc-btn:hover { background: rgba(255,255,255,0.12); color: var(--text-primary, #e6edf3); }
|
|
.widget-qc-btn.connect { color: #3fb950; }
|
|
.widget-qc-btn.connect:hover { background: rgba(63,185,80,0.15); }
|
|
.widget-qc-btn .material-icons { font-size: 16px; }
|
|
|
|
/* ============ Bandwidth Widget ============ */
|
|
|
|
.widget-bandwidth {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
height: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.widget-bw-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.widget-bw-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
color: #8b949e;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.widget-bw-header .material-icons { font-size: 16px; }
|
|
|
|
.widget-bw-value {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-bw-bar {
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.widget-bw-fill {
|
|
height: 100%;
|
|
border-radius: 3px;
|
|
transition: width 0.6s ease;
|
|
}
|
|
|
|
.widget-bw-fill.download { background: linear-gradient(90deg, #238636, #3fb950); }
|
|
.widget-bw-fill.upload { background: linear-gradient(90deg, #1f6feb, #58a6ff); }
|
|
.widget-bw-stat { display: flex; flex-direction: column; gap: 2px; flex: 1; }
|
|
.widget-bw-stat-label { font-size: 10px; color: var(--text-secondary, #8b949e); text-transform: uppercase; letter-spacing: 0.5px; }
|
|
.widget-bw-stat-val { font-size: 13px; font-weight: 600; color: var(--text-primary, #e6edf3); }
|
|
|
|
/* ============ Connection Stats Widget ============ */
|
|
|
|
.widget-stats-table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.widget-stats-header {
|
|
display: flex;
|
|
padding: 4px 8px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: #6e7681;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-stats-header span:first-child { flex: 1; }
|
|
.widget-stats-header span:nth-child(2) { width: 60px; text-align: right; }
|
|
.widget-stats-header span:nth-child(3) { width: 50px; text-align: right; }
|
|
|
|
.widget-stats-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.widget-stats-row {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 5px 8px;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
transition: background 0.12s ease;
|
|
}
|
|
|
|
.widget-stats-row:hover { background: rgba(255, 255, 255, 0.03); }
|
|
|
|
.widget-stats-label { flex: 1; color: #c9d1d9; }
|
|
.widget-stats-count { width: 60px; text-align: right; font-weight: 700; color: #e6edf3; font-family: monospace; }
|
|
.widget-stats-pct { width: 50px; text-align: right; color: #8b949e; font-size: 11px; }
|
|
|
|
/* ============ Light Theme ============ */
|
|
|
|
.desktop-theme-light .desktop-widget {
|
|
background: rgba(255, 255, 255, 0.65);
|
|
border-color: rgba(0, 0, 0, 0.08);
|
|
color: #1f2328;
|
|
box-shadow:
|
|
0 4px 20px rgba(0, 0, 0, 0.1),
|
|
0 0 0 1px rgba(0, 0, 0, 0.04) inset;
|
|
}
|
|
|
|
.desktop-theme-light .desktop-widget:hover {
|
|
border-color: rgba(0, 0, 0, 0.12);
|
|
box-shadow:
|
|
0 6px 28px rgba(0, 0, 0, 0.14),
|
|
0 0 0 1px rgba(0, 0, 0, 0.06) inset;
|
|
}
|
|
|
|
.desktop-theme-light .desktop-widget.widget-focused {
|
|
border-color: rgba(9, 105, 218, 0.3);
|
|
box-shadow:
|
|
0 8px 36px rgba(0, 0, 0, 0.15),
|
|
0 0 0 1px rgba(9, 105, 218, 0.2) inset,
|
|
0 0 30px rgba(9, 105, 218, 0.06);
|
|
}
|
|
|
|
.desktop-theme-light .widget-header {
|
|
background: rgba(255, 255, 255, 0.8);
|
|
border-bottom-color: rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.desktop-theme-light .widget-header-title {
|
|
color: #1f2328;
|
|
}
|
|
|
|
.desktop-theme-light .widget-body {
|
|
color: #1f2328;
|
|
}
|
|
|
|
.desktop-theme-light .widget-stats-row {
|
|
border-bottom-color: rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.desktop-theme-light .widget-stats-row:hover {
|
|
background: rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.desktop-theme-light .widget-stats-label { color: #57606a; }
|
|
.desktop-theme-light .widget-stats-count { color: #1f2328; }
|
|
.desktop-theme-light .widget-stats-pct { color: #656d76; }
|
|
|
|
.desktop-theme-light .widget-add-btn {
|
|
background: rgba(255, 255, 255, 0.75);
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
color: #57606a;
|
|
}
|
|
|
|
.desktop-theme-light .widget-picker {
|
|
background: rgba(255, 255, 255, 0.92);
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.desktop-theme-light .widget-picker-item:hover {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.desktop-theme-light .gauge-bg { stroke: rgba(0, 0, 0, 0.08); }
|
|
|
|
.desktop-theme-light .widget-snap-guide {
|
|
background: rgba(9, 105, 218, 0.1);
|
|
border-color: rgba(9, 105, 218, 0.3);
|
|
}
|
|
|
|
/* ============ Kebab Menu ============ */
|
|
|
|
.widget-btn-kebab {
|
|
position: relative;
|
|
}
|
|
|
|
.widget-kebab-menu {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
width: 180px;
|
|
background: rgba(22, 27, 34, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
|
|
z-index: 200;
|
|
padding: 4px 0;
|
|
animation: widgetAppear 0.2s ease forwards;
|
|
}
|
|
|
|
.widget-kebab-menu.open {
|
|
display: block;
|
|
}
|
|
|
|
.widget-kebab-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 14px;
|
|
font-size: 12px;
|
|
color: #c9d1d9;
|
|
cursor: pointer;
|
|
transition: background 0.12s;
|
|
}
|
|
|
|
.widget-kebab-item .material-icons {
|
|
font-size: 16px;
|
|
color: #8b949e;
|
|
}
|
|
|
|
.widget-kebab-item:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-kebab-item.danger { color: #f85149; }
|
|
.widget-kebab-item.danger .material-icons { color: #f85149; }
|
|
.widget-kebab-item.danger:hover { background: rgba(248, 81, 73, 0.12); }
|
|
|
|
.widget-kebab-divider {
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
margin: 4px 0;
|
|
}
|
|
|
|
/* ============ Calendar Widget ============ */
|
|
|
|
.widget-cal { padding: 8px; }
|
|
|
|
.widget-cal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.widget-cal-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
.widget-cal-nav {
|
|
width: 28px; height: 28px;
|
|
border: none; background: rgba(255,255,255,0.06); border-radius: 6px;
|
|
color: #8b949e; cursor: pointer; display: flex; align-items: center; justify-content: center;
|
|
transition: background 0.15s;
|
|
}
|
|
.widget-cal-nav:hover { background: rgba(255,255,255,0.1); color: #e6edf3; }
|
|
|
|
.widget-cal-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.widget-cal-day-header {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: #8b949e;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.widget-cal-day {
|
|
font-size: 11px;
|
|
padding: 4px 2px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background 0.12s;
|
|
color: #c9d1d9;
|
|
}
|
|
.widget-cal-day:hover { background: rgba(255,255,255,0.08); }
|
|
.widget-cal-day.today { background: rgba(88,166,255,0.2); color: #58a6ff; font-weight: 700; }
|
|
.widget-cal-day.has-event { position: relative; }
|
|
.widget-cal-day.has-event::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 1px; left: 50%; transform: translateX(-50%);
|
|
width: 4px; height: 4px; border-radius: 50%;
|
|
background: #d2a8ff;
|
|
}
|
|
.widget-cal-day.empty { cursor: default; }
|
|
|
|
.widget-cal-events { margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 6px; }
|
|
.widget-cal-event {
|
|
display: flex; align-items: center; gap: 6px;
|
|
font-size: 11px; color: #c9d1d9; padding: 3px 0;
|
|
}
|
|
.widget-cal-no-events { font-size: 11px; color: #8b949e; text-align: center; padding: 4px; }
|
|
|
|
/* ============ Process Monitor Widget ============ */
|
|
|
|
.widget-proc { padding: 4px; }
|
|
.widget-proc-header {
|
|
display: flex; padding: 4px 8px; font-size: 10px; font-weight: 600;
|
|
color: #8b949e; border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
}
|
|
.widget-proc-list { max-height: calc(100% - 28px); overflow-y: auto; }
|
|
.widget-proc-row {
|
|
display: flex; padding: 4px 8px; font-size: 11px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.03);
|
|
}
|
|
.widget-proc-name { flex: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c9d1d9; }
|
|
.widget-proc-cpu { flex: 1; text-align: right; color: #3fb950; }
|
|
.widget-proc-cpu.warning { color: #d29922; }
|
|
.widget-proc-cpu.danger { color: #f85149; }
|
|
.widget-proc-mem { flex: 1; text-align: right; color: #79c0ff; }
|
|
|
|
/* ============ Disk Usage Widget ============ */
|
|
|
|
.widget-disk-list { padding: 8px; }
|
|
.widget-disk-item { margin-bottom: 10px; }
|
|
.widget-disk-info { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 4px; }
|
|
.widget-disk-mount { color: #e6edf3; font-weight: 500; }
|
|
.widget-disk-size { color: #8b949e; }
|
|
.widget-disk-bar {
|
|
height: 6px; border-radius: 3px;
|
|
background: rgba(255,255,255,0.06); overflow: hidden;
|
|
}
|
|
.widget-disk-fill {
|
|
height: 100%; border-radius: 3px;
|
|
background: linear-gradient(90deg, #3fb950, #58a6ff);
|
|
transition: width 0.5s ease;
|
|
}
|
|
.widget-disk-fill.warning { background: linear-gradient(90deg, #d29922, #f0883e); }
|
|
.widget-disk-fill.danger { background: linear-gradient(90deg, #f85149, #da3633); }
|
|
.widget-disk-pct { font-size: 10px; color: #8b949e; text-align: right; margin-top: 2px; }
|
|
|
|
/* ============ Log Viewer Widget ============ */
|
|
|
|
.widget-log { display: flex; flex-direction: column; height: 100%; }
|
|
.widget-log-toolbar {
|
|
display: flex; gap: 8px; padding: 4px 8px; align-items: center;
|
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
}
|
|
.widget-log-source {
|
|
font-size: 11px; padding: 2px 6px; border-radius: 4px;
|
|
background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
|
|
color: #c9d1d9; outline: none;
|
|
}
|
|
.widget-log-scroll-btn {
|
|
width: 24px; height: 24px; border: none;
|
|
background: rgba(255,255,255,0.04); border-radius: 4px;
|
|
color: #8b949e; cursor: pointer; display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.widget-log-scroll-btn.active { color: #58a6ff; background: rgba(88,166,255,0.1); }
|
|
.widget-log-lines {
|
|
flex: 1; overflow-y: auto; padding: 4px; font-family: 'Fira Code', monospace;
|
|
font-size: 10px; line-height: 1.6;
|
|
}
|
|
.widget-log-line { padding: 1px 4px; white-space: pre-wrap; word-break: break-all; }
|
|
.widget-log-line.error { color: #f85149; }
|
|
.widget-log-line.warning { color: #d29922; }
|
|
.widget-log-line.info { color: #c9d1d9; }
|
|
|
|
/* ============ Speed Test Widget ============ */
|
|
|
|
.widget-speedtest { display: flex; flex-direction: column; align-items: center; padding: 12px; gap: 8px; }
|
|
.widget-speedtest-gauge { position: relative; width: 100px; height: 100px; }
|
|
.widget-speedtest-value {
|
|
position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
|
|
font-size: 16px; font-weight: 700; color: #e6edf3;
|
|
}
|
|
.widget-speedtest-label { font-size: 11px; color: #8b949e; }
|
|
.widget-speedtest-stats {
|
|
display: flex; gap: 16px; font-size: 11px;
|
|
}
|
|
.widget-speedtest-stat-label { color: #8b949e; margin-right: 4px; }
|
|
.widget-speedtest-stat-val { color: #c9d1d9; font-weight: 500; }
|
|
.widget-speedtest-btn {
|
|
margin-top: 4px; padding: 6px 20px; border: none;
|
|
background: rgba(88,166,255,0.15); color: #58a6ff; border-radius: 6px;
|
|
font-size: 12px; font-weight: 500; cursor: pointer; transition: background 0.15s;
|
|
}
|
|
.widget-speedtest-btn:hover { background: rgba(88,166,255,0.25); }
|
|
|
|
/* ============ Database Stats Widget ============ */
|
|
|
|
.widget-dbstats { padding: 8px; }
|
|
.widget-dbstats-header {
|
|
display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
|
|
font-size: 13px; font-weight: 600; color: #e6edf3;
|
|
}
|
|
.widget-dbstats-size { margin-left: auto; font-size: 11px; color: #8b949e; font-weight: 400; }
|
|
.widget-dbstats-table { font-size: 11px; }
|
|
.widget-dbstats-row {
|
|
display: flex; justify-content: space-between; padding: 4px 8px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.04);
|
|
}
|
|
.widget-dbstats-row.header { color: #8b949e; font-weight: 600; font-size: 10px; }
|
|
.widget-dbstats-row span:last-child { color: #79c0ff; font-weight: 500; }
|
|
.widget-dbstats-footer { font-size: 10px; color: #8b949e; margin-top: 8px; text-align: center; }
|
|
|
|
/* ============ Docker Containers Widget ============ */
|
|
|
|
.widget-docker { padding: 4px; }
|
|
.widget-docker-row {
|
|
display: flex; align-items: center; gap: 8px; padding: 6px 8px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.04);
|
|
}
|
|
.widget-docker-status { font-size: 18px; flex-shrink: 0; }
|
|
.widget-docker-row.running .widget-docker-status { color: #3fb950; }
|
|
.widget-docker-row.stopped .widget-docker-status { color: #f85149; }
|
|
.widget-docker-row.other .widget-docker-status { color: #d29922; }
|
|
.widget-docker-info { flex: 1; min-width: 0; }
|
|
.widget-docker-name {
|
|
font-size: 12px; font-weight: 500; color: #e6edf3;
|
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
}
|
|
.widget-docker-meta { font-size: 10px; color: #8b949e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.widget-docker-uptime { font-size: 10px; color: #8b949e; white-space: nowrap; }
|
|
|
|
/* ============ Shell Command Widget ============ */
|
|
|
|
.widget-shell { display: flex; flex-direction: column; height: 100%; }
|
|
.widget-shell-header {
|
|
display: flex; align-items: center; gap: 6px; padding: 6px 8px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
}
|
|
.widget-shell-cmd {
|
|
flex: 1; font-size: 11px; color: #3fb950; font-family: 'Fira Code', monospace;
|
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
}
|
|
.widget-shell-run {
|
|
width: 24px; height: 24px; border: none;
|
|
background: rgba(63,185,80,0.1); border-radius: 4px;
|
|
color: #3fb950; cursor: pointer; display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.widget-shell-run:hover { background: rgba(63,185,80,0.2); }
|
|
.widget-shell-output {
|
|
flex: 1; margin: 0; padding: 6px 8px; overflow: auto;
|
|
font-family: 'Fira Code', monospace; font-size: 10px; line-height: 1.5;
|
|
color: #c9d1d9; background: rgba(0,0,0,0.15); white-space: pre-wrap; word-break: break-all;
|
|
}
|
|
|
|
/* ============ Device Map Widget ============ */
|
|
|
|
.widget-map { position: relative; width: 100%; height: 100%; }
|
|
.widget-map-canvas { position: relative; width: 100%; height: 100%; }
|
|
.widget-map-pins { position: absolute; inset: 0; pointer-events: none; }
|
|
.widget-map-pin {
|
|
position: absolute; width: 12px; height: 12px; border-radius: 50%;
|
|
transform: translate(-50%, -50%); pointer-events: auto; cursor: pointer;
|
|
transition: transform 0.2s;
|
|
}
|
|
.widget-map-pin.online { background: #3fb950; box-shadow: 0 0 6px rgba(63,185,80,0.5); }
|
|
.widget-map-pin.offline { background: #f85149; box-shadow: 0 0 6px rgba(248,81,73,0.3); }
|
|
.widget-map-pin:hover { transform: translate(-50%, -50%) scale(1.4); }
|
|
.widget-map-pin-count {
|
|
position: absolute; top: -8px; right: -8px;
|
|
font-size: 9px; font-weight: 700; color: white;
|
|
background: #58a6ff; border-radius: 6px; padding: 0 4px; min-width: 14px; text-align: center;
|
|
}
|
|
.widget-map-legend {
|
|
position: absolute; bottom: 6px; right: 8px;
|
|
display: flex; gap: 10px; font-size: 10px; color: #8b949e;
|
|
}
|
|
.widget-map-legend-dot {
|
|
display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 3px; vertical-align: middle;
|
|
}
|
|
.widget-map-legend-dot.online { background: #3fb950; }
|
|
.widget-map-legend-dot.offline { background: #f85149; }
|
|
|
|
/* ============ Responsive Desktop Mode ============ */
|
|
|
|
@media (max-width: 1440px) {
|
|
.widget-canvas { inset: 36px 0 10px 0; }
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.widget-canvas { inset: 36px 0 10px 0; }
|
|
.desktop-widget { min-width: 160px; }
|
|
.widget-picker { width: 320px; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.widget-canvas { inset: 36px 0 10px 0; }
|
|
.desktop-widget {
|
|
border-radius: 10px;
|
|
min-width: 140px;
|
|
}
|
|
.widget-header { padding: 5px 8px 3px; min-height: 26px; }
|
|
.widget-header-icon { width: 20px; height: 20px; font-size: 12px; }
|
|
.widget-header-title { font-size: 10px; }
|
|
.widget-body { padding: 2px 8px 6px; }
|
|
.widget-picker { width: 280px; max-height: 440px; bottom: 20px; right: 8px; }
|
|
.widget-add-btn { width: 40px; height: 40px; bottom: 20px; right: 8px; font-size: 20px; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.widget-canvas { inset: 36px 0 10px 0; }
|
|
.desktop-widget {
|
|
border-radius: 8px;
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
.widget-header-actions { opacity: 1; } /* always show on mobile */
|
|
.widget-picker {
|
|
position: fixed; inset: auto 0 14px 0; width: 100%;
|
|
border-radius: 16px 16px 0 0; max-height: 60vh;
|
|
}
|
|
.widget-add-btn { bottom: 18px; right: 8px; width: 36px; height: 36px; }
|
|
}
|
|
|
|
/* ─── Phase 42: Snap Layout Overlay ─────────────────────────────────────────── */
|
|
|
|
.widget-snap-layout-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
backdrop-filter: blur(4px);
|
|
animation: snap-overlay-fade-in 0.2s ease;
|
|
}
|
|
|
|
@keyframes snap-overlay-fade-in {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.widget-snap-layout-picker {
|
|
background: rgba(30, 30, 46, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
min-width: 380px;
|
|
max-width: 480px;
|
|
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.widget-snap-layout-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin-bottom: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.widget-snap-layout-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.widget-snap-layout-option {
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
transform: translateY(0);
|
|
transition: background 0.15s, border-color 0.15s, transform 0.1s;
|
|
text-align: center;
|
|
}
|
|
|
|
.widget-snap-layout-option:hover {
|
|
background: rgba(88, 166, 255, 0.12);
|
|
border-color: rgba(88, 166, 255, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.widget-snap-layout-preview {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 10;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.widget-snap-zone-preview {
|
|
position: absolute;
|
|
background: rgba(88, 166, 255, 0.2);
|
|
border: 1px solid rgba(88, 166, 255, 0.4);
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
/* Inset 2px to show gap between zones */
|
|
margin: 2px;
|
|
}
|
|
|
|
.widget-snap-layout-label {
|
|
font-size: 11px;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.widget-snap-auto-arrange-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 10px 16px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: background 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.widget-snap-auto-arrange-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.widget-snap-auto-arrange-btn .material-icons {
|
|
font-size: 18px;
|
|
color: rgba(88, 166, 255, 0.8);
|
|
}
|
|
|
|
/* Light theme adjustments */
|
|
[data-desktop-theme="light"] .widget-snap-layout-picker {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-snap-layout-title {
|
|
color: rgba(0, 0, 0, 0.85);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-snap-layout-option {
|
|
border-color: rgba(0, 0, 0, 0.08);
|
|
background: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-snap-layout-option:hover {
|
|
background: rgba(88, 166, 255, 0.08);
|
|
border-color: rgba(88, 166, 255, 0.3);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-snap-layout-label {
|
|
color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-snap-auto-arrange-btn {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
/* ============ Widget Group Tabs (Phase 11) ============ */
|
|
|
|
.widget-group-tabs {
|
|
display: flex;
|
|
gap: 2px;
|
|
padding: 2px 6px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.widget-group-tabs::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.widget-group-tab {
|
|
all: unset;
|
|
cursor: pointer;
|
|
padding: 4px 10px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
transition: all 0.12s ease;
|
|
}
|
|
|
|
.widget-group-tab:hover {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.widget-group-tab.active {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
background: rgba(88, 166, 255, 0.15);
|
|
}
|
|
|
|
.widget-group-ungroup {
|
|
all: unset;
|
|
cursor: pointer;
|
|
margin-left: auto;
|
|
padding: 2px 4px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
border-radius: 3px;
|
|
transition: all 0.12s;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.widget-group-ungroup:hover {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
/* Light theme overrides */
|
|
[data-desktop-theme="light"] .widget-group-tabs {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
border-bottom-color: rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-group-tab {
|
|
color: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-group-tab:hover {
|
|
color: rgba(0, 0, 0, 0.6);
|
|
background: rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-group-tab.active {
|
|
color: rgba(0, 0, 0, 0.8);
|
|
background: rgba(0, 100, 210, 0.1);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-group-ungroup {
|
|
color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
[data-desktop-theme="light"] .widget-group-ungroup:hover {
|
|
color: rgba(0, 0, 0, 0.6);
|
|
background: rgba(0, 0, 0, 0.06);
|
|
}
|