mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Remove background hover customization from UserLine.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
1fb956ece2
commit
760edd7e50
1 changed files with 1 additions and 22 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue