Remove background hover customization from UserLine.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-09-03 20:35:48 +02:00 committed by Matthieu Gallien
parent 1fb956ece2
commit 760edd7e50
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

@ -62,7 +62,6 @@ AbstractButton {
height: width
anchors.bottom: accountAvatar.bottom
anchors.right: accountAvatar.right
color: userLine.hovered || userLine.visualFocus ? "#f6f6f6" : "white"
radius: width*0.5
}
@ -149,7 +148,7 @@ AbstractButton {
Image {
anchors.fill: parent
source: "image://svgimage-custom-color/more.svg" + "/" + palette.buttonText
source: "image://svgimage-custom-color/more.svg/"
fillMode: Image.PreserveAspectFit
}
@ -175,16 +174,6 @@ AbstractButton {
accountMenu.close()
}
background: Item {
height: parent.height
width: parent.menu.width
Rectangle {
anchors.fill: parent
anchors.margins: 1
color: parent.parent.hovered ? palette.highlight : palette.window
}
}
Accessible.role: Accessible.Button
Accessible.name: model.isConnected ? qsTr("Log out") : qsTr("Log in")
@ -208,16 +197,6 @@ AbstractButton {
accountMenu.close()
}
background: Item {
height: parent.height
width: parent.menu.width
Rectangle {
anchors.fill: parent
anchors.margins: 1
color: parent.parent.hovered ? palette.highlight : palette.window
}
}
Accessible.role: Accessible.Button
Accessible.name: text
Accessible.onPressAction: removeAccountButton.clicked()