Ref T369, style adjustments

This commit is contained in:
Klaus Basan
2018-09-23 03:30:55 +02:00
parent 0bb56fedfb
commit 43541ad08e
3 changed files with 22 additions and 43 deletions

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>338</width> <width>266</width>
<height>26</height> <height>23</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">

View File

@@ -345,7 +345,7 @@ QPlainTextEdit {
QGroupBox { QGroupBox {
border: 1px solid green; border: 1px solid green;
margin-top: 1.0em; /* leave space at the top for the title */ margin-top: 1.0em; /* leave space at the top for the title */
padding-top: 0.25em; padding-top: 0.5em;
border-radius: 5px; border-radius: 5px;
background: black; /* background is background color here */ background: black; /* background is background color here */
background-image: url(:/textures/icons/textures/texture-inner.jpg); background-image: url(:/textures/icons/textures/texture-inner.jpg);
@@ -355,12 +355,16 @@ QGroupBox::disabled {
background: rgba(4, 105, 105, 105); background: rgba(4, 105, 105, 105);
} }
/* QGroupBox::flat { border: 0px; } */
QGroupBox::unchecked { border: 0px; }
QGroupBox::title { QGroupBox::title {
top: 2px; top: 2px;
left: 5px; left: 1em;
subcontrol-origin: margin; subcontrol-origin: margin;
subcontrol-position: middle left; /* position at the top center */ subcontrol-position: middle left; /* position at the top center */
padding: 0px 10px 0px 10px; padding: 0px 2em 0px 2em;
min-width: 15em;
background-color: darkblue; background-color: darkblue;
border: 1px solid green; border: 1px solid green;
border-radius: 5px; border-radius: 5px;

View File

@@ -2,44 +2,19 @@
/** does not(!) affect text edit **/ /** does not(!) affect text edit **/
/** http://doc.qt.io/qt-5/richtext-html-subset.html **/ /** http://doc.qt.io/qt-5/richtext-html-subset.html **/
table { table { font-size: 8pt; }
font-size: 8pt;
}
tr { tr { }
} td { vertical-align: middle; }
td.timestamp { color: green; }
td.message{ }
td { /** recipient info normal/supervisor **/
vertical-align: middle; td.recipient{ color: yellow; }
} .sent td.recipient{ color: blue; }
.supervisor td.recipient{ background-color: red; }
td.timestamp { /** sent info normal/supervisor **/
color: green; td.sender{ color: yellow; }
} .sent td.sender{ color: blue; }
.supervisor td.sender{ background-color: red; }
td.recipient{
color: yellow;
}
.sent td.recipient{
color: blue;
}
.supervisor td.recipient{
background-color: red;
}
td.sender{
color: yellow;
}
.sent td.sender{
color: blue;
}
.supervisor td.sender{
background-color: red;
}
td.message{
}