From 139b65dd4569e3a47e513e62be9fac8bb94b5df6 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 22 Feb 2013 09:06:07 +0530 Subject: [PATCH] add OxSpecialLink CSS --- source/Ox.UI/css/Ox.UI.css | 4 ++++ source/Ox.UI/css/theme.css | 12 ++++++++++++ source/Ox.UI/themes/aqua/json/theme.jsonc | 4 ++++ source/Ox.UI/themes/oxdark/json/theme.jsonc | 4 ++++ source/Ox.UI/themes/oxlight/json/theme.jsonc | 4 ++++ source/Ox.UI/themes/oxmedium/json/theme.jsonc | 4 ++++ 6 files changed, 32 insertions(+) diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index 6d1a15cc..69e51158 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -2671,6 +2671,10 @@ Miscellaneous padding: 0; } +.OxSpecialLink:hover { + text-decoration: none; +} + .OxText { //line-height: 15px; } diff --git a/source/Ox.UI/css/theme.css b/source/Ox.UI/css/theme.css index 73947edc..1b86b231 100644 --- a/source/Ox.UI/css/theme.css +++ b/source/Ox.UI/css/theme.css @@ -22,6 +22,18 @@ body.$themeClass:-webkit-full-screen { background-image: -webkit-linear-gradient(top, $bodyHighlightGradient); color: $bodyHighlightColor; } +.$themeClass .OxSpecialLink { + background-image: -moz-linear-gradient(top, $bodySpecialLinkGradient); + background-image: -o-linear-gradient(top, $bodySpecialLinkGradient); + background-image: -webkit-linear-gradient(top, $bodySpecialLinkGradient); + color: $bodySpecialLinkColor; +} +.$themeClass .OxSpecialLink.OxActive { + background-image: -moz-linear-gradient(top, $bodySpecialLinkActiveGradient); + background-image: -o-linear-gradient(top, $bodySpecialLinkActiveGradient); + background-image: -webkit-linear-gradient(top, $bodySpecialLinkActiveGradient); + color: $bodySpecialLinkActiveColor; +} .$themeClass .OxBright { color: $bodyBrightColor; } diff --git a/source/Ox.UI/themes/aqua/json/theme.jsonc b/source/Ox.UI/themes/aqua/json/theme.jsonc index ba105fd9..e21728e7 100644 --- a/source/Ox.UI/themes/aqua/json/theme.jsonc +++ b/source/Ox.UI/themes/aqua/json/theme.jsonc @@ -18,6 +18,10 @@ "bodyFocusSelectedLightColor": [192, 192, 192], "bodySelectedLightColor": [128, 128, 128], "bodyLinkColor": [64, 128, 192], + "bodySpecialLinkColor": [0, 0, 128], + "bodySpecialLinkGradient": [[192, 192, 255], [192, 192, 255]], + "bodySpecialLinkActiveColor": [0, 0, 64], + "bodySpecialLinkActiveGradient": [[128, 128, 255], [128, 128, 255]], "bodyReflectionGradient": [[240, 240, 240, 0.75], [240, 240, 240, 1]], "bodySelectionBackground": [192, 192, 192], "bodyWarningBorder": [255, 64, 64], diff --git a/source/Ox.UI/themes/oxdark/json/theme.jsonc b/source/Ox.UI/themes/oxdark/json/theme.jsonc index 3c67c54b..0a3e76a6 100644 --- a/source/Ox.UI/themes/oxdark/json/theme.jsonc +++ b/source/Ox.UI/themes/oxdark/json/theme.jsonc @@ -18,6 +18,10 @@ "bodyFocusSelectedLightColor": [128, 128, 128], "bodySelectedLightColor": [128, 128, 128], "bodyLinkColor": [128, 128, 255], + "bodySpecialLinkColor": [128, 128, 255], + "bodySpecialLinkGradient": [[0, 0, 64], [0, 0, 64]], + "bodySpecialLinkActiveColor": [192, 192, 255], + "bodySpecialLinkActiveGradient": [[0, 0, 128], [0, 0, 128]], "bodyReflectionGradient": [[16, 16, 16, 0.75], [16, 16, 16, 1]], "bodySelectionBackground": [192, 192, 192], "bodyWarningBorder": [192, 0, 0], diff --git a/source/Ox.UI/themes/oxlight/json/theme.jsonc b/source/Ox.UI/themes/oxlight/json/theme.jsonc index d03df680..44684904 100644 --- a/source/Ox.UI/themes/oxlight/json/theme.jsonc +++ b/source/Ox.UI/themes/oxlight/json/theme.jsonc @@ -18,6 +18,10 @@ "bodyFocusSelectedLightColor": [128, 128, 128], "bodySelectedLightColor": [128, 128, 128], "bodyLinkColor": [0, 0, 128], + "bodySpecialLinkColor": [0, 0, 128], + "bodySpecialLinkGradient": [[192, 192, 255], [192, 192, 255]], + "bodySpecialLinkActiveColor": [0, 0, 64], + "bodySpecialLinkActiveGradient": [[128, 128, 255], [128, 128, 255]], "bodyReflectionGradient": [[240, 240, 240, 0.75], [240, 240, 240, 1]], "bodySelectionBackground": [192, 192, 192], "bodyWarningBorder": [255, 64, 64], diff --git a/source/Ox.UI/themes/oxmedium/json/theme.jsonc b/source/Ox.UI/themes/oxmedium/json/theme.jsonc index f24ce843..e13cb7ac 100644 --- a/source/Ox.UI/themes/oxmedium/json/theme.jsonc +++ b/source/Ox.UI/themes/oxmedium/json/theme.jsonc @@ -18,6 +18,10 @@ "bodyFocusSelectedLightColor": [192, 192, 192], "bodySelectedLightColor": [192, 192, 192], "bodyLinkColor": [0, 0, 128], + "bodySpecialLinkColor": [0, 0, 128], + "bodySpecialLinkGradient": [[192, 192, 255], [192, 192, 255]], + "bodySpecialLinkActiveColor": [0, 0, 64], + "bodySpecialLinkActiveGradient": [[128, 128, 255], [128, 128, 255]], "bodyReflectionGradient": [[144, 144, 144, 0.75], [144, 144, 144, 1]], "bodySelectionBackground": [192, 192, 192], "bodyWarningBorder": [255, 64, 64],