Skip to content
Snippets Groups Projects

Implement basic site menu

Merged Martyn Welch requested to merge wip/martyn/T7416-basic-sidebar into master
1 unresolved thread

It has been communicated to us that the menu on the left hand side of the designs.apertis.org site is missed when looking for documents on the website. Implement a basic site menu in a sidebar to get feedback.

Signed-off-by: Martyn Welch martyn.welch@collabora.com

Merge request reports

Pipeline #158069 passed

Pipeline passed for 3bbaeacd on wip/martyn/T7416-basic-sidebar

Approval is optional

Merged by Peter Senna TschudinPeter Senna Tschudin 4 years ago (Sep 25, 2020 10:18am UTC)

Merge details

  • Changes merged into master with 3bbaeacd.
  • Deleted the source branch.

Pipeline #158094 passed

Pipeline passed for 3bbaeacd on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Emanuele Aina
  • Martyn Welch added 1 commit

    added 1 commit

    Compare with previous version

  • Martyn Welch added 1 commit

    added 1 commit

    Compare with previous version

  • Martyn Welch resolved all threads

    resolved all threads

  • Martyn Welch added 1 commit

    added 1 commit

    Compare with previous version

  • Emanuele Aina
  • Emanuele Aina
    Emanuele Aina @em started a thread on the diff
  • 2 2 <script>
    3 3 anchors.add('h1,h2,h3,h4,h5,h6').remove('.page-heading > h1');
    4 4 </script>
    5
    6 <script>
    7 function toggleSidebar(item) {
    8 $('#site-sidebar').toggleClass('sidebar-hidden');
    9 if ($('#site-sidebar').width() != 300) {
    • Alternatively: set sidebar-hidden on the body, drop this block and then add this CSS:

      .sidebar-hidden a.navbar-brand.navbar-sitebar {
         transform: rotate(180deg);
      }
      Edited by Emanuele Aina
    • I've not got this bit working - it's not being inherited as the .sitebar-hidden class doesn't get applied to the link. If I give the link the site-sitebar ID it still doesn't seem to get inherited, though I can see the .sitebar-hidden class being applied. The link also gains visibility: hidden, which we don't want...

      Edited by Martyn Welch
    • Please register or sign in to reply
    Please register or sign in to reply
    Loading