omegahm/beerclub

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

Summary

Maintainability
Test Coverage
/*
 *= require_self
 */

/* Sticky footer styles
-------------------------------------------------- */

html, body {
  height: 100%;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 60px;
  background-color: #f5f5f5;
}

@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Custom page CSS
-------------------------------------------------- */
#wrap > .container {
  padding: 60px 15px 0;
}

.container .credit {
  margin: 20px 0;
  text-align: right;
}

.resize-graph {

}

/* Table CSS
-------------------------------------------------- */
.positive {
  color: green;
}

.negative {
  color: red;
}

.table-home .old-user {
  &, td {
    background-color: beige !important;
    display: none;
  }
}

.show-old-users, .hide-old-users, .graph {
  color: white;
  &:hover {
    cursor: pointer;
    text-decoration: none;
  }
}