these-3-words/static/css/style.css

51 lines
855 B
CSS
Raw Permalink Normal View History

/** CSS for These3Words
* Some more information here.
* Or remove comment anyway because it's obvious.
*/
html,
body,
#map-canvas {
height: 100%;
margin: 0;
padding: 0;
}
2014-11-18 10:56:39 +00:00
.controls {
2014-11-18 13:35:16 +00:00
margin: 16px;
2014-11-18 10:56:39 +00:00
border: 1px solid transparent;
border-radius: 2px 0 0 2px;
box-sizing: border-box;
-moz-box-sizing: border-box;
height: 32px;
outline: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#pac-input {
background-color: #fff;
padding: 0 11px 0 13px;
width: 400px;
font-family: Roboto;
font-size: 15px;
font-weight: 300;
text-overflow: ellipsis;
}
#pac-input:focus {
border-color: #4d90fe;
2014-11-18 13:38:55 +00:00
margin-left: 15px;
2014-11-18 10:56:39 +00:00
padding-left: 14px; /* Regular padding-left + 1. */
width: 401px;
}
2014-11-18 13:35:16 +00:00
@media (max-width: 800px) {
.controls {
margin: 0;
}
#pac-input,
#pac-input:focus {
width: 100%;
2014-11-23 11:22:58 +00:00
margin: 0;
2014-11-18 13:35:16 +00:00
}
}