sogo/UI/WebServerResources/MailerUI.css
Francis Lachapelle 9a9ecb1811 Added invitation delegation support in Web interface. See ChangeLog.
Monotone-Parent: 4d711e074341810486c1842c6a345777cc3664bb
Monotone-Revision: 2fc8598099b516f243935e73039200f1c004784e

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-09-10T18:31:20
Monotone-Branch: ca.inverse.sogo
2009-09-10 18:31:20 +00:00

815 lines
15 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: 70px;
left: 0px;
width: 15em;
bottom: 0px;
margin: 0px;
padding: 0px;
overflow: hidden;
}
DIV#rightPanel
{ position: absolute;
top: 65px;
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: auto;
top: 2em;
bottom: 0px;
left: 0px;
right: 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: 2em;
line-height: 18px;
vertical-align: middle;
padding-top: 0px;
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
{ -khtml-user-select: none;}
/* mailbox tree (dtree) */
DIV.dTreeNode SPAN.unseen
{ font-weight: bold; }
/* mail tableview */
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;
}
/* fields (key/value UI), eg used in mail viewer */
INPUT#editDraftButton
{
position: absolute;
top: 2.5em;
right: 1em;
}
INPUT#loadImagesButton
{
position: absolute;
top: 2.5em;
right: 1em;
}
.popup INPUT#loadImagesButton
{
top: 9.0em;
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: 9em;
}
TD.mailer_fieldvalue
{ vertical-align: top; }
TD.mailer_subjectfieldvalue
{
font-weight: bold;
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 */
white-space: pre-wrap;
}
TD.mailer_fieldvalue a
{
text-decoration: underline;
vertical-align: top;
}
TR.deleted TD
{ /* text-decoration: line-through; -- alternative display */ }
img.mailer_imagecontent
{
border: 0px;
}
DIV.mailer_plaincontent
{
position: relative;
clear: left;
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;
clear: left;
margin: 0px;
margin-top: 10px;
padding: 5px;
/*background: #F0F0F0;*/
}
DIV.linked_attachment_frame.file
{ display: inline;
clear: none;
float: left; }
DIV.linked_attachment_body
{
border: 0px;
text-align: center;
}
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;
text-align: left;
}
DIV.bodyFields SPAN.fieldName
{ font-weight: bold; }
DIV.bodyAdditionalFields
{
background: #d4d0c8;
}
DIV.bodyMailContent
{ margin: 0.5em;
text-align: left; }
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%;
-moz-user-select: none;
-khtml-user-select: none; }
TABLE#messageList TD,
TABLE#messageList TH
{ height: 20px;
overflow: hidden;
white-space: nowrap; }
TABLE#messageList TH
{ white-space: pre; }
TABLE#messageList TBODY TD
{ 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.mailer_readmailsubject
{ /*width: 40%;*/
min-width: 35%; }
TD#fromHeader,
TABLE#messageList TD.messageAddressColumn
{ /*width: 35%;*/
min-width: 30%;
overflow: hidden; }
TD#dateHeader
{ /*width: 25%;*/
overflow: hidden; }
TD#priorityHeader,
TD#sizeHeader
{ /*width: 25%;*/
width: 7%;
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; }
/* quota indicator */
DIV.quota
{ border-bottom: 1px solid #ccc;
margin: 2px 4px 2px 2px; }
DIV.quota DIV.level
{ background-image: url(quota-level.png);
background-repeat: repeat-x;
background-position: 25% 0;
border-left: 1px solid #999;
border-right: 1px solid #999;
/*height: 20px;*/ }
DIV.quota DIV.marks DIV
{ float: left;
margin: 0;
padding: 0;
width: 25%;
border: 0;
border-right: 1px solid #999;
height: 3px; }
DIV.quota DIV.level DIV.value
{ background-repeat: repeat-x;
border-left: 1px solid transparent;
height: 9px;
margin: 0;
position: relative; }
DIV.quota DIV.level DIV.value.ok
{ background-image: url(quota-level-ok.png); }
DIV.quota DIV.level DIV.value.warn
{ background-image: url(quota-level-warn.png); }
DIV.quota DIV.level DIV.value.alert
{ background-image: url(quota-level-alert.png); }
DIV.quota DIV.level P
{ margin: 0;
padding: 0;
clear: both;
color: #555;
font-size: 1em;
text-align: center;
}
DIV#quotaDialog
{ background-image: url("dialog-left.png");
background-repeat: no-repeat;
background-position: top left;
position: absolute;
top: 100px;
left: 75px;
width: 200px;
z-index: 50; }
DIV#quotaDialog DIV
{ border: 1px solid #444;
background-color: #fff;
padding: 5px; }
DIV#quotaDialog DIV
{ border-left: 0;
margin-left: 19px;
text-align: left; }
DIV#quotaDialog H1,
DIV#quotaDialog P
{ font-size: 10px;
margin: 0;
padding: 0; }
/* 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; }
}
DIV#dragDropVisual
{
background-image: url(message.gif);
background-repeat: no-repeat;
background-position: 4px 2px;
width: 5px;
height: 20px;
padding-left: 24px;
padding-top: 5px;
}
DIV.copy
{
background-image: url(message-copy.gif) !important;
background-position: 1px -2px !important;
}
/* UIxMailPartICalViewer */
#iCalAttendees SPAN
{ background-repeat: no-repeat;
background-position: 5px center;
padding-left: 22px;
padding-right: 4px; }
#iCalAttendees .accepted
{ background-image: url("accepted.png"); }
#iCalAttendees .needs-action
{ background-image: url("needs-action.png"); }
#iCalAttendees .declined
{ background-image: url("declined.png"); }
#iCalAttendees .delegated
{ background-image: url("delegated.png"); }
#iCalAttendees .attendeeUser,
#iCalAttendees .attendeeUser A
{ font-weight: bold; }
#delegateEditor
{ padding-left: 5px; }
#delegatedTo
{ width: 220px; }
#delegatedTo
{ background-image: url("abcard.gif");
background-repeat: no-repeat;
background-position: 4px center;
padding: 2px 2px 2px 24px;
width: 220px; }