@@ -795,16 +797,48 @@
cursor: not-allowed;
}
- /* Save split button: floppy + chevron that opens the Save As menu. */
+ /* Standalone file actions get a hover outline; save-main lives inside
+ .save-control, which carries its own shared border, so it's excluded. */
+ .file-actions > .file-action-btn {
+ border: 1px solid transparent;
+ transition: background 0.15s, border-color 0.15s;
+ }
+
+ .file-actions > .file-action-btn:hover:not(:disabled) {
+ border-color: var(--color-primary);
+ }
+
+ /* Save split button: floppy + chevron that opens the Save As menu, joined in
+ one bordered control whose shared border highlights on hover. */
.save-split {
position: relative;
display: inline-flex;
align-items: center;
}
+ .save-control {
+ display: inline-flex;
+ align-items: stretch;
+ height: 2rem;
+ border: 1px solid transparent;
+ border-radius: var(--radius);
+ overflow: hidden;
+ transition: border-color 0.15s;
+ }
+
+ .save-control:hover:not(:has(:disabled)) {
+ border-color: var(--color-primary);
+ }
+
+ .save-control:hover:not(:has(:disabled)) .save-chevron {
+ border-left-color: var(--color-border);
+ }
+
.save-main {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
+ width: auto;
+ height: 100%;
+ padding: 0 0.2rem 0 0.5rem;
+ border-radius: 0;
}
.save-chevron {
@@ -812,16 +846,15 @@
align-items: center;
justify-content: center;
width: 1rem;
- height: 2rem;
+ height: 100%;
padding: 0;
border: none;
- border-radius: var(--radius);
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
+ border-left: 1px solid transparent;
+ border-radius: 0;
background: transparent;
color: var(--color-text);
cursor: pointer;
- transition: background 0.15s;
+ transition: background 0.15s, border-color 0.15s;
}
.save-chevron:hover:not(:disabled) {
@@ -923,16 +956,17 @@
justify-content: center;
width: 2rem;
height: 2rem;
- border: none;
+ border: 1px solid transparent;
border-radius: var(--radius);
background: transparent;
color: var(--color-text);
cursor: pointer;
- transition: background 0.15s;
+ transition: background 0.15s, border-color 0.15s;
}
.theme-btn:hover {
background: var(--color-btn-hover);
+ border-color: var(--color-primary);
}
.theme-dropdown {
diff --git a/src/lib/components/AlignButton.svelte b/src/lib/components/AlignButton.svelte
index 314bc80..c8f01c5 100644
--- a/src/lib/components/AlignButton.svelte
+++ b/src/lib/components/AlignButton.svelte
@@ -137,16 +137,17 @@
gap: 4px;
height: 2rem;
padding: 0 0.4rem;
- border: none;
+ border: 1px solid transparent;
border-radius: var(--radius);
background: transparent;
color: var(--color-text);
cursor: pointer;
- transition: background 0.15s;
+ transition: background 0.15s, border-color 0.15s;
}
.align-trigger:hover {
background: var(--color-btn-hover);
+ border-color: var(--color-primary);
}
.align-dropdown {
diff --git a/src/lib/components/HistoryButton.svelte b/src/lib/components/HistoryButton.svelte
index 70460d2..dc82ec1 100644
--- a/src/lib/components/HistoryButton.svelte
+++ b/src/lib/components/HistoryButton.svelte
@@ -67,26 +67,28 @@
-
-
+
+
+
+
{#if open && displayed.length > 0}
@@ -121,8 +123,26 @@