From ce1a5023443381e15a9850f091f437923dff5178 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Feb 2016 15:07:35 +0000 Subject: [PATCH] work in progress: styling mail list, added styling for progress-bar/quota in toolbar or nextmatch header --- etemplate/templates/default/etemplate2.css | 18 ++- mail/templates/default/app.css | 47 +++---- mail/templates/default/index.xet | 17 ++- mail/templates/pixelegg/app.css | 152 ++------------------- mail/templates/pixelegg/app.less | 115 +--------------- 5 files changed, 53 insertions(+), 296 deletions(-) diff --git a/etemplate/templates/default/etemplate2.css b/etemplate/templates/default/etemplate2.css index d9f8102729..59f41447f3 100644 --- a/etemplate/templates/default/etemplate2.css +++ b/etemplate/templates/default/etemplate2.css @@ -1108,7 +1108,7 @@ div.message.floating { } .nextmatch_header .header_count { padding: 0px 10px; - margin: 1px 6px 1px; + margin: 1px 6px 1px 0; height: 22px; border: 1px solid silver; text-align: center; @@ -1632,9 +1632,7 @@ div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button { width: 24px; background-position: center; background-size: 16px 16px; - border-radius: 3px; padding-left: 0; - background-color: #fafafa; } .et2_toolbar .et2_toolbar_actionlist button.et2_button_with_image.et2_toolbar_hasCaption, .nextmatch_header_row .et2_button_text { width:auto; @@ -1648,9 +1646,21 @@ div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button { width:auto; padding-left: 3px; } -.et2_toolbar button, .nextmatch_header_row button { +.et2_toolbar button, .nextmatch_header_row button, .et2_toolbar div.et2_progress, .nextmatch_header_row div.et2_progress { margin: 1px 4px 1px 0; height: 24px; + border-radius: 3px; + background-color: #fafafa; + border: 1px solid silver; +} +.et2_toolbar div.et2_progress, .nextmatch_header_row div.et2_progress { + padding: 0; + height: 22px; +} +.et2_toolbar .et2_progress > div, .nextmatch_header_row .et2_progress > div { + margin: 2px; + border-radius: 3px; + height: 18px; } /** * Daterange selection in NM header diff --git a/mail/templates/default/app.css b/mail/templates/default/app.css index 8aff1c0316..88590a368c 100644 --- a/mail/templates/default/app.css +++ b/mail/templates/default/app.css @@ -144,7 +144,7 @@ tr.forwarded span.status_img { font-style: italic; font-weight : normal !important; font-family: Arial; - color: grey !important; + color: grey !important; } TR.sieveRowActive @@ -304,21 +304,15 @@ pre { position: relative } .mail-index_quotabox { - position: absolute; - top:8px; - right:74px; - width:200px !important; - z-index:99; + display: inline-block; } .mail-index_vacation { - position: absolute; - top:3px; - right:190px; - width:250px !important; - z-index:99; + display: inline-block; + vertical-align: top; } .mail-index_vacation > div { text-align: center; + line-height: 110%; } .mail-index_vacation > div > span { color: red; @@ -330,20 +324,16 @@ pre { display: none !important; } .mail-index_QuotaGreen, .mail-index_QuotaYellow, .mail-index_QuotaRed { - height:12px !important; width:100px !important; } .mail-index_QuotaGreen > div { background-color: green !important; - height:11px !important; } .mail-index_QuotaYellow > div { background-color: yellow !important; - height:11px !important; } .mail-index_QuotaRed > div { background-color: red !important; - height:11px !important; } /* influence the tree display and scrolling behavior @@ -404,16 +394,11 @@ div.mailUploadSection > div.et2_hbox > label { background-position: center; border:none; } -#mail-index_button\[mailcreate\] { - width: 99%; - text-align: left; - font-weight: bold; - padding-left: 25px; - background-image: url(../default/images/write_mail.png) !important; - background-position: left; - background-repeat: no-repeat; +#mail-index_button\[mailcreate\], #composeToolbar-send { + color: white; + background-color: #189800; } -.mail-compose_composeToolbar{ +.mail-compose_composeToolbar { border-left: 1px solid silver; border-top: 1px solid silver; border-right: 1px solid gray; @@ -790,16 +775,16 @@ blockquote blockquote blockquote blockquote blockquote blockquote{ } .tmpPrintDiv td, textarea { font-family: Verdana, Arial, Helvetica, sans-serif; - + } .tmpPrintDiv .td_display { font-family: Verdana, Arial, Helvetica, sans-serif; - + color: black; background-color: #FFFFFF; } .tmpPrintDiv .td_display span[style] { - + } pre { width:99% !important; @@ -840,15 +825,15 @@ blockquote blockquote blockquote blockquote blockquote blockquote{ /* MOBILE and tablets (Portrait & Landscape) View --------------*/ @media only screen and (max-device-width:1024px) { - - + + } /* tablets and smartphones (portrait) ----------- */ @media only screen and (max-device-width : 1024px) and (orientation : portrait) { #mail-index div#mail-index_nm tr.mail.row { - + } } @@ -857,7 +842,7 @@ and (orientation : portrait) { and (min-width : 321px) and (max-device-width:768){ #mail-index div#mail-index_nm tr.mail.row { - + } } diff --git a/mail/templates/default/index.xet b/mail/templates/default/index.xet index 0070b859b3..41e4d8f4a3 100644 --- a/mail/templates/default/index.xet +++ b/mail/templates/default/index.xet @@ -4,7 +4,7 @@ -