-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.css
69 lines (67 loc) · 1.2 KB
/
menu.css
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
/* .menu {
height: 110vh;
} */
.menu .content {
margin: auto;
}
@media screen and (max-width: 415px) {
.menu .content {
margin: 5.1rem auto;
}
}
.foods {
width: 90vw;
}
.time {
background: white;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
padding: 0.5rem 1.5rem 0 1.5rem;
margin-bottom: 1rem;
}
.time-title {
display: flex;
justify-content: space-between;
align-items: center;
text-transform: capitalize;
padding-bottom: 0.2rem;
height: 3rem;
}
.time-title p {
margin-bottom: 1rem;
letter-spacing: 0.25rem;
color: hsl(209, 61%, 16%);
font-size: 1rem;
}
.time-text {
padding: 0.5rem 0 0.5rem 0;
border-top: 1px solid rgba(0, 0, 0, 0.2);
font-size: 0.8rem;
}
.time-btn {
font-size: 1.5rem;
background: transparent;
border-color: transparent;
cursor: pointer;
color: #c59d5f;
transition: all 0.3s linear;
padding: 0%;
}
.time-btn:hover {
transform: rotate(90deg);
}
.time-text {
display: none;
}
.show-text .time-text {
display: block;
}
.minus-icon {
display: none;
}
.show-text .minus-icon {
display: inline;
}
.show-text .plus-icon {
display: none;
}