Nominatim/website/css/search.css

155 lines
2.0 KiB
CSS
Raw Normal View History

2015-08-23 01:08:40 +03:00
header {
/*position: fixed;*/
width: 100%;
padding: 15px;
z-index: 5;
}
2015-08-23 01:08:40 +03:00
header .brand {
white-space: nowrap;
}
2015-08-23 01:08:40 +03:00
header .brand a:hover{
text-decoration: none;
}
2015-08-23 01:08:40 +03:00
header .brand h1 {
display: inline;
font-size: 1.5em;
color: #333;
}
2015-08-23 01:08:40 +03:00
header .brand > img {
display: inline-block;
margin-right: 5px;
margin-top: -5px;
}
2015-08-23 01:08:40 +03:00
header #last-updated {
font-size: 0.7em;
white-space: nowrap;
text-align: center;
}
2015-08-23 01:08:40 +03:00
form {
width: 100%;
padding: 1em 15px;
}
form #q {
min-width: 500px;
}
2015-08-23 01:08:40 +03:00
form .checkbox-inline {
margin-left: 10px;
}
2015-08-23 01:08:40 +03:00
form label {
font-weight: normal;
}
.sidebar {
width: 25%;
padding: 10px;
padding-top: 0;
display: inline-block;
float: left;
}
2015-08-23 01:08:40 +03:00
#map-wrapper {
position: relative;
min-height: 700px;
width: 75%;
padding-right: 20px;
display: inline-block;
float: left;
}
2015-08-23 01:08:40 +03:00
#map {
height: 100%;
background:#eee;
}
#map-position {
position: absolute;
top: 0;
right: 20px;
padding: 0 5px;
color: #333;
font-size: 11px;
background-color: rgba(255, 255, 255, 0.7);
z-index: 100;
}
.result {
2015-08-23 01:08:40 +03:00
font-size: 0.8em;
margin: 5px;
margin-top:0px;
padding: 4px 8px;
border-radius: 2px;
background:#F0F7FF;
border: 2px solid #D7E7FF;
cursor:pointer;
2015-08-23 01:08:40 +03:00
min-height: 5em;
}
2015-08-23 01:08:40 +03:00
.result.highlight {
background-color: #D9E7F7;
border-color: #9DB9E4;
}
2015-08-23 01:08:40 +03:00
.result.highlight .details {
margin: 10px auto;
display: block;
max-width: 10em;
}
2015-08-23 01:08:40 +03:00
.result img{
float: right;
}
.result .type{
2015-08-23 01:08:40 +03:00
color: gray;
font-size: 0.8em;
}
2015-08-23 01:08:40 +03:00
.result .details {
display: none;
}
.noresults{
2015-08-23 01:08:40 +03:00
text-align: center;
padding: 1em;
}
2015-08-23 01:08:40 +03:00
.more{
text-align:center;
2015-08-23 01:08:40 +03:00
margin-top: 1em;
}
2015-08-23 01:08:40 +03:00
footer {
text-align: center;
padding: 2em 0;
font-size: 0.8em;
clear: both;
color: #333;
}
2015-08-23 01:08:40 +03:00
footer p {
margin: 1em;
}
2015-08-23 01:08:40 +03:00
@media (max-width: 768px) {
#content {
top: 0;
position: relative;
}
#map-wrapper {
width: 100%;
max-height: 300px;
padding: 20px;
}
#map-position {
top: 20px;
right: 20px;
}
.sidebar {
width: 100%;
}
}