diff --git a/resources/icons/ui/world.png b/resources/icons/ui/world.png
new file mode 100644
index 00000000..d687d141
--- /dev/null
+++ b/resources/icons/ui/world.png
Binary files differdiff --git a/resources/icons/ui/world.svg b/resources/icons/ui/world.svg
new file mode 100644
index 00000000..c3acf162
--- /dev/null
+++ b/resources/icons/ui/world.svg
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="48px"
+ height="48px"
+ id="svg3304"
+ sodipodi:version="0.32"
+ inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
+ sodipodi:docname="world.svg"
+ version="1.1"
+ inkscape:export-filename="/home/max/Program/nheko/resources/icons/world.png"
+ inkscape:export-xdpi="256"
+ inkscape:export-ydpi="256">
+ <defs
+ id="defs3306" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.9375"
+ inkscape:cx="11.531663"
+ inkscape:cy="15.491127"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:grid-points="true"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:window-width="1280"
+ inkscape:window-height="704"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="0" />
+ <metadata
+ id="metadata3309">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <path
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 12.998425,32.054724 c 6.286614,-2.35748 15.716536,-2.35748 22.00315,0"
+ id="path5512"
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 11.402021,24 H 36.597979"
+ id="path5516"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 20.856693,11.074078 c -3.929134,8.210961 -3.929134,18.426709 0,26.284977"
+ id="path5520"
+ sodipodi:nodetypes="cc"
+ inkscape:connector-curvature="0" />
+ <path
+ sodipodi:nodetypes="cc"
+ id="path6250"
+ d="m 12.998425,15.945276 c 6.286614,2.35748 15.716536,2.35748 22.00315,0"
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <path
+ sodipodi:nodetypes="cc"
+ id="path9156"
+ d="m 27.143307,11.074078 c 3.929134,8.210961 3.929134,18.426709 0,26.284977"
+ style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ inkscape:connector-curvature="0" />
+ <circle
+ style="fill:none;fill-opacity:0.67634858;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="path1767"
+ cx="24"
+ cy="24"
+ r="13.609846" />
+ </g>
+</svg>
diff --git a/resources/res.qrc b/resources/res.qrc
index 83415e9b..a5461718 100644
--- a/resources/res.qrc
+++ b/resources/res.qrc
@@ -22,6 +22,7 @@
<file>icons/ui/paper-clip-outline@2x.png</file>
<file>icons/ui/angle-pointing-to-left.png</file>
<file>icons/ui/angle-pointing-to-left@2x.png</file>
+ <file>icons/ui/world.png</file>
<file>icons/ui/angle-arrow-down.png</file>
<file>icons/ui/angle-arrow-down@2x.png</file>
<file>icons/ui/arrow-pointing-down.png</file>
diff --git a/resources/styles/nheko-dark.qss b/resources/styles/nheko-dark.qss
index a78fb612..26425590 100644
--- a/resources/styles/nheko-dark.qss
+++ b/resources/styles/nheko-dark.qss
@@ -17,6 +17,10 @@ RoomList > * {
background-color: #383c4a;
}
+CommunitiesList,
+CommunitiesList > * {
+ background-color: #383c4a;
+}
FlatButton {
qproperty-foregroundColor: #caccd1;
qproperty-backgroundColor: #333;
@@ -54,6 +58,12 @@ RoomInfoListItem {
qproperty-btnTextColor: white;
}
+CommunitiesListItem {
+ qproperty-highlightedBackgroundColor: #5294e2;
+ qproperty-hoverBackgroundColor: #39679e;
+ qproperty-backgroundColor: #383c4a;
+}
+
LoadingIndicator {
qproperty-color: #caccd1;
}
diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss
index ce86e212..c135c12a 100644
--- a/resources/styles/nheko.qss
+++ b/resources/styles/nheko.qss
@@ -17,6 +17,11 @@ RoomList > * {
background-color: white;
}
+CommunitiesList,
+CommunitiesList > * {
+ background-color: white;
+}
+
FlatButton {
qproperty-foregroundColor: #333;
}
@@ -52,6 +57,12 @@ RoomInfoListItem {
qproperty-btnTextColor: #333;
}
+CommunitiesListItem {
+ qproperty-highlightedBackgroundColor: #38A3D8;
+ qproperty-hoverBackgroundColor: rgba(200, 200, 200, 128);
+ qproperty-backgroundColor: white;
+}
+
#ChatPageLoadSpinner {
qproperty-color: #acc7dc;
}
diff --git a/resources/styles/system.qss b/resources/styles/system.qss
index afb2ad26..42aba09d 100644
--- a/resources/styles/system.qss
+++ b/resources/styles/system.qss
@@ -60,6 +60,12 @@ RoomInfoListItem {
qproperty-btnTextColor: palette(text);
}
+CommunitiesListItem {
+ qproperty-highlightedBackgroundColor: palette(highlight);
+ qproperty-hoverBackgroundColor: palette(mid);
+ qproperty-backgroundColor: palette(window);
+}
+
LoadingIndicator {
qproperty-color: palette(highlight);
}
|