Commit 3099fd74 authored by Laurent Montel's avatar Laurent Montel 😁

improve theme

parent 102664e1
<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">
<table>
<tr>
<td><div> {{ header.newmessageaction|safe }} </div></td>
<td><div> {{ header.printpreviewmessageaction|safe }} </div></td>
<td><div> {{ header.printmessageaction|safe }} </div></td>
<table class="actiontable">
<tr class="actionrowtable">
<td><div class="theactioncell"> {{ header.newmessageaction|safe }} </div></td>
<td><div class="theactioncell"> {{ header.printpreviewmessageaction|safe }} </div></td>
<td><div class="theactioncell"> {{ header.printmessageaction|safe }} </div></td>
<td><div class="theactioncell theactionbigcell"></div></td>
<td><div class="theactioncell"> {{ header.trashaction|safe }} </div></td>
</tr>
</table>
<div id="subject" dir="{{ header.subjectDir }}">{{ header.subject|safe }}</div>
<div id="subject" dir="{{ header.subjectDir }}">{{ header.subject|safe }}</div>
<div id="photo">
{% if header.photourl %}
......
......@@ -88,6 +88,23 @@ div.headerrightdate {
font-weight: bold;
padding: 0.1em;
}
.actiontable {
display: table;
width: 100%;
}
div.actionrowtable {
display:table-row;
}
div.theactioncell {
display: table-cell;
padding: 0px 2px; /* just some padding, if needed*/
white-space: pre; /* this will avoid line breaks*/
}
div.theactionbigcell{
display: table-cell;
width: 100%; /* this will shrink other cells */
}
#kmailContent {
clear: both;
margin-top: 10px;
......
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