diff --git a/kmail-enhanced-dark.tar.gz b/kmail-enhanced-dark.tar.gz index 7d607c2..9533bdc 100644 Binary files a/kmail-enhanced-dark.tar.gz and b/kmail-enhanced-dark.tar.gz differ diff --git a/preview.png b/preview.png new file mode 100644 index 0000000..4973432 Binary files /dev/null and b/preview.png differ diff --git a/source/header.desktop b/source/header.desktop new file mode 100644 index 0000000..12e6d5a --- /dev/null +++ b/source/header.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Author=SGOrava +AuthorEmail=sgd.orava@gmail.com +Description=KMail theme enhanced for black times +FileName=header.html +Name=KMail Enhanced Dark +ThemeVersion=1 \ No newline at end of file diff --git a/source/header.html b/source/header.html new file mode 100644 index 0000000..d5530ed --- /dev/null +++ b/source/header.html @@ -0,0 +1,87 @@ + +
+
+
{{ header.subject|safe }}
+
+ {% if header.photourl %} + + {% else %} + + {% endif %} +
+
+
+
{{ header.fromi18n }}
+
+ {{ header.from.fullAddress|safe }} + {% if header.resentfrom.isSet %} + {{ header.resentfromi18n }}: {{ header.resentfrom.fullAddress|safe }} + {% endif %} + {% if header.vcardname %} + {{ header.vcardi18n }} + {% endif %} + {% if header.organization %} + ({{ header.organization|safe }}) + {% endif %} +
+
+ {% if header.to.isSet %} +
+
{{ header.toi18n }}
+
{{ header.to.expandableTo|safe }}
+
+ {% endif %} + {% if header.cc.isSet %} +
+
{{ header.cci18n }}
+
{{ header.cc.expandableCc|safe }}
+
+ {% endif %} + {% if header.bcc.isSet %} +
+
{{ header.bcci18n }}
+
{{ header.bcc.fullAddress|safe }}
+
+ {% endif %} + {% if header.sender %} +
+
{{ header.senderi18n }}
+
{{ header.sender|safe }}
+
+ {% endif %} + {% if header.listid %} +
+
{{ header.listidi18n }}
+
{{ header.listid }}
+
+ {% endif %} +
+
{{ header.datei18n }}
+
{{ header.date.short }}
+
+ {% if header.spamHTML %} +
+
{{ header.spamstatusi18n }}
+
{{ header.spamHTML|safe }}
+
+ {% endif %} + {% if header.messageHasSecurityInfo %} +
+
{{ header.messageHasSecurityInfoI18n }}
+
+ {% if header.messageIsSigned %} + {{ header.signedIcon|safe }} + {% endif %} + {% if header.messageIsEncrypted %} + {{ header.encryptedIcon|safe }} + {% endif %} +
+
+ {% endif %} +
+ {% if header.hasAttachment %} +
{{ header.attachmentHtml|safe }}
+ {% endif %} +
+
+
diff --git a/source/photo.png b/source/photo.png new file mode 100644 index 0000000..982bd82 Binary files /dev/null and b/source/photo.png differ diff --git a/source/photo.svg b/source/photo.svg new file mode 100644 index 0000000..778dd98 --- /dev/null +++ b/source/photo.svg @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/source/style.css b/source/style.css new file mode 100644 index 0000000..f6bfb46 --- /dev/null +++ b/source/style.css @@ -0,0 +1,104 @@ +body { + margin: 0; + padding: 0; + color: #FFFFFF !important; +} +div#headerbox { + border-radius: 3px; + border-bottom: 1px solid rgb(190, 190, 190); + color: rgb(200, 200, 200) !important; + overflow: auto; + padding: 5px 20px; +} +div#headerbox table.outer { + display: inline; + position: fixed !important; + top: -1px; + left: -1px; + bottom: -1px; + right: 0px; + border: none !important; + table-collapse: collapse; +} +div#headerbox div#subject { + color: rgb(200, 200, 200) !important; + font-size: 22px; + font-weight: normal; + line-height: 24px; + padding-bottom: 5px; + padding-top: 5px; +} +div#headerbox div#photo { + float: left; + margin: 5px; +} +div#headerbox div.table { + display: table; + padding-right: 12px; + padding-top: 6px; +} +div#headerbox div.row { + display: table-row; +} +div#headerbox div.headerleft { + display: table-cell; + padding: 0.1em 1em; +} +div#headerbox div.headerright { + display: table-cell; + font-weight: bold; + padding: 0.1em; +} +div#headerbox div.headerrightdate { + color: rgb(170, 175, 179) !important; + display: table-cell; + font-weight: bold; + padding: 0.1em; +} +div#headerbox .actiontable { + display: table; + width: 100%; +} +div#headerbox div.actionrowtable { + display:table-row; +} +div#headerbox div.theactioncell { + display: table-cell; + padding: 0px 2px; /* just some padding, if needed*/ + white-space: pre; /* this will avoid line breaks*/ +} +div#headerbox div.theactionbigcell{ + display: table-cell; + width: 100%; /* this will shrink other cells */ +} + +div#attachmentInjectionPoint div{ + color: #FFFFFF; + background-color: #141414 !important; + padding: 3px; +} +div#attachmentInjectionPoint span{ + border-color: #555555 !important; +} + +#kmailContent { + clear: both; + margin-top: 10px; + padding: 20px; +} + +@media print { +body { + color: black !important; +} +div#headerbox { + color: black !important; +} +div#headerbox div#subject { + color: black !important; +} +div#attachmentInjectionPoint div{ + color: black !important; + background-color: white !important; +} +} \ No newline at end of file