[ui] changing custom actions button style

This commit is contained in:
Vinicius Moreira
2020-04-24 14:27:41 -03:00
parent 0d9e6315f1
commit f0cc119271
3 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- not detecting some updates ( e.g: RPCS3 ) - not detecting some updates ( e.g: RPCS3 )
### UI ### UI
- Changed the main toolbar buttons style - Changed the main toolbar buttons and custom actions button ('+') styles
- Changed some colors - Changed some colors
- Removed the **x** button from some dialogs - Removed the **x** button from some dialogs

View File

@@ -329,7 +329,6 @@ class ManageWindow(QWidget):
self.custom_actions = manager.get_custom_actions() self.custom_actions = manager.get_custom_actions()
bt_custom_actions = IconButton(QIcon(resource.get_path('img/custom_actions.svg')), bt_custom_actions = IconButton(QIcon(resource.get_path('img/custom_actions.svg')),
action=self.show_custom_actions, action=self.show_custom_actions,
background="#669900",
i18n=self.i18n, i18n=self.i18n,
tooltip=self.i18n['manage_window.bt_custom_actions.tip']) tooltip=self.i18n['manage_window.bt_custom_actions.tip'])
bt_custom_actions.setVisible(bool(self.custom_actions)) bt_custom_actions.setVisible(bool(self.custom_actions))

View File

@@ -13,7 +13,7 @@
version="1.1" version="1.1"
id="svg5741" id="svg5741"
sodipodi:docname="custom_actions.svg" sodipodi:docname="custom_actions.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14"> inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
<metadata <metadata
id="metadata5747"> id="metadata5747">
<rdf:RDF> <rdf:RDF>
@@ -37,8 +37,8 @@
guidetolerance="10" guidetolerance="10"
inkscape:pageopacity="0" inkscape:pageopacity="0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-width="1360" inkscape:window-width="1366"
inkscape:window-height="644" inkscape:window-height="739"
id="namedview5743" id="namedview5743"
showgrid="false" showgrid="false"
showborder="false" showborder="false"
@@ -47,15 +47,16 @@
fit-margin-right="0" fit-margin-right="0"
fit-margin-bottom="0" fit-margin-bottom="0"
inkscape:zoom="3.1607143" inkscape:zoom="3.1607143"
inkscape:cx="54.894116" inkscape:cx="64.104382"
inkscape:cy="34.001197" inkscape:cy="34.001197"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg5741" /> inkscape:current-layer="svg5741"
showguides="false" />
<path <path
d="m 16.392858,7.39286 h -5.464286 c -0.177508,0 -0.321429,-0.14392 -0.321429,-0.32143 V 1.60714 C 10.607143,0.7196 9.8875387,0 9.0000003,0 8.1124619,0 7.3928574,0.7196 7.3928574,1.60714 v 5.46429 c 0,0.17751 -0.1439209,0.32143 -0.3214286,0.32143 H 1.6071429 C 0.71960451,7.39286 0,8.11246 0,9 c 0,0.88754 0.71960451,1.60714 1.6071429,1.60714 h 5.4642859 c 0.1775077,0 0.3214286,0.14392 0.3214286,0.32143 v 5.46429 C 7.3928574,17.2804 8.1124619,18 9.0000003,18 9.8875387,18 10.607143,17.2804 10.607143,16.39286 v -5.46429 c 0,-0.17751 0.143921,-0.32143 0.321429,-0.32143 h 5.464286 c 0.887538,0 1.607143,-0.7196 1.607143,-1.60714 0,-0.88754 -0.719605,-1.60714 -1.607143,-1.60714 z m 0,0" d="m 16.392858,7.39286 h -5.464286 c -0.177508,0 -0.321429,-0.14392 -0.321429,-0.32143 V 1.60714 C 10.607143,0.7196 9.8875387,0 9.0000003,0 8.1124619,0 7.3928574,0.7196 7.3928574,1.60714 v 5.46429 c 0,0.17751 -0.1439209,0.32143 -0.3214286,0.32143 H 1.6071429 C 0.71960451,7.39286 0,8.11246 0,9 c 0,0.88754 0.71960451,1.60714 1.6071429,1.60714 h 5.4642859 c 0.1775077,0 0.3214286,0.14392 0.3214286,0.32143 v 5.46429 C 7.3928574,17.2804 8.1124619,18 9.0000003,18 9.8875387,18 10.607143,17.2804 10.607143,16.39286 v -5.46429 c 0,-0.17751 0.143921,-0.32143 0.321429,-0.32143 h 5.464286 c 0.887538,0 1.607143,-0.7196 1.607143,-1.60714 0,-0.88754 -0.719605,-1.60714 -1.607143,-1.60714 z m 0,0"
id="path5739" id="path5739"
style="fill:#ffffff;stroke-width:0.04017857" style="fill:none;stroke-width:1.41732284;stroke:#669900;fill-opacity:1;stroke-opacity:1"
inkscape:connector-curvature="0" /> inkscape:connector-curvature="0" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB