From d5b11f00d499d47c12bcf9d8df808726b5f7118a Mon Sep 17 00:00:00 2001 From: defnax Date: Tue, 19 Jan 2010 17:51:50 +0000 Subject: [PATCH] use now same stylesheet for Messages too git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2081 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/MessagesDialog.ui | 63 ++++-------------------- 1 file changed, 10 insertions(+), 53 deletions(-) diff --git a/retroshare-gui/src/gui/MessagesDialog.ui b/retroshare-gui/src/gui/MessagesDialog.ui index 5ac6958f1..43369844b 100644 --- a/retroshare-gui/src/gui/MessagesDialog.ui +++ b/retroshare-gui/src/gui/MessagesDialog.ui @@ -512,34 +512,11 @@ - #frame { -border: none; -background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, -stop: 0 #a6a6a6, stop: 0.08 #7f7f7f, -stop: 0.39999 #717171, stop: 0.4 #626262, -stop: 0.9 #4c4c4c, stop: 1 #333333); -} + QFrame#frame{ +background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, +stop:0 #FEFEFE, stop:1 #E8E8E8); -#frame QPushButton { -color: #333; -border: 2px solid #555; -border-radius: 11px; -padding: 5px; -background: qradialgradient(cx: 0.3, cy: -0.4, -fx: 0.3, fy: -0.4, -radius: 1.35, stop: 0 #fff, stop: 1 #888); -min-width:30px; -} -#frame QPushButton:hover { -background: qradialgradient(cx: 0.3, cy: -0.4, -fx: 0.3, fy: -0.4, -radius: 1.35, stop: 0 #fff, stop: 1 #bbb); -} -#frame QPushButton:pressed { -background: qradialgradient(cx: 0.4, cy: -0.1, -fx: 0.4, fy: -0.1, -radius: 1.35, stop: 0 #fff, stop: 1 #ddd); -} +border: 1px solid #CCCCCC;} QFrame::StyledPanel @@ -609,7 +586,9 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">reply to selected message</p></body></html> - + + + @@ -771,13 +750,7 @@ p, li { white-space: pre-wrap; } - QListWidget::item:selected { /* when user selects item using mouse or keyboard */ - background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, - stop: 0 #a6a6a6, stop: 0.08 #7f7f7f, - stop: 0.39999 #717171, stop: 0.4 #626262, - stop: 0.9 #4c4c4c, stop: 1 #333333); -} - + 1 @@ -863,15 +836,7 @@ p, li { white-space: pre-wrap; } Qt::CustomContextMenu - QHeaderView::section { - background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, - stop: 0 #a6a6a6, stop: 0.08 #7f7f7f, - stop: 0.39999 #717171, stop: 0.4 #626262, - stop: 0.9 #4c4c4c, stop: 1 #333333); - color: white; - padding-left: 4px; - border: 1px solid #6c6c6c; - } + 16 @@ -1278,15 +1243,7 @@ p, li { white-space: pre-wrap; } Qt::CustomContextMenu - QHeaderView::section { - background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, - stop: 0 #a6a6a6, stop: 0.08 #7f7f7f, - stop: 0.39999 #717171, stop: 0.4 #626262, - stop: 0.9 #4c4c4c, stop: 1 #333333); - color: white; - padding-left: 4px; - border: 1px solid #6c6c6c; - } + true