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) 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; $actions[$key]['toolbarDefault'] = false;
} }
} }

View File

@ -16,7 +16,7 @@
<row> <row>
<description class="$row_cont[class] mobile_cat_col"/> <description class="$row_cont[class] mobile_cat_col"/>
<vbox> <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> <hbox>
<description class="status_img $row_cont[class]"/> <description class="status_img $row_cont[class]"/>
<description id="${row}[subject]" no_lang="1" class="$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; padding-top: 10px;
font-weight: bold; font-weight: bold;
} }
body #popupMainDiv #mail-display .mail-d-h1 span {
font-size: 12pt;
}
body #popupMainDiv #mail-display .mail-d-h2 { body #popupMainDiv #mail-display .mail-d-h2 {
padding-top: 5px; padding-top: 5px;
font-size: 9pt; font-size: 10pt;
color: grey; color: grey;
} }
body #popupMainDiv #mail-display .mail-d-h2 a, 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 > * { body #popupMainDiv #mail-display .mail-d-h2 a#mail-display_FROM > * {
color: black; color: black;
padding-top: 15px; padding-top: 15px;
font-size: 9.5; font-size: 12pt;
} }
body #popupMainDiv #mail-display .et2_details { body #popupMainDiv #mail-display .et2_details {
width: 50%; width: 50%;
@ -2791,8 +2794,8 @@ div.mailComposeHeaderSection > table {
padding-bottom: 8px; padding-bottom: 8px;
} }
#mail-index table.egwGridView_outer tbody td a[id^='mail-index_'][id$='fromaddress]'] { #mail-index table.egwGridView_outer tbody td a[id^='mail-index_'][id$='fromaddress]'] {
color: #26537c; color: #373737;
font-size: 10pt; font-size: 12pt;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -2810,6 +2813,9 @@ div.mailComposeHeaderSection > table {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
width: 98%; 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]'] { #mail-index table.egwGridView_outer tbody td label[id^='mail-index_'][id$='date]'] {
padding-top: 0; padding-top: 0;

View File

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