Sha256: 0a048c2b78365f76f982e3979e4cfee5cc4f494e8e9c620217b33a03d36ea65b

Contents?: true

Size: 1.38 KB

Versions: 7

Compression:

Stored size: 1.38 KB

Contents

@import "../helpers/index.scss";
@import "../dependency/bootstrap/scss/bootstrap";

@function size($size) {
  @return map-get($font-size, $size);
}

@function weight($weight) {
  @return map-get($font-weight, $weight);
}

.form-page {
  background-color: $white;
  &__header {
    @extend .position-sticky, .top-0, .bg-white;
    z-index: 5;
  }
  &__body {
    padding: 24px;
  }
  .form-container {
    margin-bottom: 24px;
    .form-title {
      @extend .h6, .fw-semibold;
      color: $primary-text-clr;
    }
    &__inner {
      @extend .card, .p-4;
      background-color: var(--bs-gray-100);
    }
  }
}

//form field styles
.form-field {
  @extend .mb-4;
}

.field-label {
  @extend .form-label;
}

.field-control {
  @extend .form-control;
}

//upload attachment style
.destroy-attachment {
  margin-top: 4px;
}

// Nested form styles
.nested-field-wrapper {
  .nested-single-field {
    display: grid;
    grid-template-columns: 1fr 32px;
    align-items: center;
    width: 352px;
    margin-bottom: 8px;
    .field-remove-action {
      font-size: $t3-text;
      text-align: center;
      a {
        color: $primary-text-clr;
        &:hover {
          color: $primary-text-clr;
        }
      }
    }
  }
}

//Nested form table styles
.nested-form-table {
  @extend .table, .table-light, .table-hover, .table-bordered;
  .item-delete-cell {
    vertical-align: middle;
    text-align: center;
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cm-admin-1.2.7 app/assets/stylesheets/cm_admin/base/form.scss
cm-admin-1.2.6 app/assets/stylesheets/cm_admin/base/form.scss
cm-admin-1.2.5 app/assets/stylesheets/cm_admin/base/form.scss
cm-admin-1.2.4 app/assets/stylesheets/cm_admin/base/form.scss
cm-admin-1.2.3 app/assets/stylesheets/cm_admin/base/form.scss
cm-admin-1.2.2 app/assets/stylesheets/cm_admin/base/form.scss
cm-admin-1.2.1 app/assets/stylesheets/cm_admin/base/form.scss