-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrestaurant.css
177 lines (172 loc) · 3.33 KB
/
restaurant.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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
body {
margin: 0;
background: #eee url("http://source.unsplash.com/U9-D7wwurT8/1080x1920") 50% 35%/cover no-repeat padding-box padding-box local;
font-family: 'Open Sans', sans-serif;
font-family: 'Open Sans', sans-serif;
font-weight: 400;
line-height: 1.5;
max-width: 100%;
overflow: scroll;
}
.searchbar .search {
display: inline-block;
border: 0px solid grey;
padding: 0px;
transition: all 0.15s ease;
}
.searchbar input[type=text] {
font-size: 14px;
border: 1px solid #888;
border-radius: 5px;
padding: 10px;
width: 15em;
margin: 10px 2px 0 0;
}
/* ##### Buttons ##### */
.btn-group .button {
background-color: #FFF;
color: #888;
padding: 10px;
text-align: center;
display: inline-block;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
border: 1px solid #888;
border-radius: 5px;
margin: 10px 2px;
}
.btn-group {
display: inline-block;
}
.btn-group .button:hover {
background-color: #888;
color: white;
}
.btn-group .button:active, .btn-group .button:focus {
background-color: #888;
color: white;
}
/* ##### Boxen ##### */
.container {
display: flex;
flex-wrap: wrap;
}
.container-btn {
margin: 0 0 20px 0px;
display: flex;
flex-wrap: wrap;
}
.item {
max-width: 270px;
min-height: 270px;
background-color: #FFF;
float: left;
margin: 7px;
position: relative;
box-shadow: 0px 4px 6px 0 rgba(0,0,0,0.5);
transition: 0.3s;
padding: 15px 15px 10px 5px;
}
.imgframe {
display: inline-block;
position: relative;
width: 70px;
height: 70px;
overflow: hidden;
border-radius: 5px;
background: #FFF;
/* float: right; */
-webkit-box-shadow: inset 2px 2px 3px 1px rgba(0,0,0,0.40);
-moz-box-shadow: inset 2px 2px 3px 1px rgba(0,0,0,0.40);
box-shadow: inset 2px 2px 3px 1px rgba(0,0,0,0.40);
}
.imgframe img {
width: 75%;
height: auto;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.item:hover {
box-shadow: 0 20px 20px 0 rgba(0,0,0,0.5);
}
.titlediv {
min-height: 70px;
display: block;
line-height: 1em;
margin: 1em;
}
.title {
font-size: 1em;
font-weight: 900;
color: #888;
}
.type {
font-size: 12px;
font-weight: 700;
margin-left: 10px;
padding: 5px 10px;
border-radius: 5px;
display: inline-block;
position: flex;
color: #FFF;
border:0px solid #fff;
background-color: #888;
}
.tag {
bottom: 15px;
position: absolute;
}
/* ##### Typografie ##### */
p {
margin: 10px 3px 3px 13px;
font-size: 13px;
color: #515A5A;
line-height: 18px;
}
/* ##### Filter ##### */
.filterDiv {
display: none;
}
.show {
display: flex;
}
.container-btn {
margin: 0 0 20px 25px;
display: flex;
flex-wrap: wrap;
}
.vl {
border-left: 1px solid lightgrey;
height: 30px;
margin: auto 20px;
}
/*top alert*/
.alert {
padding: 20px;
background-color: #f44336;
color: white;
opacity: 1;
transition: opacity 0.6s;
margin-bottom: 15px;
}
.alert.info {background-color: orange;}
.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
.closebtn:hover {
color: black;
}