Commit 398b8cc4 authored by Laurent Montel's avatar Laurent Montel 😁

Add theme based on "Breeze Flat" We need to refresh a little default theme

parent 324a5adc
......@@ -8,8 +8,7 @@ add_subdirectory(fancyheaderstyleplugin)
add_subdirectory(grantleeheaderstyleplugin)
add_subdirectory(longheaderstyleplugin)
add_subdirectory(standardsheaderstyleplugin)
#Laurent disable it until we have a default theme
#add_subdirectory(defaultgrantleeheaderstyleplugin)
add_subdirectory(defaultgrantleeheaderstyleplugin)
if(BUILD_TESTING)
add_subdirectory(autotests)
add_subdirectory(tests)
......
[Desktop Entry]
Author=KMail 5.1 Default Theme
Author=KMail 5.2 Default Theme
AuthorEmail=montel@kde.org
Description=KMail Default Theme 5.1
Description=KMail Default Theme 5.2 (Based on Breeze Flat author Kristofer Rickheden Gustavsson)
FileName=header.html
Name=KMail 5.1
Name=KMail 5.2
ThemeVersion=1
<link href="{{ header.absoluteThemePath }}/style.css" rel="stylesheet" type="text/css" />
<div class="fancy header" id="cont">
<table class="outer"></table>
</div>
<div id="kmailPage">
<div id="headerbox" dir="ltr">
<div id="subject" dir="{{ header.subjectDir }}">{{ header.subject|safe }}</div>
<div id="photo">
{% if header.photourl %}
<img src="{{ header.photourl }}" width="{{ header.photowidth }}" height="{{ header.photoheight }}" />
{% else %}
<img src="{{ header.absoluteThemePath }}/photo.svg" width="{{ header.photowidth }}" height="{{ header.photoheight }}" />
{% endif %}
</div>
<div class="table">
<div class="row">
<div class="headerleft">{{ header.fromi18n }}</div>
<div class="headerright">
{{ header.from|safe }}
{% if header.resentfrom %}
{{ header.resentfromi18n }}: {{ header.resentfrom|safe }}
{% endif %}
{% if vCardName %}
<a href="{{ header.vcardname|safe }}">{{ header.vcardi18n }}</a>
{% endif %}
{% if header.organization %}
({{ header.organization|safe }})
{% endif %}
</div>
</div>
<div class="row">
<div class="headerleft">{{ header.toi18n }}</div>
<div class="headerright">{{ header.to|safe }}</div>
</div>
{% if header.cc %}
<div class="row">
<div class="headerleft">{{ header.cci18n }}</div>
<div class="headerright">{{ header.cc|safe }}</div>
</div>
{% endif %}
{% if header.bcc %}
<div class="row">
<div class="headerleft">{{ header.bcci18n }}</div>
<div class="headerright">{{ header.bcc|safe }}</div>
</div>
{% endif %}
{% if header.Sender %}
<div class="row">
<div class="headerleft">Sender:</div>
<div class="headerright">{{ header.Sender|safe }}</div>
</div>
{% endif %}
{% if header.ListId %}
<div class="row">
<div class="headerleft">List-Id:</div>
<div class="headerright">{{ header.ListId }}</div>
</div>
{% endif %}
<div class="row">
<div class="headerleft">{{ header.datei18n }}</div>
<div class="headerrightdate" dir="{{ dateDir }}">{{ header.dateshort }}</div>
</div>
<!--
{% if header.spamHTML %}
<div class="row">
<div class="headerleft">{{ header.spamstatusi18n }}</div>
<div class="headerright">{{ header.spamHTML|safe }}</div>
</div>
{% endif %}
-->
</div>
<div id="attachmentInjectionPoint"></div>
</div>
<div id="kmailContent">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48"
height="72"
id="svg3049"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="photo.svg"
inkscape:export-filename="/home/uri/.kde/share/icons/NITRUX-KDE/16x16/actions/view-right-new.png"
inkscape:export-xdpi="30"
inkscape:export-ydpi="30">
<defs
id="defs3051" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="19.655546"
inkscape:cx="6.5434849"
inkscape:cy="43.289616"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="3200"
inkscape:window-height="1660"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:showpageshadow="false"
borderlayer="true"
showguides="true">
<sodipodi:guide
position="2.0000044,20.00003"
orientation="18,0"
id="guide4067" />
<sodipodi:guide
position="2.0000044,2.0000296"
orientation="0,18"
id="guide4069" />
<sodipodi:guide
position="46,19"
orientation="-18,0"
id="guide4071" />
<sodipodi:guide
position="38,70"
orientation="0,-18"
id="guide4073" />
<sodipodi:guide
position="3.0000044,19.00003"
orientation="16,0"
id="guide4077" />
<sodipodi:guide
position="3.0000044,3.0000296"
orientation="0,16"
id="guide4079" />
<sodipodi:guide
position="45,11"
orientation="-16,0"
id="guide4081" />
<sodipodi:guide
position="37,69"
orientation="0,-16"
id="guide4083" />
<inkscape:grid
type="xygrid"
id="grid4085" />
</sodipodi:namedview>
<metadata
id="metadata3054">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-421.71429,-475.79074)">
<path
style="opacity:1;fill:#bdc3c7;fill-opacity:1;stroke:none"
d="m 445.67924,480.79074 c -6.648,0 -12,5.352 -12,12 0,6.648 5.352,12 12,12 6.648,0 12,-5.352 12,-12 0,-6.648 -5.352,-12 -12,-12 z m 0,32 c -11.08,0 -20,3.56792 -20,8 l 0,20 0,4 4.80468,0 30.39064,0 4.80468,0 0,-4 0,-20 c 0,-4.43208 -8.92,-8 -20,-8 z m 0,4 c 8.864,0 16,2.5452 16,5.71092 l 0,18.28908 -32,0 0,-18.28908 c 0,-3.16572 7.136,-5.71092 16,-5.71092 z"
id="rect4109"
inkscape:connector-curvature="0" />
</g>
</svg>
body {
height: 100%;
line-height: 18px;
padding: 0px;
margin: 0px;
background-color: red;
/*background-color: rgb(207,207,208) !important;*/
overflow: hidden;
}
div#cont {
/*display: inline;
position: fixed !important;
top: -10px;
left: -10px;
bottom: -10px;
right: -10px;
border: none !important;*/
padding: -5px;
margin: 0px;
}
table.outer {
display: inline;
position: fixed !important;
top: -1px;
left: -1px;
bottom: -1px;
right: 0px;
/*width: 110%;
height: 110%;*/
border: none !important;
table-collapse: collapse;
}
div#kmailPage {
display: inline;
position: fixed;
top: 1px;
left: 1px;
bottom: 1px;
right: 2px;
border-radius: 3px;
/*border: solid 1px rgba(0,0,0,0.3);*/
padding: 20px;
overflow: auto;
background-color: #fff;
box-shadow: rgba(0,0,0,0.3) 0px 1px 2px;
}
div#headerbox {
/*background: #31363b none repeat scroll 0 0;*/
border-radius: 3px;
border-bottom: 1px solid rgb(190, 190, 190);
color: rgb(100, 100, 100) !important;
overflow: auto;
padding: 5px 20px;
}
div#subject {
color: rgb(100, 100, 100) !important;
font-size: 22px;
font-weight: normal;
line-height: 24px;
padding-bottom: 5px;
padding-top: 5px;
}
div#photo {
float: left;
margin: 5px;
}
div.table {
display: table;
padding-right: 12px;
padding-top: 6px;
}
div.row {
display: table-row;
}
div.headerleft {
display: table-cell;
padding: 0.1em 1em;
}
div.headerright {
display: table-cell;
font-weight: bold;
padding: 0.1em;
}
div.headerrightdate {
color: rgb(120, 125, 129) !important;
display: table-cell;
font-weight: bold;
padding: 0.1em;
}
#kmailContent {
clear: both;
margin-top: 10px;
padding: 20px;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment