Minor Flathub page improvements (#334)
* minor flathub page improvements * fix purple tint on collapsed sidebar pane
This commit is contained in:
parent
42eb5fa67a
commit
f01c9d6176
6 changed files with 7 additions and 169 deletions
|
|
@ -39,7 +39,7 @@
|
|||
<file preprocess="xml-stripblanks">icons/scalable/actions/edit-clear-all-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/external-link-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/eye-outline-filled-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/flathub-favicon.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/flathub-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/flatpak-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/folder-download-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/globe-symbolic.svg</file>
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ bz_app_tile_class_init (BzAppTileClass *klass)
|
|||
|
||||
g_object_class_install_properties (object_class, LAST_PROP, props);
|
||||
|
||||
gtk_widget_class_set_css_name (widget_class, "app-tile");
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/io/github/kolunmi/Bazaar/bz-app-tile.ui");
|
||||
gtk_widget_class_bind_template_callback (widget_class, invert_boolean);
|
||||
gtk_widget_class_bind_template_callback (widget_class, is_null);
|
||||
|
|
|
|||
|
|
@ -63,26 +63,13 @@ template $BzDetailedAppTile: Button {
|
|||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Label {
|
||||
styles [
|
||||
"title-4",
|
||||
"dimmed",
|
||||
]
|
||||
|
||||
xalign: 0.0;
|
||||
wrap: true;
|
||||
ellipsize: end;
|
||||
max-width-chars: 30;
|
||||
lines: 3;
|
||||
label: bind template.group as <$BzEntryGroup>.developer;
|
||||
}
|
||||
|
||||
Label {
|
||||
styles [
|
||||
"title-3",
|
||||
]
|
||||
|
||||
xalign: 0.0;
|
||||
wrap: true;
|
||||
ellipsize: end;
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ template $BzWindow: Adw.ApplicationWindow {
|
|||
sidebar-position: end;
|
||||
|
||||
sidebar: Adw.ViewStack transactions_stack {
|
||||
styles ["sidebar-pane"]
|
||||
enable-transitions: true;
|
||||
transition-duration: 200;
|
||||
|
||||
|
|
@ -353,7 +354,7 @@ template $BzWindow: Adw.ApplicationWindow {
|
|||
spacing: 6;
|
||||
|
||||
Image {
|
||||
icon-name: "flatpak-symbolic";
|
||||
icon-name: "flathub-symbolic";
|
||||
}
|
||||
|
||||
Label {
|
||||
|
|
|
|||
|
|
@ -1,152 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
id="svg8"
|
||||
version="1.1"
|
||||
viewBox="0 0 16 16"
|
||||
height="16"
|
||||
width="16"
|
||||
sodipodi:docname="favicon-i.svg"
|
||||
inkscape:export-filename="favicon-i.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs2">
|
||||
<inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect1970"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
radius="16"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" />
|
||||
<inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect8720"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1 @ F,0,0,1,0,4.2333333,0,1"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
radius="16"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
units="px"
|
||||
borderlayer="true"
|
||||
inkscape:showpageshadow="false"
|
||||
showgrid="false"
|
||||
inkscape:document-rotation="0"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-units="px"
|
||||
inkscape:cy="560"
|
||||
inkscape:cx="400"
|
||||
inkscape:zoom="0.35"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
borderopacity="1"
|
||||
bordercolor="#383838"
|
||||
pagecolor="#1f1f1f"
|
||||
id="base"
|
||||
inkscape:pagecheckerboard="1"
|
||||
inkscape:deskcolor="#1f1f1f" />
|
||||
<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" />
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
|
||||
</cc:Work>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" />
|
||||
<cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Notice" />
|
||||
<cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Attribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
|
||||
<cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
|
||||
</cc:License>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Layer 1">
|
||||
<g
|
||||
id="g8716"
|
||||
style="fill:#ffffff;stroke-width:9.28496"
|
||||
transform="matrix(0.40705888,0,0,0.40705888,-64.168641,-35.2508)">
|
||||
<circle
|
||||
style="fill:#ffffff;stroke-width:2.45663"
|
||||
id="circle8708"
|
||||
cx="166.68752"
|
||||
cy="95.646584"
|
||||
r="9.0478096" />
|
||||
<rect
|
||||
style="fill:#ffffff;stroke-width:2.45663"
|
||||
id="rect8710"
|
||||
width="16.412018"
|
||||
height="16.412018"
|
||||
x="158.41437"
|
||||
y="107.79774"
|
||||
rx="4.3765378"
|
||||
ry="4.3765378" />
|
||||
<path
|
||||
sodipodi:type="star"
|
||||
style="fill:#ffffff;stroke-width:2.31374"
|
||||
id="path8712"
|
||||
inkscape:flatsided="false"
|
||||
sodipodi:sides="3"
|
||||
sodipodi:cx="63.5"
|
||||
sodipodi:cy="52.916664"
|
||||
sodipodi:r1="11.832526"
|
||||
sodipodi:r2="5.9162631"
|
||||
sodipodi:arg1="0.52359878"
|
||||
sodipodi:arg2="1.5707963"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="m 69.513935,58.832927 -1.780602,0 -10.247268,0 a 2.4441161,2.4441161 60 0 1 -2.116667,-3.666174 l 0.890301,-1.542046 5.123634,-8.874395 a 2.4441161,2.4441161 2.5219902e-7 0 1 4.233334,0 l 0.8903,1.542046 5.123635,8.874395 a 2.4441161,2.4441161 120 0 1 -2.116667,3.666174 z"
|
||||
transform="matrix(0.92590162,0.53456961,0.53456961,-0.92590162,99.826149,110.69307)"
|
||||
inkscape:transform-center-x="-3.1627662"
|
||||
inkscape:path-effect="#path-effect8720"
|
||||
inkscape:transform-center-y="0.00010646809" />
|
||||
<path
|
||||
id="path8714"
|
||||
style="fill:#ffffff;stroke-width:24.5663"
|
||||
d="m 194.99159,116.10976 c 0,0.87946 -0.70801,1.58748 -1.58747,1.58748 h -12.70005 c -0.87946,0 -1.58748,-0.70802 -1.58748,-1.58748 0,-0.87946 0.70802,-1.58747 1.58748,-1.58747 h 12.70005 c 0.87946,0 1.58747,0.70801 1.58747,1.58747 z m -7.9375,-7.93748 c 0.87946,0 1.58748,0.70802 1.58748,1.58749 v 12.70003 c 0,0.87946 -0.70802,1.58748 -1.58748,1.58748 -0.87947,0 -1.58749,-0.70802 -1.58749,-1.58748 v -12.70003 c 0,-0.87947 0.70802,-1.58749 1.58749,-1.58749 z" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 5.5 KiB |
3
src/icons/scalable/actions/flathub-symbolic.svg
Normal file
3
src/icons/scalable/actions/flathub-symbolic.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill="#222222" d="M15.2044 12.0127C15.2044 12.3707 14.9162 12.6589 14.5582 12.6589H9.38855C9.03056 12.6589 8.74236 12.3707 8.74236 12.0127C8.74236 11.6547 9.03056 11.3665 9.38855 11.3665H14.5582C14.9162 11.3665 15.2044 11.6547 15.2044 12.0127ZM11.9734 8.78169C12.3314 8.78169 12.6196 9.06989 12.6196 9.42789V14.5975C12.6196 14.9555 12.3314 15.2437 11.9734 15.2437C11.6154 15.2437 11.3272 14.9555 11.3272 14.5975V9.42789C11.3272 9.06989 11.6154 8.78169 11.9734 8.78169ZM15.4682 2.7602L14.7971 2.37273L10.9349 0.142914C10.7732 0.0495562 10.5898 0.000409928 10.4031 0.000409941C10.2163 0.000409954 10.0329 0.0495593 9.87121 0.142917C9.70951 0.236275 9.57523 0.370552 9.48187 0.532252C9.38851 0.693953 9.33937 0.877379 9.33937 1.06409V1.83902V6.29866C9.33937 6.48537 9.38851 6.6688 9.48187 6.8305C9.57523 6.9922 9.70951 7.12647 9.87121 7.21983C10.0329 7.31319 10.2163 7.36234 10.4031 7.36234C10.5898 7.36234 10.7732 7.31319 10.9349 7.21983L11.606 6.83237L15.4682 4.60255C15.6299 4.50919 15.7641 4.37492 15.8575 4.21322C15.9509 4.05152 16 3.86809 16 3.68137C16 3.49466 15.9509 3.31123 15.8575 3.14953C15.7641 2.98783 15.6299 2.85356 15.4682 2.7602ZM2.09684 8.62922H5.21448C6.20143 8.62922 6.99599 9.42378 6.99599 10.4107V13.5284C6.99599 14.5153 6.20143 15.3099 5.21448 15.3099H2.09684C1.10988 15.3099 0.315331 14.5153 0.315331 13.5284V10.4107C0.315331 9.42378 1.10988 8.62922 2.09684 8.62922ZM7.36598 3.68299C7.36598 4.65978 6.97795 5.59656 6.28726 6.28725C5.59656 6.97795 4.65978 7.36598 3.68299 7.36598C2.7062 7.36598 1.76942 6.97795 1.07872 6.28726C0.388027 5.59656 3.88651e-07 4.65978 0 3.68299C-2.13823e-08 3.19933 0.0952622 2.72041 0.28035 2.27357C0.465437 1.82673 0.736725 1.42072 1.07872 1.07872C1.42072 0.736725 1.82673 0.465438 2.27357 0.28035C2.72041 0.0952622 3.19933 -2.13823e-08 3.68299 0C4.65978 1.0364e-06 5.59656 0.388027 6.28726 1.07872C6.97795 1.76942 7.36598 2.7062 7.36598 3.68299Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2 KiB |
Loading…
Reference in a new issue