summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-23 16:25:58 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-23 16:25:58 +0200
commitc6cf6c2b4148c30f5e1dd0ff744baf0293cfe1ff (patch)
treec7407b722505dd08d028e896c43a01360e9c8a17 /resources
parent42dac7227fd26a3ce375c22e06c7d02fd519eba8 (diff)
Fix qss formatting
Diffstat (limited to 'resources')
-rw-r--r--resources/styles/nheko.qss53
-rw-r--r--resources/styles/system.qss42
2 files changed, 55 insertions, 40 deletions
diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss
index b75ec95a..f156f305 100644
--- a/resources/styles/nheko.qss
+++ b/resources/styles/nheko.qss
@@ -1,39 +1,48 @@
QLabel {
- color: #333;
+ color: #333;
}
-#chatPage, #chatPage > * { background-color: white; }
+#chatPage,
+#chatPage > * {
+ background-color: white;
+}
-TimelineView, TimelineView > * { background-color: white; }
+TimelineView,
+TimelineView > * {
+ background-color: white;
+}
-FlatButton { qproperty-foregroundColor: #333; }
+FlatButton {
+ qproperty-foregroundColor: #333;
+}
-RaisedButton { qproperty-foregroundColor: white; }
+RaisedButton {
+ qproperty-foregroundColor: white;
+}
-RoomInfoListItem
-{
- qproperty-highlightedBackgroundColor: #38A3D8;
- qproperty-hoverBackgroundColor: rgba(200, 200, 200, 128);
- qproperty-backgroundColor: white;
+RoomInfoListItem {
+ qproperty-highlightedBackgroundColor: #38A3D8;
+ qproperty-hoverBackgroundColor: rgba(200, 200, 200, 128);
+ qproperty-backgroundColor: white;
- qproperty-titleColor: #333;
- qproperty-subtitleColor: #5d6565;
+ qproperty-titleColor: #333;
+ qproperty-subtitleColor: #5d6565;
- qproperty-highlightedTitleColor: white;
- qproperty-highlightedSubtitleColor: white;
+ qproperty-highlightedTitleColor: white;
+ qproperty-highlightedSubtitleColor: white;
}
#ChatPageLoadSpinner {
- qproperty-color: #acc7dc;
+ qproperty-color: #acc7dc;
}
#FileUploadSpinner {
- qproperty-color: #333;
+ qproperty-color: #333;
}
UserInfoWidget, UserInfoWidget > * {
- background-color: #d6dde3;
- color: #ebebeb;
+ background-color: #d6dde3;
+ color: #ebebeb;
}
UserSettingsPage {
@@ -41,16 +50,16 @@ UserSettingsPage {
}
Avatar {
- qproperty-textColor: black;
- qproperty-backgroundColor: #eee;
+ qproperty-textColor: black;
+ qproperty-backgroundColor: #eee;
}
#displayNameLabel {
- color: #171919;
+ color: #171919;
}
#userIdLabel {
- color: #555459;
+ color: #555459;
}
LogoutDialog {
diff --git a/resources/styles/system.qss b/resources/styles/system.qss
index 2f15271f..c81b8652 100644
--- a/resources/styles/system.qss
+++ b/resources/styles/system.qss
@@ -1,39 +1,45 @@
-OverlayWidget, OverlayWidget > * {
- background-color: palette(window);
+OverlayWidget,
+OverlayWidget > * {
+ background-color: palette(window);
}
-#mainContent, #mainContent > * {
- background-color: palette(base);
+#mainContent,
+#mainContent > * {
+ background-color: palette(base);
}
-TimelineView, TimelineView > *, TimelineItem, TimelineItem > * {
- background-color: palette(base);
+TimelineView,
+TimelineView > *,
+TimelineItem,
+TimelineItem > * {
+ background-color: palette(base);
}
FlatButton {
- qproperty-foregroundColor: palette(text);
+ qproperty-foregroundColor: palette(text);
}
RoomInfoListItem {
- qproperty-highlightedBackgroundColor: palette(highlight);
- qproperty-hoverBackgroundColor: palette(dark);
- qproperty-backgroundColor: palette(window);
+ qproperty-highlightedBackgroundColor: palette(highlight);
+ qproperty-hoverBackgroundColor: palette(dark);
+ qproperty-backgroundColor: palette(window);
- qproperty-titleColor: palette(text);
- qproperty-subtitleColor: palette(text);
+ qproperty-titleColor: palette(text);
+ qproperty-subtitleColor: palette(text);
- qproperty-highlightedTitleColor: palette(text);
- qproperty-highlightedSubtitleColor: palette(text);
+ qproperty-highlightedTitleColor: palette(text);
+ qproperty-highlightedSubtitleColor: palette(text);
}
LoadingIndicator {
- qproperty-color: palette(text);
+ qproperty-color: palette(text);
}
#ChatPageLoadSpinner {
- qproperty-color: #acc7dc;
+ qproperty-color: #acc7dc;
}
-UserInfoWidget, UserInfoWidget > * {
- background-color: palette(window);
+UserInfoWidget,
+UserInfoWidget > * {
+ background-color: palette(window);
}