From 23faed6c3d2611bf6bf108aa7c6143fd091bf80f Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 2 May 2003 21:40:06 +0000 Subject: [PATCH] Introduced 3D cell frames SVN revision: 522 --- src/elogd.c | 19 +++++++---- themes/default/default.css | 67 ++++++++++++++++++++++++++++++++++---- 2 files changed, 72 insertions(+), 14 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index b99b67b0..b763a56c 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.101 2003/05/02 21:40:06 midas + Introduced 3D cell frames + Revision 1.100 2003/05/02 20:51:15 midas Fixed wrong string @@ -5253,7 +5256,7 @@ time_t now; /*---- entry form ----*/ /* table for two-column items */ - rsprintf(""); + rsprintf("
"); /* print required message if one of the attributes has it set */ for (i= 0 ; i < lbs->n_attr ; i++) @@ -7181,6 +7184,8 @@ FILE *f; rsprintf("
", sclass); if (in_reply_to[0] == 0) rsprintf("\n", (*n_display)++, message_id); + else + rsprintf(" \n"); } if (equal_ustring(mode, "Threaded")) @@ -8991,7 +8996,7 @@ LOGBOOK *lbs_cur; if (disp_filter) { rsprintf("
\n"); - rsprintf("\n"); + rsprintf("
\n"); if (*getparam("m1") || *getparam("y1") || *getparam("d1")) { @@ -9075,7 +9080,7 @@ LOGBOOK *lbs_cur; /*---- table titles ----*/ /* overall listing table */ - rsprintf("
\n"); + rsprintf("
\n"); size = printable ? 2 : 3; @@ -9111,7 +9116,7 @@ LOGBOOK *lbs_cur; /* empty title for selection box */ if (atoi(getparam("select")) == 1) - rsprintf("
\n"); + rsprintf(" \n"); for (i=0 ; i\n"); + rsprintf("
\n"); if (message_error == EL_EMPTY) rsprintf("\n", loc("Logbook is empty")); @@ -10560,7 +10565,7 @@ BOOL first; url_encode(ref, sizeof(ref)); /* for file names with special characters like "+" */ /* overall table */ - rsprintf("
%s
\n"); + rsprintf("
\n"); rsprintf("\n", loc("Attachment"), index+1); @@ -11061,7 +11066,7 @@ char str[10000]; rsprintf("\n\n"); - rsprintf("
%s %d:
"); + rsprintf("
"); rsprintf("
\n"); if (getcfg("global", "Welcome title", str)) diff --git a/themes/default/default.css b/themes/default/default.css index 7ebad7e1..13e5d56c 100755 --- a/themes/default/default.css +++ b/themes/default/default.css @@ -1,6 +1,6 @@ /* default formatting */ body { - margin:5px; + margin:3px; color:black; background-color:white; font-family:sans-serif; @@ -90,6 +90,9 @@ td { .title1 { background-color:#486090; + border-bottom:1px solid black; + border-top:1px solid #E0E0E0; + border-left:1px solid #E0E0E0; color:white; font-size:medium; font-family:sans-serif; @@ -98,6 +101,8 @@ td { .title2 { background-color:#486090; + border-bottom:1px solid black; + border-top:1px solid #E0E0E0; color:white; font-size:medium; font-family:sans-serif; @@ -105,6 +110,9 @@ td { } .title3 { + border-bottom:1px solid black; + border-top:1px solid #E0E0E0; + border-right:1px solid black; background-color:#486090; text-align:right; } @@ -113,7 +121,8 @@ td { .menuframe { border:1px solid #486090; - border-top:0px; + border-top:1px solid white; + border-left:1px solid white; padding:3px; background-color:#E0E0E0; } @@ -147,25 +156,36 @@ td { /* frame table in listings */ .listframe { + border:1px solid #0000FF; + border-top:1px solid white; + border-left:1pc solid white; background-color:#486090; border:0px; } /* title row in listing */ .listtitle { + border:1px solid #0000FF; + border-top:1px solid white; + border-left:1px solid white; background-color:#CCCCFF; text-align:center; - padding:5px; } /* odd and even lines in message listing */ .list1 { + border:1px solid #308000; + border-top:1px solid white; + border-left:1px solid white; background-color:#DDEEBB; text-align:center; } .list2 { + border:1px solid #808040; + border-top:1px solid white; + border-left:1px solid white; background-color:#FFFFB0; text-align:center; } @@ -173,17 +193,26 @@ td { /* attachment line */ .attachment { + border:1px solid #808040; + border-top:1px solid white; + border-left:1px solid white; background-color:#FFFFB0; text-align:left; } /* threaded listing */ .thread { + border:1px solid #308000; + border-top:1px solid white; + border-left:1px solid white; background-color:#DDEEBB; text-align:left; } .threadreply { + border:1px solid #808040; + border-top:1px solid white; + border-left:1px solid white; background-color:#FFFFB0; text-align:left; } @@ -191,15 +220,24 @@ td { /* attribute names and values on single message page */ .attribname { background-color:#CCCCFF; + border:1px solid #0000FF; + border-top:1px solid white; + border-left:1px solid white; padding:3px; } .attribvalue { + border:1px solid #308000; + border-top:1px solid white; + border-left:1px solid white; background-color:#DDEEBB; padding:3px; } .attribvalue2 { + border:1px solid #808040; + border-top:1px solid white; + border-left:1px solid white; background-color:#FFFFB0; padding:3px; } @@ -207,6 +245,9 @@ td { /* message cell in listing */ .messagelist { background-color:white; + border-right:1px solid gray; + border-left:1px solid gray; + border-bottom:1px solid gray; font-family:'lucida console',courier,monospace; font-size:10pt; padding:5px; @@ -217,7 +258,7 @@ td { background-color:white; border:1px solid #486090; border-top:0px; - padding:5px; + padding:3px; } .messagepre { @@ -233,6 +274,9 @@ td { /* summary display (threaded mode expand) */ .summary { + border:1px solid black; + border-top:1px solid white; + border-left:1px solid white; background-color:white; font-family:'lucida console',courier,monospace; font-size:8pt; @@ -240,14 +284,17 @@ td { /* input forms */ .form1 { - border:1px solid #486090; + border:1px solid #308000; + border-top:1px solid white; + border-left:1px solid white; background-color:#DDEEBB; padding:3px; } .form2 { - border:1px solid #486090; - border-top:0px; + border:1px solid #308000; + border-top:1px solid white; + border-left:1px solid white; background-color:#DDEEBB; padding:3px; } @@ -264,6 +311,9 @@ td { /* notification (warning) */ .notifymsg { padding:5px; + border:1px solid #806000; + border-top:1px solid white; + border-left:1px solid white; background-color:#FFD070; text-align:center; font-size:small; @@ -295,6 +345,9 @@ td { } .dlgform { + border:1px solid #308000; + border-top:1px solid white; + border-left:1px solid white; background-color:#DDEEBB; padding:5px; }