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

style: edit styles

This commit is contained in:
TriKriSta 2019-02-23 17:11:30 +02:00
parent c6142e4287
commit 9a82d8144f
14 changed files with 69 additions and 48 deletions

View File

@ -280,7 +280,7 @@
<html><head><meta name="qrichtext" content="1" /><style type="text/css"> <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;"> </style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; color:#000000;">Copyright © 2014-2018 by The qTox Project Contributors</span></p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">Copyright © 2014-2018 by The qTox Project Contributors</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">qTox is a Qt-based graphical interface for Tox.</span></p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">qTox is a Qt-based graphical interface for Tox.</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</span></p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. </span></p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. </span></p>

View File

@ -13,7 +13,7 @@ QTextEdit
color: @mainText; color: @mainText;
} }
QSpinBox QSpinBox, QDoubleSpinBox
{ {
color: @mainText; color: @mainText;
} }

View File

@ -1,7 +1,7 @@
QTextEdit QTextEdit
{ {
background: white; background: @groundBase;
color: black; color: @mainText;
} }
QGraphicsView QGraphicsView

View File

@ -1,7 +1,7 @@
QLineEdit QLineEdit
{ {
color: @mainText; color: @mainText;
background: white; background: @groundBase;
border: 0px; border: 0px;
} }

View File

@ -1,11 +1,11 @@
QLabel QLabel
{ {
color: #000; color: @mainText;
} }
QLabel:disabled QLabel:disabled
{ {
color: #ddd; color: #2d2b2b;
} }
QLabel[state="red"] QLabel[state="red"]

View File

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

View File

@ -35,6 +35,6 @@ QRadioButton::indicator:checked
QMenu QMenu
{ {
background-color: @statusActive; /* sets background of the menu */ background-color: #363434; /* sets background of the menu */
border: 0px solid; border: 0px solid;
} }

View File

@ -57,7 +57,7 @@ QStackedWidget QPushButton
background: #589f4e; background: #589f4e;
} }
QLabel QMessageBox, QLabel
{ {
color: @mainText; color: @mainText;
background: #100f0f; background: #100f0f;

View File

@ -27,12 +27,12 @@ QCheckBox:disabled
color: grey; color: grey;
} }
QSpinBox QSpinBox, QDoubleSpinBox
{ {
background-color: @groundBase; background-color: @groundBase;
} }
QSpinBox:disabled QSpinBox:disabled, QDoubleSpinBox:disabled
{ {
background-color: lightGrey; background-color: lightGrey;
} }
@ -61,7 +61,7 @@ QLineEdit
QLineEdit:disabled QLineEdit:disabled
{ {
background-color: #262424 background-color: #262424;
color: @groundBase; color: @groundBase;
} }
@ -119,7 +119,7 @@ QPushButton#updateAvailableButton
QScrollBar::handle:vertical QScrollBar::handle:vertical
{ {
background-color: #d1d1d1; background-color: #343232;
min-height: 20px; min-height: 20px;
border-radius: 3px; border-radius: 3px;
margin-left: 2px; margin-left: 2px;
@ -127,12 +127,12 @@ QScrollBar::handle:vertical
QScrollBar::handle:vertical:hover QScrollBar::handle:vertical:hover
{ {
background-color: #e3e3e3; background-color: #3e3c3c;
} }
QScrollBar::handle:vertical:pressed QScrollBar::handle:vertical:pressed
{ {
background-color: #b1b1b1; background-color: #474545;
} }
QScrollBar::add-line:vertical QScrollBar::add-line:vertical
@ -179,19 +179,19 @@ QScrollBar:horizontal
QScrollBar::handle:horizontal QScrollBar::handle:horizontal
{ {
background-color: #d1d1d1; background-color: #343232;
min-width: 20px; min-width: 20px;
border-radius: 2px; border-radius: 2px;
} }
QScrollBar::handle:horizontal:hover QScrollBar::handle:horizontal:hover
{ {
background-color: #e3e3e3; background-color: #3e3c3c;
} }
QScrollBar::handle:horizontal:pressed QScrollBar::handle:horizontal:pressed
{ {
background-color: #b1b1b1; background-color: #474545;
} }
QScrollBar::add-line:horizontal QScrollBar::add-line:horizontal

View File

@ -11,3 +11,19 @@ QWidget#contentWidget
background: @groundBase; background: @groundBase;
} }
QTabWidget
{
background-color: @groundBase;
}
QTabBar::tab:selected
{
background: #100f0f;
color: @mainText;
}
QTabBar::tab:!selected
{
background: #444242;
color: #8e8e8e;
}

View File

@ -79,7 +79,7 @@ QListView
{ {
background-color: @themeDark; background-color: @themeDark;
font: @extraBig; font: @extraBig;
color: @groundBase; color: @nameActive;
} }
#statusPanel > #statusHead > #statusLabel #statusPanel > #statusHead > #statusLabel

View File

@ -13,7 +13,7 @@ QTextEdit
color: @mainText; color: @mainText;
} }
QSpinBox QSpinBox, QDoubleSpinBox
{ {
color: @mainText; color: @mainText;
} }

View File

@ -27,12 +27,12 @@ QCheckBox:disabled
color: grey; color: grey;
} }
QSpinBox QSpinBox, QDoubleSpinBox
{ {
background-color: white; background-color: white;
} }
QSpinBox:disabled QSpinBox:disabled, QDoubleSpinBox:disabled
{ {
background-color: lightGrey; background-color: lightGrey;
} }
@ -64,23 +64,6 @@ QLineEdit:disabled
background-color: lightGrey; background-color: lightGrey;
} }
QTabWidget
{
background-color: white;
}
QTabBar::tab:selected
{
background: #2d3136;
color: #f1f1f1;
}
QTabBar::tab:!selected
{
background: #d0d1d1;
color: #5e5e5e;
}
QScrollArea QScrollArea
{ {
background-color: white; background-color: white;

View File

@ -5,3 +5,20 @@ QToolTip
color: black; color: black;
background: #ffffdc; background: #ffffdc;
} }
QTabWidget
{
background-color: white;
}
QTabBar::tab:selected
{
background: #2d3136;
color: #f1f1f1;
}
QTabBar::tab:!selected
{
background: #d0d1d1;
color: #5e5e5e;
}