sogo/UI/WebServerResources/MailerUI.css
Francis Lachapelle 4b815c9bd7 Monotone-Parent: 7133fd7356e5b22d44eb78eba6f71c5c5fa95889
Monotone-Revision: 33cd28ec24da9b667bfbfe813859158a7c753836

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-03-26T18:58:26
Monotone-Branch: ca.inverse.sogo
2008-03-26 18:58:26 +00:00

693 lines
12 KiB
CSS

/*
Copyright (C) 2005 SKYRIX Software AG
This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
OGo is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public
License along with OGo; see the file COPYING. If not, write toge the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
/* TODO: is the section below used in the mailer? */
DIV#leftPanel
{
position: absolute;
top: 5.5em;
left: 0px;
width: 15em;
bottom: 0px;
margin: 0px;
padding: 0px;
overflow: hidden;
}
DIV#rightPanel
{ position: absolute;
top: 5.5em;
left: 15em;
right: 0px;
bottom: 0px;
margin: 0px;
margin-left: 5px;
padding: 0px;
overflow: hidden; }
/* top list */
DIV#mailboxContent
{ cursor: default;
position: absolute;
background-color: #fff;
top: 2.5em;
left: 0px;
right: 0px;
height: 15.5em;
overflow: auto;
overflow-x: hidden; }
DIV#messageContent
{ position: absolute;
overflow: hidden;
top: 18em;
bottom: 0px;
left: 0px;
right: 0px;
margin: 0px;
margin-top: 5px;
padding: 0px;
border: 0px;
border-top: 1px solid #aaa;
border-left: 1px solid #aaa;
background: #fff; }
DIV#messageContent P IMG
{ border: 0px;
vertical-align: middle;
margin-right: 1em; }
DIV#folderTreeContent
{ border-top: 2px solid #222;
border-left: 2px solid #222;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
-moz-border-top-colors: #9c9a94 #000;
-moz-border-left-colors: #9c9a94 #000;
position: absolute;
color: #000;
background: #fff;
width: 100%;
top: 2em;
bottom: 0px;
overflow: auto; }
#label-menu LI.label1
{ color: #f00; }
#label-menu LI.label2
{ color: #ff9a00; }
#label-menu LI.label3
{ color: #009a00; }
#label-menu LI.label4
{ color: #3130ff; }
#label-menu LI.label5
{ color: #9c309c; }
.aptview_title
{
color: #000000;
font-weight: bold;
}
.aptview_text
{
color: #000000;
}
.apt_other
{
color: #000000;
}
.apt_other_print
{
font-style: italic;
}
.anais_me
{
color: #0000FF;
}
.anais_uids
{
}
/* new stuff for Thunderbird like mailer */
.vertframerow
{
border-top-color: white;
border-top-width: 1px;
border-top-style: solid;
border-bottom-color: #808080;
border-bottom-width: 1px;
border-bottom-style: solid;
background-color: #dcdad5;
}
.foldercell
{
width: 25%;
}
.contentcell
{
}
.embedwhite_out
{
border-width: 1px;
border-style: solid;
border-top-color: #808080;
border-left-color: #808080;
border-bottom-color: white;
border-right-color: white;
}
.embedwhite_in
{
border-width: 1px;
border-style: solid;
border-top-color: #808080; /* TODO */
border-left-color: #808080; /* TODO */
border-bottom-color: #808080;
border-right-color: #808080;
background-color: white;
/* height: 300px; */
/* height: 100%; */
}
.titlediv
{
height: 24px;
vertical-align: middle;
padding-top: 6px;
padding-left: 6px;
}
TABLE.titletable
{
height: 24px;
vertical-align: middle;
padding-top: 6px;
padding-left: 6px;
}
TABLE.titletable TD.titlecell SELECT
{
display: -moz-popup;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 2px solid #222;
border-bottom: 2px solid #222;
-moz-border-bottom-colors: #000 #9c9a94 transparent;
-moz-border-right-colors: #000 #9c9a94 transparent;
background: #dcdad5;
}
.whitesec_title
{
background-color: #dcdad5;
padding: 4px;
}
.treecell
{
color: black;
vertical-align: bottom;
padding-left: 4px; /* move away from the icon */
padding-right: 2px; /* move away from the right border */
white-space: nowrap;
}
DIV#folderTreeContent TABLE TD
{ height: 18px;
border-top: 1px solid #fff;
margin: 0px;
padding: 0px; }
/* mail tableview */
span.mailer_datefield
{
white-space: nowrap;
}
TD.mailer_readmailsubject
{
padding-left: 20px !important;
}
TR.mailer_unreadmail TD
{
font-weight: bold !important;
}
TR.mailer_unreadmail TD.messageSubjectColumn
{
background-image: url(icon-new.png);
background-repeat: no-repeat !important;
background-position: 0px 0px !important;
padding-left: 20px !important;
font-weight: bold !important;
}
TD.mailer_repliedmailsubject
{
background-image: url(icon-replied.png) !important;
background-repeat: no-repeat !important;
background-position: 0px 0px !important;
padding-left: 20px !important;
}
TD.mailer_forwardedmailsubject
{
background-image: url(icon-forwarded.png) !important;
background-repeat: no-repeat !important;
background-position: 0px 0px !important;
padding-left: 20px !important;
}
TD.mailer_forwardedrepliedmailsubject
{
background-image: url(icon-forwarded-replied.png) !important;
background-repeat: no-repeat !important;
background-position: 0px 0px !important;
padding-left: 20px !important;
}
TD.mailer_deletedmailsubject
{
background-image: url(icon-deleted.png) !important;
background-repeat: no-repeat !important;
background-position: 0px 0px !important;
padding-left: 20px !important;
}
TD.mailer_readmailsubject a
{
color: black;
text-decoration: none;
}
TD.mailer_unreadmailsubject a
{
color: black;
text-decoration: none;
}
tr.mailer_listcell_deleted td
{
text-decoration: line-through;
}
tr.mailer_listcell_regular td a
{
color: black;
text-decoration: none;
}
IMG.mailerReadIcon
{
/* TODO
*/
}
DIV.mailer_readicon
{
/* TODO: use Thunderbird icon */
background-image: url(icon_read.gif);
background-repeat: no-repeat;
background-position: 0px 4px;
}
DIV.mailer_readicon a
{
width: 17px;
height: 17px;
margin: 0px auto;
display: block;
}
DIV.mailerUnreadIcon
{
/* TODO: use Thunderbird icon */
background-image: url(icon_unread.gif);
background-repeat: no-repeat;
background-position: 0px 4px;
}
DIV.mailer_unreadicon a
{
width: 17px;
height: 17px;
margin: 0px auto;
display: block;
}
/* fields (key/value UI), eg used in mail viewer */
INPUT#editDraftButton
{
position: absolute;
top: 2.5em;
right: 1em;
}
TABLE.mailer_fieldtable
{ top: 0px;
left: 0px;
padding-top: .5em;
padding-bottom: .5em;
overflow-y: auto;
overflow-x: hidden;
border-bottom: 1px solid #808080;
background: #d4d0c8;
width: 100%; }
DIV.mailer_mailcontent
{ background-color: #fff;
padding: .5em;
position: absolute;
top: 7.5em;
left: 0px;
right: 0px;
bottom: 0px;
overflow: auto; }
DIV.mailer_mailcontent TABLE
{
table-layout: auto;
}
/* collapsable header */
TD.mailer_fieldname IMG
{ cursor: pointer;
padding-right: 5px; }
TD.mailer_fieldvalue SPAN.collapse
{ white-space: nowrap; }
TD.mailer_fieldvalue SPAN.expand
{ white-space: normal; }
TD.mailer_fieldname
{
white-space: nowrap;
padding: 0 1em;
text-align: right;
font-weight: bold;
vertical-align: top;
width: 7em;
}
TD.mailer_fieldvalue
{ vertical-align: top; }
TD.mailer_subjectfieldvalue
{
font-weight: bold;
}
TD.mailer_fieldvalue a
{
text-decoration: underline;
vertical-align: top;
}
TR.deleted TD
{ text-decoration: line-through; }
img.mailer_imagecontent
{
border: 0px;
}
DIV.mailer_plaincontent
{
position: relative;
font-family: monospace, fixed;
white-space: pre;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
width: 99%;
font-size: inherit;
margin: 0px;
padding: 0px;
}
DIV.mailer_plaincontent P
{
line-height: 3em;
height: auto;
margin: 0px;
padding: 0px;
}
DIV.mailer_htmlcontent P
{
white-space: normal;
font-family: sans-serif;
font-size: inherit;
margin: 0px;
padding: 0px;
}
/* attachment editor */
form#attachment_form
{
background-color: #dcdad5;
padding: 1px;
}
div#attachment_list
{
border-top-color: white;
border-top-width: 1px;
border-top-style: solid;
}
div#attachment_upload
{
border-bottom-color: #808080;
border-bottom-width: 1px;
border-bottom-style: solid;
padding: 4px;
}
TD.attachment_uplabel
{
width: 15%;
text-align: left;
}
/* attachment link viewer */
DIV.linked_attachment_frame
{ border: 0px; }
DIV.linked_attachment_body
{ border: 0px; }
DIV.linked_attachment_meta
{
color: #444444;
font-style: italic;
border-width: 0;
padding: 2px;
}
TABLE.linked_attachment_meta
{
color: #444444;
font-style: italic;
}
DIV.bodyFields
{
background: #efefef;
font-family: serif;
margin: 0.5em;
}
DIV.bodyFields SPAN.fieldName
{ font-weight: bold; }
DIV.bodyAdditionalFields
{
background: #d4d0c8;
}
DIV[datatype~="additional"] > A.node > SPAN.nodeName
{ color: #777;
font-style: italic; }
DIV[datatype~="additional"] > A.node._selected > SPAN.nodeName
{ color: #fff; }
/* drag-n-drop */
IMG.dragMessage
{ position: absolute;
visibility: hidden;
border: 0px;
-moz-opacity: 0.7;
opacity: 0.7; }
TABLE#addr_table
{
margin-left: 30%;
width: 100%;
}
TABLE#messageList
{ width: 100%; }
TABLE#messageList TD,
TABLE#messageList TH
{ height: 20px;
overflow: hidden;
white-space: nowrap; }
TABLE#messageList TH
{ white-space: pre; }
TD#messageFlagHeader,
TABLE#messageList TD.messageFlagColumn
{ width: 22px;
text-align: center; }
TABLE#messageList TD.messageFlagColumn IMG
{ width: 14px;
height: 14px; }
TD#subjectHeader,
TABLE#messageList TD.tbtv_subject_headercell,
TABLE#messageList TD.mailer_unreadmailsubject,
TABLE#messageList TD.mailer_readmailsubject
{ /*width: 40%;*/
min-width: 40%; }
TD#fromHeader,
TABLE#messageList TD.tbtv_from_headercell,
TABLE#messageList TD.messageAddressColumn
{ /*width: 35%;*/
min-width: 35%;
overflow: hidden; }
TD#dateHeader,
TABLE#messageList TD.tbtv_date_headercell
{ /*width: 25%;*/
overflow: hidden; }
TABLE#messageList TR._selected TD
{
background-color: #4b6983;
color: #fff;
}
TABLE#messageList TR._deleted TD
{
text-decoration: line-through;
}
TABLE#messageList TR[labels~="label5"] TD
{ color: #9c309c; }
TABLE#messageList TR[labels~="label5"]._selected TD
{ color: #fff;
background-color: #9c309c; }
TABLE#messageList TR[labels~="label4"] TD
{ color: #3130ff; }
TABLE#messageList TR[labels~="label4"]._selected TD
{ color: #fff;
background-color: #3130ff; }
TABLE#messageList TR[labels~="label3"] TD
{ color: #009a00; }
TABLE#messageList TR[labels~="label3"]._selected TD
{ color: #fff;
background-color: #009a00; }
TABLE#messageList TR[labels~="label2"] TD
{ color: #ff9a00; }
TABLE#messageList TR[labels~="label2"]._selected TD
{ color: #fff;
background-color: #ff9a00; }
TABLE#messageList TR[labels~="label1"] TD
{ color: #f00; }
TABLE#messageList TR[labels~="label1"]._selected TD
{ color: #fff;
background-color: #f00; }
/* drag handles */
DIV#verticalDragHandle
{ cursor: e-resize;
top: 7.5em;
left: 15em;
width: 5px;
bottom: 0px; }
DIV#rightDragHandle
{ cursor: n-resize;
top: 18em;
left: 0px;
right: 0px;
height: 5px; }
@media print
{
DIV#leftPanel,
DIV#verticalDragHandle,
DIV#filterPanel,
DIV#mailboxContent,
DIV.dragHandle
{ display: none; }
DIV#rightPanel
{ position: static;
overflow: visible;
margin: 0px; }
DIV#messageContent
{ position: static;
border: 0px;
margin: 0px;
overflow: visible; }
TABLE.mailer_fieldtable
{ border: 0px;
font-family: serif;
height: auto;
overflow: visible; }
TD.mailer_fieldname
{ text-align: left; }
TD.mailer_fieldvalue
{ white-space: normal; }
TD.mailer_fieldvalue A
{ text-decoration: none;
white-space: nowrap;
color: #000; }
A:visited
{ color: #00f; }
DIV.mailer_mailcontent
{ position: static;
overflow: visible; }
}