fixed some stylesheets to use gradients instead of a background images, to solve some problems

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4118 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2011-04-01 22:38:52 +00:00
parent f634331442
commit 372d837af1
2 changed files with 29 additions and 11 deletions

View File

@ -1,11 +1,18 @@
QWidget#chatcentralwidget QWidget#chatcentralwidget
{ {
background-image: url(:/images/backchat.png) background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #3AAEE4, stop: 0.1 #E0EFF6,
stop: 0.31 #E4F1F7, stop: 0.7 #FCFDFE,
stop: 0.71 #F7FCFD, stop: 1 #C9E7F3,);
border: none;
} }
QToolBar#chattoolBar{ QToolBar#chattoolBar{
border: none; background-image: url(:/images/backblue.png) background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #8DD2F3, stop: 0.5 #43B5EB,
stop: 0.51 #39ABE1, stop: 1 #3CB2EA);
border: none;
} }
QStatusBar#chatstatusbar{ QStatusBar#chatstatusbar{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F6FCFF, stop:1 #F6FCFF); background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F6FCFF, stop:1 #F6FCFF);

View File

@ -10,8 +10,10 @@ QDialog{
/* Customize the toolbar. */ /* Customize the toolbar. */
QToolBar#toolBar { QToolBar#toolBar {
border-image: url(qss/redscorpion/red.png); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #F55332, stop: 0.5 #C82B18,
stop: 0.51 #B71502, stop: 1 #900907);
border: 1px solid #7A3C37;
} }
@ -22,7 +24,10 @@ QToolBar#toolBar_2 {
} }
QToolBar#chattoolBar{ QToolBar#chattoolBar{
border-image: url(qss/redscorpion/red.png); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #F55332, stop: 0.5 #C82B18,
stop: 0.51 #B71502, stop: 1 #900907);
border: 1px solid #7A3C37;
} }
@ -107,7 +112,10 @@ QToolButton {
} }
QStatusBar{ QStatusBar{
border-image: url(qss/redscorpion/red.png); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #F55332, stop: 0.5 #C82B18,
stop: 0.51 #B71502, stop: 1 #900907);
border: 1px solid #7A3C37;
} }
@ -151,15 +159,18 @@ QTreeView::item:selected { /* when user selects item using mouse or keyboard */
QFrame#messengerframetop{ QFrame#messengerframetop{
border-image: url(qss/redscorpion/red.png); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #F55332, stop: 0.5 #C82B18,
/*background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0.51 #B71502, stop: 1 #900907);
stop: 0 #F7B552, stop: 1 #FF5E07);*/ border: 1px solid #7A3C37;
} }
QFrame#Chatbuttonframe{ QFrame#Chatbuttonframe{
border-image: url(qss/redscorpion/red.png); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #F55332, stop: 0.5 #C82B18,
stop: 0.51 #B71502, stop: 1 #900907);
border: 1px solid #7A3C37;
} }