Sha256: 91eee820c84de9c6c6b07673e47ad6d2e562af46afad6e358857c2b836249807

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

@import 'administrate/library/variables';
@import 'administrate/library/clearfix';
.container-flex{
  display: flex;
  flex-wrap: wrap;

}
.add_has_many{
  // position: absolute;
  // bottom: 0;
  // right: 0;
  // margin-bottom: 1rem;
}
// POSITION button

.add_has_many.div_button_add_line_items{
  position: absolute;
  bottom: -50px;
}
.add_has_many.div_button_add_working_zones{
  position: absolute;
  bottom: 0px;
  left: -30px;
}
div#button_remove_associated_WorkingZone {
    position: absolute;
    bottom: 0px;
    left: 110px;
}

.field-unit--nested{
  width: 100%;
  min-height: 100px;
  padding-bottom: 4rem;
}
.field-unit--nested-has-many {
  label {
    display: block;
    font-weight: 300;
    margin: 0;
    font-size: 12px;
  }
  legend > label{
    font-weight: 700!important;
    position: absolute!important;
    top: -10px!important;
    font-size: 1em;
  }

  .nested-fields {
    @include administrate-clearfix;
    width: 43%;
    border: 1px solid #a8a8a83d;
    border-radius: 6px;
    margin: 1rem;
    padding: 1rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    .working_zone_container, .line_item_container{
      .field-unit__label {
        width: calc(15% - 1rem);
      }
    }
    &.line_items{
      position: relative;
      min-height: 580px;
      padding: 0.7rem;
      margin: 0.2rem 0.5rem;
      width: 46%;
    }
  }

  .remove_fields, .add_fields {
    float: right;
  }
}

.executer-button{
  display: none;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
worker-field-nested_has_many-0.6.0 app/assets/stylesheets/administrate-field-nested_has_many/base.scss