Slightly improved CSS to avoid !important
authorAlexander Ebert <ebert@woltlab.com>
Sat, 23 Jan 2016 10:27:03 +0000 (11:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 23 Jan 2016 10:27:03 +0000 (11:27 +0100)
wcfsetup/install/files/acp/style/mainMenu.scss
wcfsetup/install/files/style/layout/pageHeader.scss

index 5f96943d8d700cfcecec97a6c9af5d8ad8060e53..9d3237b625aa977664f9419f3d9a6438166224d2 100644 (file)
@@ -27,7 +27,6 @@
 .boxMenuDepth1 > li > span {
        color: $wcfTabularBoxHeadline;
        cursor: default;
-       font-weight: 600 !important;
        
        @extend .wcfFontBold;
 }
@@ -52,8 +51,6 @@
                padding: 5px 10px;
                white-space: nowrap;
                
-               @extend .wcfFontDefault;
-               
                &:first-child {
                        flex: 1 1 auto;
                        padding: 5px 20px 5px 40px;
index 2abef8151f810e89c8ad1f8afe731b90ad9db9db..ab7bb640434e2143c1e43227a6b41588a140e579 100644 (file)
                .boxMenuDepth1 {
                        background-color: $wcfHeaderMenuDropdownBackground;
                        border-bottom: 1px solid $wcfHeaderMenuDropdownBorder;
+                       box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .2);
                        padding: 3px 0;
                        position: absolute;
                        visibility: hidden;
                        background-clip: padding-box;
                        border-top: 3px solid transparent;
                        
-                       @include boxShadow(2px, 2px, rgba(0, 0, 0, .2), 10px);
+                       @extend .wcfFontDefault;
                        
                        > li {
                                > a {
                                        display: block;
                                        padding: 5px 20px;
                                        white-space: nowrap;
-                                       
-                                       @extend .wcfFontDefault;
                                }
                                
                                &.active > a,
                                display: block;
                                padding: 5px 20px 5px 40px;
                                white-space: nowrap;
-                               
-                               @extend .wcfFontDefault;
                        }
                        
                        &.active > a,