Mobile theme W.I.P.:

-Change style for mail index and display
-Add upload file as default action in compose
This commit is contained in:
Hadi Nategh 2016-01-26 16:25:18 +00:00
parent eb9c599d00
commit 96bcb4f9e8
4 changed files with 23 additions and 11 deletions

View File

@ -235,7 +235,7 @@ class mail_compose
{
foreach ($actions as $key => $action)
{
if (!in_array($key, array('send','button[saveAsDraft]'))) {
if (!in_array($key, array('send','button[saveAsDraft]','uploadForCompose' ))) {
$actions[$key]['toolbarDefault'] = false;
}
}

View File

@ -16,7 +16,7 @@
<row>
<description class="$row_cont[class] mobile_cat_col"/>
<vbox>
<url-email id="${row}[fromaddress]" contact_plus = "true" class="$row_cont[class]" readonly="true"/>
<url-email id="${row}[fromaddress]" class="$row_cont[class]" readonly="true"/>
<hbox>
<description class="status_img $row_cont[class]"/>
<description id="${row}[subject]" no_lang="1" class="$row_cont[class]" />

View File

@ -2670,9 +2670,12 @@ div.mailComposeHeaderSection > table {
padding-top: 10px;
font-weight: bold;
}
body #popupMainDiv #mail-display .mail-d-h1 span {
font-size: 12pt;
}
body #popupMainDiv #mail-display .mail-d-h2 {
padding-top: 5px;
font-size: 9pt;
font-size: 10pt;
color: grey;
}
body #popupMainDiv #mail-display .mail-d-h2 a,
@ -2684,7 +2687,7 @@ div.mailComposeHeaderSection > table {
body #popupMainDiv #mail-display .mail-d-h2 a#mail-display_FROM > * {
color: black;
padding-top: 15px;
font-size: 9.5;
font-size: 12pt;
}
body #popupMainDiv #mail-display .et2_details {
width: 50%;
@ -2791,8 +2794,8 @@ div.mailComposeHeaderSection > table {
padding-bottom: 8px;
}
#mail-index table.egwGridView_outer tbody td a[id^='mail-index_'][id$='fromaddress]'] {
color: #26537c;
font-size: 10pt;
color: #373737;
font-size: 12pt;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -2810,6 +2813,9 @@ div.mailComposeHeaderSection > table {
white-space: nowrap;
text-overflow: ellipsis;
width: 98%;
font-size: 10pt;
color: #828282 !important;
font-weight: normal !important;
}
#mail-index table.egwGridView_outer tbody td label[id^='mail-index_'][id$='date]'] {
padding-top: 0;

View File

@ -1822,13 +1822,16 @@ div.mailComposeHeaderSection > table {
.mail-d-h1{
padding-bottom: 15px;
border-bottom: 1px solid silver;
font-size: 12pt;
span {
.mob-fontsize-l;
}
.mob-fontsize-l;
padding-top: 10px;
font-weight: bold;
}
.mail-d-h2{
padding-top: 5px;
font-size: 9pt;
.mob-fontsize-n;
color: grey;
a,span,.et2_label {
color: grey;
@ -1837,7 +1840,7 @@ div.mailComposeHeaderSection > table {
a#mail-display_FROM>* {
color:black;
padding-top: 15px;
font-size: 9.5;
.mob-fontsize-l;
}
}
@ -1956,8 +1959,8 @@ div.mailComposeHeaderSection > table {
padding-top: 8px;
padding-bottom: 8px;
a[id^='mail-index_'][id$='fromaddress]']{
color:#26537c;
.mob-fontsize-n;
color:@gray_80;
.mob-fontsize-l;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -1975,6 +1978,9 @@ div.mailComposeHeaderSection > table {
white-space: nowrap;
text-overflow: ellipsis;
width: 98%;
.mob-fontsize-n;
color: @gray_50 !important;
font-weight: normal !important;
}
label[id^='mail-index_'][id$='date]']{
padding-top: 0;