Skip to content

Commit 1953e8c

Browse files
TheElectronWillromanowski
authored andcommitted
Trial: red search button
1 parent a9e37f5 commit 1953e8c

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

scala3doc/resources/dotty_res/styles/search-bar.css

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@
1111

1212
/* button */
1313
.search button {
14-
background: none;
15-
fill: var(--icon-color);
16-
cursor: pointer;
17-
border: none;
18-
padding: 0;
14+
background: #ED3522;
15+
fill: #fff;
16+
cursor: pointer;
17+
border: none;
18+
padding: 9px;
19+
border-radius: 24px;
20+
box-shadow: 0 0 16px #F27264;
1921
}
2022
.search button:hover {
21-
fill: var(--link-hover-fg);
22-
}
23-
.search button svg {
24-
width: 24px;
25-
height: 24px;
23+
fill: #F27264;
2624
}
2725

2826
/* popup */
@@ -60,6 +58,18 @@
6058

6159
/* Portrait phones */
6260
@media(max-width: 576px) {
61+
.search button {
62+
background: none;
63+
fill: var(--icon-color);
64+
cursor: pointer;
65+
border: none;
66+
padding: 0;
67+
box-shadow: none;
68+
margin-top: 2px;
69+
}
70+
.search button:hover {
71+
fill: var(--link-hover-fg);
72+
}
6373
.search-content {
6474
margin: 0 !important;
6575
top: 9px !important;

0 commit comments

Comments
 (0)