Repository navigation
Expand file tree
/
Copy pathactivities-home.component.scss
More file actions
103 lines (90 loc) · 1.84 KB
/
Copy pathactivities-home.component.scss
File metadata and controls
103 lines (90 loc) · 1.84 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
.activities-home {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-around;
background-color: var(--background-color-light);
width: 90%;
height: 83vh;
margin: 5px auto;
position: relative;
.search-activities {
display: flex;
flex-direction: column;
justify-content: center;
height: 20%;
width: 100%;
.input-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
.multiple-input-demo {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
gap: 25px;
h3 {
color: var(--primary-light-color);
}
}
}
}
.cards-and-map {
display: flex;
width: 100%;
height: 70%;
gap: 2vw;
.cards-activities {
width: 50%;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
height: 100%;
padding-bottom: 0;
box-sizing: border-box;
overflow-y: auto;
overflow-x: visible;
position: relative;
.empty {
position: absolute;
top: 35%;
width: 100%;
text-align: center;
font-size: 18px;
font-style: italic;
color: var(--dai-secondary, #888);
i {
margin-right: 8px;
}
}
}
.map-activities {
width: 50%;
flex-grow: 1;
height: 60vh;
}
@media screen and (max-width: 901px) {
.hidden {
display: none;
}
.cards-activities {
width: 100%;
}
}
}
.switch-map {
display: none;
}
@media screen and (max-width: 901px) {
.switch-map {
display: initial;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
}
}