/*
 * Copyright (c) 2018 Eclipse Foundation, Inc.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 * 
 * Contributors:
 *   Christopher Guindon <chris.guindon@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

// Eclipse Marketplace Drag-and-Drop styles
// author: Christopher Guindon <chris.guindon@eclipse-foundation.org>

.drag_installbutton {
  position: relative;
  clear: both;
  display: inline;
  .tooltip {
    opacity: 1;
    display: none;
    background: url("../../images/components/drag-drop/mpcdrag.png") no-repeat scroll 110% 60% #a285c5;
    position: absolute;
    top: 0;
    left: 64px;
    text-align: left;
    width: 325px;
    color: #000;
    border: 1px solid #ae00ce;
    z-index: 99;
    padding: 5px 50px 5px 5px;
    h3 {
      margin-top: 0;
      color: #000;
    }

    &.show-right {
      left: -335px;
    }
  }

  a.drag:hover .tooltip {
    display: block;
  }

  &.drag_installbutton_v2 {
    .btn:hover {
      cursor: move;
    }

    .tooltip {
      left: 100px;
      margin-top: -6px;
      &.tooltip-below-right{
        right:0;
        left:auto;
        top:40px;
      }
      border: 1px solid @gray-light;
      background-color: @gray-lighter;
      h3 {
        font-size: 18px;
      }
    }
  }
}

