Skip to content

Commit dc7dcf9

Browse files
TheElectronWillromanowski
authored andcommitted
Make menu arrows more visible
1 parent 2ba3647 commit dc7dcf9

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

scala3doc/resources/dotty_res/styles/scalastyle.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
--mono-font: "Fira Code", monospace;
3030
--text-font: "Lato", sans-serif;
3131
--title-font: "Roboto Slab", serif;
32+
--leftbar-font-size: 15px;
3233

3334
/* Layout Settings (changes on small screens) */
3435
--side-width: 255px;
@@ -123,7 +124,7 @@ th {
123124
overflow-y: auto;
124125
scrollbar-width: thin;
125126
height: 100%;
126-
font-size: 15px;
127+
font-size: var(--leftbar-font-size);
127128
}
128129
#logo {
129130
background-size: contain;
@@ -198,16 +199,22 @@ th {
198199
cursor: pointer;
199200
}
200201
.sideMenuPart .navButtonContent::before {
201-
content: url("../images/arrow_down.svg");
202+
content: "\e905"; /* arrow up */
203+
font-family: "dotty-icons" !important;
204+
font-size: 20px;
205+
line-height: var(--leftbar-font-size);
206+
color: var(--leftbar-fg);
202207
height: 100%;
203208
display: flex;
204209
flex-direction: row;
205210
align-items: center;
206211
justify-content: center;
207-
transform: rotate(180deg);
208212
}
209213
.sideMenuPart.hidden .navButtonContent::before {
210-
transform: rotate(0deg);
214+
content: "\e903"; /* arrow down */
215+
}
216+
.sideMenuPart .navButtonContent:hover::before {
217+
color: var(--leftbar-current-bg);
211218
}
212219

213220
/* Search */

0 commit comments

Comments
 (0)