Sha256: 1adb23e4784ee11d18baa507fae1de4341ff5678cfff76bc51dcdab70467d1ef

Contents?: true

Size: 445 Bytes

Versions: 15

Compression:

Stored size: 445 Bytes

Contents

.nested_options{
  padding: 3px;
  font-size: 18px;
  font-family: Arial;
  border: 1px solid gray;

  option{
    color: black; padding: 3px;
    &.selected{ font-weight: bold; color: red; }
  }

  @for $i from 1 through 2{
    .l_#{$i}{
      padding-left: #{($i - 1)*15}px;
      font-size: #{(100 - $i * 10) + '%'};
    }
  }

  @for $i from 3 through 10{
    .l_#{$i}{
      padding-left: #{($i - 1)*15}px;
      font-size: 70%;
    }
  }
}

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
the_sortable_tree-2.6.1 app/assets/stylesheets/nested_options.scss
the_sortable_tree-2.6.0 app/assets/stylesheets/nested_options.scss
jquery_sortable_tree-3.1.2 app/assets/stylesheets/nested_options.css.scss
jquery_sortable_tree-3.1.1 app/assets/stylesheets/nested_options.css.scss
jquery_sortable_tree-3.1.0 app/assets/stylesheets/nested_options.css.scss
jquery_sortable_tree-3.0.0 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.5.0 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.4.0 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.3.3 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.3.2 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.3.1 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.3.0 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.2.1 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.2.0 app/assets/stylesheets/nested_options.css.scss
the_sortable_tree-2.1.0 app/assets/stylesheets/nested_options.css.scss