- lots of stylesheet improvements

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@751 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-10-17 19:52:57 +00:00
parent 5e85637c2b
commit b0508af376
12 changed files with 294 additions and 24 deletions

View File

@ -197,4 +197,29 @@ QCheckBox::indicator:checked:hover {
image: url(qss/black/checkBox_hoverAndSelected.png);
}
QMenu {
background-color: #F9F9F9;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #848D9B, stop:1 #394152);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #848D9B, stop:1 #394152);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #848D9B, stop:1 #394152);
}

View File

@ -67,7 +67,7 @@ QToolButton {
QTabBar::tab:selected, QTabBar::tab:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 darkred, stop: 0.4 red);
stop: 0 darkred, stop: 1 red);
}
QTabBar::tab:selected {
@ -86,16 +86,28 @@ QStatusBar{
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 darkred, stop: 0.4 red);
stop: 0 red, stop: 1 darkred);
border: 1px solid black;
}
QMenu::item {
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: #654321;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FFD200, stop: 1 #FF6400);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 red, stop: 1 darkred);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 red, stop: 1 darkred);
}

View File

@ -62,4 +62,33 @@ QHeaderView::section {
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
}
QMenu {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 lightgray, stop:1 darkgray);
border: 1px solid black;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
}

View File

@ -11,7 +11,6 @@
QToolBar {
border-image: url(qss/uus/uus.png);
}
/* Style the tab using the tab sub-control. Note that
@ -76,6 +75,21 @@ QStatusBar{
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #376D85, stop: 0.4 #185772);
stop: 0 #376D85, stop: 1 #185772);
border: 1px solid black;
}
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
}

View File

@ -62,4 +62,32 @@ QHeaderView::section {
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
}
QMenu {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
border: 1px solid black;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}

View File

@ -62,4 +62,31 @@ QHeaderView::section {
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
}
QMenu {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 lightgray, stop:1 darkgray);
border: 1px solid black;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}

View File

@ -197,4 +197,29 @@ QCheckBox::indicator:checked:hover {
image: url(qss/black/checkBox_hoverAndSelected.png);
}
QMenu {
background-color: #F9F9F9;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #848D9B, stop:1 #394152);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #848D9B, stop:1 #394152);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #848D9B, stop:1 #394152);
}

View File

@ -67,7 +67,7 @@ QToolButton {
QTabBar::tab:selected, QTabBar::tab:hover {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 darkred, stop: 0.4 red);
stop: 0 darkred, stop: 1 red);
}
QTabBar::tab:selected {
@ -86,16 +86,28 @@ QStatusBar{
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 darkred, stop: 0.4 red);
stop: 0 red, stop: 1 darkred);
border: 1px solid black;
}
QMenu::item {
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: #654321;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FFD200, stop: 1 #FF6400);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 red, stop: 1 darkred);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 red, stop: 1 darkred);
}

View File

@ -62,4 +62,33 @@ QHeaderView::section {
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
}
QMenu {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 lightgray, stop:1 darkgray);
border: 1px solid black;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
}

View File

@ -11,7 +11,6 @@
QToolBar {
border-image: url(qss/uus/uus.png);
}
/* Style the tab using the tab sub-control. Note that
@ -76,6 +75,21 @@ QStatusBar{
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #376D85, stop: 0.4 #185772);
stop: 0 #376D85, stop: 1 #185772);
border: 1px solid black;
}
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
}

View File

@ -62,4 +62,32 @@ QHeaderView::section {
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
}
QMenu {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #6F6F6F, stop:1 #979797);
border: 1px solid black;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}

View File

@ -62,4 +62,31 @@ QHeaderView::section {
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
}
QMenu {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 lightgray, stop:1 darkgray);
border: 1px solid black;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QListWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}
QTreeWidget::item:selected { /* when user selects item using mouse or keyboard */
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FBC957, stop:1 #D79704);
}