GeoNode/geonode-viewer

View on GitHub
src/css/app.css

Summary

Maintainability
Test Coverage
html {
  font-family: 'Roboto', sans-serif;
}
html, body {
  height: 100%;
  padding: 0;
  margin: 0;
}
/* Dead Simple Grid (c) 2015 Vladimir Agafonkin */
.row .row { margin:  0 -1.5em; }
.col      { padding: 0  0em; }

.row:after {
    content: "";
    clear: both;
    display: table;
}

@media only screen { .col {
    float: left;
    width: 100%;
    box-sizing: border-box;
}}
/* end Dead Simple Grid */
#map {
  width: 100%;
  height: 100%;
}
#content, #main {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
#zoom-buttons {
  margin-left: 20px;
  position: absolute;
  top: 20px;
}
#layerlist {
  position: absolute;
  right: 0px;
  top: 20px;
}
.layer-tree-panel {
  margin-right: 70px;
}
.layerlistbutton {
  position: absolute !important;
  right: 20px;
  top: 0px;
}
#rotate-button {
  top: 366px;
  left: 20px;
  position: absolute;
}
#home-button {
  margin-left: 20px;
  position: absolute;
  top: 134px;
}
#print-button {
  position: absolute;
  margin-left: 20px;
  top: 244px;
}
#save-button {
  position: absolute;
  margin-left: 20px;
  top: 310px;
}
#globe-button {
  position: absolute;
  margin-left: 20px;
  top: 189px;
}
.layer-switcher {
  top: 20px !important;
}
.layer-tree-panel {
  max-height: 94vh !important;
}
.map-url-wrapper {
    position: absolute;
  top: 0;
  width: 50%;
  left: 25%;
    height: 25px;
  text-align: center;
}
.map-url-wrapper.hide {
    display: none;
}
.map-url-wrapper a {
    padding: 10px;
    color: #fff;
    font-size: 0.8em;
}
#debug {
  position: absolute;
  top: 0;
  left: 25%;
  z-index: 10;
  background: rgba(204,204,204, 0.8);
  width: 50%;
  height: 30px;
  padding: 10px;
  text-align: center;
}
#debug label {
  margin-right: 10px;
}
#debug input {
  width: 50%;
}