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

.hp-plot {
  .tickLabel {
    color: $secondary-color;
    font-size: 12px;
  }
  .x1Axis .tickLabel {
    padding-top: 5px;
  }
  .y1Axis .tickLabel {
    padding-right: 5px;
  }
  .y2Axis .tickLabel {
    padding-left: 5px;
  }
  
  .hp-flyout & {
    width: 300px;
    height: 200px;
  }
}

.hp-plot-legend {
  margin: 10px 0px;
  white-space: normal;
  
  table {
    thead th {
      background: none;
      border-left: none;
      padding: 2px 10px 2px 0px;
    }
  }
  tr {
    background: none;
    td {
      padding: 2px 10px 2px 0px;
      &.legendColorBox {
        padding-top: 4px;
        padding-right: 20px;
      }
      &.legendLabel {
        color: $secondary-color;
      }
    }
  }
  
  > li {
    margin-bottom: 5px;
    line-height: 16px;
    
    &:last-child {
      margin-bottom: 0px;
    }
    
    .hp-key {
      display: inline-block;
      
      .hp-color {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-right: 5px;
      }
    
      .hp-name {
        color: $secondary-color;
        padding-left: 0px;
        white-space: nowrap;
      }
    }
  
    .hp-current {
      display: inline-block;
      margin-left: 15px;
      
      .hp-value {
        display: inline-block;
        font-size: 16px;
        padding-right: 0px;
        min-width: 40px;
        text-align: right;
      }
  
      .hp-units {
        padding-left: 5px;
      }
    }
  }
}
