openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin_v3/components/sidebar.scss

Summary

Maintainability
Test Coverage
// Sidebar
//---------------------------------------------------
#sidebar {
  overflow: visible;
  border-top: 1px solid $color-border;
  margin-top: 17px;

  .sidebar-title {
    color: $red;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
    font-weight: 600;

    > span {
      display: inline;
      background: #fff;
      padding: 5px 10px;
      position: relative;
      top: -14px;

      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  }
}