Codeminer42/cm42-central

View on GitHub
app/assets/stylesheets/_form.scss

Summary

Maintainability
Test Coverage
@import "variables";

.form {
  &-error {
    width: 450px;
    border: 2px solid $darkred;
    padding: 7px;
    padding-bottom: 0;
    margin-bottom: 20px;
    background-color: $lightgrey-10;

    &-title {
      text-align: left;
      font-weight: bold;
      padding: 5px 5px 5px 15px;
      font-size: 12px;
      margin: -7px;
      margin-bottom: 0px;
      background-color: $darkred;
      color: $white;
    }

    &-list-item {
      font-size: 12px;
      list-style: square;
    }
  }
}

.date-form-group .auth-form-control {
  display: inline;
  width: auto;
}

.btn-square {
  border-radius: 0;
}

.btn-form {
  @extend .btn-square;
  font-size: 14px;
  padding: 7px 20px;
}

.delete-btn {
  margin-left: 5px;
  color: $link-primary;
  text-decoration: none;

  &:hover, &:focus {
    color: $link-hover;
    cursor: pointer;
    text-decoration: underline;
    outline: 0;
  }
}

.delete-note {
  background: transparent;
  border: none;
  margin-left: 0;
  padding: 0;
}

.locate-btn {
  @extend input;
  border-color: #ccc !important;
}