Style mail compose toolbar header for jdots and idots templates

This commit is contained in:
Hadi Nategh 2014-03-19 13:38:29 +00:00
parent a8e9a97212
commit 88943fb682
2 changed files with 34 additions and 22 deletions

View File

@ -346,7 +346,9 @@ input[type=button] {
height: 100%; height: 100%;
border: 0; border: 0;
} }
/*********************************
************ mailCompose ******
*********************************/
#mail-index_button\[mailcreate\] { #mail-index_button\[mailcreate\] {
width: 99%; width: 99%;
text-align: left; text-align: left;
@ -356,13 +358,30 @@ input[type=button] {
background-position: left; background-position: left;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.mail-compose_toolbar{
background:#c0d2ec ;
}
.mail-compose_toolbar > span {
padding: 10px;
border-right:#efefdf solid 1px;
white-space: nowrap;
}
.mail-compose_toolbar > span.priority {
border-right: none;
}
.compose_egw_icons {
height: 24px;
width: 24px;
vertical-align: middle;
}
.mail-compose_fileselector div.progress {
display: none;
}
#mail-compose_button\[send\] { #mail-compose_button\[send\] {
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
padding-left: 30px; padding-left: 30px;
width: 80px; width: 80px;
margin: 0px !important;
background-image: url(images/mail_send.png) !important; background-image: url(images/mail_send.png) !important;
background-position: left; background-position: left;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -382,9 +401,6 @@ input[type=button] {
overflow:scroll; overflow:scroll;
overflow-x:hidden; overflow-x:hidden;
} }
#mail-compose_fileselector {
width: 245px !important;
}
#mail-compose_toolbar { #mail-compose_toolbar {
padding: 0px !important; padding: 0px !important;
} }

View File

@ -2,10 +2,9 @@
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="mail.compose" template="" lang="" group="0" version="1.9.001"> <template id="mail.compose" template="" lang="" group="0" version="1.9.001">
<html id="msg" class="message"/>
<vbox class="mailCompose mailComposeHeaderSection" width="99%">
<hbox class="et2_toolbar ui-widget-header ui-corner-all mail-compose_toolbar">
<vbox class="mailCompose mailComposeHeaderSection" width="100%">
<hbox class="ui-widget-header ui-corner-all mail-compose_toolbar" width="100%">
<description class="email-button-group sent"> <description class="email-button-group sent">
<button class="et2_button ui-button mail-compose_button" label="Send" id="button[send]"/> <button class="et2_button ui-button mail-compose_button" label="Send" id="button[send]"/>
</description> </description>
@ -14,19 +13,17 @@
<buttononly class="et2_button ui-button" label="Save as Draft and Print" value="saveAsDraftAndPrint" id="button[saveAsDraftAndPrint]" image="print" onclick="app.mail.saveAsDraftAndPrint"/> <buttononly class="et2_button ui-button" label="Save as Draft and Print" value="saveAsDraftAndPrint" id="button[saveAsDraftAndPrint]" image="print" onclick="app.mail.saveAsDraftAndPrint"/>
</description> </description>
<description class="email-button-group file"> <description class="email-button-group file">
<vfs-select class="$cont[vfsNotAvailable]" id="selectFromVFSForCompose" onchange="app.mail.vfsUploadForCompose"/> <vfs-select class="$cont[vfsNotAvailable] compose_egw_icons" id="selectFromVFSForCompose" onchange="app.mail.vfsUploadForCompose"/>
<file class="mail-compose_fileselector" statustext="Select file to attach to message" multiple='true' progress='mailUploadProgress' onFinish="app.mail.uploadForCompose" id="uploadForCompose" drop_target ="mailUploadSection"/> <file class="mail-compose_fileselector" statustext="Select file to attach to message" multiple='true' progress='mailUploadProgress' onFinish="app.mail.uploadForCompose" id="uploadForCompose" drop_target ="mailUploadSection"/>
</description> </description>
<description class="email-button-group egw"> <description class="email-button-group egw">
<description class="$cont[noSaveAsAvailable]" value="Save:"/> <description class="$cont[noSaveAsAvailable]" value="Save:"/>
<hbox class="$cont[noInfologAvailable]"> <hbox class="$cont[noInfologAvailable]">
<image class="et2_button ui-button et2_button_icon" label="Save as infolog on send" src="infolog/navbar" no_lang="1"/> <image class="et2_button ui-button et2_button_icon compose_egw_icons" label="Save as infolog on send" src="infolog/navbar" no_lang="1"/>
<checkbox statustext="check to save as infolog on send" id="to_infolog" options="on,off"/> <checkbox statustext="check to save as infolog on send" id="to_infolog" options="on,off"/>
</hbox> </hbox>
<hbox class="$cont[noTrackerAvailable]"> <hbox class="$cont[noTrackerAvailable]">
<image class="et2_button ui-button et2_button_icon" label="Save as tracker on send" src="tracker/navbar" no_lang="1"/> <image class="et2_button ui-button et2_button_icon compose_egw_icons" label="Save as tracker on send" src="tracker/navbar" no_lang="1"/>
<checkbox statustext="check to save as trackerentry on send" id="to_tracker" options="on,off"/> <checkbox statustext="check to save as trackerentry on send" id="to_tracker" options="on,off"/>
</hbox> </hbox>
</description> </description>
@ -34,7 +31,6 @@
<description value="Recieve notification"/> <description value="Recieve notification"/>
<checkbox statustext="check to recieve a notification when the message is read (note: not all clients support this and/or the reciever may not authorize the notification)" id="disposition" options="$cont[disposition]"/> <checkbox statustext="check to recieve a notification when the message is read (note: not all clients support this and/or the reciever may not authorize the notification)" id="disposition" options="$cont[disposition]"/>
</description> </description>
<description class="email-button-group priority"> <description class="email-button-group priority">
<description value="Priority"/> <description value="Priority"/>
<menulist> <menulist>
@ -101,7 +97,7 @@
<htmlarea span="all" name="mail_htmltext" id="mail_htmltext" expand_toolbar="true" height="320px" width="100%" /> <htmlarea span="all" name="mail_htmltext" id="mail_htmltext" expand_toolbar="true" height="320px" width="100%" />
</hbox> </hbox>
<hbox disabled="@is_html" class="mailComposeBody"> <hbox disabled="@is_html" class="mailComposeBody">
<textbox multiline="true" rows="15" cols="120" width="99%" span="all" no_lang="1" name="mail_plaintext" id="mail_plaintext"/> <textbox multiline="true" rows="15" cols="120" width="100%" span="all" no_lang="1" name="mail_plaintext" id="mail_plaintext"/>
</hbox> </hbox>
<groupbox class="mailSignature"> <groupbox class="mailSignature">
<menulist> <menulist>
@ -111,7 +107,7 @@
</groupbox> </groupbox>
<groupbox class="et2_file mailUploadSection"> <groupbox class="et2_file mailUploadSection">
<caption label="Files"/> <caption label="Files"/>
<box class="mailUploadProgress" id="mailUploadProgress" width="97%"/> <box class="mailUploadProgress" id="mailUploadProgress" width="99%"/>
<grid disabled="@no_griddata" id="attachments" width="100%" maxheight="165" overflow="auto"> <grid disabled="@no_griddata" id="attachments" width="100%" maxheight="165" overflow="auto">
<columns> <columns>
<column disabled="!@showtempname"/> <column disabled="!@showtempname"/>