Browse Source

Switched button coloring so they're default grey with a :hover of blue instead of the other way around.

QGC4.4
Bryant 12 years ago
parent
commit
82c22375a5
  1. 4
      files/styles/style-dark.css
  2. 4
      files/styles/style-light.css

4
files/styles/style-dark.css

@ -208,7 +208,7 @@ QPushButton, QToolButton { @@ -208,7 +208,7 @@ QPushButton, QToolButton {
border-radius: 2px;
padding-left: 8px;
padding-right: 8px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777, stop: 1 #333);
}
QToolButton {
@ -244,7 +244,7 @@ QPushButton:disabled, QToolButton:disabled { @@ -244,7 +244,7 @@ QPushButton:disabled, QToolButton:disabled {
}
QPushButton:hover, QToolButton:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777, stop: 1 #333);
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);
}
QPushButton:pressed, QToolButton:pressed {

4
files/styles/style-light.css

@ -208,7 +208,7 @@ QPushButton, QToolButton { @@ -208,7 +208,7 @@ QPushButton, QToolButton {
border-radius: 2px;
padding-left: 8px;
padding-right: 8px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #B8D3E6, stop: 1 #899FAD);
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #BBB, stop: 1 #777);
}
QToolButton {
@ -244,7 +244,7 @@ QPushButton:disabled, QToolButton:disabled { @@ -244,7 +244,7 @@ QPushButton:disabled, QToolButton:disabled {
}
QPushButton:hover, QToolButton:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #BBB, stop: 1 #777);
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #B8D3E6, stop: 1 #899FAD);
}
QPushButton:pressed, QToolButton:pressed {

Loading…
Cancel
Save