mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
- 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:
parent
5e85637c2b
commit
b0508af376
@ -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);
|
||||
}
|
||||
|
@ -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,7 +86,7 @@ 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;
|
||||
}
|
||||
|
||||
@ -97,5 +97,17 @@ QMenu {
|
||||
}
|
||||
|
||||
QMenu::item:selected { /* when user selects item using mouse or keyboard */
|
||||
background-color: #654321;
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -63,3 +63,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 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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
@ -63,3 +63,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 #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);
|
||||
}
|
@ -63,3 +63,30 @@ 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);
|
||||
}
|
@ -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);
|
||||
}
|
||||
|
@ -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,7 +86,7 @@ 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;
|
||||
}
|
||||
|
||||
@ -97,5 +97,17 @@ QMenu {
|
||||
}
|
||||
|
||||
QMenu::item:selected { /* when user selects item using mouse or keyboard */
|
||||
background-color: #654321;
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -63,3 +63,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 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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
@ -63,3 +63,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 #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);
|
||||
}
|
@ -63,3 +63,30 @@ 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user