mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Use white as the background color
This commit is contained in:
parent
e7b7bf86c5
commit
3d13e1416a
6 changed files with 7 additions and 7 deletions
|
@ -36,7 +36,7 @@ ChatPage::ChatPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
, sync_interval_(2000)
|
, sync_interval_(2000)
|
||||||
, client_(client)
|
, client_(client)
|
||||||
{
|
{
|
||||||
setStyleSheet("background-color: #f8fbfe;");
|
setStyleSheet("background-color: #fff;");
|
||||||
|
|
||||||
topLayout_ = new QHBoxLayout(this);
|
topLayout_ = new QHBoxLayout(this);
|
||||||
topLayout_->setSpacing(0);
|
topLayout_->setSpacing(0);
|
||||||
|
|
|
@ -35,8 +35,8 @@ EmojiPanel::EmojiPanel(QWidget *parent)
|
||||||
, categoryIconSize_{ 20 }
|
, categoryIconSize_{ 20 }
|
||||||
{
|
{
|
||||||
setStyleSheet(
|
setStyleSheet(
|
||||||
"QWidget {background: #f8fbfe; color: #e8e8e8; border: none;}"
|
"QWidget {background: #fff; color: #e8e8e8; border: none;}"
|
||||||
"QScrollBar:vertical { background-color: #f8fbfe; width: 8px; margin: 0px 2px 0 2px; }"
|
"QScrollBar:vertical { background-color: #fff; width: 8px; margin: 0px 2px 0 2px; }"
|
||||||
"QScrollBar::handle:vertical { background-color: #d6dde3; min-height: 20px; }"
|
"QScrollBar::handle:vertical { background-color: #d6dde3; min-height: 20px; }"
|
||||||
"QScrollBar::add-line:vertical { border: none; background: none; }"
|
"QScrollBar::add-line:vertical { border: none; background: none; }"
|
||||||
"QScrollBar::sub-line:vertical { border: none; background: none; }");
|
"QScrollBar::sub-line:vertical { border: none; background: none; }");
|
||||||
|
|
|
@ -96,7 +96,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event)
|
||||||
else if (underMouse())
|
else if (underMouse())
|
||||||
p.fillRect(rect(), QColor(200, 200, 200, 128));
|
p.fillRect(rect(), QColor(200, 200, 200, 128));
|
||||||
else
|
else
|
||||||
p.fillRect(rect(), QColor("#F8FBFE"));
|
p.fillRect(rect(), QColor("#FFF"));
|
||||||
|
|
||||||
QFont font;
|
QFont font;
|
||||||
font.setPixelSize(conf::fontSize);
|
font.setPixelSize(conf::fontSize);
|
||||||
|
|
|
@ -47,7 +47,7 @@ TextInputWidget::TextInputWidget(QWidget *parent)
|
||||||
|
|
||||||
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
setCursor(Qt::ArrowCursor);
|
setCursor(Qt::ArrowCursor);
|
||||||
setStyleSheet("background-color: #f8fbfe; height: 45px;");
|
setStyleSheet("background-color: #fff; height: 45px;");
|
||||||
|
|
||||||
topLayout_ = new QHBoxLayout();
|
topLayout_ = new QHBoxLayout();
|
||||||
topLayout_->setSpacing(2);
|
topLayout_->setSpacing(2);
|
||||||
|
|
|
@ -31,7 +31,7 @@ TimelineViewManager::TimelineViewManager(QSharedPointer<MatrixClient> client, QW
|
||||||
: QStackedWidget(parent)
|
: QStackedWidget(parent)
|
||||||
, client_(client)
|
, client_(client)
|
||||||
{
|
{
|
||||||
setStyleSheet("QWidget { background: #f8fbfe; color: #e8e8e8; border: none;}");
|
setStyleSheet("QWidget { background: #fff; color: #e8e8e8; border: none;}");
|
||||||
|
|
||||||
connect(
|
connect(
|
||||||
client_.data(), &MatrixClient::messageSent, this, &TimelineViewManager::messageSent);
|
client_.data(), &MatrixClient::messageSent, this, &TimelineViewManager::messageSent);
|
||||||
|
|
|
@ -26,7 +26,7 @@ TopRoomBar::TopRoomBar(QWidget *parent)
|
||||||
{
|
{
|
||||||
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
setMinimumSize(QSize(0, 65));
|
setMinimumSize(QSize(0, 65));
|
||||||
setStyleSheet("background-color: #f8fbfe; color: #171919;");
|
setStyleSheet("background-color: #fff; color: #171919;");
|
||||||
|
|
||||||
topLayout_ = new QHBoxLayout();
|
topLayout_ = new QHBoxLayout();
|
||||||
topLayout_->setSpacing(10);
|
topLayout_->setSpacing(10);
|
||||||
|
|
Loading…
Reference in a new issue