Skip to content

Commit 8b74120

Browse files
committed
add styles for search
1 parent 38f5664 commit 8b74120

File tree

1 file changed

+12
-40
lines changed

1 file changed

+12
-40
lines changed
Lines changed: 12 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,14 @@
1-
.card {
2-
--card-rgb: 180, 185, 188;
3-
--card-border-rgb: 131, 134, 135;
4-
5-
padding: 1rem 1.2rem;
6-
border-radius: 4px;
7-
background: rgba(var(--card-rgb), 0.1);
8-
border: 1px solid rgba(var(--card-border-rgb), 0.15);
9-
transition:
10-
background 200ms,
11-
border 200ms;
12-
display: flex;
13-
gap: 16px;
14-
align-items: center;
15-
margin-top: var(--space-2);
16-
color: var(--text);
17-
18-
h2 {
19-
font-weight: 600;
20-
}
21-
22-
svg {
23-
width: fit-content;
24-
}
25-
26-
@media (max-width: 700px) {
27-
padding: 1rem 2.5rem;
28-
}
29-
}
30-
31-
/* Enable hover only on non-touch devices */
32-
@media (hover: hover) and (pointer: fine) {
33-
.card:hover {
34-
background: rgba(var(--card-rgb), 0.2);
35-
border: 1px solid rgba(var(--card-border-rgb), 0.2);
36-
}
37-
38-
.card:active {
39-
background: rgba(var(--card-rgb), 0.3);
40-
border: 1px solid rgba(var(--card-border-rgb), 0.3);
1+
.Search {
2+
input {
3+
width: 100%;
4+
height: 36px;
5+
}
6+
> div {
7+
width: 100%;
8+
}
9+
/* In your global CSS/SCSS file */
10+
div[class*='Input-module_Backdrop'] {
11+
border-top-color: var(--border-subdued);
12+
border-radius: 8px;
4113
}
4214
}

0 commit comments

Comments
 (0)