1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/themes/default/chatForm/fullScreenButtons.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

79 lines
1.5 KiB
CSS

QFrame
{
background-color: rgba(50, 50, 50, 0.6);
border-radius: 20px;
}
QAbstractButton
{
background-color: transparent;
background-repeat: none;
background-position: center;
border: none;
border-radius: 5px;
}
QAbstractButton:hover
{
background-color: rgba(255,255,255, 0.2);
}
QAbstractButton:pressed
{
background-color: rgba(0,0,0, 0.2);
}
QAbstractButton#volButtonFullScreen
{
background-image: url("@getImagePath(chatForm/volButton.svg)");
width: 11px;
height: 9px;
padding: 12px;
}
QAbstractButton#micButtonFullScreen
{
background-image: url("@getImagePath(chatForm/micButton.svg)");
width: 11px;
height: 9px;
padding: 12px;
}
QAbstractButton#videoButtonFullScreen
{
background-image: url("@getImagePath(chatForm/videoButtonRed.svg)");
width: 37px;
height: 33px;
}
QAbstractButton#videoPreviewButton
{
background-image: url("@getImagePath(chatForm/videoPreview.svg)");
width: 13px;
height: 13px;
padding: 10px;
}
QAbstractButton#exitFullScreenButton
{
background-image: url("@getImagePath(chatForm/exitFullScreenButton.svg)");
width: 30px;
height: 30px;
padding: 1px;
}
QAbstractButton#volButtonFullScreen[state="red"]
{
background-image: url("@getImagePath(chatForm/volButtonRed.svg)");
}
QAbstractButton#micButtonFullScreen[state="red"]
{
background-image: url("@getImagePath(chatForm/micButtonRed.svg)");
}
QAbstractButton#videoPreviewButton[state="red"]
{
background-image: url("@getImagePath(chatForm/videoPreviewRed.svg)");
}