Sha256: d030642e447ff2817c0da95bca00974dbada78c85212968263d330833cf2c3a9

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

/* Nested Form ------------------------------------------------------------- */
.view .nested-forms {
  & > .label { margin-bottom: .25em; }
  & > ul { margin: 0; padding: 0; }
  & > ul > li { list-style-type: none; margin-top: 1em; @include position(relative); border: 1px solid $neutralColor; }
  & > ul > li:first-child { margin-top: 0; }
  & > ul > li > .icon-reorder { left: 0; top: 1em; }
  & > ul li.reorderable { background-color: $white; }
  & > ul li.reorderable > .input-stacked:first-child { padding-left: 2.4em; }
}

.view .nested-form-new {
  color: $positiveColor; margin-top: .75em; display: inline-block; font-size: .9em;
  &:hover { opacity: .5; }
}

.view .nested-form-delete {
  @include position(absolute, .35em .3em null null); border-radius: 1em;
  @include hide-text; width: 1.5em; height: 1.5em;  background-color: rgba(0,0,0,.05);
  &:before { content: '\00d7'; color: $stableColor; line-height: 1.35em; width: 1.5em; text-align: center; }
  &:hover  { background-color: $positiveColor; &:before { color: $white; } }
}




Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
chr-0.2.8 app/assets/stylesheets/form/_input-form.scss
chr-0.2.7 app/assets/stylesheets/form/_input-form.scss
chr-0.2.5 app/assets/stylesheets/form/_input-form.scss
chr-0.2.4 app/assets/stylesheets/form/_input-form.scss
chr-0.2.1 app/assets/stylesheets/form/_nested_form.scss
chr-0.2.0 app/assets/stylesheets/form/_nested_form.scss
chr-0.1.5 app/assets/stylesheets/form/_nested_form.scss
chr-0.1.4 app/assets/stylesheets/form/_nested_form.scss