Additional indicator for the active page menu
authorAlexander Ebert <ebert@woltlab.com>
Sat, 23 Apr 2022 18:15:28 +0000 (20:15 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 23 Apr 2022 18:15:28 +0000 (20:15 +0200)
wcfsetup/install/files/style/ui/pageMenu.scss

index 5227f11cbaa2553528b9b6152077c18367c8f1a0..f8e90c33e5651cd90aa9f8d43d5394d3e907f0e3 100644 (file)
                        display: none;
                }
        }
+
+       .mainMenu[aria-expanded="true"]::after,
+       .userPanel.userPanelLoggedIn[aria-expanded="true"]::after {
+               border: 8px solid transparent;
+               border-top-width: 0;
+               border-bottom-color: $wcfUserMenuBackground;
+               bottom: -5px;
+               content: "";
+               position: absolute;
+       }
+
+       .userPanel.userPanelLoggedIn[aria-expanded="true"]::after {
+               bottom: 0;
+       }
 }
 
 @include screen-sm-md {