From 0db0782c81482c3e87525c689a25298b67e2082d Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 12 Jul 2015 16:19:00 -0700 Subject: [PATCH] improve popup styling: no more 1 pixel light blue around content, add slight shadow --- httemplate/elements/freeside.css | 5 +++++ httemplate/elements/popup_link_onclick.html | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css index 750da74b8..d4e155aa1 100644 --- a/httemplate/elements/freeside.css +++ b/httemplate/elements/freeside.css @@ -318,3 +318,8 @@ td.label { font-size: large; color: #ff0000; } + +div#overDiv { + box-shadow: #333333 1px 1px 2px; +} + diff --git a/httemplate/elements/popup_link_onclick.html b/httemplate/elements/popup_link_onclick.html index 5173115a5..0690dc812 100644 --- a/httemplate/elements/popup_link_onclick.html +++ b/httemplate/elements/popup_link_onclick.html @@ -68,7 +68,8 @@ my $onclick = "overlib( OLiframeContent($action, $width, $height, '$popup_name', 0, '$scrolling' ), ". "CAPTION, '$actionlabel', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, ". "DRAGGABLE, CLOSECLICK, ". - "BGCOLOR, '$color', CGCOLOR, '$color', CLOSETEXT, '$closetext'". + "BGCOLOR, '$color', CGCOLOR, '$color', FGCOLOR, '#f8f8f8', ". + "CLOSETEXT, '$closetext'". ( $frame ? ", FRAME, $frame" : '' ). ");"; -- 2.11.0