angular-pdok-geocoder
Version:
AngularJS Geocoding PDOK Geocoder
104 lines (91 loc) • 2.06 kB
CSS
.searchbar-container{
position: relative;
width:100%;
}
.searchbar-body {
height: 40px;
z-index: 1000;
background-color: #fff;
border-style: solid;
border-width: 1px;
border-color: #d3d3d3;
border-left: none;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 2px 2px 2px -2px gray;
-webkit-box-shadow: 2px 2px 2px -2px grey;
box-shadow: 2px 2px 2px -2px grey;
display: -webkit-box;
display: -webkit-flex;
display: flex;
width:100%;
}
.searchbar-body-input {
height: 100%;
padding-left: 15px;
}
.searchbar-body-input input {
width: 100%;
height: 37px;
border: none;
overflow: hidden;
outline: 0;
min-width: 183px;
}
#search-button, #clear-button{
position: absolute;
right: 40px;
top: 9px;
outline: 0;
cursor: pointer;
}
#clear-button{
right:15px;
}
.searchbar-resultlist {
max-height: 400px;
width: 100%;
margin-right: 80px;
overflow-y: auto;
z-index: 1000;
background-color: #fff;
border-width: 0px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 2px 2px 2px -2px gray;
-webkit-box-shadow: 2px 2px 2px -2px gray;
box-shadow: 2px 2px 2px -2px gray;
}
.searchbar-resultlist-results {
width: 100%;
cursor: pointer;
}
.searchbar-resultlist-results p {
margin: 0;
font-size: 12px;
padding: 10px;
border-bottom: 1px solid #efeaea;
-webkit-transition: background-color 100ms linear;
-ms-transition: background-color 100ms linear;
transition: background-color 100ms linear;
background: #fff;
}
.searchbar-resultlist-results:hover p {
border-bottom: 1px solid #ddd;
background: #f7f7f7;
}
.searchbar-resultlist-results.show-more {
color: #B5B5B5;
text-align: center;
}
.searchbar-resultlist-results:last-of-type {
border-bottom:none;
margin-bottom:0;
}
.searchbar-resultlist-ul {
list-style-type: none;
padding-left: 5px;
margin: 0;
}