pages terminal scripts
This commit is contained in:
@@ -39,8 +39,23 @@
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.workspaces.desktop-only,
|
||||
.window-title.desktop-only {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.desktop-only {
|
||||
.desktop-only,
|
||||
.workspaces.desktop-only,
|
||||
.window-title.desktop-only {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.bar-left {
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.bar-center {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -104,7 +119,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.35rem 0.6rem;
|
||||
padding: 0.35rem 0.4rem;
|
||||
color: var(--bar-muted);
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
@@ -193,7 +208,7 @@
|
||||
position: absolute;
|
||||
top: calc(100% + 0.5rem);
|
||||
right: 0;
|
||||
min-width: 160px;
|
||||
min-width: 175px;
|
||||
background: var(--bar-bg);
|
||||
border: 1px solid var(--bar-border);
|
||||
border-radius: 8px;
|
||||
@@ -251,7 +266,7 @@
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: transparent;
|
||||
z-index: 999;
|
||||
z-index: 997;
|
||||
border: none;
|
||||
cursor: default;
|
||||
}
|
||||
@@ -264,10 +279,11 @@
|
||||
right: 0;
|
||||
background: var(--bar-bg);
|
||||
border-bottom: 1px solid var(--bar-border);
|
||||
z-index: 998;
|
||||
z-index: 1000;
|
||||
padding: 1rem;
|
||||
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.mobile-nav-links {
|
||||
@@ -286,10 +302,18 @@
|
||||
border-radius: 6px;
|
||||
transition: all 0.15s ease;
|
||||
font-size: 0.9rem;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mobile-nav-link:hover {
|
||||
background: var(--bar-bg-module);
|
||||
color: var(--bar-primary);
|
||||
}
|
||||
|
||||
.mobile-nav-link:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.mobile-nav-link.active {
|
||||
@@ -341,11 +365,18 @@
|
||||
font-family: inherit;
|
||||
font-size: 0.75rem;
|
||||
transition: all 0.15s ease;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mobile-theme-btn:hover {
|
||||
background: color-mix(in srgb, var(--bar-primary) 15%, transparent);
|
||||
border-color: var(--bar-primary);
|
||||
color: var(--bar-primary);
|
||||
}
|
||||
|
||||
.mobile-theme-btn:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.mobile-theme-btn.active {
|
||||
@@ -369,9 +400,16 @@
|
||||
font-size: 0.8rem;
|
||||
transition: all 0.15s ease;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mobile-mode-btn:hover {
|
||||
background: color-mix(in srgb, var(--bar-primary) 15%, transparent);
|
||||
border-color: var(--bar-primary);
|
||||
color: var(--bar-primary);
|
||||
}
|
||||
|
||||
.mobile-mode-btn:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
@@ -6,22 +6,40 @@
|
||||
font-size: 0.75rem;
|
||||
background: var(--terminal-bg-light);
|
||||
border-color: var(--terminal-border);
|
||||
gap: 1rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tui-statusbar.top {
|
||||
border-bottom: 1px solid var(--terminal-border);
|
||||
}
|
||||
|
||||
.status-left, .status-right {
|
||||
.status-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
color: var(--terminal-muted);
|
||||
flex-shrink: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.status-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
color: var(--terminal-muted);
|
||||
flex-shrink: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.status-center {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
color: var(--terminal-primary);
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.hint {
|
||||
@@ -31,8 +49,23 @@
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.user-host {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hint {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.user-host {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.status-center {
|
||||
position: static;
|
||||
transform: none;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user