Use white as the background color

pull/1/head
Konstantinos Sideris 7 years ago
parent e7b7bf86c5
commit 3d13e1416a
  1. 2
      src/ChatPage.cc
  2. 4
      src/EmojiPanel.cc
  3. 2
      src/RoomInfoListItem.cc
  4. 2
      src/TextInputWidget.cc
  5. 2
      src/TimelineViewManager.cc
  6. 2
      src/TopRoomBar.cc

@ -36,7 +36,7 @@ ChatPage::ChatPage(QSharedPointer<MatrixClient> client, QWidget *parent)
, sync_interval_(2000)
, client_(client)
{
setStyleSheet("background-color: #f8fbfe;");
setStyleSheet("background-color: #fff;");
topLayout_ = new QHBoxLayout(this);
topLayout_->setSpacing(0);

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

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

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

@ -31,7 +31,7 @@ TimelineViewManager::TimelineViewManager(QSharedPointer<MatrixClient> 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);

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

Loading…
Cancel
Save