1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5627

TriKriSta (2):
      style: edit styles
      style: edit style for QSplitter
This commit is contained in:
sudden6 2019-04-20 23:31:03 +02:00
commit 8e13d96aa6
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
11 changed files with 505 additions and 827 deletions

View File

@ -81,7 +81,6 @@
<file>themes/dark/emoticonWidget/emoticonWidget.css</file>
<file>themes/dark/friendList/friendList.css</file>
<file>themes/dark/msgEdit/msgEdit.css</file>
<file>themes/dark/settings/mainContent.css</file>
<file>themes/dark/settings/mainHead.css</file>
<file>themes/dark/settings/checkboxChecked.svg</file>
<file>themes/dark/settings/checkboxCheckedDisabled.svg</file>
@ -147,7 +146,6 @@
<file>themes/default/emoticonWidget/emoticonWidget.css</file>
<file>themes/default/friendList/friendList.css</file>
<file>themes/default/msgEdit/msgEdit.css</file>
<file>themes/default/settings/mainContent.css</file>
<file>themes/default/settings/mainHead.css</file>
<file>themes/default/statusButton/statusButton.css</file>
<file>themes/default/statusButton/menu_indicator.svg</file>

View File

@ -51,286 +51,6 @@
<height>16777215</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Highlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="HighlightedText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Highlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="HighlightedText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Highlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="HighlightedText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
@ -338,19 +58,7 @@
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">QSplitter{
color: rgb(255, 255, 255);
background-color: rgb(255, 255, 255);
alternate-background-color: rgb(255, 255, 255);
border-color: rgb(255, 255, 255);
gridline-color: rgb(255, 255, 255);
selection-color: rgb(255, 255, 255);
selection-background-color: rgb(255, 255, 255);
}
QSplitter:handle{
color: rgb(255, 255, 255);
background-color: rgb(255, 255, 255);
}</string>
<string notr="true"/>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -1124,7 +832,7 @@ QSplitter:handle{
<x>0</x>
<y>0</y>
<width>775</width>
<height>285</height>
<height>283</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5"/>

View File

@ -2,6 +2,7 @@
#include "src/widget/gui.h"
#include "ui_aboutfriendform.h"
#include "src/core/core.h"
#include "src/widget/style.h"
#include <QFileDialog>
#include <QMessageBox>
@ -46,6 +47,8 @@ AboutFriendForm::AboutFriendForm(std::unique_ptr<IAboutFriend> _about, QWidget*
ui->note->setPlainText(about->getNote());
ui->statusMessage->setText(about->getStatusMessage());
ui->avatar->setPixmap(about->getAvatar());
setStyleSheet(Style::getStylesheet("window/general.css"));
}
static QString getAutoAcceptDir(const QString& dir)

View File

@ -70,7 +70,7 @@ void ContentLayout::reloadTheme()
{
#ifndef Q_OS_MAC
mainHead->setStyleSheet(Style::getStylesheet("settings/mainHead.css"));
mainContent->setStyleSheet(Style::getStylesheet("settings/mainContent.css"));
mainContent->setStyleSheet(Style::getStylesheet("window/general.css"));
#endif
}
@ -120,6 +120,7 @@ void ContentLayout::init()
reloadTheme();
mainHLineLayout.addSpacing(4);
mainHLineLayout.addWidget(&mainHLine);
mainHLineLayout.addSpacing(5);

View File

@ -1,18 +1,7 @@
QSplitter
{
color: @groundExtra;
background-color: @groundExtra;
alternate-background-color: @groundExtra;
border-color: @groundExtra;
gridline-color: @groundExtra;
selection-color: @groundExtra;
selection-background-color: @groundExtra;
}
QSplitter:handle
{
color: @groundExtra;
background-color: @groundExtra;
color: @groundBase;
background-color: @groundBase;
}
QWidget

View File

@ -8,7 +8,7 @@ nameActive="#c3c3c3"
statusActive="#d1d1d1"
groundExtra="#d1d1d1"
groundBase="#201f1f"
orange="#ff7700"
orange="#713400"
themeDark="#1c1c1c"
themeMediumDark="#2a2a2a"
themeMedium="#100f0f"

View File

@ -1,267 +0,0 @@
QTextEdit
{
border-color: @groundExtra;
border-style: solid;
border-width: 1px 0 1px 1px;
background: @groundBase;
border: 1px solid #c4c1bd;
}
QListWidget
{
background-color: @groundBase;
}
QMessageBox
{
background-color: @groundBase;
}
QCheckBox
{
color: @mainText;
}
QCheckBox::indicator {
width: 12px;
height: 12px;
border: 2px solid #514f4f;
border-radius: 2px;
}
QCheckBox::indicator:checked {
image: url("@getImagePath(settings/checkboxChecked.svg)");
}
QCheckBox::indicator:checked:pressed,
QCheckBox::indicator:unchecked:pressed {
background: #514f4f;
}
QCheckBox:disabled
{
color: grey;
}
QCheckBox:indicator:disabled {
border: 2px solid #373535;
border-radius: 2px;
}
QCheckBox:indicator:checked:disabled {
image: url("@getImagePath(settings/checkboxCheckedDisabled.svg)");
}
QSpinBox, QDoubleSpinBox
{
background-color: @groundBase;
}
QSpinBox:disabled, QDoubleSpinBox:disabled
{
background-color: lightGrey;
}
QGroupBox
{
color: @mainText;
background-color: @groundBase;
font: @bigBold;
}
QComboBox
{
color: @mainText;
background-color: @groundBase;
}
QComboBox QAbstractItemView {
background-color: @groundBase;
}
QLineEdit
{
background-color: @groundBase;
}
QLineEdit:disabled
{
background-color: #262424;
color: @groundBase;
}
QTabWidget
{
background-color: #100f0f;
}
QTabBar::tab:selected
{
background: #100f0f;
color: @mainText;
}
QTabBar::tab:!selected
{
background: #444242;
color: #8e8e8e;
}
QScrollArea
{
background-color: @groundBase;
}
QScrollArea > QWidget > QWidget
{
background: transparent;
}
QScrollArea::corner
{
background-color: @groundBase;
border: none;
}
QScrollBar:vertical
{
background: transparent;
width: 12px;
margin-top: 2px;
margin-bottom: 2px;
}
/* using last is a bit of a hack, but QTabBar otherwise doesn't allow selecting single tabs */
QTabBar::tab:last:!selected[update-available=true]
{
background-color: #80c580;
}
QPushButton#updateAvailableButton
{
background-color: #21da21;
}
QScrollBar::handle:vertical
{
background-color: #343232;
min-height: 20px;
border-radius: 3px;
margin-left: 2px;
}
QScrollBar::handle:vertical:hover
{
background-color: #3e3c3c;
}
QScrollBar::handle:vertical:pressed
{
background-color: #474545;
}
QScrollBar::add-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:vertical
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:vertical
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
{
background: none;
}
QScrollBar:horizontal
{
background-color: white;
height: 10px;
margin: 0 2px 0 2px;
}
QScrollBar::handle:horizontal
{
background-color: #343232;
min-width: 20px;
border-radius: 2px;
}
QScrollBar::handle:horizontal:hover
{
background-color: #3e3c3c;
}
QScrollBar::handle:horizontal:pressed
{
background-color: #474545;
}
QScrollBar::add-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:horizontal
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:horizontal
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
{
background: none;
}
QRadioButton
{
background: @groundBase;
color: @mainText;
}
QPushButton
{
background: #323030;
color: @mainText;
}

View File

@ -18,7 +18,7 @@ QWidget#contentWidget
QTabWidget
{
background-color: @groundBase;
background-color: #100f0f;
}
QTabBar::tab:selected
@ -38,22 +38,267 @@ QLabel
color: @mainText;
}
QLineEdit
{
color: @mainText;
}
QTextEdit
{
color: @mainText;
}
QSpinBox, QDoubleSpinBox
{
color: @mainText;
}
QListView
{
color: @mainText;
}
QTextEdit, QPlainTextEdit
{
border-color: #514f4f;
border-style: solid;
border-width: 1px 0 1px 1px;
background: @groundBase;
color: @mainText;
}
QListWidget
{
background-color: @groundBase;
}
QMessageBox
{
background-color: @groundBase;
}
QCheckBox
{
color: @mainText;
}
QCheckBox::indicator {
width: 12px;
height: 12px;
border: 2px solid #514f4f;
border-radius: 2px;
}
QCheckBox::indicator:checked {
image: url("@getImagePath(settings/checkboxChecked.svg)");
}
QCheckBox::indicator:checked:pressed,
QCheckBox::indicator:unchecked:pressed {
background: #514f4f;
}
QCheckBox:disabled
{
color: grey;
}
QCheckBox:indicator:disabled {
border: 2px solid #373535;
border-radius: 2px;
}
QCheckBox:indicator:checked:disabled {
image: url("@getImagePath(settings/checkboxCheckedDisabled.svg)");
}
QSpinBox, QDoubleSpinBox
{
background: @groundBase;
color: @mainText;
}
QSpinBox:disabled, QDoubleSpinBox:disabled
{
background: #262424;
color: grey;
}
QGroupBox
{
color: @mainText;
background-color: @groundBase;
font: @bigBold;
}
QComboBox
{
color: @mainText;
background-color: @groundBase;
}
QComboBox QAbstractItemView {
background-color: @groundBase;
}
QLineEdit
{
background: @groundBase;
color: @mainText;
}
QLineEdit:disabled
{
background-color: #262424;
color: grey;
}
QScrollArea
{
background-color: @groundBase;
}
QScrollArea > QWidget > QWidget
{
background: transparent;
}
QScrollArea::corner
{
background-color: @groundBase;
border: none;
}
QScrollBar:vertical
{
background: transparent;
width: 12px;
margin-top: 2px;
margin-bottom: 2px;
}
/* using last is a bit of a hack, but QTabBar otherwise doesn't allow selecting single tabs */
QTabBar::tab:last:!selected[update-available=true]
{
background-color: #80c580;
}
QPushButton#updateAvailableButton
{
background-color: #21da21;
}
QScrollBar::handle:vertical
{
background-color: #343232;
min-height: 20px;
border-radius: 3px;
margin-left: 2px;
}
QScrollBar::handle:vertical:hover
{
background-color: #3e3c3c;
}
QScrollBar::handle:vertical:pressed
{
background-color: #474545;
}
QScrollBar::add-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:vertical
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:vertical
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
{
background: none;
}
QScrollBar:horizontal
{
background: transparent;
height: 10px;
margin: 0 2px 0 2px;
}
QScrollBar::handle:horizontal
{
background-color: #343232;
min-width: 20px;
border-radius: 2px;
}
QScrollBar::handle:horizontal:hover
{
background-color: #3e3c3c;
}
QScrollBar::handle:horizontal:pressed
{
background-color: #474545;
}
QScrollBar::add-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:horizontal
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:horizontal
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
{
background: none;
}
QRadioButton
{
background: @groundBase;
color: @mainText;
}
QPushButton
{
background: #323030;
color: @mainText;
}
QSplitter:handle
{
color: @groundBase;
background-color: @groundBase;
}

