webdestroya/sourcemod-translator

View on GitHub
app/assets/stylesheets/users.css.scss

Summary

Maintainability
Test Coverage
// Place all the styles related to the users controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

.leaderboard {

  h4 {
    margin-top:0;
    margin-bottom:4px;
  }

  h3 {
    margin-bottom:5px;
  }

  ol.leader-list {
    li {
      strong {
        width:32px;
        display:inline-block;
        text-align:right;
        margin-right:4px;
      }
      span {
        color:#999;
      }
    }
  }


} // leaderboard


ul.providers {
  div.thumbnail {
    h3 {
      text-align:center;
    }
  }
}

div.user-flair {
  width:185px;
  height:32px;
  margin-top:0;
  padding:2px;

  h4 {
    font-size:100%;
    margin:0;
    line-height:1em;
    height:1.2em;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    a {
      color: inherit;
      &:hover {
        color: #08c;
        text-decoration: none;
      }
    }
  }
  p {
    margin:0;
    line-height:1em;
    height:1em;
    strong {
      margin-right:1ex;
    }
    span {
      color:#666;
    }
  }
  a.pull-left {
    width:32px;
    height:32px;
    overflow:hidden;
    margin-right:5px;
  }
}
div.user-flair.gray {
  background-color: #F7F7F9;
  border: 1px solid #E1E1E8;
}