Repository navigation
Expand file tree
/
Copy pathfilter.css
More file actions
108 lines (97 loc) · 1.95 KB
/
Copy pathfilter.css
File metadata and controls
108 lines (97 loc) · 1.95 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
107
108
#filter {
/* background-color: blue; */
margin: 2em;
}
.dropdown > #activeCuisine, #activeIngredient {
min-width: 75%;
display: inline-flex;
align-items: center;
justify-content: space-between;
text-transform: capitalize;
}
.dropdown-icon {
height: 1em;
}
#result {
/* background-color: cyan; */
flex: 1;
width: 100%;
overflow-y: auto;
margin: 0em 1em;
font-family:'Alegreya Sans SC';
font-size: 1.5em;
}
#main-container {
background-color: lightgrey;
position: fixed;
top: 0; right: -700px;
height: 100vh;
display: flex;
flex-direction: column;
border-left: 2px solid black;
transition: right 1s;
z-index: 100;
}
@media (min-width: 768px) {
.container-small {
width: 300px;
}
.container-large {
width: 970px;
}
}
@media (min-width: 992px) {
.container-small {
width: 500px;
}
.container-large {
width: 1170px;
}
}
@media (min-width: 1200px) {
.container-small {
width: 700px;
}
.container-large {
width: 1500px;
}
}
.container-small, .container-large {
max-width: 100%;
}
.result-img {
width: 60%;
margin: 20%;
}
.result-name, .result-value {
text-align: center;
text-transform: capitalize;
}
.container-btn {
border-radius: 1em 0em 0em 1em;
border-top: 4px solid black;
border-bottom: 4px solid black;
border-left: 4px solid black;
position: absolute;
bottom: 3em; left: -3em;
background-color: white;
width: 4em; height: 10em;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
transition: left 0.25s;
padding-right: 1em;
/* box-shadow: 2px 2px 0px 8px red; */
}
.container-btn > span {
font-size: 2em;
}
.glass-tint {
background-color: black;
position: fixed; top: 0; left: 0;
width: 100vw;
height: 100vh;
opacity: 0;
transition: opacity 0.5s;
}