Use white as the background color

This commit is contained in:
Konstantinos Sideris 2017-09-20 23:17:11 +03:00
parent e7b7bf86c5
commit 3d13e1416a
6 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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; }");

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);