mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 11:00:47 +02:00
UI redesign staging (#6149)
Co-authored-by: Reece Browne <[email protected]> Co-authored-by: James Brunton <[email protected]>
This commit is contained in:
co-authored by
Reece Browne
James Brunton
parent
beb99e273b
commit
c731d5fd5d
@@ -1,3 +1,14 @@
|
||||
/* ---- Viewer mode mini-toolbar (top of ToolPanel) ---- */
|
||||
.tool-panel-viewer-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
padding: 4px 8px;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
background-color: var(--bg-toolbar);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* CSS Custom Properties for Fullscreen Mode */
|
||||
.tool-panel__fullscreen-surface-inner {
|
||||
--fullscreen-bg-surface-1: color-mix(
|
||||
@@ -109,16 +120,8 @@
|
||||
var(--text-primary) 20%,
|
||||
var(--border-subtle)
|
||||
);
|
||||
--fullscreen-text-icon: color-mix(
|
||||
in srgb,
|
||||
var(--text-primary) 90%,
|
||||
var(--text-muted)
|
||||
);
|
||||
--fullscreen-text-icon-compact: color-mix(
|
||||
in srgb,
|
||||
var(--text-primary) 88%,
|
||||
var(--text-muted)
|
||||
);
|
||||
--fullscreen-text-icon: var(--text-primary);
|
||||
--fullscreen-text-icon-compact: var(--text-primary);
|
||||
}
|
||||
|
||||
.tool-panel {
|
||||
@@ -128,6 +131,49 @@
|
||||
max-width 0.3s ease;
|
||||
}
|
||||
|
||||
.tool-panel__collapsed-strip {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding-top: 10px;
|
||||
gap: 8px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tool-panel__expand-btn {
|
||||
flex-shrink: 0;
|
||||
color: var(--text-secondary) !important;
|
||||
border-color: var(--border-subtle) !important;
|
||||
}
|
||||
|
||||
.tool-panel__expand-btn svg {
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
.tool-panel__expand-btn:hover {
|
||||
color: var(--text-primary) !important;
|
||||
border-color: var(--border) !important;
|
||||
}
|
||||
|
||||
.tool-panel__collapsed-search-btn {
|
||||
flex-shrink: 0;
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
.tool-panel__collapsed-search-btn svg {
|
||||
color: var(--text-secondary) !important;
|
||||
}
|
||||
|
||||
.tool-panel__collapsed-search-btn:hover {
|
||||
color: var(--text-primary) !important;
|
||||
}
|
||||
|
||||
.tool-panel__back-btn {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tool-panel--fullscreen-active {
|
||||
overflow: visible !important;
|
||||
}
|
||||
@@ -136,7 +182,9 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.75rem 1rem;
|
||||
height: 48px;
|
||||
padding: 0 0.5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tool-panel__search-row .search-input-container {
|
||||
@@ -469,6 +517,8 @@
|
||||
|
||||
.tool-panel__fullscreen-name {
|
||||
color: var(--text-primary);
|
||||
font-size: 13px !important;
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
.tool-panel__fullscreen-description {
|
||||
@@ -604,7 +654,7 @@
|
||||
|
||||
@keyframes tool-panel-fullscreen-slide-in {
|
||||
from {
|
||||
transform: translateX(-6%) scaleX(0.85);
|
||||
transform: translateX(6%) scaleX(0.85);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
@@ -619,14 +669,14 @@
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translateX(-6%) scaleX(0.85);
|
||||
transform: translateX(6%) scaleX(0.85);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes tool-panel-fullscreen-slide-in-rtl {
|
||||
from {
|
||||
transform: translateX(6%) scaleX(0.85);
|
||||
transform: translateX(-6%) scaleX(0.85);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
@@ -641,7 +691,7 @@
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translateX(6%) scaleX(0.85);
|
||||
transform: translateX(-6%) scaleX(0.85);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user