anthonymidili/EasyKeep

View on GitHub
app/javascript/src/custom.scss

Summary

Maintainability
Test Coverage
.top-bar {
  a {
    color: $black;
    &:hover {
      color: $light-black;
    }
  }

  .top-bar-title {
    line-height: 40px;
    font-size: 30px;
  }
}

.center {
  text-align: center !important;
}

.prefix {
  z-index: 1;
}

i {
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
}

.total_amount {
  padding-top: 1em;
}

.large_red_text {
  color: red;
  font-size: 120%;
}

.red_text {
  color: red;
}

span.red_text {
  display: inline;
}

.green_text {
  color: #14b100;
}

.blue_text {
  color: #2171d3;
}

a.red_link {
  color: #f4361e;
  &:hover { color: #b52716; }
}

button.to_link {
  color: #2ba6cb;
  &:hover { color: #1779ba; }
}

ul.small-text {
  li {
    font-size: 70%;
  }
}

ul.no_bullets {
  list-style-type: none;
}

.user_status_button {
  width: 8em;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  margin: 0 !important;
}

.send_user_email_button {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  margin: 4px 0 7px 0 !important;
}

.disable_link {
  pointer-events: none;
  cursor: default;
}

.gray_text {
  color: #a9a9a9 !important;
}

.text_area_height {
  height: 2em !important;
}

.inventory_text_area_height {
  height: 11.55rem !important;
}

.pad-left {
  padding-left: 1em;
}

.pad-top {
  padding-top: 0.5em;
}

.pad-top-medium {
  padding-top: 0.8em;
}

span.italic_text {
  font-style: italic;
  display: inline;
}

.main_page_header {
  padding: 10px;
  margin: 15px 0 0 0;
  background-color: #008cba;
  color: white;
}

#tag_cloud {
  line-height: 1.6em;
  .s { font-size: 0.8em; }
  .m { font-size: 1.2em; }
  .l { font-size: 1.8em; }
}

.tiny_button_down {
  margin-top: 21px !important;
}

.small_button_down {
  margin-top: 14px !important;
  margin-bottom: 16px !important;
}

.down_to_text_field {
  margin-top: 27px;
}

.label_size {
  font-size: 0.875rem !important;
}

select[class^='picker__select'] {
  height: auto !important;
}

button[class^='picker__button'] {
  color: black !important;
}

.no_action_required_false, .no_action_required_false a {
  color: #f4361e;
  a { text-decoration: underline; }
  a:hover { color: #b52716; }
}

/* Anchor links render too high due to the fixed header.
Use a div before the anchor div on the same level to move anchor down on the page. */
.anchor {
  display: block;
  height: 45px; /*same height as header*/
  margin-top: -45px; /*same height as header*/
  visibility: hidden;
}

ul.inline-list {
  margin: 0px 0px 1.0625rem -1.375rem;
  list-style: none;
  overflow: hidden;
  padding: 0;
}

ul.inline-list > li {
  display: block;
  float: left;
  list-style: none;
  margin-left: 1.375rem;
}

.hidden {
  display: none;
}

/* Display Kaminari pagination links inline */
nav.pagination {
  span {
    display: inline-block;
  }
}