improve popup styling: no more 1 pixel light blue around content, add slight shadow
authorIvan Kohler <ivan@freeside.biz>
Sun, 12 Jul 2015 23:19:00 +0000 (16:19 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 12 Jul 2015 23:19:00 +0000 (16:19 -0700)
httemplate/elements/freeside.css
httemplate/elements/popup_link_onclick.html

index 750da74..d4e155a 100644 (file)
@@ -318,3 +318,8 @@ td.label {
   font-size: large;
   color: #ff0000;
 }
+
+div#overDiv {
+  box-shadow: #333333 1px 1px 2px;
+}
+
index 5173115..0690dc8 100644 (file)
@@ -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" : '' ).
   ");";