Commit 7b72f595 authored by Julian Sparber's avatar Julian Sparber

add image to no room view and add new style #132

parent a3a3b4d2
Pipeline #6711 failed with stage
in 5 minutes and 21 seconds
......@@ -29,6 +29,16 @@
padding: 6px 0px;
}
.noroom-title {
font-size: larger;
opacity: 0.5;
}
.noroom-description {
font-size: smaller;
opacity: 0.5;
}
.room-list list row:selected .notify-badge {
background-color: white;
color: @theme_selected_bg_color;
......
<?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="140.00002"
height="140.00009"
viewBox="0 0 37.04167 37.041691"
version="1.1"
id="svg8"
sodipodi:docname="chat140.svg"
inkscape:version="0.92.2 2405546, 2018-03-11">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ebebeb"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="1172.919"
inkscape:cy="-217.52623"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:pagecheckerboard="false"
inkscape:window-width="1920"
inkscape:window-height="1053"
inkscape:window-x="1366"
inkscape:window-y="27"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata5">
<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
inkscape:label="Tavolo 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-63.159821,-196.79845)">
<path
inkscape:connector-curvature="0"
d="m 94.909817,202.09015 v 14.71739 c 0,1.3644 -0.1381,2.9329 -1.15755,4.2995 -1.01949,1.3666 -2.89631,2.2183 -5.457029,2.1497 H 77.546539 l -2.72851,2.6459 h 12.154289 l 7.937499,7.9375 v -7.9375 h 2.64584 c 1.46579,0 2.645833,-1.1801 2.645833,-2.6459 v -18.52079 c 0,-1.4658 -1.180043,-2.6458 -2.645833,-2.6458 z"
id="rect7465-4"
sodipodi:nodetypes="cssccccccssssc"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:0.36470588;fill-rule:nonzero;stroke:none;stroke-width:0.26458329;marker:none;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
d="m 65.80566,196.79845 c -1.46579,0 -2.645839,1.18 -2.645839,2.6458 v 18.52089 c 0,1.4658 1.180049,2.6458 2.645839,2.6458 h 2.64583 v 7.9375 l 7.937499,-7.9375 h 13.229169 c 1.465789,0 2.645829,-1.18 2.645829,-2.6458 v -18.52089 c 0,-1.4658 -1.18004,-2.6458 -2.645829,-2.6458 z"
id="rect7465"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458329;marker:none;enable-background:accumulate"
sodipodi:nodetypes="sssscccsssss" />
</g>
</svg>
......@@ -732,21 +732,40 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="margin_bottom">30</property>
<property name="valign">center</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">16</property>
<property name="resource">/org/gnome/Fractal/icons/chat-icon.svg</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">No room selected</property>
<property name="margin_bottom">3</property>
<property name="justify">center</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<style>
<class name="noroom-title"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Join a room to start to chat</property>
<property name="label" translatable="yes">Join a room to start chatting</property>
<property name="justify">center</property>
<style>
<class name="noroom-description"/>
</style>
</object>
</child>
</object>
......
......@@ -5,6 +5,7 @@
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
<file preprocess="xml-stripblanks">main_window.glade</file>
<file preprocess="xml-stripblanks">icons/org.gnome.Fractal.svg</file>
<file preprocess="xml-stripblanks">icons/chat-icon.svg</file>
<file>app.css</file>
</gresource>
</gresources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment