gof
Version:
An extreme fast and highly scalable Firebase geo-query library.
147 lines (128 loc) • 2.4 kB
CSS
body {
margin: 0;
padding: 0;
}
header {
width: 100%;
background: #ffffff;
position: fixed;
z-index: 1;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
height: 80px;
text-align: center;
}
header img {
padding-top: 13px;
height: 54px;
}
.content {
width: 100%;
}
.content .filter {
width: calc(60% - 40px);
padding: 30px;
float: left;
margin-top: 80px;
position: fixed;
background: #ffffff;
}
.content .filter #category, .content .filter #searchTextField {
width: 260px;
float: left;
height: 44px;
border-radius: 0;
-webkit-appearance: none;
outline: 0px inset black;
border: 1px solid rgb(166, 166, 166);
color: #686868;
}
.content .filter #searchTextField {
padding-left: 10px;
width: 260px;
margin-right: 30px;
float: left;
height: 40px;
font-size: 13px;
}
.content .filter .category-wrapper {
display: block;
width: 260px;
float: left;
font-size: 13px;
background: rgb(255, 255, 255);
position: relative;
}
.content .filter .category-wrapper .arrow {
position: absolute;
top: 10px;
right: 8px;
width: 25px;
height: 25px;
pointer-events: none;
background: url(https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-128.png);
background-size: 25px;
}
.content .filter #category {
width: 260px;
float: left;
background: #ffffff;
font-size: 13px;
padding: 0 15px;
}
.content #events {
float: left;
margin-top: 180px;
padding: 0 30px;
width: calc(100% - 60px);
}
.content .events-wrapper {
width: 60%;
float: left;
}
.content #events div {
width: calc(50% - 10px);
float: left;
margin-bottom: 25px;
}
.content #events div:nth-child(odd) {
padding-right: 10px;
}
.content #events div:nth-child(even) {
padding-left: 10px;
}
.content #events div li {
height: 300px;
width: 100%px;
overflow: hidden;
list-style-type: none;
}
.content #events div li img {
height: auto;
width: 100%;
cursor: pointer;
}
.content #events div h2 {
font-family: helvetica;
font-weight: 400;
font-size: 17px;
margin-bottom: 0;
cursor: pointer;
}
.content #events div p {
margin-top: 5px;
font-family: helvetica;
font-size: 15px;
font-weight: 100;
cursor: pointer;
}
.content .map-wrapper {
width: 40%;
position: fixed;
height: calc(100% - 80px);
right: 0;
top: 80px;
}
.content .map-wrapper #map {
height: 100%;
width: 100%;
}