Normalize RapidGator aliases, stabilize active queue ordering, preserve user-controlled package expansion, and align compact queue status presentation. Separate Mega-Debrid API and Web credential pools, migrate legacy credentials and disabled states safely, refresh live account availability without restart, honor disabled credential persistence, and invalidate Web sessions without allowing stale in-flight, retry, or queued logins to restore old cookies. Expand regression coverage for account isolation, legacy migration, session races, live scheduler refresh, update notes, and responsive queue behavior.
969 lines
20 KiB
CSS
969 lines
20 KiB
CSS
.md-runtime-root {
|
|
--md-layer-avatar: 500;
|
|
--md-layer-menu: 600;
|
|
--md-layer-tooltip: 700;
|
|
--md-layer-toast: 800;
|
|
--md-layer-modal: 1000;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.md-runtime-root.settings-active {
|
|
user-select: none;
|
|
}
|
|
|
|
.md-runtime-root.settings-active input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
|
|
.md-runtime-root.settings-active textarea,
|
|
.md-runtime-root.settings-active [contenteditable]:not([contenteditable="false"]) {
|
|
user-select: text;
|
|
}
|
|
|
|
.md-shell {
|
|
display: grid;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
grid-template-rows: 40px minmax(0, 1fr);
|
|
gap: 8px;
|
|
padding: 8px 16px 16px;
|
|
overflow: hidden;
|
|
background: var(--ui-canvas);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-shell-header {
|
|
position: relative;
|
|
display: flex;
|
|
min-width: 0;
|
|
height: 40px;
|
|
align-items: center;
|
|
gap: 12px;
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 8px;
|
|
background: var(--ui-surface);
|
|
}
|
|
|
|
.md-shell-brand {
|
|
flex: 0 0 auto;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 16px;
|
|
color: var(--ui-text);
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.md-shell-brand-mark {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.md-shell-navigation {
|
|
display: flex;
|
|
position: relative;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
height: 100%;
|
|
align-items: center;
|
|
gap: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.md-shell-navigation::before {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 0;
|
|
top: 0;
|
|
left: 0;
|
|
width: var(--md-navigation-active-width, 0px);
|
|
height: var(--md-navigation-active-height, 0px);
|
|
border-radius: 6px;
|
|
background: var(--ui-active);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translate3d(var(--md-navigation-active-x, 0px), var(--md-navigation-active-y, 0px), 0);
|
|
transition: transform 420ms cubic-bezier(0.22, 0.76, 0.22, 1), width 420ms cubic-bezier(0.22, 0.76, 0.22, 1), height 420ms cubic-bezier(0.22, 0.76, 0.22, 1), opacity 120ms ease;
|
|
}
|
|
|
|
.md-shell-navigation.has-active-indicator::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.md-shell-navigation-item {
|
|
display: inline-flex;
|
|
position: relative;
|
|
z-index: 1;
|
|
height: 32px;
|
|
padding: 0 10px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--ui-text-secondary);
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.md-shell-navigation-item:hover {
|
|
background: var(--ui-hover);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-shell-navigation-item.is-active {
|
|
background: transparent;
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-shell-navigation-item.is-active:hover {
|
|
background: transparent;
|
|
}
|
|
|
|
.md-shell-navigation-item:focus-visible,
|
|
.md-shell-header-actions button:focus-visible,
|
|
.md-shell-sidebar-toggle:focus-visible,
|
|
.md-avatar-menu-action:focus-visible {
|
|
outline: 2px solid var(--ui-focus);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.md-shell-header-actions {
|
|
position: relative;
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
height: 100%;
|
|
margin-left: auto;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding-right: 6px;
|
|
}
|
|
|
|
.md-update-anchor {
|
|
position: relative;
|
|
display: flex;
|
|
height: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.md-update-trigger {
|
|
display: inline-flex;
|
|
height: 40px;
|
|
min-width: 90px;
|
|
padding: 0 14px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: var(--ui-update);
|
|
color: var(--ui-update-text);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.md-update-trigger:hover {
|
|
background: var(--ui-update-hover);
|
|
}
|
|
|
|
.md-update-trigger:focus-visible,
|
|
.md-update-dialog button:focus-visible,
|
|
.md-update-release-notes summary:focus-visible {
|
|
outline: 2px solid var(--ui-focus);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.md-update-tooltip {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
z-index: var(--md-layer-tooltip);
|
|
display: flex;
|
|
width: 200px;
|
|
min-height: 68px;
|
|
padding: 12px;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
border-radius: 8px;
|
|
background: #4f4d4d;
|
|
box-shadow: 0 4px 12px rgb(0 0 0 / 35%);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.md-update-anchor:hover .md-update-tooltip,
|
|
.md-update-anchor:focus-within .md-update-tooltip,
|
|
.md-update-tooltip.is-visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.md-update-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1300;
|
|
display: grid;
|
|
padding: 16px;
|
|
place-items: center;
|
|
background: rgb(0 0 0 / 60%);
|
|
}
|
|
|
|
.md-update-dialog {
|
|
display: grid;
|
|
width: min(548px, calc(100vw - 32px));
|
|
min-height: 207px;
|
|
max-height: calc(100vh - 32px);
|
|
grid-template-rows: 56px minmax(92px, auto) 58px;
|
|
overflow: auto;
|
|
transform: translateY(-24px);
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 16px;
|
|
background: var(--ui-surface);
|
|
box-shadow: 0 12px 40px rgb(0 0 0 / 45%);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-update-dialog:not(.md-update-dialog-prompt) {
|
|
grid-template-rows: 56px minmax(150px, auto);
|
|
}
|
|
|
|
.md-update-dialog:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.md-update-dialog-header {
|
|
display: flex;
|
|
min-width: 0;
|
|
height: 56px;
|
|
padding: 0 16px 0 20px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid var(--ui-border);
|
|
}
|
|
|
|
.md-update-dialog-header h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.md-update-dialog-close {
|
|
display: grid;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--ui-text-secondary);
|
|
cursor: pointer;
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.md-update-dialog-close:hover {
|
|
background: var(--ui-hover);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-update-dialog-body {
|
|
min-width: 0;
|
|
padding: 16px 20px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.md-update-dialog-body p {
|
|
margin: 0;
|
|
color: var(--ui-text-secondary);
|
|
line-height: 20px;
|
|
}
|
|
|
|
.md-update-release-notes {
|
|
margin-top: 10px;
|
|
color: var(--ui-text-secondary);
|
|
}
|
|
|
|
.md-update-release-notes summary {
|
|
width: max-content;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.md-update-release-notes pre {
|
|
margin: 10px 0 0;
|
|
max-height: min(360px, 45vh);
|
|
overflow-y: auto;
|
|
padding-right: 8px;
|
|
color: var(--ui-text-secondary);
|
|
font: inherit;
|
|
line-height: 20px;
|
|
overscroll-behavior: contain;
|
|
scrollbar-gutter: stable;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.md-update-dialog-actions {
|
|
display: flex;
|
|
min-height: 58px;
|
|
padding: 10px 16px;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
border-top: 1px solid var(--ui-border);
|
|
}
|
|
|
|
.md-update-progress-text {
|
|
min-height: 20px;
|
|
}
|
|
|
|
.md-update-progress-track {
|
|
height: 8px;
|
|
margin-top: 16px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: var(--ui-input);
|
|
}
|
|
|
|
.md-update-progress-fill {
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: var(--ui-accent);
|
|
}
|
|
|
|
.md-application-menu-tree {
|
|
display: flex;
|
|
height: 100%;
|
|
align-items: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.md-application-menu-tree .menu-bar-trigger {
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.md-download-sidebar-content {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.md-download-sidebar-search {
|
|
display: grid;
|
|
gap: 4px;
|
|
color: var(--ui-text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.md-download-sidebar-search input {
|
|
width: 100%;
|
|
}
|
|
|
|
.md-download-sidebar-actions {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.md-download-sidebar-actions .btn {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.md-runtime-view-content {
|
|
display: flex;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.md-runtime-view-content > * {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.md-shell-workspace {
|
|
display: grid;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 8px;
|
|
transition: grid-template-columns 520ms cubic-bezier(0.22, 0.76, 0.22, 1);
|
|
}
|
|
|
|
.md-shell.has-sidebar .md-shell-workspace {
|
|
grid-template-columns: 270px minmax(0, 1fr);
|
|
}
|
|
|
|
.md-shell.has-collapsed-sidebar .md-shell-workspace {
|
|
grid-template-columns: 0 minmax(0, 1fr);
|
|
}
|
|
|
|
.md-shell-sidebar-panel,
|
|
.md-shell-main {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 8px;
|
|
background: var(--ui-surface);
|
|
}
|
|
|
|
.md-shell-sidebar {
|
|
position: relative;
|
|
z-index: 4;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.md-shell-sidebar-panel {
|
|
display: flex;
|
|
width: 270px;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
opacity: 1;
|
|
transform: translate3d(0, 0, 0);
|
|
visibility: visible;
|
|
transition:
|
|
opacity 260ms ease,
|
|
transform 520ms cubic-bezier(0.22, 0.76, 0.22, 1),
|
|
visibility 0s linear 0s;
|
|
}
|
|
|
|
.md-shell-sidebar-scroll {
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
}
|
|
|
|
.md-shell-sidebar-scroll > :is(.collector-sidebar, .settings-sidebar, .history-sidebar, .statistics-sidebar) {
|
|
gap: 8px;
|
|
min-height: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.md-shell-sidebar-scroll > :is(.collector-sidebar, .settings-sidebar, .history-sidebar, .statistics-sidebar) > :is(.collector-sidebar-heading, .settings-sidebar-heading, .history-sidebar-heading, .statistics-sidebar-heading) {
|
|
align-items: center;
|
|
display: flex;
|
|
min-height: 28px;
|
|
padding: 0;
|
|
}
|
|
|
|
.md-shell-sidebar-scroll .collector-sidebar-select {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.md-shell-sidebar-status {
|
|
display: grid;
|
|
flex: 0 0 auto;
|
|
gap: 4px;
|
|
padding: 12px;
|
|
border-top: 1px solid var(--ui-border);
|
|
color: var(--ui-text-secondary);
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.md-shell-sidebar.is-collapsed .md-shell-sidebar-panel {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
transform: translate3d(calc(-100% - 8px), 0, 0);
|
|
pointer-events: none;
|
|
transition-delay: 0s, 0s, 520ms;
|
|
}
|
|
|
|
.md-shell-sidebar-toggle {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: -8px;
|
|
z-index: 5;
|
|
display: grid;
|
|
width: 14px;
|
|
height: 42px;
|
|
padding: 0;
|
|
place-items: center;
|
|
transform: translateY(-50%);
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 4px;
|
|
background: var(--ui-input);
|
|
color: var(--ui-text-muted);
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
}
|
|
|
|
.md-shell-sidebar.is-responsive-rail .md-shell-sidebar-toggle {
|
|
top: -48px;
|
|
right: auto;
|
|
left: 11px;
|
|
width: 32px;
|
|
height: 32px;
|
|
transform: none;
|
|
opacity: 1;
|
|
}
|
|
|
|
.md-shell.has-collapsed-sidebar:is(.is-compact, .is-minimum) .md-shell-navigation {
|
|
padding-left: 44px;
|
|
}
|
|
|
|
.md-shell-sidebar:hover .md-shell-sidebar-toggle,
|
|
.md-shell-sidebar.is-collapsed .md-shell-sidebar-toggle,
|
|
.md-shell-sidebar-toggle:focus-visible {
|
|
opacity: 1;
|
|
}
|
|
|
|
.md-shell-main {
|
|
display: flex;
|
|
overflow: hidden;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.md-shell-toolbar {
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.md-shell-content {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.md-shell-footer {
|
|
flex: 0 0 auto;
|
|
border-top: 1px solid var(--ui-border);
|
|
}
|
|
|
|
.md-avatar-anchor {
|
|
position: relative;
|
|
}
|
|
|
|
.md-avatar-trigger {
|
|
display: grid;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: var(--ui-active);
|
|
color: var(--ui-text-secondary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.md-avatar-menu {
|
|
position: absolute;
|
|
top: calc(100% + 5px);
|
|
right: 0;
|
|
z-index: var(--md-layer-avatar);
|
|
display: flex;
|
|
width: 174px;
|
|
min-height: 106px;
|
|
padding: 8px;
|
|
flex-direction: column;
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 8px;
|
|
background: var(--ui-surface);
|
|
}
|
|
|
|
.md-avatar-menu-account {
|
|
overflow: hidden;
|
|
padding: 4px 8px 8px;
|
|
color: var(--ui-text-muted);
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.md-avatar-menu-action {
|
|
min-height: 30px;
|
|
padding: 5px 8px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: var(--ui-text-secondary);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.md-avatar-menu-action:hover {
|
|
background: var(--ui-hover);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-avatar-menu-action.is-danger {
|
|
color: var(--ui-danger);
|
|
}
|
|
|
|
.md-application-menu-tree :where(.menu-dropdown, .menu-submenu-dropdown) {
|
|
z-index: var(--md-layer-menu);
|
|
max-height: calc(100vh - 16px);
|
|
overflow: visible;
|
|
}
|
|
|
|
.md-application-menu-tree > .menu-bar-item > .menu-dropdown {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
|
|
.md-application-menu-tree .menu-submenu-dropdown {
|
|
right: 100%;
|
|
left: auto;
|
|
opacity: 0;
|
|
transform: translateX(8px);
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition:
|
|
opacity 160ms ease,
|
|
transform 220ms cubic-bezier(0.22, 0.76, 0.22, 1),
|
|
visibility 0s linear 220ms;
|
|
}
|
|
|
|
.md-application-menu-tree .menu-submenu-dropdown.is-open {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
transition-delay: 0s;
|
|
}
|
|
|
|
.md-overlay-host {
|
|
position: static;
|
|
}
|
|
|
|
.md-dialog-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: var(--md-layer-modal);
|
|
display: grid;
|
|
padding: 20px;
|
|
place-items: center;
|
|
background: var(--ui-overlay);
|
|
}
|
|
|
|
.md-dialog {
|
|
display: grid;
|
|
width: min(560px, calc(100vw - 40px));
|
|
max-height: calc(100vh - 40px);
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
gap: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
border: 1px solid var(--ui-border);
|
|
border-radius: 16px;
|
|
outline: none;
|
|
background: var(--ui-surface);
|
|
box-shadow: 0 12px 40px rgb(0 0 0 / 45%);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-dialog.md-dialog-size-account {
|
|
width: min(660px, calc(100vw - 40px));
|
|
}
|
|
|
|
.md-dialog.md-dialog-size-wide {
|
|
width: min(760px, calc(100vw - 40px));
|
|
}
|
|
|
|
.md-dialog.md-dialog-size-update {
|
|
width: min(548px, calc(100vw - 32px));
|
|
}
|
|
|
|
.md-dialog-header {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 56px;
|
|
padding: 12px 16px 12px 20px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border-bottom: 1px solid var(--ui-border);
|
|
}
|
|
|
|
.md-dialog-header h2 {
|
|
margin: 0;
|
|
color: var(--ui-text);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.md-dialog-close {
|
|
display: grid;
|
|
width: 32px;
|
|
height: 32px;
|
|
flex: 0 0 auto;
|
|
padding: 0;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--ui-text-secondary);
|
|
cursor: pointer;
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.md-dialog-close:hover {
|
|
background: var(--ui-hover);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-dialog-body {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.md-dialog-body > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.md-dialog-body > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.md-dialog-description,
|
|
.md-dialog-body p {
|
|
color: var(--ui-text-secondary);
|
|
}
|
|
|
|
.md-dialog-actions {
|
|
min-height: 58px;
|
|
padding: 10px 16px;
|
|
border-top: 1px solid var(--ui-border);
|
|
background: var(--ui-surface);
|
|
}
|
|
|
|
.md-dialog :where(button, summary, input, select, textarea):focus-visible,
|
|
.md-context-menu [role="menuitem"]:focus-visible {
|
|
outline: 2px solid var(--ui-focus);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.md-context-menu {
|
|
z-index: var(--md-layer-menu);
|
|
max-width: calc(100vw - 8px);
|
|
max-height: calc(100vh - 8px);
|
|
overflow: auto;
|
|
border-color: var(--ui-border);
|
|
background: var(--ui-surface);
|
|
box-shadow: 0 4px 12px rgb(0 0 0 / 35%);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-context-menu .ctx-menu-item {
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-context-menu .ctx-menu-item:hover,
|
|
.md-context-menu .ctx-menu-item:focus-visible {
|
|
background: var(--ui-hover);
|
|
}
|
|
|
|
.md-context-menu .ctx-menu-item.ctx-danger {
|
|
color: var(--ui-danger);
|
|
}
|
|
|
|
.md-context-menu .ctx-menu-sep {
|
|
background: var(--ui-border);
|
|
}
|
|
|
|
.md-toast {
|
|
right: 20px;
|
|
bottom: 84px;
|
|
z-index: var(--md-layer-toast);
|
|
max-width: min(420px, calc(100vw - 40px));
|
|
border-color: var(--ui-border);
|
|
background: var(--ui-surface);
|
|
color: var(--ui-text);
|
|
box-shadow: 0 4px 12px rgb(0 0 0 / 35%);
|
|
}
|
|
|
|
.md-drop-overlay {
|
|
z-index: var(--md-layer-modal);
|
|
pointer-events: none;
|
|
background: var(--ui-overlay);
|
|
border-color: color-mix(in srgb, var(--ui-accent) 72%, transparent);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-overlay-host .md-dialog-backdrop {
|
|
z-index: var(--md-layer-modal);
|
|
padding: 20px;
|
|
background: var(--ui-overlay);
|
|
}
|
|
|
|
.md-overlay-host .md-dialog {
|
|
gap: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
border-color: var(--ui-border);
|
|
border-radius: 16px;
|
|
background: var(--ui-surface);
|
|
box-shadow: 0 12px 40px rgb(0 0 0 / 45%);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-overlay-host .md-context-menu {
|
|
z-index: var(--md-layer-menu);
|
|
border-color: var(--ui-border);
|
|
background: var(--ui-surface);
|
|
box-shadow: 0 4px 12px rgb(0 0 0 / 35%);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-overlay-host .md-toast {
|
|
bottom: 84px;
|
|
z-index: var(--md-layer-toast);
|
|
border-color: var(--ui-border);
|
|
background: var(--ui-surface);
|
|
box-shadow: 0 4px 12px rgb(0 0 0 / 35%);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
.md-overlay-host .md-drop-overlay {
|
|
z-index: var(--md-layer-modal);
|
|
pointer-events: none;
|
|
background: var(--ui-overlay);
|
|
color: var(--ui-text);
|
|
}
|
|
|
|
@media (max-width: 1366px) {
|
|
.md-shell.is-compact .md-shell-navigation-item span,
|
|
.md-shell.is-compact .md-shell-brand,
|
|
.md-shell.is-minimum .md-shell-navigation-item span,
|
|
.md-shell.is-minimum .md-shell-brand {
|
|
display: none;
|
|
}
|
|
|
|
.md-shell.is-compact .md-shell-header,
|
|
.md-shell.is-minimum .md-shell-header {
|
|
gap: 6px;
|
|
}
|
|
|
|
.md-shell.is-compact .md-shell-navigation,
|
|
.md-shell.is-minimum .md-shell-navigation {
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.md-shell.is-compact .md-shell-navigation-item,
|
|
.md-shell.is-minimum .md-shell-navigation-item {
|
|
width: 36px;
|
|
flex: 0 0 36px;
|
|
padding-inline: 9px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.md-shell.is-compact .md-shell-header-actions,
|
|
.md-shell.is-minimum .md-shell-header-actions {
|
|
flex: 0 0 auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1120px) {
|
|
.md-shell.is-minimum {
|
|
gap: 6px;
|
|
padding: 6px 8px 8px;
|
|
}
|
|
|
|
.md-shell.is-minimum .md-shell-workspace {
|
|
gap: 6px;
|
|
}
|
|
|
|
.md-shell.is-minimum .md-shell-sidebar.is-responsive-rail .md-shell-sidebar-toggle {
|
|
top: -46px;
|
|
}
|
|
|
|
.md-dialog-backdrop,
|
|
.md-overlay-host .md-dialog-backdrop,
|
|
.md-update-backdrop {
|
|
padding: 12px;
|
|
}
|
|
|
|
.md-dialog,
|
|
.md-dialog.md-dialog-size-account,
|
|
.md-dialog.md-dialog-size-wide,
|
|
.md-dialog.md-dialog-size-update,
|
|
.md-update-dialog {
|
|
max-width: 100%;
|
|
max-height: calc(100vh - 24px);
|
|
}
|
|
|
|
.md-dialog-actions,
|
|
.md-update-dialog-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.md-shell *,
|
|
.md-shell *::before,
|
|
.md-shell *::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
|
|
.md-shell-workspace {
|
|
transition-duration: 520ms !important;
|
|
}
|
|
|
|
.md-shell-sidebar-panel {
|
|
transition-duration: 260ms, 520ms, 0s !important;
|
|
}
|
|
|
|
.md-shell-navigation::before {
|
|
transition-duration: 420ms, 420ms, 420ms, 120ms !important;
|
|
}
|
|
|
|
.md-application-menu-tree .menu-dropdown {
|
|
transition-property: opacity, transform, visibility !important;
|
|
transition-duration: 150ms, 180ms, 0s !important;
|
|
transition-timing-function: ease, cubic-bezier(0.2, 0.8, 0.2, 1), linear !important;
|
|
transition-delay: 0s, 0s, 180ms !important;
|
|
}
|
|
|
|
.md-application-menu-tree .menu-dropdown.is-open {
|
|
transition-delay: 0s !important;
|
|
}
|
|
|
|
.md-application-menu-tree .menu-submenu-dropdown {
|
|
transition-duration: 0.01ms !important;
|
|
transition-delay: 0s !important;
|
|
}
|
|
|
|
.md-application-menu-tree .menu-submenu-dropdown.is-open {
|
|
transition-delay: 0s !important;
|
|
}
|
|
}
|