flex: 0 0 auto;
> a {
+ background: $wcfHeaderMenuLinkBackground;
align-items: center;
color: $wcfHeaderMenuLink;
display: flex;
height: 50px;
- padding: 0 10px;
+ padding: 0 15px;
> span {
flex: 0 0 auto;
cursor: default;
}
- &.active > a {
- background: linear-gradient(to top, $wcfHeaderMenuBackground 0%, $wcfHeaderMenuBackgroundActive 50%);
- color: $wcfHeaderMenuLinkActive;
- }
-
+ &.active > a,
&:hover > a {
- background: $wcfHeaderMenuBackgroundActive;
+ background: $wcfHeaderMenuLinkBackgroundActive;
color: $wcfHeaderMenuLinkActive;
}
}
&:hover .boxMenuDepth1 {
visibility: visible;
}
+
+ > a {
+ &::after {
+ content: $fa-var-angle-down;
+ display: block;
+ font-family: 'FontAwesome';
+ font-size: 14px;
+ height: 24px;
+ line-height: 24px;
+ margin-left: 5px;
+ width: 10px;
+ }
+ }
}
.boxMenuDepth1 {
> a {
align-items: center;
+ background: $wcfHeaderMenuLinkBackground;
color: $wcfHeaderMenuLink;
display: flex;
flex: 0 0 auto;
height: 50px;
- padding: 0 10px;
+ padding: 0 15px;
position: relative;
/* set icon color */
}
&.dropdownOpen > a,
- &.open > a {
- background: linear-gradient(to top, $wcfHeaderMenuBackground 0%, $wcfHeaderMenuBackgroundActive 50%);
- color: $wcfHeaderMenuLinkActive;
- }
-
+ &.open > a,
&:hover > a {
- background: $wcfHeaderMenuBackgroundActive;
+ background: $wcfHeaderMenuLinkBackgroundActive;
color: $wcfHeaderMenuLinkActive;
}
}
&:hover::before {
- background-color: $wcfHeaderMenuBackgroundActive;
+ background-color: $wcfHeaderMenuLinkBackgroundActive;
color: $wcfHeaderMenuLinkActive;
}
}
}
.pageHeaderSearch {
- align-self: stretch;
- flex: 0 0 50px;
+ flex: 0 0 62px;
margin-bottom: 0;
margin-left: 10px;
order: 3;
.pageHeaderSearchLabel {
- background-color: $wcfHeaderMenuBackground;
- bottom: 0;
+ background: $wcfHeaderMenuLinkBackground;
color: $wcfHeaderMenuLink;
cursor: pointer;
display: block;
- position: absolute;
- top: 0;
- width: 50px;
+ height: 50px;
+ position: relative;
+ width: 62px;
&:hover {
- background: $wcfHeaderMenuBackgroundActive;
+ background: $wcfHeaderMenuLinkBackgroundActive;
color: $wcfHeaderMenuLinkActive;
}
font-size: 28px;
line-height: 32px;
position: absolute;
- right: 11px;
+ right: 18px;
top: 50%;
transform: translateY(-50%);
}
}
.pageHeaderSearchLabel {
- background: $wcfHeaderMenuBackgroundActive;
+ background: $wcfHeaderMenuLinkBackgroundActive;
color: $wcfHeaderMenuLinkActive;
}
}
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderLink', 'rgba(255, 255, 255, .8)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderLinkActive', 'rgba(255, 255, 255, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuBackground', 'rgba(44, 62, 80, 1)');
-INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuBackgroundActive', 'rgba(34, 49, 63, 1)');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuLinkBackground', 'rgba(39, 54, 68, 1)');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuLinkBackgroundActive', 'rgb(19, 34, 48, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuLink', 'rgba(255, 255, 255, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuLinkActive', 'rgba(255, 255, 255, 1)');
-INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuDropdownBackground', 'rgba(34, 49, 63, 1)');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuDropdownBackground', 'rgb(19, 34, 48, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuDropdownBackgroundActive', 'rgba(55, 73, 95, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuDropdownBorder', 'rgba(55, 73, 95, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderMenuDropdownLink', 'rgba(255, 255, 255, 1)');