Small UX adjustments.

part of CURA-8561
This commit is contained in:
Remco Burema 2021-11-16 16:07:54 +01:00
parent 5c875a1394
commit 7c29e69f55
No known key found for this signature in database
GPG Key ID: 215C49431D43F98C

View File

@ -12,7 +12,7 @@ Rectangle
{ {
property var packageData property var packageData
width: parent ? parent.width - UM.Theme.getSize("default_margin").width : 0 width: parent ? parent.width - UM.Theme.getSize("thin_margin").width : 0
height: childrenRect.height height: childrenRect.height
color: UM.Theme.getColor("main_background") color: UM.Theme.getColor("main_background")
@ -109,12 +109,17 @@ Rectangle
visible: parent.hovered visible: parent.hovered
} }
UM.RecolorImage Rectangle
{ {
anchors.fill: parent anchors.fill: parent
color: UM.Theme.getColor("action_button_hovered")
color: UM.Theme.getColor("primary") radius: width
source: UM.Theme.getIcon("CheckCircle") UM.RecolorImage
{
anchors.fill: parent
color: UM.Theme.getColor("primary")
source: UM.Theme.getIcon("CheckCircle")
}
} }
//NOTE: Can we link to something here? (Probably a static link explaining what verified is): //NOTE: Can we link to something here? (Probably a static link explaining what verified is):
@ -170,12 +175,13 @@ Rectangle
Rectangle Rectangle
{ {
anchors.fill: parent anchors.fill: parent
color: externalLinkButton.hovered ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("detail_background") radius: width
color: externalLinkButton.hovered ? UM.Theme.getColor("action_button_hovered") : "transparent"
UM.RecolorImage UM.RecolorImage
{ {
anchors.fill: parent anchors.fill: parent
color: externalLinkButton.hovered ? UM.Theme.getColor("text_link") : UM.Theme.getColor("text") color: UM.Theme.getColor("text")
source: UM.Theme.getIcon("LinkExternal") source: UM.Theme.getIcon("LinkExternal")
} }
} }