-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
106 lines (91 loc) · 1.43 KB
/
Copy pathstyles.css
File metadata and controls
106 lines (91 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
body,
html {
margin: 0;
padding: 0;
height: 100%;
font-family: sans-serif;
}
body {
background: #f7f7f7;
}
.business-card {
padding: 10px;
margin-bottom: 10px;
background: white;
border: 1px solid #ddd;
border-radius: 5px;
cursor: pointer;
}
.business-card:hover {
background: #eef;
}
.controls {
overflow: auto;
height: 100%;
box-sizing: border-box;
}
.left-column {
height: 100%;
max-width: 1200px;
width: 350px;
}
main {
display: flex;
height: 100%;
margin: 0 auto;
max-width: 1200px;
padding: 15px 0;
box-sizing: border-box;
}
#map {
border-radius: 6px;
position: relative;
width: calc(100% - 370px);
height: 100%;
padding-right: 10px;
}
.options {
position: sticky;
text-align: right;
margin-right: 20px;
display: grid;
grid-template-columns: 185px auto;
grid-column-gap: 10px;
max-width: 325px;
margin: 0 20px;
}
#searchInput,
#categoryFilter {
padding: 8px;
font-size: 1em;
}
.sidebar {
max-width: 315px;
height: calc(100% - 50px);
overflow-y: auto;
margin: 10px auto 0 auto;
}
@media screen and (max-width: 768px) {
.controls {
padding: 10px 10px 0 10px;
}
.left-column {
width: 100%;
height: 235px;
}
main {
display: grid;
grid-template-rows: max-content;
padding: 0 0 10px 0;
}
#map {
margin: 0 10px;
width: calc(100% - 30px);
}
.sidebar {
max-width: none;
}
.options {
text-align: center;
}
}