From 3d13e1416a31bba0ae19f4db6955dbbfbf897ac1 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 20 Sep 2017 23:17:11 +0300 Subject: [PATCH] Use white as the background color --- src/ChatPage.cc | 2 +- src/EmojiPanel.cc | 4 ++-- src/RoomInfoListItem.cc | 2 +- src/TextInputWidget.cc | 2 +- src/TimelineViewManager.cc | 2 +- src/TopRoomBar.cc | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ChatPage.cc b/src/ChatPage.cc index 6bfbf400..3134f820 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -36,7 +36,7 @@ ChatPage::ChatPage(QSharedPointer client, QWidget *parent) , sync_interval_(2000) , client_(client) { - setStyleSheet("background-color: #f8fbfe;"); + setStyleSheet("background-color: #fff;"); topLayout_ = new QHBoxLayout(this); topLayout_->setSpacing(0); diff --git a/src/EmojiPanel.cc b/src/EmojiPanel.cc index 512888ee..f7736fb8 100644 --- a/src/EmojiPanel.cc +++ b/src/EmojiPanel.cc @@ -35,8 +35,8 @@ EmojiPanel::EmojiPanel(QWidget *parent) , categoryIconSize_{ 20 } { setStyleSheet( - "QWidget {background: #f8fbfe; color: #e8e8e8; border: none;}" - "QScrollBar:vertical { background-color: #f8fbfe; width: 8px; margin: 0px 2px 0 2px; }" + "QWidget {background: #fff; color: #e8e8e8; border: none;}" + "QScrollBar:vertical { background-color: #fff; width: 8px; margin: 0px 2px 0 2px; }" "QScrollBar::handle:vertical { background-color: #d6dde3; min-height: 20px; }" "QScrollBar::add-line:vertical { border: none; background: none; }" "QScrollBar::sub-line:vertical { border: none; background: none; }"); diff --git a/src/RoomInfoListItem.cc b/src/RoomInfoListItem.cc index cd3f883a..d19a3505 100644 --- a/src/RoomInfoListItem.cc +++ b/src/RoomInfoListItem.cc @@ -96,7 +96,7 @@ RoomInfoListItem::paintEvent(QPaintEvent *event) else if (underMouse()) p.fillRect(rect(), QColor(200, 200, 200, 128)); else - p.fillRect(rect(), QColor("#F8FBFE")); + p.fillRect(rect(), QColor("#FFF")); QFont font; font.setPixelSize(conf::fontSize); diff --git a/src/TextInputWidget.cc b/src/TextInputWidget.cc index ce208feb..62b25423 100644 --- a/src/TextInputWidget.cc +++ b/src/TextInputWidget.cc @@ -47,7 +47,7 @@ TextInputWidget::TextInputWidget(QWidget *parent) setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); setCursor(Qt::ArrowCursor); - setStyleSheet("background-color: #f8fbfe; height: 45px;"); + setStyleSheet("background-color: #fff; height: 45px;"); topLayout_ = new QHBoxLayout(); topLayout_->setSpacing(2); diff --git a/src/TimelineViewManager.cc b/src/TimelineViewManager.cc index 2adbba34..afc8881b 100644 --- a/src/TimelineViewManager.cc +++ b/src/TimelineViewManager.cc @@ -31,7 +31,7 @@ TimelineViewManager::TimelineViewManager(QSharedPointer client, QW : QStackedWidget(parent) , client_(client) { - setStyleSheet("QWidget { background: #f8fbfe; color: #e8e8e8; border: none;}"); + setStyleSheet("QWidget { background: #fff; color: #e8e8e8; border: none;}"); connect( client_.data(), &MatrixClient::messageSent, this, &TimelineViewManager::messageSent); diff --git a/src/TopRoomBar.cc b/src/TopRoomBar.cc index 497b6a01..4f2a5d83 100644 --- a/src/TopRoomBar.cc +++ b/src/TopRoomBar.cc @@ -26,7 +26,7 @@ TopRoomBar::TopRoomBar(QWidget *parent) { setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); setMinimumSize(QSize(0, 65)); - setStyleSheet("background-color: #f8fbfe; color: #171919;"); + setStyleSheet("background-color: #fff; color: #171919;"); topLayout_ = new QHBoxLayout(); topLayout_->setSpacing(10);