Sha256: 55eaa950e49bfe772d019fc007abcf9349bce0e8ea5f40360341f4c515735656

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 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($error-color, 20%);
    margin: 0;
    padding: 1rem 0 0.6rem 0;
  }

  li {
    @extend .collection-item;

    color: $error-color;
    display: inline-block;
  }

  ul {
    @extend .collection;

    margin-top: 0;
    text-align: center;
  }
}

@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

2 entries across 2 versions & 1 rubygems

Version Path
administrate-materialize-theme-1.0.0 app/assets/stylesheets/administrate-materialize-theme/form.scss
administrate-materialize-theme-0.2.4 app/assets/stylesheets/administrate-materialize-theme/form.scss