JS-Tech/resj

View on GitHub
app/assets/stylesheets/pages/admin/cards/edit.scss

Summary

Maintainability
Test Coverage
@import "../../../global/variables";

.container-admin-cards-edit {
  div.special-actions {
    form {
      padding: 0;

      input[type="submit"] {
        align-self: flex-start;
      }

      details {
        font-size: 12px;
        color: #999999;
      }
    }

    p {
      padding: 20px 0;
    }

    a {
      border-width: 1px;
      border-style: solid;
      text-decoration: none;
      padding: 4px 12px;
      color: #000;
      border-color: #000;
      background-color: transparent;
      cursor: pointer;
      margin: 0 0 10px 0;

      &:hover {
        background-color: #000;
        color: white;
        transition: all 100ms;
      }
    }
  }

  div.map-location {
    p.title {
      font-weight: normal;
      font-size: 14px;
      padding: 0 0 0px 0;
      text-align: left;
    }

    p.hint {
      font-weight: normal;
      font-size: 12px;
      padding: 0 0 3px 0;
      color: #999999;
    }

    details {
      font-size: 12px;
      color: #999999;

      input {
        color: #999999;
        padding: 3px;
      }
    }

    #mapbox {
      width: 100%;
      height: 300px;
    }
  }

  @media only screen and (max-width: $mobile-width) {
    div.special-actions {
      padding: 0 $mobile-padding;
    }
  }
}