From 133a0cf15fe5b15ee81a72c53bdb708c0d347469 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 21 Jun 2013 18:54:09 +0200 Subject: [PATCH] Small style optimization --- .../install/files/acp/style/blueTemptation/individual.less | 1 + wcfsetup/install/files/style/layout.less | 6 +++++- wcfsetup/setup/db/install.sql | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) 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', ''); -- 2.20.1