- improved red and uus qss stylesheets

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@750 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-10-17 17:30:39 +00:00
parent d403806b09
commit 5e85637c2b
4 changed files with 100 additions and 4 deletions

View File

@ -83,4 +83,19 @@ QStatusBar{
border-image: url(qss/red/red.png);
}
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 darkred, stop: 0.4 red);
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: #654321;
}

View File

@ -1,5 +1,8 @@
.QWidget {
background-color: black;
/*background-color: black;*/
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #376D85, stop: 0.4 #185772);
}
@ -11,7 +14,31 @@ QToolBar {
}
/* Style the tab using the tab sub-control. Note that
it reads QTabBar _not_ QTabWidget */
QTabBar::tab {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
border: 2px solid #BDDF7D;
border-bottom-color: #49881F; /* same as the pane color */
border-top-left-radius: 4px;
border-top-right-radius: 4px;
min-width: 8ex;
padding: 2px;
}
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
QHeaderView::section {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
color: white;
padding-left: 4px;
border: 1px solid #6c6c6c;
}
QPushButton#okButton {
min-height: 27px;
@ -46,3 +73,9 @@ QStatusBar{
border-image: url(qss/uus/uus.png);
}
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #376D85, stop: 0.4 #185772);
border: 1px solid black;
}

View File

@ -83,4 +83,19 @@ QStatusBar{
border-image: url(qss/red/red.png);
}
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 darkred, stop: 0.4 red);
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: #654321;
}

View File

@ -1,5 +1,8 @@
.QWidget {
background-color: black;
/*background-color: black;*/
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #376D85, stop: 0.4 #185772);
}
@ -11,7 +14,31 @@ QToolBar {
}
/* Style the tab using the tab sub-control. Note that
it reads QTabBar _not_ QTabWidget */
QTabBar::tab {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
border: 2px solid #BDDF7D;
border-bottom-color: #49881F; /* same as the pane color */
border-top-left-radius: 4px;
border-top-right-radius: 4px;
min-width: 8ex;
padding: 2px;
}
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
QHeaderView::section {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #BDDF7D, stop: 1 #49881F);
color: white;
padding-left: 4px;
border: 1px solid #6c6c6c;
}
QPushButton#okButton {
min-height: 27px;
@ -46,3 +73,9 @@ QStatusBar{
border-image: url(qss/uus/uus.png);
}
QMenu {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #376D85, stop: 0.4 #185772);
border: 1px solid black;
}