cantino/huginn

View on GitHub
app/assets/stylesheets/agent_views/peak_detector_agent/show.scss

Summary

Maintainability
Test Coverage
.show-view.peak-detector-agent,
.show-view.twitter-stream-agent {
  .rickshaw_annotation_timeline {
    left: 60px;
    width: 700px;
  }

  .filter-group {
    margin-bottom: 20px;

    &.tweets {
      border-left: 5px solid #eee;
      padding-left: 10px;
    }

    .filter {
      font-weight: bold;
      margin: 10px 0;
    }

    .tweet {
      margin-bottom: 10px;
    }

    .chart-container {
      position: relative;
      font-family: Arial, Helvetica, sans-serif;

      .chart {
        position: relative;
        left: 60px;
        overflow: hidden;
        width: 700px;
      }

      .summary-statistic {
        stroke-width: 2;
        stroke: #000;
        stroke-dasharray: 9, 5;

        &.mean {
          stroke-opacity: 0.4;
          stroke-dasharray: none;
        }

        &.one-std {
          stroke-opacity: 0.3;
        }

        &.two-std {
          stroke-opacity: 0.2;
        }

        &.three-std {
          stroke-opacity: 0.1;
        }
      }

      .y-axis {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 60px;
      }
    }
  }
}