Sha256: 7c6fb7b4378c3e9b4a82ebb78fe33928763e49a978507349704421a9a2c14314

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

.button, [type="submit"] {
  @extend .btn;
}

.field-unit--boolean [type="checkbox"] {
  opacity: initial;
  pointer-events: initial;
  position: initial;
}

.field-unit__label >label {
  display: inline-block;
  font-weight: normal;
  vertical-align: super;
}

.field-unit--belongs-to input.select-dropdown, .field-unit--has-many input.select-dropdown {
  display: none;
}

.field-unit--nested {
  @extend .card;

  margin: 0 auto;
}

.field-unit--text textarea {
  min-height: 10rem;
}

.timepicker {
  .btn {
    @extend .btn-flat;
  }

  .glyphicon {
    margin-bottom: 0;
    margin-top: -12px;

    &:hover {
      background: transparent;
    }
  }
}

#error_explanation {
  @extend .card;

  margin-bottom: 3rem;

  h2 {
    @extend h6;
    @extend .center-align;

    background: lighten($primary-color, 33%);
    margin: 0;
    padding: 1rem 0 0.6rem 0;
  }

  ul {
    @extend .collection;

    margin-top: 0;
  }

  li {
    @extend .collection-item;

    color: $error-color;
  }
}

@media #{$small-and-down} {
  .field-unit {
    display: block;
  }

  .field-unit__label, .field-unit__field {
    float: initial;
    margin-left: 0;
    max-width: initial;
    text-align: left;
    width: 100%;
  }

  .field-unit__label >label {
    vertical-align: initial;
  }

  .main-content__header {
    display: block;
    text-align: center;

    h1 {
      margin-bottom: 1rem;
    }

    .button {
      transform: scale(0.8);
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
administrate-materialize-theme-0.2.2 app/assets/stylesheets/administrate-materialize-theme/form.scss
administrate-materialize-theme-0.2.0 app/assets/stylesheets/administrate-materialize-theme/form.scss
administrate-materialize-theme-0.1.4 app/assets/stylesheets/administrate-materialize-theme/form.scss