Skip to content
Snippets Groups Projects
Select Git revision
  • 65318fb4aa4f8e6919e9335095de8cc2cdc31e1a
  • develop default protected
2 results

_legend.scss

Blame
  • _legend.scss 738 B
    header {
      h2 {
        display: inline-block;
      }
    }
    
    .language-switch {
      background: transparent;
      border: 0;
      color: $color-black;
      float: right;
      margin: 20px 16px 0 0;
    
      option {
        background: $color-white;
      }
    }
    
    .legend {
      .symbol {
        border-radius: 50%;
        display: inline-block;
        height: 1em;
        vertical-align: -5%;
        width: 1em;
      }
    }
    
    // Dot looks compared to thin font a bit darker - lighten it 10%
    .legend-new {
      .symbol {
        background-color: lighten($color-new, 10%);
      }
    }
    
    .legend-online {
      .symbol {
        background-color: lighten($color-online, 10%);
      }
    }
    
    .legend-offline {
      .symbol {
        background-color: lighten($color-offline, 10%);
      }
    }
    
    .legend-online,
    .legend-offline {
      margin-left: 1em;
    }