mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-02 19:31:04 -05:00
- improved QTabWidgets stylesheet for uus stylesheet
- added for QPushButtons qlineargradient color for uus stylesheet git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@755 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0d6eeece82
commit
27c4429a59
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
@ -29,6 +29,20 @@ QToolBar {
|
||||
|
||||
QTabBar::tab:!selected {
|
||||
margin-top: 2px; /* make non-selected tabs look smaller */
|
||||
|
||||
}
|
||||
|
||||
QTabBar::tab:selected, QTabBar::tab:hover {
|
||||
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F0F8CB, stop: 1 #F0F8CD);
|
||||
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
border-color: #9B9B9B;
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F5FFBC, stop: 1 #609C08);
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
@ -63,6 +77,26 @@ QPushButton#applyButton {
|
||||
min-width: 75px;
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #BDDF7D, stop: 1 #49881F);
|
||||
border: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #BDDF7D, stop: 1 #49881F);
|
||||
}
|
||||
|
||||
|
||||
QPushButton::hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F0F8CB, stop: 1 #F0F8CD);
|
||||
}
|
||||
|
||||
QPushButton::pressed {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F5FFBC, stop: 1 #609C08);
|
||||
}
|
||||
|
||||
|
||||
|
||||
QLabel
|
||||
{
|
||||
color: white;
|
||||
@ -92,4 +126,10 @@ QListWidget::item:selected { /* when user selects item using mouse or keyboard *
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
QToolTip{
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #376D85, stop: 0.4 #185772);
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
@ -29,6 +29,20 @@ QToolBar {
|
||||
|
||||
QTabBar::tab:!selected {
|
||||
margin-top: 2px; /* make non-selected tabs look smaller */
|
||||
|
||||
}
|
||||
|
||||
QTabBar::tab:selected, QTabBar::tab:hover {
|
||||
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F0F8CB, stop: 1 #F0F8CD);
|
||||
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
border-color: #9B9B9B;
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F5FFBC, stop: 1 #609C08);
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
@ -63,6 +77,26 @@ QPushButton#applyButton {
|
||||
min-width: 75px;
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #BDDF7D, stop: 1 #49881F);
|
||||
border: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #BDDF7D, stop: 1 #49881F);
|
||||
}
|
||||
|
||||
|
||||
QPushButton::hover {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F0F8CB, stop: 1 #F0F8CD);
|
||||
}
|
||||
|
||||
QPushButton::pressed {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #F5FFBC, stop: 1 #609C08);
|
||||
}
|
||||
|
||||
|
||||
|
||||
QLabel
|
||||
{
|
||||
color: white;
|
||||
@ -92,4 +126,10 @@ QListWidget::item:selected { /* when user selects item using mouse or keyboard *
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
QToolTip{
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #376D85, stop: 0.4 #185772);
|
||||
}
|
Loading…
Reference in New Issue
Block a user