smc/grandham

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

Summary

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


.admin-widget {
  display: block;
  padding: 4px;
  line-height: 26px;
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;

  height: 250px;

  & .caption{
    margin-left: 10px;
  }

  & .status{
    margin-left: 30px;
  }

  & .value-books {
    font-size: 100px;
    text-align: center;
    margin-top: 80px;
  }

  & .value {
    font-size: 160px;
    text-align: center;
    margin-top: 80px;

    & a {
      text-decoration: none;
    }
  }
}


.admin-widget.large {
  height: 280px !important;
}