Tweaking tool icons
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (C) 2015-2016 Jolla Ltd.
|
||||
Copyright (C) 2015-2017 Jolla Ltd.
|
||||
Contact: Slava Monich <slava.monich@jolla.com>
|
||||
|
||||
You may use this file under the terms of BSD license as follows:
|
||||
|
@ -46,8 +46,6 @@ Item {
|
|||
signal increaseFontSize();
|
||||
signal decreaseFontSize();
|
||||
|
||||
property real _spacingBy2: Math.ceil(spacing/2)
|
||||
|
||||
// Left side
|
||||
|
||||
MouseArea {
|
||||
|
@ -68,8 +66,7 @@ Item {
|
|||
leftMargin: pageTools.leftMargin
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
height: Math.ceil(parent.height/2)
|
||||
sourceSize.height: height
|
||||
sourceSize.height: Theme.iconSizeMedium
|
||||
opacity: Settings.invertColors ? 0.5 : 0
|
||||
visible: opacity > 0
|
||||
Behavior on opacity { FadeAnimation {} }
|
||||
|
@ -89,7 +86,7 @@ Item {
|
|||
|
||||
MouseArea {
|
||||
id: increaseFontSizeButton
|
||||
width: leftMargin + increaseFontSizeButtonImage.width + _spacingBy2
|
||||
width: rightMargin + increaseFontSizeButtonImage.width
|
||||
height: parent.height
|
||||
anchors {
|
||||
right: parent.right
|
||||
|
@ -100,11 +97,9 @@ Item {
|
|||
source: "images/font-larger.svg"
|
||||
anchors {
|
||||
left: parent.left
|
||||
leftMargin: _spacingBy2
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
height: Math.ceil(parent.height/2)
|
||||
sourceSize.height: height
|
||||
sourceSize.height: Theme.iconSizeSmall
|
||||
opacity: Settings.invertColors ? 1 : 0.5
|
||||
Behavior on opacity { FadeAnimation {} }
|
||||
}
|
||||
|
@ -113,7 +108,7 @@ Item {
|
|||
|
||||
MouseArea {
|
||||
id: decreaseFontSizeButton
|
||||
width: decreaseFontSizeButtonImage.width + spacing + _spacingBy2
|
||||
width: decreaseFontSizeButtonImage.width + spacing
|
||||
height: parent.height
|
||||
anchors {
|
||||
right: increaseFontSizeButton.left
|
||||
|
@ -124,11 +119,9 @@ Item {
|
|||
source: "images/font-smaller.svg"
|
||||
anchors {
|
||||
right: parent.right
|
||||
rightMargin: _spacingBy2
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
height: Math.ceil(parent.height/2)
|
||||
sourceSize.height: height
|
||||
sourceSize.height: increaseFontSizeButtonImage.height
|
||||
opacity: Settings.invertColors ? 1 : 0.5
|
||||
Behavior on opacity { FadeAnimation {} }
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
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="100"
|
||||
height="100"
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg3832"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
|
@ -25,7 +25,7 @@
|
|||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
|
@ -33,9 +33,10 @@
|
|||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-952.36218)">
|
||||
transform="translate(0,-988.36218)">
|
||||
<g
|
||||
transform="matrix(2.0833333,0,0,2.0833333,7.9999999e-7,952.36218)">
|
||||
transform="translate(8,996.36218)"
|
||||
id="g6">
|
||||
<rect
|
||||
id="rect3842"
|
||||
height="48"
|
||||
|
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
@ -9,8 +9,8 @@
|
|||
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="49"
|
||||
height="32"
|
||||
width="100"
|
||||
height="64"
|
||||
id="svg4459"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
|
@ -25,7 +25,7 @@
|
|||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
|
@ -33,18 +33,18 @@
|
|||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-14,-978.02223)">
|
||||
transform="translate(-14,-946.02223)">
|
||||
<g
|
||||
style="fill:#808080;fill-opacity:1;stroke:none"
|
||||
id="text4477"
|
||||
transform="matrix(0.96982759,0,0,0.91092979,0.42241384,86.533764)">
|
||||
transform="matrix(1.6163793,0,0,1.5182163,-0.62931024,-534.45853)">
|
||||
<path
|
||||
d="m 14,994.18217 7.12,0 0,-7.84 4.32,0 0,7.84 7.12,0 0,4.08 -7.12,0 0,7.84003 -4.32,0 0,-7.84003 -7.12,0 0,-4.08"
|
||||
id="path5549"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(1.0154062,0,0,1.0144928,8.614845,973.73237)"
|
||||
transform="matrix(1.7406963,0,0,1.7391304,12.768306,943.23962)"
|
||||
style="fill:#808080;fill-opacity:1;stroke:none"
|
||||
id="text5562">
|
||||
<path
|
||||
|
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -9,8 +9,8 @@
|
|||
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="31"
|
||||
height="32"
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg4449"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
|
@ -33,18 +33,18 @@
|
|||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
transform="translate(-14,17.620001)">
|
||||
transform="translate(-14,49.620001)">
|
||||
<g
|
||||
style="fill:#808080;fill-opacity:1;stroke:none"
|
||||
id="text4469"
|
||||
transform="matrix(1.0223048,0,0,0.9009009,-0.31226766,-1.1245039)">
|
||||
transform="matrix(1.2081784,0,0,1.1261261,5.0855019,-14.592736)">
|
||||
<path
|
||||
d="m 14,2.7799982 10.76,0 0,4.44 -10.76,0 0,-4.44"
|
||||
id="path5540"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(1.0493827,0,0,1.0127932,7.0123457,-17.375865)"
|
||||
transform="matrix(1.7673813,0,0,1.7057569,5.0734262,-43.73514)"
|
||||
style="fill:#808080;fill-opacity:1;stroke:none"
|
||||
id="text5558">
|
||||
<path
|
||||
|
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
@ -9,8 +9,8 @@
|
|||
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="100"
|
||||
height="100"
|
||||
width="64"
|
||||
height="64"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
|
@ -25,7 +25,7 @@
|
|||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
|
@ -33,7 +33,7 @@
|
|||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-952.36215)">
|
||||
transform="translate(0,-988.36215)">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="opacity:0;fill:#000000;fill-opacity:0.50196078;stroke:#808080;stroke-width:10;stroke-linecap:square;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
|
@ -43,7 +43,7 @@
|
|||
sodipodi:rx="27.5"
|
||||
sodipodi:ry="27.5"
|
||||
d="m 70,52.5 a 27.5,27.5 0 1 1 -55,0 27.5,27.5 0 1 1 55,0 z"
|
||||
transform="translate(0,952.36215)" />
|
||||
transform="matrix(0.48,0,0,0.48,9.180329,978.36216)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="opacity:0;fill:#000000;fill-opacity:0.50196078;stroke:#000000;stroke-width:10;stroke-linecap:square;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
|
@ -52,10 +52,11 @@
|
|||
sodipodi:cy="50"
|
||||
sodipodi:rx="32.5"
|
||||
sodipodi:ry="35"
|
||||
d="m 80,50 a 32.5,35 0 1 1 -65,0 32.5,35 0 1 1 65,0 z"
|
||||
transform="translate(0,952.36215)" />
|
||||
d="M 80,50 C 80,69.329966 65.449254,85 47.5,85 29.550746,85 15,69.329966 15,50 15,30.670034 29.550746,15 47.5,15 65.449254,15 80,30.670034 80,50 z"
|
||||
transform="matrix(0.48,0,0,0.48,21.180329,978.36216)" />
|
||||
<g
|
||||
transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,-18.537197,1011.201)">
|
||||
transform="matrix(0.33942251,-0.33942251,0.33942251,0.33942251,-0.9,1024.6049)"
|
||||
id="g8">
|
||||
<rect
|
||||
id="rect3794"
|
||||
height="48"
|
||||
|
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3 KiB |