min-width: 160px;
padding: 4px 0;
position: absolute;
+ text-align: left;
z-index: 350;
.boxShadow(2px, 2px, rgba(0, 0, 0, .2), 10px);
font-size: 50%;
top: -3px;
}
-
-
-/* todo */
-.dropdownMenu {
-display: none;
-}
\ No newline at end of file
/* user panel */
.userPanel {
background-color: @wcfUserPanelBackgroundColor;
- border-bottom: 1px solid rgba(0, 0, 0, .1); /* todo */
height: 40px;
left: 0;
position: fixed;
}
> .badge.badgeInverse {
- /* todo */
- background-color: rgb(204, 0, 0);
+ background-color: rgb(204, 0, 0); /* todo */
color: white;
padding: 0 6px 1px;
position: absolute;
> .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;
}
}
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');