Small basic style improvements
authorMarcel Werk <burntime@woltlab.com>
Mon, 1 Oct 2012 17:53:22 +0000 (19:53 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 1 Oct 2012 17:53:22 +0000 (19:53 +0200)
wcfsetup/install/files/style/dropdown.less
wcfsetup/install/files/style/global.less
wcfsetup/install/files/style/layout.less
wcfsetup/setup/db/install.sql

index 7301f9df1f63ae96e2f3a45219a7ad5ab31f6c9e..84f3b15f0a0d24a3a5c5734b518ad4173ef06ff7 100644 (file)
@@ -84,6 +84,7 @@
                min-width: 160px;
                padding: 4px 0;
                position: absolute;
+               text-align: left;
                z-index: 350;
                
                .boxShadow(2px, 2px, rgba(0, 0, 0, .2), 10px);
index 73660bfdba83e9317b1d514679fd92633664487e..a282125140042ddb82d9e516aea758478e8d8315 100644 (file)
@@ -227,9 +227,3 @@ fieldset > legend > .badge {
        font-size: 50%;
        top: -3px;
 }
-
-
-/* todo */
-.dropdownMenu {
-display: none;
-}
\ No newline at end of file
index 159bddc69d13b0cde9399f443e735f5d3f678472..f71a3563e81ed1b93e3b6e6b8573a654b101b677 100644 (file)
@@ -23,7 +23,6 @@
 /* user panel */
 .userPanel {
        background-color: @wcfUserPanelBackgroundColor;
-       border-bottom: 1px solid rgba(0, 0, 0, .1); /* todo */
        height: 40px;
        left: 0;
        position: fixed;
@@ -58,8 +57,7 @@
                                        }
                                        
                                        > .badge.badgeInverse {
-                                               /* todo */ 
-                                               background-color: rgb(204, 0, 0);
+                                               background-color: rgb(204, 0, 0); /* todo */ 
                                                color: white;
                                                padding: 0 6px 1px;
                                                position: absolute;
@@ -79,7 +77,7 @@
        
                > .searchBar {
                        float: right;
-                       padding: 7px 0;
+                       padding: 6px 0 7px;
                        background-color: @wcfUserPanelHoverBackgroundColor;
                        
                        > form input[type="search"] {
 }
 
 /* main menu */
-/* todo */
 .mainMenu {
        > ul {
                border-bottom: 1px solid @wcfContainerBorderColor;
                        background-color: @wcfMainMenuBackgroundColor;
                        float: left;
                        font-size: @wcfSubHeadlineFontSize;
-                       
                        margin-bottom: -1px;
                        
                        > a {
-                               color: @wcfPageColor;
+                               color: @wcfMainMenuColor;
                                display: inline-block;
                                padding: 11px 35px;
                                font-weight: bold;
                                
                                &:hover {
                                        border-bottom: 1px solid @wcfContainerBorderColor;
-                                       background-color: #f4f4f4;
+                                       background-color: @wcfMainMenuHoverBackgroundColor;
                                        text-decoration: none;
                                }
                        }
                        
                        &.active {
                                > a {
-                                       border-bottom: 1px solid #fff;
-                                       background-color: #fff;
-                                       color: #000;
+                                       border-bottom: 1px solid @wcfNavigationHeaderBackgroundColor;
+                                       background-color: @wcfNavigationHeaderBackgroundColor;
+                                       color: @wcfMainMenuActiveColor;
                                }
                        }
                        
index 9084ff845ceb40df7c27a648ab6478212aee29a4..f3ed4617eec6f8ef0a4d329c2b07acd3f72e192f 100644 (file)
@@ -1009,4 +1009,8 @@ INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfGapLarg
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfNavigationHeaderBackgroundColor', '@wcfContainerBackgroundColor');
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfNavigationFooterBackgroundColor', '@wcfSidebarBackgroundColor');
 INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfMainMenuBackgroundColor', '@wcfSidebarBackgroundColor');
-INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfUserPanelHoverBackgroundColor', '#3c3c3c');
\ No newline at end of file
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfUserPanelHoverBackgroundColor', '#3c3c3c');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfMainMenuHoverBackgroundColor', '@wcfContainerHoverBackgroundColor');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfMainMenuColor', '@wcfColor');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfMainMenuActiveColor', '#000');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfMarkedBackgroundColor', '#ffffc8');