mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Made CSS if IN ADDITION to default CSS file which is now "elog.css". This way it is simpler to override settings from the default file.
This commit is contained in:
parent
07031f54d8
commit
e7ba64e370
@ -550,8 +550,9 @@ Admin user = bill
|
|||||||
<b><code>CSS = <filename></code></b><br>
|
<b><code>CSS = <filename></code></b><br>
|
||||||
A given theme can contain several Cascading Style Sheets (CSS). This
|
A given theme can contain several Cascading Style Sheets (CSS). This
|
||||||
can be usefule if several logbooks use the same images and icons, but
|
can be usefule if several logbooks use the same images and icons, but
|
||||||
differnt colors. By default, the CSS <i>default.css</i> is used. This
|
differnt colors. By default, the CSS <i>elog.css</i> is used. This
|
||||||
can be overwritten by this statement. If different CSS'es should be used
|
statement adds an additional CSS, which can overwrite settings from
|
||||||
|
<i>elog.css</i>. If different CSS'es should be used
|
||||||
for different output media, this can be accomplished with a comma-
|
for different output media, this can be accomplished with a comma-
|
||||||
separated list in the form
|
separated list in the form
|
||||||
<code><b>CSS = <file1>&<media1>,<file2>&<media2></b></code>. This will then be translated into separate style sheet
|
<code><b>CSS = <file1>&<media1>,<file2>&<media2></b></code>. This will then be translated into separate style sheet
|
||||||
|
|||||||
45
src/elogd.c
45
src/elogd.c
@ -7581,7 +7581,7 @@ void show_html_header(LOGBOOK * lbs, BOOL expires, char *title, BOOL close_head,
|
|||||||
int absolute_link, int refresh)
|
int absolute_link, int refresh)
|
||||||
{
|
{
|
||||||
int i, n;
|
int i, n;
|
||||||
char css[1000], str[1000], media[1000];
|
char css[1000], css_base[1000], str[1000], media[1000];
|
||||||
char css_list[MAX_N_LIST][NAME_LENGTH];
|
char css_list[MAX_N_LIST][NAME_LENGTH];
|
||||||
|
|
||||||
show_http_header(lbs, expires, cookie);
|
show_http_header(lbs, expires, cookie);
|
||||||
@ -7603,29 +7603,34 @@ void show_html_header(LOGBOOK * lbs, BOOL expires, char *title, BOOL close_head,
|
|||||||
|
|
||||||
/* Cascading Style Sheet */
|
/* Cascading Style Sheet */
|
||||||
if (absolute_link)
|
if (absolute_link)
|
||||||
compose_base_url(lbs, css, sizeof(css), FALSE);
|
compose_base_url(lbs, css_base, sizeof(css_base), FALSE);
|
||||||
|
else
|
||||||
|
css_base[0] = 0;
|
||||||
|
|
||||||
|
rsprintf("<link rel=\"stylesheet\" type=\"text/css\" href=\"%selog.css\">\n", css_base);
|
||||||
|
|
||||||
|
if (lbs != NULL && getcfg(lbs->name, "CSS", str, sizeof(str)))
|
||||||
|
strlcpy(css, str, sizeof(css));
|
||||||
|
else if (lbs == NULL && getcfg("global", "CSS", str, sizeof(str)))
|
||||||
|
strlcpy(css, str, sizeof(css));
|
||||||
else
|
else
|
||||||
css[0] = 0;
|
css[0] = 0;
|
||||||
|
|
||||||
if (lbs != NULL && getcfg(lbs->name, "CSS", str, sizeof(str)))
|
if (css[0]) {
|
||||||
strlcat(css, str, sizeof(css));
|
if (strchr(css, ',')) {
|
||||||
else if (lbs == NULL && getcfg("global", "CSS", str, sizeof(str)))
|
n = strbreak(css, css_list, MAX_N_LIST, ",", FALSE);
|
||||||
strlcat(css, str, sizeof(css));
|
for (i = 0; i < n; i++) {
|
||||||
else
|
strlcpy(str, css_list[i], sizeof(str));
|
||||||
strlcat(css, "default.css", sizeof(css));
|
if (strchr(str, '&')) {
|
||||||
|
strlcpy(media, strchr(str, '&') + 1, sizeof(media));
|
||||||
if (strchr(css, ',')) {
|
*strchr(str, '&') = 0;
|
||||||
n = strbreak(css, css_list, MAX_N_LIST, ",", FALSE);
|
rsprintf("<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\" media=\"%s\">\n", str, media);
|
||||||
for (i = 0; i < n; i++) {
|
}
|
||||||
strlcpy(str, css_list[i], sizeof(str));
|
|
||||||
if (strchr(str, '&')) {
|
|
||||||
strlcpy(media, strchr(str, '&') + 1, sizeof(media));
|
|
||||||
*strchr(str, '&') = 0;
|
|
||||||
rsprintf("<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\" media=\"%s\">\n", str, media);
|
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
} else
|
rsprintf("<link rel=\"stylesheet\" type=\"text/css\" href=\"%s%s\">\n", css_base, css);
|
||||||
rsprintf("<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\">\n", css);
|
}
|
||||||
|
|
||||||
rsprintf("<link rel=\"shortcut icon\" href=\"favicon.ico\" />\n");
|
rsprintf("<link rel=\"shortcut icon\" href=\"favicon.ico\" />\n");
|
||||||
rsprintf("<link rel=\"icon\" href=\"favicon.png\" type=\"image/png\" />\n");
|
rsprintf("<link rel=\"icon\" href=\"favicon.png\" type=\"image/png\" />\n");
|
||||||
|
|
||||||
|
|||||||
@ -1,391 +1,60 @@
|
|||||||
/* default formatting */
|
/* compact formatting */
|
||||||
body {
|
body {
|
||||||
margin:0px;
|
margin:0px;
|
||||||
color:black;
|
|
||||||
background-color:white;
|
|
||||||
font-family:sans-serif;
|
|
||||||
/* background-image:url(elog.gif); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* standard link colors and decorations */
|
|
||||||
a:link { color:#0000FF; text-decoration:none }
|
|
||||||
a:visited { color:#800080; text-decoration:none }
|
|
||||||
a:hover { color:#0000FF; text-decoration:underline }
|
|
||||||
a:active { color:#0000FF; text-decoration:underline }
|
|
||||||
a:focus { color:#0000FF; text-decoration:underline }
|
|
||||||
|
|
||||||
td {
|
|
||||||
color:black;
|
|
||||||
font-family:sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* frame table */
|
|
||||||
.frame {
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* printable frame table */
|
|
||||||
.pframe {
|
|
||||||
width:600px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* standard formatting for logbook tabs */
|
|
||||||
.tabs {
|
|
||||||
font-family:sans-serif;
|
|
||||||
font-size:10pt;
|
|
||||||
background-color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* unselected and selected group tabs */
|
|
||||||
|
|
||||||
.gtab a {
|
.gtab a {
|
||||||
background-color:#B0E0B0;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gtab {
|
|
||||||
background-color:#B0E0B0;
|
|
||||||
border-right:1px solid #409040;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sgtab a {
|
.sgtab a {
|
||||||
color:white;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sgtab {
|
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
border-right:1px solid #084070;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sgtab a:visited { color:white; } /* buf for IE */
|
|
||||||
|
|
||||||
/* unselected and selected logbook tabs */
|
|
||||||
|
|
||||||
.ltab a {
|
.ltab a {
|
||||||
background-color:#E0E0E0;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ltab {
|
|
||||||
background-color:#E0E0E0;
|
|
||||||
border-right:1px solid gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sltab a {
|
.sltab a {
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sltab {
|
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
border-right:1px solid #084070;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sltab a:visited { color:white; } /* bug for IE */
|
|
||||||
|
|
||||||
/* logbook title, left, middle and right cell */
|
|
||||||
|
|
||||||
.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;
|
|
||||||
text-align:left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title2 {
|
|
||||||
background-color:#486090;
|
|
||||||
border-bottom:1px solid black;
|
|
||||||
border-top:1px solid #E0E0E0;
|
|
||||||
color:white;
|
|
||||||
font-size:medium;
|
|
||||||
font-family:sans-serif;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title3 {
|
|
||||||
border-bottom:1px solid black;
|
|
||||||
border-top:1px solid #E0E0E0;
|
|
||||||
border-right:1px solid black;
|
|
||||||
background-color:#486090;
|
|
||||||
text-align:right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* main menu row */
|
|
||||||
|
|
||||||
.menuframe {
|
.menuframe {
|
||||||
border:1px solid #486090;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
background-color:#E0E0E0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu1 {
|
|
||||||
text-align:left;
|
|
||||||
font-size:10pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu2a {
|
|
||||||
text-align:left;
|
|
||||||
font-size:10pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu2b {
|
|
||||||
text-align:right;
|
|
||||||
font-size:10pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu3 {
|
|
||||||
text-align:left;
|
|
||||||
font-size:8pt;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu4 {
|
|
||||||
text-align:right;
|
|
||||||
font-size:10pt;
|
|
||||||
vertical-align:middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list1h {
|
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
text-align:center;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list2h {
|
|
||||||
border:1px solid #808040;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#FFFFB0;
|
|
||||||
text-align:center;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* attribute names and values on single message page */
|
|
||||||
.attribhead {
|
.attribhead {
|
||||||
background-color:#E0E0A0;
|
|
||||||
border:1px solid #0000FF;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
font-size:10pt;
|
|
||||||
font-family:sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.attribname {
|
.attribname {
|
||||||
width:150px;
|
|
||||||
background-color:#CCCCFF;
|
|
||||||
border:1px solid #0000FF;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attribvalue {
|
.attribvalue {
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attribvalue2 {
|
.attribvalue2 {
|
||||||
border:1px solid #808040;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#FFFFB0;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* message cell in listing */
|
|
||||||
.messagelist {
|
.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:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* message display in single message page */
|
|
||||||
.messageframe {
|
.messageframe {
|
||||||
background-color:white;
|
|
||||||
border:1px solid #486090;
|
|
||||||
border-top:0px;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.messagepre {
|
|
||||||
font-family:'lucida console',courier,monospace;
|
|
||||||
font-size:10pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* attachment size */
|
|
||||||
.bytes {
|
|
||||||
font-family:'lucida console',courier,monospace;
|
|
||||||
font-size:10pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* input forms */
|
|
||||||
.form1 {
|
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form2 {
|
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* error message */
|
|
||||||
.errormsg {
|
.errormsg {
|
||||||
border:1px solid #486090;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
background-color:#FFB0B0;
|
|
||||||
text-align:center;
|
|
||||||
font-size:medium;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* notification (warning) */
|
|
||||||
.notifymsg {
|
.notifymsg {
|
||||||
padding:1px;
|
padding:1px;
|
||||||
border:1px solid #806000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#FFD070;
|
|
||||||
text-align:center;
|
|
||||||
font-size:small;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* dialog boxes (login, delete, etc.) */
|
|
||||||
.dlgframe {
|
|
||||||
width:50%;
|
|
||||||
background-color:#486090;
|
|
||||||
border:1px solid #486090;
|
|
||||||
margin-top:2cm;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dlgerror {
|
|
||||||
background-color:red;
|
|
||||||
padding:10px;
|
|
||||||
font-size:small;
|
|
||||||
text-align:center;
|
|
||||||
font-size:medium;
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dlgtitle {
|
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
font-size:medium;
|
|
||||||
text-align:center;
|
|
||||||
padding:5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dlgform {
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ELOG home page link at bottom of page */
|
|
||||||
.bottomlink {
|
|
||||||
font-family:sans-serif;
|
|
||||||
font-size:xx-small;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@ -1,392 +1,122 @@
|
|||||||
/* default formatting */
|
/* tiny formatting */
|
||||||
body {
|
body {
|
||||||
margin:0px;
|
margin:0px;
|
||||||
color:black;
|
|
||||||
background-color:white;
|
|
||||||
font-family:sans-serif;
|
|
||||||
/* background-image:url(elog.gif); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* standard link colors and decorations */
|
|
||||||
a:link { color:#0000FF; text-decoration:none }
|
|
||||||
a:visited { color:#800080; text-decoration:none }
|
|
||||||
a:hover { color:#0000FF; text-decoration:underline }
|
|
||||||
a:active { color:#0000FF; text-decoration:underline }
|
|
||||||
a:focus { color:#0000FF; text-decoration:underline }
|
|
||||||
|
|
||||||
td {
|
td {
|
||||||
color:black;
|
|
||||||
font-family:sans-serif;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* frame table */
|
|
||||||
.frame {
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* printable frame table */
|
|
||||||
.pframe {
|
|
||||||
width:600px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* standard formatting for logbook tabs */
|
|
||||||
.tabs {
|
.tabs {
|
||||||
font-family:sans-serif;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
background-color:white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* unselected and selected group tabs */
|
/* unselected and selected group tabs */
|
||||||
|
|
||||||
.gtab a {
|
.gtab a {
|
||||||
background-color:#B0E0B0;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gtab {
|
|
||||||
background-color:#B0E0B0;
|
|
||||||
border-right:1px solid #409040;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sgtab a {
|
.sgtab a {
|
||||||
color:white;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sgtab {
|
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
border-right:1px solid #084070;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sgtab a:visited { color:white; } /* buf for IE */
|
|
||||||
|
|
||||||
/* unselected and selected logbook tabs */
|
|
||||||
|
|
||||||
.ltab a {
|
.ltab a {
|
||||||
background-color:#E0E0E0;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ltab {
|
|
||||||
background-color:#E0E0E0;
|
|
||||||
border-right:1px solid gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sltab a {
|
.sltab a {
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
padding-left:1px;
|
padding-left:1px;
|
||||||
padding-right:1px;
|
padding-right:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sltab {
|
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
border-right:1px solid #084070;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sltab a:visited { color:white; } /* bug for IE */
|
|
||||||
|
|
||||||
/* logbook title, left, middle and right cell */
|
|
||||||
|
|
||||||
.title1 {
|
.title1 {
|
||||||
background-color:#486090;
|
|
||||||
border-bottom:1px solid black;
|
|
||||||
border-top:1px solid #E0E0E0;
|
|
||||||
border-left:1px solid #E0E0E0;
|
|
||||||
color:white;
|
|
||||||
font-size:10pt;
|
font-size:10pt;
|
||||||
font-family:sans-serif;
|
|
||||||
text-align:left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title2 {
|
.title2 {
|
||||||
background-color:#486090;
|
|
||||||
border-bottom:1px solid black;
|
|
||||||
border-top:1px solid #E0E0E0;
|
|
||||||
color:white;
|
|
||||||
font-size:10pt;
|
font-size:10pt;
|
||||||
font-family:sans-serif;
|
|
||||||
text-align:center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title3 {
|
.title3 {
|
||||||
border-bottom:1px solid black;
|
font-size:10pt;
|
||||||
border-top:1px solid #E0E0E0;
|
|
||||||
border-right:1px solid black;
|
|
||||||
background-color:#486090;
|
|
||||||
text-align:right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* main menu row */
|
|
||||||
|
|
||||||
.menuframe {
|
|
||||||
border:1px solid #486090;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
padding:1px;
|
|
||||||
background-color:#E0E0E0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu1 {
|
.menu1 {
|
||||||
text-align:left;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu2a {
|
.menu2a {
|
||||||
text-align:left;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu2b {
|
.menu2b {
|
||||||
text-align:right;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu3 {
|
.menu3 {
|
||||||
text-align:left;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
font-weight:bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu4 {
|
.menu4 {
|
||||||
text-align:right;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
vertical-align:middle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list1h {
|
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
text-align:center;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list2h {
|
|
||||||
border:1px solid #808040;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#FFFFB0;
|
|
||||||
text-align:center;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* attribute names and values on single message page */
|
|
||||||
.attribhead {
|
.attribhead {
|
||||||
background-color:#E0E0A0;
|
|
||||||
border:1px solid #0000FF;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
font-family:sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.attribname {
|
.attribname {
|
||||||
width:150px;
|
|
||||||
background-color:#CCCCFF;
|
|
||||||
border:1px solid #0000FF;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attribvalue {
|
.attribvalue {
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attribvalue2 {
|
.attribvalue2 {
|
||||||
border:1px solid #808040;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#FFFFB0;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* message cell in listing */
|
|
||||||
.messagelist {
|
.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:8pt;
|
font-size:8pt;
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* message display in single message page */
|
|
||||||
.messageframe {
|
.messageframe {
|
||||||
background-color:white;
|
|
||||||
border:1px solid #486090;
|
|
||||||
border-top:0px;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.messagepre {
|
.messagepre {
|
||||||
font-family:'lucida console',courier,monospace;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* attachment size */
|
|
||||||
.bytes {
|
.bytes {
|
||||||
font-family:'lucida console',courier,monospace;
|
|
||||||
font-size:8pt;
|
font-size:8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* summary display (threaded mode expand) */
|
|
||||||
.summary {
|
.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;
|
font-size:8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* input forms */
|
|
||||||
.form1 {
|
.form1 {
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form2 {
|
.form2 {
|
||||||
border:1px solid #308000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:1px;
|
padding:1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* error message */
|
/* error message */
|
||||||
.errormsg {
|
.errormsg {
|
||||||
border:1px solid #486090;
|
|
||||||
padding:1px;
|
|
||||||
background-color:#FFB0B0;
|
|
||||||
text-align:center;
|
|
||||||
font-size:10pt;
|
font-size:10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* notification (warning) */
|
|
||||||
.notifymsg {
|
.notifymsg {
|
||||||
padding:1px;
|
padding:1px;
|
||||||
border:1px solid #806000;
|
|
||||||
border-top:1px solid white;
|
|
||||||
border-left:1px solid white;
|
|
||||||
background-color:#FFD070;
|
|
||||||
text-align:center;
|
|
||||||
font-size:10pt;
|
font-size:10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* dialog boxes (login, delete, etc.) */
|
|
||||||
.dlgframe {
|
|
||||||
width:50%;
|
|
||||||
background-color:#486090;
|
|
||||||
border:1px solid #486090;
|
|
||||||
margin-top:2cm;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dlgerror {
|
|
||||||
background-color:red;
|
|
||||||
padding:10px;
|
|
||||||
font-size:10pt;
|
|
||||||
text-align:center;
|
|
||||||
font-size:10pt;
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dlgtitle {
|
|
||||||
background-color:#486090;
|
|
||||||
color:white;
|
|
||||||
font-size:10pt;
|
|
||||||
text-align:center;
|
|
||||||
padding:5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dlgform {
|
|
||||||
background-color:#DDEEBB;
|
|
||||||
padding:5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ELOG home page link at bottom of page */
|
|
||||||
.bottomlink {
|
|
||||||
font-family:sans-serif;
|
|
||||||
font-size:6pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
D548630A1ACA9A9F00BA8C69 /* im.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = im.js; path = ../scripts/im.js; sourceTree = "<group>"; };
|
D548630A1ACA9A9F00BA8C69 /* im.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = im.js; path = ../scripts/im.js; sourceTree = "<group>"; };
|
||||||
D548630B1ACA9AAB00BA8C69 /* load-ckeditor.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = "load-ckeditor.js"; path = "../scripts/load-ckeditor.js"; sourceTree = "<group>"; };
|
D548630B1ACA9AAB00BA8C69 /* load-ckeditor.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = "load-ckeditor.js"; path = "../scripts/load-ckeditor.js"; sourceTree = "<group>"; };
|
||||||
D548630C1ACA9AC600BA8C69 /* elcode.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = elcode.js; path = ../scripts/elcode.js; sourceTree = "<group>"; };
|
D548630C1ACA9AC600BA8C69 /* elcode.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = elcode.js; path = ../scripts/elcode.js; sourceTree = "<group>"; };
|
||||||
D548630D1ACAEF5400BA8C69 /* default.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; name = default.css; path = ../themes/default/default.css; sourceTree = "<group>"; };
|
D57031C51B21CAF900A7C6EE /* elog.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; name = elog.css; path = ../themes/default/elog.css; sourceTree = "<group>"; };
|
||||||
D58A366615AF103300682DC0 /* elog-version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "elog-version.h"; path = "../src/elog-version.h"; sourceTree = SOURCE_ROOT; };
|
D58A366615AF103300682DC0 /* elog-version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "elog-version.h"; path = "../src/elog-version.h"; sourceTree = SOURCE_ROOT; };
|
||||||
D5AC5BF9154AC7200018DD90 /* config.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = config.html; path = ../doc/config.html; sourceTree = SOURCE_ROOT; };
|
D5AC5BF9154AC7200018DD90 /* config.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = config.html; path = ../doc/config.html; sourceTree = SOURCE_ROOT; };
|
||||||
D5C8CD7A1ACC02A0008B1201 /* elogd.cfg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = elogd.cfg; path = ../../../elogdemo/elogd.cfg; sourceTree = "<group>"; };
|
D5C8CD7A1ACC02A0008B1201 /* elogd.cfg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = elogd.cfg; path = ../../../elogdemo/elogd.cfg; sourceTree = "<group>"; };
|
||||||
@ -115,8 +115,8 @@
|
|||||||
D5F11B9013AFA146002CE8BF /* Resources */ = {
|
D5F11B9013AFA146002CE8BF /* Resources */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
D57031C51B21CAF900A7C6EE /* elog.css */,
|
||||||
D5C8CD7A1ACC02A0008B1201 /* elogd.cfg */,
|
D5C8CD7A1ACC02A0008B1201 /* elogd.cfg */,
|
||||||
D548630D1ACAEF5400BA8C69 /* default.css */,
|
|
||||||
D5AC5BF9154AC7200018DD90 /* config.html */,
|
D5AC5BF9154AC7200018DD90 /* config.html */,
|
||||||
D51F4A9214F27F3C00CB29E9 /* index.html */,
|
D51F4A9214F27F3C00CB29E9 /* index.html */,
|
||||||
D528A7C514F278DA00D33974 /* checklist.txt */,
|
D528A7C514F278DA00D33974 /* checklist.txt */,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user