Skip to content

Commit 4643c57

Browse files
committed
Update App.css
1 parent 7754bb3 commit 4643c57

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

webapp/chat-app/src/App.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@
5252
font-weight: bold;
5353
color: var(--primary-color);
5454
}
55+
/* Active tab state */
56+
.tab-button.active {
57+
background-color: var(--color-primary-dark);
58+
color: var(--color-light);
59+
transform: translateY(-2px);
60+
box-shadow: var(--shadow-md);
61+
}
62+
/* Focus state - now separate from active state */
5563

5664
.tab-button:focus-visible {
5765
outline: 3px solid var(--primary-color);
@@ -135,7 +143,9 @@
135143

136144

137145
.tab-button:hover {
138-
background: #f2f2f7;
146+
background: var(--hover-background);
147+
transform: translateY(-1px);
148+
box-shadow: var(--shadow-sm);
139149
}
140150

141151
.tab-content {
@@ -191,9 +201,6 @@
191201
.tab-button:focus {
192202
outline: 2px solid var(--primary-color);
193203
outline-offset: 2px;
194-
background-color: var(--color-primary-dark);
195-
transform: translateY(-2px);
196-
box-shadow: var(--shadow-md);
197204
}
198205

199206
.cmd-button:active {

0 commit comments

Comments
 (0)