/*
 * Copyright 2018 Tapio Aali
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@mixin addon-googlemap(){

  .googlemap img {
  	max-width: none;
  }

  .v-widget.googlemap {
  	min-height: 200px;
  }

  .gm-label .top-left {
      transform: translate(-100%, -100%);
      -ms-transform: translate(-100%, -100%);
  }

  .gm-label .top-center {
      transform: translate(-50%, -100%);
      -ms-transform: translate(-50%, -100%);
  }

  .gm-label .top-right {
      transform: translateY(-100%);
      -ms-transform: translateY(-100%);
  }

  .gm-label .middle-left {
      transform: translate(-100%, -50%);
      -ms-transform: translate(-100%, -50%);
  }

  .gm-label .middle-center {
      transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
  }

  .gm-label .middle-right {
      transform: translateY(-50%);
      -ms-transform: translateY(-50%);
  }

  .gm-label .bottom-left {
      transform: translateX(-100%);
      -ms-transform: translateX(-100%);
  }

  .gm-label .bottom-center {
      transform: translateX(-50%);
      -ms-transform: translateX(-50%);
  }

  .delete-vertex-overlay {
      position: absolute;
      background: white;
      padding: 3px;
      color: #666;
      font-weight: bold;
      border: 1px solid #999;
      font-family: sans-serif;
      font-size: 12px;
      box-shadow: 1px 3px 3px rgba(0, 0, 0, .3);
      margin-top: -10px;
      margin-left: 10px;
      cursor: pointer;
  }
  .delete-vertex-overlay:hover {
      background: #eee;
  }
}