Sha256: 14522f41b5ab3e985c9d64c752bf90c4a9d0b26e73b43a19e71ac80145b94995

Contents?: true

Size: 1.35 KB

Versions: 9

Compression:

Stored size: 1.35 KB

Contents

.effective-menu.dragging {
  > .actions {
    .remove-item { display: inline-block; }
  }
}

.effective-menu {
  position: relative;

  border: 1px dotted #4195fc; // Match the effective_regions editable border color

  min-width: 30px; // What to do with an empty menu...
  min-height: 30px;

  li.divider { min-height: 4px; min-width: 4px; }
  .menu-item { display: none; } // under each li, Contains the form controls. Nothing to view here

  // Sub-level placeholder
  li.placeholder {
    position: relative;

    &:before {
      position: absolute;
      content: "";
      height: 0px;
      width: 0px;
      left: 2px; // Was -5px;
      top: -4px;
      margin-top: -5px;
      border-left: 5px solid red;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-right: none;
    }
  }

  // Top level placeholder
  > li.placeholder {
    &:before {
      top: 7px;

      margin-top: -6px;
      border-left: 5px solid transparent;
      border-top: 5px solid red;
      border-bottom: none;
      border-right: 5px solid transparent;
      z-index: 5;
    }
  }

  > .actions {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;

    .add-item { display: none; }  // Bootstrap3 glyphicon
    .remove-item { display: none; } // Bootstrap3 glyphicon

    .large { font-size: 20px; }
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_ckeditor-1.7.11 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.10 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.9 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.8 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.7 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.6 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.5 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.4 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss
effective_ckeditor-1.7.3 app/assets/stylesheets/effective_ckeditor/plugins/effective_menus.scss