Skip to content

Commit a8de1c1

Browse files
rorarclaude
andcommitted
fix: restore old button style, replace solid hover with subtle lift
Restore accent border + tinted background from before. Hover now uses brightness(1.15) + soft box-shadow instead of solid fill — keeps the button recognizable without the jarring color swap. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 644b514 commit a8de1c1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,18 @@
114114
gap: 0.3rem;
115115
margin: 0.5rem auto 0;
116116
padding: 0.3rem 0.8rem;
117-
border: 1px solid transparent;
117+
border: 1px solid var(--md-accent-fg-color);
118118
border-radius: 4px;
119-
background: transparent;
120-
color: var(--md-default-fg-color--light);
119+
background: var(--md-accent-fg-color--transparent);
120+
color: var(--md-accent-fg-color);
121121
font-size: 0.78rem;
122122
cursor: pointer;
123-
transition: color 0.2s ease, border-color 0.2s ease;
123+
transition: filter 0.2s ease, box-shadow 0.2s ease;
124124
}
125125

126126
.mermaid-expand-btn:hover {
127-
color: var(--md-accent-fg-color);
128-
border-color: var(--md-accent-fg-color--transparent);
127+
filter: brightness(1.15);
128+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
129129
}
130130

131131
/* Fullscreen wrapper — contains .mermaid element + close button */

0 commit comments

Comments
 (0)