mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 04:21:44 +00:00
fix: add hover color for active emoji and fix corner
This commit is contained in:
parent
55920a4f9d
commit
51a379efda
@ -70,8 +70,9 @@ Item {
|
||||
width: emojiImage.width + emojiCount.width + (root.imageMargin * 2) + + 8
|
||||
height: 20
|
||||
radius: 10
|
||||
color: modelData.currentUserReacted ? Style.current.secondaryBackground :
|
||||
(isHovered ? Style.current.emojiReactionBackgroundHovered : Style.current.emojiReactionBackground)
|
||||
color: modelData.currentUserReacted ?
|
||||
(isHovered ? Style.current.emojiReactionActiveBackgroundHovered : Style.current.secondaryBackground) :
|
||||
(isHovered ? Style.current.emojiReactionBackgroundHovered : Style.current.emojiReactionBackground)
|
||||
|
||||
StatusToolTip {
|
||||
visible: mouseArea.containsMouse
|
||||
@ -82,8 +83,8 @@ Item {
|
||||
// Rounded corner to cover one corner
|
||||
Rectangle {
|
||||
color: parent.color
|
||||
width: 8
|
||||
height: 8
|
||||
width: 10
|
||||
height: 10
|
||||
anchors.top: parent.top
|
||||
anchors.left: !isCurrentUser || appSettings.compactMode ? parent.left : undefined
|
||||
anchors.leftMargin: 0
|
||||
@ -111,8 +112,8 @@ Item {
|
||||
|
||||
Rectangle {
|
||||
color: parent.color
|
||||
width: 8
|
||||
height: 8
|
||||
width: 10
|
||||
height: 10
|
||||
anchors.top: parent.top
|
||||
anchors.left: !isCurrentUser || appSettings.compactMode ? parent.left : undefined
|
||||
anchors.leftMargin: 0
|
||||
|
@ -53,6 +53,7 @@ Theme {
|
||||
property color primarySelectionColor: "#b4c8ff"
|
||||
property color emojiReactionBackground: "#2d2823"
|
||||
property color emojiReactionBackgroundHovered: "#3a3632"
|
||||
property color emojiReactionActiveBackgroundHovered: "#cbd5f1"
|
||||
property color mentionColor: "#47B6D1"
|
||||
property color mentionBgColor: Qt.rgba(71, 182, 209, 0.1)
|
||||
property color mentionMessageColor: "#E5F8FD"
|
||||
|
@ -52,6 +52,7 @@ Theme {
|
||||
property color primarySelectionColor: "#b4c8ff"
|
||||
property color emojiReactionBackground: "#e2e6e9"
|
||||
property color emojiReactionBackgroundHovered: "#d7dadd"
|
||||
property color emojiReactionActiveBackgroundHovered: "#cbd5f1"
|
||||
property color mentionColor: "#0DA4C9"
|
||||
property color mentionBgColor: "#D4F3FA"
|
||||
property color mentionMessageColor: "#E5F8FD"
|
||||
|
@ -41,6 +41,7 @@ QtObject {
|
||||
property color primarySelectioncolor
|
||||
property color emojiReactionBackground
|
||||
property color emojiReactionBackgroundHovered
|
||||
property color emojiReactionActiveBackgroundHovered
|
||||
property color mentionColor
|
||||
property color mentionBgColor
|
||||
property color mentionMessageColor
|
||||
|
Loading…
x
Reference in New Issue
Block a user