$primary-color: darkblue;
$background-color: #c5cdcf;

// Chrome applies an 8px margin by default (gross).
body {
  margin: 0px;
  height: 180px;
  width: 680px;
  background-color: $background-color;
}
.toolbar {
  width: 100%;
  height: 30px;
  & .settings {
    float: right;
    padding: 5px;
  }
  background-color: $background-color;
}

.popupContainer {
  align-items: center;
  background-color: $background-color;
  border: 2px solid $primary-color;
  color: $primary-color;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;

  & ul {
    margin: 10px;
    height: 180px;
    overflow: auto;
    padding: 10px;
  }

  & li {
    display: inline-grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: auto 120px 45px 45px;
    border: 1px solid #fff;
    vertical-align: middle;
    margin: 5px 20px 5px 20px;

    & span.videoTitle {
      font-size: 15px;
      vertical-align: middle;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 360px;
      white-space: nowrap;
      text-align: center;
    }
    & span.detectionMethod {
      font-style: italic;
      font-size: 14px;
      vertical-align: middle;
      padding: 10px;
      text-align: center;
    }
    & span {
      padding: 10px;
      vertical-align: middle;
      line-height: 24px;
    }
  }
}

.toolbar a,
.popupContainer a {
  cursor: pointer;
  color: $primary-color;
  text-decoration: none;
  &:hover {
    text-decoration: none;
    color: #fff;
  }
  vertical-align: middle;
}
