Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(frontend:files): harmonize editor toolbars and search controls
johaven8eff7024ff99
diff --git a/frontend/src/app/applications/files/components/viewers/components/files-viewer-search.component.scss b/frontend/src/app/applications/files/components/viewers/components/files-viewer-search.component.scssindex 6c5c6e0b..b8b6171e 100644--- a/frontend/src/app/applications/files/components/viewers/components/files-viewer-search.component.scss+++ b/frontend/src/app/applications/files/components/viewers/components/files-viewer-search.component.scss@@ -11,8 +11,8 @@display: flex;align-items: center;width: 100%;- min-height: 36px;- padding: 0 0.35rem 0 0;+ min-height: 40px;+ padding: 0 0.45rem 0 0;overflow: hidden;border-top: 1px solid rgba(128, 128, 128, 0.28);background: #fff;@@ -28,7 +28,7 @@.files-viewer-search-input {flex: 1 1 auto;min-width: 4rem;- height: 30px;+ height: 34px;border: 0;outline: 0;background: transparent;@@ -48,20 +48,24 @@.files-viewer-search-button {position: relative;flex: 0 0 auto;- width: 28px;- height: 26px;- margin: 2px 1px;+ width: 32px;+ height: 30px;+ margin: 3px 2px;padding: 0;border: 0;+ > .lucide {+ font-size: 1.125rem;+ }+&:first-of-type {- margin-left: 5px;+ margin-left: 7px;&::before {position: absolute;top: 6px;bottom: 6px;- left: -4px;+ left: -5px;width: 1px;content: '';background: rgba(128, 128, 128, 0.2);diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.scss b/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.scssindex 60a0cc39..761bd3e9 100644--- a/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.scss+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-markdown.component.scss@@ -389,14 +389,3 @@ body.theme-dark {}}}--body.theme-light {- .files-viewer-markdown .files-markdown-toolbar {- --app-top-menu-action-active-bg: var(--app-top-menu-action-hover-bg);-- .btn-custom:is(.active, :active, [aria-pressed='true']):not(:disabled) {- box-shadow: none !important;- color: var(--bs-body-color) !important;- }- }-}diff --git a/frontend/src/styles/components/_theme_light.scss b/frontend/src/styles/components/_theme_light.scssindex d8a267b5..b67875c8 100755--- a/frontend/src/styles/components/_theme_light.scss+++ b/frontend/src/styles/components/_theme_light.scss@@ -364,6 +364,7 @@}:is(.app-top-menu, .sidebar-component-title).app-top-menu-tool-bar {+ --app-top-menu-action-active-bg: var(--app-action-state-bg);--app-top-menu-action-hover-bg: var(--app-action-state-bg);:is(.btn-default, .btn-custom):hover:not(:disabled),@@ -371,6 +372,12 @@background-color: var(--app-top-menu-action-hover-bg) !important;color: var(--app-action-state-color) !important;}++ :is(.btn-default, .btn-custom):is(.active, :active, [aria-pressed='true']):not(:disabled) {+ background-color: var(--app-top-menu-action-active-bg) !important;+ box-shadow: none !important;+ color: var(--bs-body-color) !important;+ }}.app-foot-menu {border-top: 0.5px solid $gray-light;