From: Marcel Werk Date: Fri, 21 Jun 2013 16:54:09 +0000 (+0200) Subject: Small style optimization X-Git-Tag: 2.0.0_Beta_4~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=133a0cf15fe5b15ee81a72c53bdb708c0d347469;p=GitHub%2FWoltLab%2FWCF.git Small style optimization --- diff --git a/wcfsetup/install/files/acp/style/blueTemptation/individual.less b/wcfsetup/install/files/acp/style/blueTemptation/individual.less index e5838f983a..1048284342 100644 --- a/wcfsetup/install/files/acp/style/blueTemptation/individual.less +++ b/wcfsetup/install/files/acp/style/blueTemptation/individual.less @@ -21,6 +21,7 @@ body, .tabularBox, .dialogTitlebar { position: relative; .transition(color, .3s, ease); + .textShadow(@wcfPageBackgroundColor); &:hover { color: @wcfPageLinkHoverColor; diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 4c37f2e3aa..4659a77ee8 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -329,7 +329,9 @@ color: @wcfMainMenuColor; display: inline-block; padding: 9px 21px; - + + .textShadow(@wcfMainMenuBackgroundColor); + &:hover { color: @wcfMainMenuActiveColor; text-decoration: none; @@ -347,6 +349,8 @@ min-width: 80px; padding: 14px 21px 8px; text-align: center; + + .textShadow(@wcfNavigationHeaderBackgroundColor); } } diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index cca388c08f..12905005a4 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1652,6 +1652,8 @@ INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfDeleted INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfDeletedColor', 'rgba(204, 0, 0, 1)'); INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfDisabledBackgroundColor', 'rgba(238, 255, 238, 1)'); INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfDisabledColor', 'rgba(0, 153, 0, 1)'); +INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfTextShadowLightColor', 'rgba(255, 255, 255, .8)'); +INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfTextShadowDarkColor', 'rgba(0, 0, 0, .8)'); INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('useFluidLayout', '1'); INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('pageLogo', ''); INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('individualLess', '');