mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Change the hover colors of the AppSwitcher button
So that they are more subtle. CURA-8421
This commit is contained in:
parent
6df9f9f72c
commit
e2d19668e4
1 changed files with 17 additions and 7 deletions
|
@ -23,16 +23,26 @@ Item
|
|||
width: Math.round(0.5 * UM.Theme.getSize("main_window_header").height)
|
||||
height: width
|
||||
|
||||
background: UM.RecolorImage
|
||||
background: Item
|
||||
{
|
||||
width: parent.width
|
||||
height: width
|
||||
anchors.verticalCenter: applicationSwitcherButton.verticalCenter
|
||||
anchors.horizontalCenter: applicationSwitcherButton.horizontalCenter
|
||||
color: UM.Theme.getColor("main_background")
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle
|
||||
{
|
||||
anchors.fill: parent
|
||||
radius: UM.Theme.getSize("action_button_radius").width
|
||||
color: applicationSwitcherButton.hovered ? UM.Theme.getColor("primary_text") : "transparent"
|
||||
opacity: applicationSwitcherButton.hovered ? 0.2 : 0
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
anchors.fill: parent
|
||||
color: UM.Theme.getColor("primary_text")
|
||||
|
||||
source: UM.Theme.getIcon("BlockGrid")
|
||||
}
|
||||
}
|
||||
|
||||
onClicked:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue