Skip to content

Conversation

@ivan-nginx
Copy link
Member

@ivan-nginx ivan-nginx commented Mar 3, 2018

  1. Added dynamic sub-menu option in main menu option within hierarchy structure.
  2. Added select class in menu items for all possible sub-menu's (utils.js).
  3. Removed float: right menu style in Mist scheme for better sub-menu(s) alignment.

How to use?

menu:
  News: / || info-circle
  Docs:
    default: /docs/ || book
    Getting Started: /getting-started/ || flag
    Theme Settings: /theme-settings/ || star
    Third Party Services:
      default: /third-party-services/ || plug
      Algolia Search: /algolia-search/ || adn
    Tag Plugins: /tag-plugins/ || rocket
    Advanced Settings: /advanced-settings/ || rocket
    FAQ's: /faqs/ || life-ring
    Platforms: /platforms/ || retweet

How it looks?

Feature adapted for all schemes and, of course, needed to improve. For first release it looks like this:

Muse

image

Mist

image

Pisces

image

Gemini

image

Tests needed

Please, confirm this feature to insure there is no bugs.

1. Added dynamic sub-menu option in main `menu` option within hierarchy structure.
2. Added select class in menu items for all possible sub-menu's (utils.js).
3. Removed `float: right` menu style in Mist scheme for better sub-menu(s) alignment.
@sli1989
Copy link
Collaborator

sli1989 commented Mar 6, 2018

Works fine in NexT.Muse v6.0.5.
_20180306144431

@ivan-nginx ivan-nginx merged commit baac829 into master Mar 14, 2018
@ivan-nginx ivan-nginx deleted the sub-menu-feature branch March 14, 2018 05:16
tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants