/*
 * Copyright 2016 Resin.io
 *
 * 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.
 */

.modal-tooltip-modal {
  max-width: 50%;

  .modal-header {
    border: none;

    .close {
      position: absolute;

      $modal-tooltip-close-position: 8px;
      right: -($modal-tooltip-close-position + 1px);
      top: -$modal-tooltip-close-position;

      background-color: $gray-dark;
      color: $gray-lighter;
      opacity: 1;
      font-weight: 200;
      font-size: 150%;
      padding: 0px 5px 3px;
      text-shadow: none;
      margin: 0;
      border-radius: 50%;
    }
  }

  .modal-content {
    height: auto;
    border-radius: 3px;
  }

  .modal-body {
    @extend .text-center;

    margin: 0px 15px 15px;
    color: $gray-darker;
    background-color: $gray-lighter;
    padding: 8px;
    overflow: hidden;
    word-wrap: break-word;
  }

}