View File

@ -1,14 +1,3 @@
QSplitter
{
color: white;
background-color: white;
alternate-background-color: white;
border-color: white;
gridline-color: white;
selection-color: white;
selection-background-color: white;
}
QSplitter:handle
{
color: white;

View File

@ -1,218 +0,0 @@
QTextEdit
{
border-color: @groundExtra;
border-style: solid;
border-width: 1px 0 1px 1px;
background: white;
border: 1px solid #c4c1bd;
}
QListWidget
{
background-color: white;
}
QMessageBox
{
background-color: white;
}
QCheckBox
{
color: black;
}
QCheckBox:disabled
{
color: grey;
}
QSpinBox, QDoubleSpinBox
{
background-color: white;
}
QSpinBox:disabled, QDoubleSpinBox:disabled
{
background-color: lightGrey;
}
QGroupBox
{
color: black;
background-color: white;
font: @bigBold;
}
QComboBox
{
color: black;
background-color: white;
}
QComboBox QAbstractItemView {
background-color: white;
}
QLineEdit
{
background-color: white;
}
QLineEdit:disabled
{
background-color: lightGrey;
}
QScrollArea
{
background-color: white;
}
QScrollArea > QWidget > QWidget
{
background: transparent;
}
QScrollArea::corner
{
background-color: white;
border: none;
}
QScrollBar:vertical
{
background: transparent;
width: 12px;
margin-top: 2px;
margin-bottom: 2px;
}
/* using last is a bit of a hack, but QTabBar otherwise doesn't allow selecting single tabs */
QTabBar::tab:last:!selected[update-available=true]
{
background-color: #80c580;
}
QPushButton#updateAvailableButton
{
background-color: #21da21;
}
QScrollBar::handle:vertical
{
background-color: #d1d1d1;
min-height: 20px;
border-radius: 3px;
margin-left: 2px;
}
QScrollBar::handle:vertical:hover
{
background-color: #e3e3e3;
}
QScrollBar::handle:vertical:pressed
{
background-color: #b1b1b1;
}
QScrollBar::add-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:vertical
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:vertical
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
{
background: none;
}
QScrollBar:horizontal
{
background-color: white;
height: 10px;
margin: 0 2px 0 2px;
}
QScrollBar::handle:horizontal
{
background-color: #d1d1d1;
min-width: 20px;
border-radius: 2px;
}
QScrollBar::handle:horizontal:hover
{
background-color: #e3e3e3;
}
QScrollBar::handle:horizontal:pressed
{
background-color: #b1b1b1;
}
QScrollBar::add-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:horizontal
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:horizontal
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
{
background: none;
}
QRadioButton
{
background: white;
color: black;
}

View File

@ -6,6 +6,16 @@ QToolTip
background: #ffffdc;
}
QDialog
{
background: white;
}
QWidget#contentWidget
{
background: white;
}
QTabWidget
{
background-color: white;
@ -28,22 +38,242 @@ QLabel
color: @mainText;
}
QLineEdit
QListView
{
color: @mainText;
}
QTextEdit
QTextEdit, QPlainTextEdit
{
border-color: @groundExtra;
border-style: solid;
border-width: 1px 0 1px 1px;
background: white;
color: @mainText;
}
QListWidget
{
background-color: white;
}
QMessageBox
{
background-color: white;
}
QCheckBox
{
color: black;
}
QCheckBox:disabled
{
color: grey;
}
QSpinBox, QDoubleSpinBox
{
color: @mainText;
}
background-color: white;
}
QListView
QSpinBox:disabled, QDoubleSpinBox:disabled
{
color: @mainText;
background-color: lightGrey;
}
QGroupBox
{
color: black;
background-color: white;
font: @bigBold;
}
QComboBox
{
color: black;
background-color: white;
}
QComboBox QAbstractItemView {
background-color: white;
}
QLineEdit
{
color: @mainText;
background-color: white;
}
QLineEdit:disabled
{
color: @mainText;
background-color: lightGrey;
}
QScrollArea
{
background-color: white;
}
QScrollArea > QWidget > QWidget
{
background: transparent;
}
QScrollArea::corner
{
background-color: white;
border: none;
}
QScrollBar:vertical
{
background: transparent;
width: 12px;
margin-top: 2px;
margin-bottom: 2px;
}
/* using last is a bit of a hack, but QTabBar otherwise doesn't allow selecting single tabs */
QTabBar::tab:last:!selected[update-available=true]
{
background-color: #80c580;
}
QPushButton#updateAvailableButton
{
background-color: #21da21;
}
QScrollBar::handle:vertical
{
background-color: #d1d1d1;
min-height: 20px;
border-radius: 3px;
margin-left: 2px;
}
QScrollBar::handle:vertical:hover
{
background-color: #e3e3e3;
}
QScrollBar::handle:vertical:pressed
{
background-color: #b1b1b1;
}
QScrollBar::add-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical
{
background-color: white;
height: 0px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:vertical
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:vertical
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
{
background: none;
}
QScrollBar:horizontal
{
background-color: white;
height: 10px;
margin: 0 2px 0 2px;
}
QScrollBar::handle:horizontal
{
background-color: #d1d1d1;
min-width: 20px;
border-radius: 2px;
}
QScrollBar::handle:horizontal:hover
{
background-color: #e3e3e3;
}
QScrollBar::handle:horizontal:pressed
{
background-color: #b1b1b1;
}
QScrollBar::add-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal
{
background-color: white;
width: 0px;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar:QScrollBar::down-arrow:horizontal
{
width: 10;
height: 10px;
background-color: white;
}
QScrollBar:QScrollBar::up-arrow:horizontal
{
width: 10px;
height: 10px;
background-color: white;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
{
background: none;
}
QRadioButton
{
background: white;
color: black;
}
QPushButton
{
background: #ebebeb;
color: @mainText;
}
QSplitter:handle
{
color: white;
background-color: white;
}