Skip to content

Commit 4c1fbeb

Browse files
committed
add design fixes
1 parent cff3390 commit 4c1fbeb

File tree

4 files changed

+17
-20
lines changed

4 files changed

+17
-20
lines changed

scaladoc-js/common/css/searchbar.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ div[selected] > .scaladoc-searchbar-inkuire-package {
6767
display: none;
6868
}
6969

70-
.scaladoc-searchbar-row .micon {
71-
height: 16px;
72-
width: 16px;
73-
margin: 4px 8px 0px 0px;
74-
color: var(--text-secondary)
75-
}
76-
7770
.scaladoc-searchbar-row[result] {
7871
flex-direction: column;
7972
}

scaladoc/resources/dotty_res/styles/theme/layout/leftMenu.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
padding: calc(3 * var(--base-spacing)) 0px;
66
position: absolute;
77
width: calc(39 * var(--base-spacing));
8-
height: calc(100% - var(--header-height) - (12 * var(--base-spacing)));
8+
height: calc(100% - var(--header-height) - (6 * var(--base-spacing)));
99
left: 0px;
1010
top: calc(8 * var(--base-spacing));
1111
background: var(--background-default);
@@ -17,7 +17,7 @@
1717

1818
@media (max-width: 480px) {
1919
#leftColumn {
20-
height: calc(100% - var(--header-height) - (15 * var(--base-spacing)));
20+
height: calc(100% - var(--header-height) - (9 * var(--base-spacing)));
2121
}
2222
}
2323

scaladoc/resources/dotty_res/styles/theme/layout/searchBar.css

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@
2121
}
2222
}
2323

24-
@media(max-width: 825px) {
25-
#scaladoc-searchbar {
26-
width: calc(80 * var(--base-spacing));
27-
}
28-
}
29-
3024
.scaladoc-searchbar-input {
3125
width: 100%;
3226
background-color: var(--action-primary-background-default-solid);
@@ -102,11 +96,6 @@
10296
overflow: scroll;
10397
}
10498

105-
.scaladoc-searchbar-row .micon {
106-
position: relative;
107-
top: -2px;
108-
}
109-
11099
.searchbar-hints {
111100
color: var(--text-primary);
112101
display: flex;
@@ -220,6 +209,18 @@
220209
text-decoration: none;
221210
}
222211

212+
.scaladoc-searchbar-row b {
213+
color: var(--text-primary);
214+
}
215+
216+
.scaladoc-searchbar-row .micon {
217+
margin: calc(0.5 * var(--base-spacing)) calc(1 * var(--base-spacing)) 0px 0px;
218+
color: var(--text-secondary);
219+
position: relative;
220+
top: -2px;
221+
}
222+
223+
223224
/* searchbar footer */
224225
#searchbar-footer {
225226
position: absolute;
@@ -280,6 +281,8 @@
280281

281282
#scaladoc-searchbar-results {
282283
border: none;
284+
margin-left: calc(3 * var(--base-spacing));
285+
margin-right: calc(3 * var(--base-spacing));
283286
}
284287

285288
.scaladoc-searchbar-input-container {

scaladoc/resources/dotty_res/styles/theme/layout/sideMenu.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
height: 100%;
66
padding-left: calc(1.5 * var(--base-spacing));
77
padding-right: calc(1.5 * var(--base-spacing));
8+
padding-bottom: calc(3 * var(--base-spacing));
89
box-sizing: border-box;
910
}
1011

0 commit comments

Comments
 (0)