mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 16:15:12 +08:00
Small UX adjustments.
part of CURA-8561
This commit is contained in:
parent
5c875a1394
commit
7c29e69f55
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user