// (C) Copyright 2011-2013 Hewlett-Packard Development Company, L.P.

#hp-visualizer {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  
  canvas {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    //z-index: -1;
  }
  
  .vis-set {
    position: absolute;
    padding: 5px;
    background-color: $primary-background;
    text-align: center;
    @include transition(bottom, 0.3s);
    
    label {
      display: block;
      max-width: 90px;
      color: $secondary-color;
    }
  }
  
  .vis-i {
    position: absolute;
    @include transitions(bottom, 0.5s, left, 0.5s);
  }
  
  &.dense {
    .vis-i {
      width: 14px;
      height: 14px;
      overflow: hidden;
      cursor: pointer;
      
      label {
        display: none;
      }
      
      a.hp-jump {
        display: none;
        position: relative;
        margin-left: 10px;
        top: 3px;
      }
      
      &:hover, &.hp-pinned {
        width: auto;
        height: auto;
        padding: 8px 10px;
        color: #000;
        margin-bottom: -8px; //-25px;
        margin-left: -10px;
        z-index: 10;
        
        .hp-status {
          top: 5px;
          display: inline-block;
        }
        
        label, a.hp-jump {
          display: inline-block;
        }
      }
      
      &.hp-pinned {
        background-color: $selected-background;
      }
      
      &:hover {
        background-color: $primary-hover-background;
      }
    }
  }
}