mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Remove user status hover effect and background color.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
9e5192ead3
commit
939eb00f2c
@ -441,22 +441,22 @@ ApplicationWindow {
|
||||
height: width
|
||||
anchors.bottom: currentAccountAvatar.bottom
|
||||
anchors.right: currentAccountAvatar.right
|
||||
color: Style.currentUserHeaderColor
|
||||
radius: width * Style.trayFolderStatusIndicatorRadiusFactor
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: currentAccountStatusIndicatorMouseHover
|
||||
visible: UserModel.currentUser && UserModel.currentUser.isConnected
|
||||
&& UserModel.currentUser.serverHasUserStatus
|
||||
width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset
|
||||
height: width
|
||||
anchors.bottom: currentAccountAvatar.bottom
|
||||
anchors.right: currentAccountAvatar.right
|
||||
color: currentAccountButton.hovered ? Style.currentUserHeaderTextColor : palette.window
|
||||
opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor
|
||||
radius: width * Style.trayFolderStatusIndicatorRadiusFactor
|
||||
}
|
||||
// TODO: check if we want add any hover effect
|
||||
// Rectangle {
|
||||
// id: currentAccountStatusIndicatorMouseHover
|
||||
// visible: UserModel.currentUser && UserModel.currentUser.isConnected
|
||||
// && UserModel.currentUser.serverHasUserStatus
|
||||
// width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset
|
||||
// height: width
|
||||
// anchors.bottom: currentAccountAvatar.bottom
|
||||
// anchors.right: currentAccountAvatar.right
|
||||
// color: currentAccountButton.hovered ? palette.highlight : palette.window
|
||||
// opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor
|
||||
// radius: width * Style.trayFolderStatusIndicatorRadiusFactor
|
||||
// }
|
||||
|
||||
Image {
|
||||
id: currentAccountStatusIndicator
|
||||
|
||||
Loading…
Reference in New Issue
Block a user