Sha256: fc2859b1e6ac3d1b17e53f36345bc7be1d01e090ad049b349d9797552d19250d

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

body.active_admin {
  .filter_form {
    input {
      font-size: 1.4rem;
    }
  }

  .formtastic {
    padding: 2rem;

    fieldset {
      border: none;
      margin: 0;
      padding: 0;
    }

    .actions ol, .inputs ol {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }

    .actions {
      margin: 3rem 0 0.5rem 0 !important;

      a {
        @extend .btn;
      }

      li {
        display: inline-block;
        margin-right: 1rem;
      }

      .cancel >a {
        @extend .grey;
      }
    }

    .button {
      @extend .btn;
    }

    .datetime_select {
      .fragments {
        padding-bottom: 0;
      }

      .fragments-group {
        @extend .row;
      }

      .fragment {
        @extend .col, .s4;
      }
    }

    .field_with_errors {
      >input {
        border-bottom: 1px solid color('materialize-red', 'base');
      }

      >label {
        color: color('materialize-red', 'base');
      }
    }

    .inline-errors {
      color: color('materialize-red', 'base');
      margin: 0;
    }

    >.inputs {
      position: relative;
      margin-bottom: 3rem;

      >legend {
        display: block;
        font-size: 2.2rem;
      }
    }

    .input-field {
      margin-top: 3rem;

      &.boolean > label {
        position: relative;
      }

      &.file, &.select {
        >label {
          margin-top: -3rem;
        }
      }

      label {
        font-size: 1.2rem;
      }

      input, textarea {
        font-size: 1.4rem;
      }
    }

    .has_many_container {
      @extend .z-depth-1;

      margin: 1.4rem -0.7rem 0 -0.8rem;
      padding: 2rem;
      position: relative;

      >h3 {
        font-size: 2.2rem;
        margin: 0.4rem 0 0 0;
      }

      >.has_many_add {
        background-color: color('cyan', 'base');
        margin-top: 0.4rem;
      }

      .has_many_remove {
        background-color: color('materialize-red', 'base');
      }

      >.inputs {
        margin-bottom: 2rem;
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin_materialize_theme-0.2.1 app/assets/stylesheets/activeadmin_materialize_theme/components/form.scss
activeadmin_materialize_theme-0.2.0 app/assets/stylesheets/activeadmin_materialize_theme/components/form.scss