.db-dygraphs {
  width: 100%;
  height: 100%;

  & .dygraph-axis-label {
    font-size: 12px;
  }

  & .dygraph-ylabel {
    font-size: 16px;
  }

  & .dygraph-title {
    font-size: 16px;
    font-weight: normal;
    text-align: left;
  }

  & .dygraph-legend {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 4px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    pointer-events: none;
    min-width: 250px;
    max-width: 600px;
    width: fit-content;
    font-size: 12px;
    position: relative;
  }
}

.db-dark {
  & .db-dygraphs {
    & .dygraph-legend {
      color: #e0e0e0;
      background-color: rgba(69, 90, 100, 0.5);
      padding: 4px;
      border: 1px solid #263238;
      border-radius: 2px;
      pointer-events: none;
      min-width: 250px;
      max-width: 600px;
      width: fit-content;
      font-size: 12px;
      position: relative;
    }
  }
}
