_broker-serarch.scss 1.73 KB
#searchForm {
  input {
    width: 70%;
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
    &[type="submit"] {
      width: auto;
    }
  }
  #radius_in_submit {
    display: block;
    float: none;
    margin-left: 20px;
    margin-top: -6px;
  }
}

#map_sidebar {
  div.results_entry {
    padding: 8px 0;
  }
  .location_name, .address {
    float: right;
    line-height: 18px;
  }
  .marker {
    margin-top: -30px;
    @media screen and (min-width: $bp-large) {
      margin-top: -10px;
    }
  }
}

$map-border: #2c9dd7;

#page-content div#map {
  opacity: 0;
  margin-top: 0;
  width: 315px;
  height: 300px;
  border: 5px solid $map-border;
  margin-left: -8px;
  //overflow: visible !important;
  -webkit-backface-visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: -1;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  .close-map {
    position: absolute;
    left: 0;
    top: -5px;
    width: 28px;
    height: 32px;
    color: white;
    font-family: Impact;
    background: url(../images/arrow.png) no-repeat center center $map-border;
    @media (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 2.6/2), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx) {
      background: url(../images/arrow@2x.png) no-repeat center center $map-border;
      background-size: 28px 28px;
    }
  }
  @media screen and (min-width: $bp-middle) {
    width: 224px;
    height: 207px;
    margin-left: 0;
    overflow: hidden !important;
    border: none;
    .close-map {
      display: none;
    }
  }
  @media screen and (min-width: $bp-large) {
    width: 324px;
    height: 300px;
    margin-left: 0;
    overflow: hidden !important;
    border: none;
  }
}