Fixed the stylesheets

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7479 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-08-01 16:19:07 +00:00
parent d13aa90b2b
commit 2d2e3881cf
2 changed files with 25 additions and 41 deletions

View File

@ -11,24 +11,15 @@
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<property name="horizontalSpacing">
<number>6</number>
</property>
<property name="verticalSpacing">
<number>1</number>
</property>
<property name="margin">
<number>1</number>
</property>
<item row="0" column="0">
<widget class="QFrame" name="frame">
<property name="sizePolicy">
@ -51,6 +42,12 @@
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="logoLabel">
<property name="minimumSize">
<size>
<width>158</width>
<height>108</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>156</width>
@ -64,7 +61,10 @@
<pixmap resource="../images.qrc">:/images/thumb-default-video.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
@ -461,16 +461,7 @@
<item>
<widget class="QFrame" name="expandFrame">
<layout class="QVBoxLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<property name="margin">
<number>0</number>
</property>
<item>
@ -482,16 +473,7 @@
<enum>QFrame::Sunken</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<property name="margin">
<number>5</number>
</property>
<item>

View File

@ -81,9 +81,7 @@ CreateChannelMsg QFrame#fileFrame {
background: white;
}
ChanMsgItem QLabel#logoLabel {
background-color: black;
}
/* Forums */
@ -351,33 +349,37 @@ ChanNewItem QLabel#logoLabel {
border-radius: 2px;
}
ChanMsgItem > QFrame#frame[new=false] {
GxsChannelPostItem > QFrame#frame[new=false] {
border: 3px solid #D3D3D3;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFFF, stop:1 #F2F2F2);
border-radius: 10px;
}
ChanMsgItem > QFrame#frame[new=true] {
GxsChannelPostItem > QFrame#frame[new=true] {
border: 3px solid #82B9F4;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F0F8FD, stop:0.8 #E6F2FD, stop: 0.81 #E6F2FD, stop: 1 #D2E7FD);
border-radius: 10px;
}
ChanMsgItem QLabel#newLabel {
GxsChannelPostItem QLabel#newLabel {
border: 1px solid #167BE7;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2291E0, stop: 1 #3EB3FF);
border-radius: 3px;
}
ChanMsgItem QFrame#msgFrame {
GxsChannelPostItem QFrame#msgFrame {
border: 2px solid #238;
border-radius: 10px;
}
ChanMsgItem QLabel#logoLabel {
GxsChannelPostItem QLabel#logoLabel {
border: 2px solid #D3D3D3;
}
GxsChannelPostItem QLabel#logoLabel {
background-color: black;
}
ChatMsgItem > QFrame#frame {
border: 2px solid black;
background-color: #FEF6DE;