From c228d5b435f9af55552991d832efbad320d0d45e Mon Sep 17 00:00:00 2001 From: ralf Date: Fri, 5 Aug 2022 13:31:45 +0200 Subject: [PATCH] fix wrong url in mail css --- mail/templates/default/app.css | 24 +++++----- .../default/images/kmmsgforwarded.png | Bin 516 -> 0 bytes .../templates/default/images/kmmsgreplied.png | Bin 553 -> 0 bytes mail/templates/pixelegg/app.css | 42 ++++-------------- mail/templates/pixelegg/app.less | 31 +------------ 5 files changed, 21 insertions(+), 76 deletions(-) delete mode 100644 mail/templates/default/images/kmmsgforwarded.png delete mode 100755 mail/templates/default/images/kmmsgreplied.png diff --git a/mail/templates/default/app.css b/mail/templates/default/app.css index caa1fc99c1..33ba398a50 100644 --- a/mail/templates/default/app.css +++ b/mail/templates/default/app.css @@ -75,35 +75,35 @@ tr.mail.deleted td:first-child{ width: 12px; height: 12px; background-repeat: no-repeat; - background-image: url(../default/images/kmmsgread.png); + background-image: url(../default/images/kmmsgread.svg); } tr.deleted .status_img { - background-image: url(../default/images/kmmsgdel.png); + background-image: url(../default/images/kmmsgdel.svg); } tr.unseen .status_img { - background-image: url(../default/images/kmmsgunseen.png); + background-image: url(../default/images/kmmsgunseen.svg); } tr.flagged_seen .status_img { - background-image: url(../default/images/read_flagged_small.png) !important; + background-image: url(../default/images/read_flagged_small.svg) !important; } tr.flagged_unseen .status_img { - background-image: url(../default/images/unread_flagged_small.png) !important; + background-image: url(../default/images/unread_flagged_small.svg) !important; } tr.recent .status_img { - background-image: url(../default/images/kmmsgnew.png) !important; + background-image: url(../default/images/kmmsgnew.svg) !important; } tr.replied .status_img { - background-image: url(../default/images/kmmsgreplied.png) !important; + background-image: url(../default/images/mail_reply.svg) !important; } tr.forwarded .status_img { - background-image: url(../default/images/kmmsgforwarded.png) !important; + background-image: url(../default/images/mail_forward.svg) !important; } .subjectBold @@ -214,7 +214,6 @@ table tr.attachmentRow > td > img { pre { white-space: pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ width: 99%; } @@ -409,7 +408,6 @@ div.mailUploadSection > div.et2_hbox > label { border-right: 1px solid gray; border-bottom: 1px solid gray; background-color: #c0d2ec; - background-image: url(../../../phpgwapi/templates/default/images/egw_action/header_overlay.png); background-position: center; background-repeat: repeat-x; } @@ -431,7 +429,7 @@ div.mail-compose_fileselector { } .mail-compose_fileselector span.et2_file_span { background-repeat: no-repeat; - background-image: url(../default/images/attach.png); + background-image: url(../default/images/attach.svg); background-size: inherit; background-position: left; } @@ -443,7 +441,7 @@ div.mail-compose_fileselector { font-weight: bold; padding-left: 30px; width: 80px; - background-image: url(../default/images/mail_send.png) !important; + background-image: url(../default/images/mail_send.svg) !important; background-position: left; background-repeat: no-repeat; } @@ -901,7 +899,7 @@ and (orientation : portrait) { /* Smartphones (landscape) ----------- */ @media only screen and (min-width : 321px) -and (max-device-width:768){ +and (max-device-width:768px){ #mail-index div#mail-index_nm tr.mail.row { } diff --git a/mail/templates/default/images/kmmsgforwarded.png b/mail/templates/default/images/kmmsgforwarded.png deleted file mode 100644 index a791fb1da4a1258812de8d65b7490aa4f9854489..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 516 zcmV+f0{i`mP)R02+|0)DR7r!ZgXiX@h`M);i8{Vv>qEtT21bPK%$MhYhV%t2_gKf8OP4E4DrHa zxbL2G?wRwr#bO~5Lbj^aY6W#7isGVNF5ly>g7cZnd^2iUgUa!mZ zyr^lK+UxbsK+3RtKA+E@!+UNp7=*Avz*jI$Gc+2F{170+;n34=w}a7WbmtvKVPRXA zWoa^*C>+NT48GBOY}@uwN=Yynw1JUpwc0)w91B?MAQ^i)oiaOuq9`ti&Uid#Gs`YP5BoG;d}gjOlRiUS)>*trE*Tg57@KMKIy>fz$? z_ysKXv)Sz1I!5?Y@B4hdPN`J-eH=;~>2&&;X^@Tj5nuq>VZ?9FFmToY0000V%?4YDT|i+w=qffBp5T5S)B zPybkA!{N|UDwQ_Js5K4XB@{FcDwxt3LZsxTUAwcVLF|fkkoxX-|WvhsDY+w zd?XT4XuU!%B{VV6S#>xZ!%!%6 td > img { pre { white-space: pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; - /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ width: 99%; @@ -429,7 +427,7 @@ div.mail-compose_fileselector { } .mail-compose_fileselector span.et2_file_span { background-repeat: no-repeat; - background-image: url(../default/images/attach.png); + background-image: url(../default/images/attach.svg); background-size: inherit; background-position: left; } @@ -441,7 +439,7 @@ div.mail-compose_fileselector { font-weight: bold; padding-left: 30px; width: 80px; - background-image: url(../default/images/mail_send.png) !important; + background-image: url(../default/images/mail_send.svg) !important; background-position: left; background-repeat: no-repeat; } @@ -1604,30 +1602,8 @@ tr.mail.deleted td:first-child { width: 16px; height: 16px; background-repeat: no-repeat; - background-image: url(../api/templates/default/images/kmmsgread.svg); background-size: 16px 16px; } -tr.deleted .status_img { - background-image: url(../api/templates/default/images/kmmsgdel.svg); -} -tr.unseen .status_img { - background-image: url(../api/templates/default/images/kmmsgunseen.svg); -} -tr.flagged_seen .status_img { - background-image: url(../api/templates/default/images/read_flagged_small.svg) !important; -} -tr.flagged_unseen .status_img { - background-image: url(../api/templates/default/images/unread_flagged_small.svg) !important; -} -tr.recent .status_img { - background-image: url(../api/templates/default/images/kmmsgnew.svg) !important; -} -tr.replied .status_img { - background-image: url(../api/templates/default/images/mail_reply.svg) !important; -} -tr.forwarded .status_img { - background-image: url(../api/templates/default/images/mail_forward.svg) !important; -} .subjectBold { font-size: 12px; font-weight: bold; @@ -1803,7 +1779,7 @@ input[type=button] { text-align: left; font-weight: bold; padding-left: 25px; - background-image: url(../api/templates/default/images/write_mail.png) !important; + background-image: url(../default/images/write_mail.png) !important; background-position: left; background-repeat: no-repeat; } diff --git a/mail/templates/pixelegg/app.less b/mail/templates/pixelegg/app.less index d0bd5452b1..f666ac25a7 100755 --- a/mail/templates/pixelegg/app.less +++ b/mail/templates/pixelegg/app.less @@ -641,38 +641,9 @@ tr.mail.deleted td:first-child { width: 16px; height: 16px; background-repeat: no-repeat; - background-image: url(../api/templates/default/images/kmmsgread.svg); background-size: 16px 16px; } -tr.deleted .status_img { - background-image: url(../api/templates/default/images/kmmsgdel.svg); -} - -tr.unseen .status_img { - background-image: url(../api/templates/default/images/kmmsgunseen.svg); -} - -tr.flagged_seen .status_img { - background-image: url(../api/templates/default/images/read_flagged_small.svg) !important; -} - -tr.flagged_unseen .status_img { - background-image: url(../api/templates/default/images/unread_flagged_small.svg) !important; -} - -tr.recent .status_img { - background-image: url(../api/templates/default/images/kmmsgnew.svg) !important; -} - -tr.replied .status_img { - background-image: url(../api/templates/default/images/mail_reply.svg) !important; -} - -tr.forwarded .status_img { - background-image: url(../api/templates/default/images/mail_forward.svg) !important; -} - .subjectBold { font-size: 12px; @@ -877,7 +848,7 @@ input[type=button] { text-align: left; font-weight: bold; padding-left: 25px; - background-image: url(../api/templates/default/images/write_mail.png) !important; + background-image: url(../default/images/write_mail.png) !important; background-position: left; background-repeat: no-repeat; }