Better on/off state separation for text toggle buttons #4350

This commit is contained in:
Morgan Hardwood
2018-02-01 13:55:48 +01:00
parent 77f9f52c3e
commit 99f73ba843
2 changed files with 17 additions and 0 deletions

View File

@@ -324,6 +324,15 @@ scale:disabled trough {
padding: 4px;
}
/* Better on/off state separation for text toggle buttons, e.g. auto-levels or histogram matching. */
button.text-button {
background-image: linear-gradient(to bottom, rgba(100,100,100,.3), rgba(30,30,30,.3));
}
button.text-button:checked {
background-image: linear-gradient(to bottom, rgba(30,30,30,.3), rgba(0,0,0,.4));
}
separator {
color: #363636;
margin: 5px;

View File

@@ -506,3 +506,11 @@ GtkNotebook {
padding-left: 3px;
padding-right: 3px;
}
GtkButton.text-button {
background-image: linear-gradient(to bottom, rgba(100,100,100,.3), rgba(30,30,30,.3));
}
GtkButton.text-button:checked {
background-image: linear-gradient(to bottom, rgba(30,30,30,.3), rgba(0,0,0,.4));
}