mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
71d1fa6f24
Original work by tox-user. The default theme is now placed in a different path: - C:\users\%username%\AppData\roaming\qtox\themes - for Windows - ~/Library/Application Support/qtox/themes - for MacOS - ~/.config/qtox/themes - for other Unix systems including GNU/Linux Thanks to that it's no longer required to recompile the program to modify the theme. In addition to that the default theme is also included as a resource. If the theme folder or some file inside it is missing, qTox will load it from resource.
31 lines
491 B
CSS
31 lines
491 B
CSS
QPushButton
|
|
{
|
|
background-color: #6bc260;
|
|
background-image: url("@getImagePath(fileButton/fileButton.svg)");
|
|
background-repeat: none;
|
|
background-position: center;
|
|
border-bottom-right-radius: 5px;
|
|
border: none;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
QAbstractButton:hover
|
|
{
|
|
background-color: #79c76f;
|
|
}
|
|
|
|
QPushButton:pressed
|
|
{
|
|
background-color: #51b244;
|
|
}
|
|
|
|
QPushButton[enabled="false"]
|
|
{
|
|
background-color: #919191;
|
|
}
|
|
|
|
QPushButton:focus {
|
|
outline: none;
|
|
}
|