1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/themes/default/emoticonWidget/emoticonWidget.css
Jimi Huotari 71d1fa6f24
refactor(themes): load css and images from themes folder
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.
2018-10-24 14:04:03 +02:00

41 lines
736 B
CSS

QPushButton
{
background-color: transparent;
background-repeat: none;
border: none;
width: 24px;
height: 24px;
}
QRadioButton::indicator
{
width: 10px;
height: 10px;
}
QRadioButton::indicator:unchecked
{
image: url(@getImagePath(emoticonWidget/dot_page.svg));
}
QRadioButton::indicator:unchecked:hover
{
image: url(@getImagePath(emoticonWidget/dot_page_hover.svg));
}
QRadioButton::indicator:unchecked:pressed
{
image: url(@getImagePath(emoticonWidget/dot_page_hover.svg));
}
QRadioButton::indicator:checked
{
image: url(@getImagePath(emoticonWidget/dot_page_current.svg));
}
QMenu
{
background-color: @mediumGrey; /* sets background of the menu */
border: 0px solid;
}