From 270a205afbee55f0d29ddb9d34d7dddbe6daac61 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 7 Nov 2011 19:48:25 +0100 Subject: [PATCH] Enhancement for balloon-tooltips --- wcfsetup/install/files/acp/style/style.css | 4 ++-- wcfsetup/install/files/js/WCF.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/acp/style/style.css b/wcfsetup/install/files/acp/style/style.css index 216c7363e6..2743b322ca 100644 --- a/wcfsetup/install/files/acp/style/style.css +++ b/wcfsetup/install/files/acp/style/style.css @@ -2756,7 +2756,7 @@ img[src*='enable'] { #balloonTooltip .arrowOuter { border-width: 0 7px 7px; border-style: solid; - border-color: #ccc transparent; + border-color: rgba(255, 255, 255, .7) transparent; display: inline-block !important; width: 0; position: absolute; @@ -2767,7 +2767,7 @@ img[src*='enable'] { #balloonTooltip .arrowInner { border-width: 0 5px 5px; border-style: solid; - border-color: #000 transparent; + border-color: rgba(0, 0, 0, .7) transparent; display: inline-block; width: 0; position: absolute; diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 850c6a0486..ae3143800c 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2796,7 +2796,7 @@ WCF.Effect.BalloonTooltip.prototype = { var $left = $elementOffsets.left; $arrow.css({ - left: "0px" + left: "5px" }); break; @@ -2804,7 +2804,7 @@ WCF.Effect.BalloonTooltip.prototype = { var $left = $elementOffsets.left + $elementDimensions.width - $tooltipDimensions.width; $arrow.css({ - left: ($tooltipDimensionsInner.width - $arrowWidth) + "px" + left: ($tooltipDimensionsInner.width - $arrowWidth - 5) + "px" }); break; } -- 2.20.1