cleanup, re-order, de-duplicate, re-dry qss for dark

This commit is contained in:
Adasauce 2020-02-20 22:16:13 -04:00
parent 55fb5532ee
commit 388dee1d67
No known key found for this signature in database
GPG key ID: B4FD3151235211CB

View file

@ -3,13 +3,64 @@ QLabel {
color: #caccd1; color: #caccd1;
} }
TimelineItem { QuickSwitcher,
qproperty-backgroundColor: #202228; ReplyPopup,
SuggestionsPopup,
UserSettingsPage,
#scroll_widget,
#UserSettingScrollWidget {
background-color: #202228;
} }
#chatPage, #chatPage,
#chatPage > * { #chatPage > *,
CommunitiesList,
CommunitiesList > *,
RoomList,
RoomList > *,
TimelineView,
TimelineView > *,
UserMentionsWidget,
UserMentionsWidget > * {
background-color: #2d3139;
border: none;
}
QLineEdit,
QListWidget,
WelcomePage,
LoginPage,
RegisterPage,
EditModal,
emoji--Panel,
emoji--Panel > *,
dialogs--Logout,
dialogs--ReCaptcha,
dialogs--LeaveRoom,
dialogs--CreateRoom,
dialogs--RoomSettings,
dialogs--InviteUsers,
dialogs--ReadReceipts,
dialogs--JoinRoom,
dialogs--MemberList,
dialogs--PreviewUploadOverlay,
dialogs--UserProfile,
dialogs--CreateRoom > QLineEdit,
dialogs--InviteUsers > QLineEdit,
dialogs--JoinRoom > QLineEdit {
background-color: #202228; background-color: #202228;
color: #caccd1;
}
emoji--Category,
emoji--Category > * {
background-color: #2d3139;
color: #caccd1;
}
TimelineItem {
qproperty-backgroundColor: #202228;
} }
#sideBar { #sideBar {
@ -18,55 +69,22 @@ TimelineItem {
border-left: 1px solid #202228; border-left: 1px solid #202228;
} }
TimelineView,
TimelineView > * {
background-color: #202228;
border: none;
}
UserMentionsWidget,
UserMentionsWidget > * {
background-color: #202228;
border: none;
}
UserMentionsWidget > TimelineItem { UserMentionsWidget > TimelineItem {
qproperty-backgroundColor: #202228; qproperty-backgroundColor: #202228;
qproperty-hoverColor: rgba(45, 49, 57, 120); qproperty-hoverColor: rgba(45, 49, 57, 120);
} }
#scroll_widget {
background-color: #202228;
}
QuickSwitcher {
background-color: #202228;
}
InfoMessage { InfoMessage {
qproperty-textColor: #caccd1; qproperty-textColor: #caccd1;
qproperty-boxColor: rgba(45, 49, 57, 120); qproperty-boxColor: rgba(45, 49, 57, 120);
} }
SuggestionsPopup {
background-color: #202228;
}
ReplyPopup {
background-color: #202228;
}
PopupItem { PopupItem {
background-color: #202228; background-color: #202228;
qproperty-hoverColor: rgba(45, 49, 57, 120); qproperty-hoverColor: rgba(45, 49, 57, 120);
} }
RoomList,
RoomList > * {
background-color: #2d3139;
border: none;
}
TypingDisplay { TypingDisplay {
qproperty-textColor: #caccd1; qproperty-textColor: #caccd1;
qproperty-backgroundColor: #202228; qproperty-backgroundColor: #202228;
@ -76,65 +94,25 @@ TypingDisplay {
background-color: #2d3139; background-color: #2d3139;
} }
CommunitiesList,
CommunitiesList > * {
border-style: none;
background-color: #2d3139;
}
FlatButton { FlatButton {
qproperty-foregroundColor: #727274; qproperty-foregroundColor: #727274;
qproperty-backgroundColor: #333; qproperty-backgroundColor: #333;
qproperty-disabledForegroundColor: #222; qproperty-disabledForegroundColor: #222;
} }
AudioItem,
FileItem { FileItem {
qproperty-textColor: #caccd1; qproperty-textColor: #caccd1;
qproperty-backgroundColor: #2d3139; qproperty-backgroundColor: #2d3139;
qproperty-iconColor: #caccd1; qproperty-iconColor: #caccd1;
} }
AudioItem {
qproperty-textColor: #caccd1;
qproperty-backgroundColor: #2d3139;
qproperty-iconColor: #caccd1;
}
RaisedButton { RaisedButton {
qproperty-foregroundColor: #caccd1; qproperty-foregroundColor: #caccd1;
qproperty-backgroundColor: #333; qproperty-backgroundColor: #333;
} }
RoomInfoListItem { RoomInfoListItem,
qproperty-mentionedColor: #a82353;
qproperty-highlightedBackgroundColor: #4d84c7;
qproperty-hoverBackgroundColor: rgba(230, 230, 230, 30);
qproperty-backgroundColor: #2d3139;
qproperty-titleColor: #e4e5e8;
qproperty-subtitleColor: #caccd1;
qproperty-hoverTitleColor: #f4f5f8;
qproperty-hoverSubtitleColor: white;
qproperty-highlightedTitleColor: #f4f4f5;
qproperty-highlightedSubtitleColor: #e4e5e8;
qproperty-btnColor: #414A59;
qproperty-btnTextColor: white;
qproperty-timestampColor: #727274;
qproperty-highlightedTimestampColor: #e7e7e9;
qproperty-hoverTimestampColor: #f4f5f8;
qproperty-avatarBgColor: #202228;
qproperty-avatarFgColor: white;
qproperty-bubbleFgColor: white;
qproperty-bubbleBgColor: #4d84c7;
}
UserMentionsWidget { UserMentionsWidget {
qproperty-mentionedColor: #a82353; qproperty-mentionedColor: #a82353;
qproperty-highlightedBackgroundColor: #4d84c7; qproperty-highlightedBackgroundColor: #4d84c7;
@ -187,12 +165,8 @@ UserInfoWidget {
border-bottom: 1px solid #202228; border-bottom: 1px solid #202228;
} }
UserSettingsPage { #UserSettingScrollWidget > QComboBox {
background-color: #202228; color: #202228;
}
#UserSettingScrollWidget {
background-color: #202228;
} }
#UserSettingScrollWidget > QComboBox { #UserSettingScrollWidget > QComboBox {
@ -204,61 +178,19 @@ Avatar {
qproperty-backgroundColor: #2d3139; qproperty-backgroundColor: #2d3139;
} }
#displayNameLabel { #displayNameLabel,
color: #f2f2f2;
}
#userIdLabel { #userIdLabel {
color: #f2f2f2; color: #f2f2f2;
} }
dialogs--Logout,
dialogs--ReCaptcha,
dialogs--LeaveRoom,
dialogs--CreateRoom,
dialogs--RoomSettings,
dialogs--InviteUsers,
dialogs--ReadReceipts,
dialogs--JoinRoom,
dialogs--MemberList,
dialogs--PreviewUploadOverlay,
dialogs--UserProfile,
dialogs--CreateRoom > QLineEdit,
dialogs--InviteUsers > QLineEdit,
EditModal,
dialogs--JoinRoom > QLineEdit {
background-color: #202228;
color: #caccd1;
}
TopSection { TopSection {
qproperty-textColor: #caccd1; qproperty-textColor: #caccd1;
} }
QListWidget,
WelcomePage,
LoginPage,
RegisterPage {
background-color: #202228;
color: #caccd1;
}
emoji--Panel,
emoji--Panel > * {
background-color: #202228;
color: #caccd1;
}
emoji--Category { emoji--Category {
qproperty-hoverBackgroundColor: rgba(230, 230, 230, 30); qproperty-hoverBackgroundColor: rgba(230, 230, 230, 30);
} }
emoji--Category,
emoji--Category > * {
background-color: #2d3139;
color: #caccd1;
}
FloatingButton { FloatingButton {
qproperty-backgroundColor: #2d3139; qproperty-backgroundColor: #2d3139;
qproperty-foregroundColor: white; qproperty-foregroundColor: white;
@ -275,23 +207,14 @@ ScrollBar {
qproperty-backgroundColor: #202228; qproperty-backgroundColor: #202228;
} }
SideBarActions { SideBarActions,
TopRoomBar
{
border: none; border: none;
border-top: 1px solid #202228; border-top: 1px solid #202228;
background-color: #2d3139; background-color: #2d3139;
} }
TopRoomBar {
border: none;
border-bottom: 1px solid #202228;
background-color: #2d3139;
}
QLineEdit {
background-color: #202228;
color: #caccd1;
}
TextInputWidget { TextInputWidget {
border: none; border: none;
border-top: 1px solid #2d3139; border-top: 1px solid #2d3139;