Skip to content

Commit 32f9d50

Browse files
committed
update debugger toolbar styles
1 parent 024fa3b commit 32f9d50

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

src/features/debugger/components/debugger-toolbar/debugger-toolbar.module.scss

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.content {
55
@include InnerContentFlex;
66
flex-direction: column;
7-
7+
align-items: center;
88
grid-row-gap: 0;
99
}
1010

@@ -16,23 +16,35 @@
1616

1717
.tabs {
1818
display: flex;
19-
gap: 1rem;
2019
list-style: none;
20+
background-color: var(--color_bg_app_bar);
21+
padding: 0.25rem;
22+
border-radius: 9999px;
23+
}
24+
25+
.titleTab:hover {
26+
opacity: 1;
27+
background-color: var(--color_bg_app_bar);
28+
border-radius: 9999px;
29+
transition: all 0.2s ease-out
2130
}
2231

2332
.titleTab {
2433
color: var(--color_fg_bold);
25-
font-size: 1.5rem;
26-
line-height: 2.25rem;
27-
letter-spacing: -0.8px;
34+
padding: 0.5rem 1rem;
2835
background-color: transparent;
2936
outline: none;
3037
border: none;
3138
cursor: pointer;
3239
opacity: 0.48;
40+
transition: all .2s ease-out;
3341

3442
&[data-active="true"] {
3543
opacity: 1;
44+
background-color: var(--color_bg_layer);
45+
border-radius: 9999px;
46+
box-shadow: 0 1px 2px rgba(0,0,0,.1);
47+
transition: all .2s ease-out;
3648
}
3749

3850
:global(html[lang="ja"]) & {
@@ -41,23 +53,29 @@
4153
}
4254

4355
@media #{$breakpoint-dimension-sm} {
44-
font-size: 1.75rem;
45-
line-height: 2.25rem;
56+
font-size: 0.875rem;
57+
line-height: 1.35;
4658
}
4759
}
4860

49-
.titleTab:hover {
50-
opacity: 1;
51-
}
61+
5262

5363
.titleTab__compactLabel {
64+
font-size: .875rem;
65+
font-weight: 600;
66+
font-family: var(--font-primary);
67+
line-height: 1.35;
5468
@media #{$tablet} {
5569
display: none;
5670
}
5771
}
5872

5973
.titleTab__fullLabel {
6074
display: none;
75+
font-size: .875rem;
76+
font-weight: 600;
77+
font-family: var(--font-primary);
78+
line-height: 1.35;
6179

6280
@media #{$tablet} {
6381
display: unset;

0 commit comments

Comments
 (0)