mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-20 19:39:22 +00:00
fix: make chatMessages new message box clearer
This commit is contained in:
parent
39f06d0741
commit
3881d1e012
@ -38,14 +38,16 @@ ScrollView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
|
readonly property int buttonPadding: 5
|
||||||
|
|
||||||
id: newMessagesBox
|
id: newMessagesBox
|
||||||
height: 32
|
height: 32
|
||||||
width: nbMessages.width + arrowImage.width + 2 * Style.current.halfPadding + (nbMessages.visible ? 5 : 0)
|
width: nbMessages.width + arrowImage.width + 2 * Style.current.halfPadding + (nbMessages.visible ? newMessagesBox.buttonPadding : 0)
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: Style.current.padding
|
anchors.rightMargin: Style.current.padding
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: Style.current.buttonDisabledForegroundColor
|
color: Style.current.buttonSecondaryColor
|
||||||
border.width: 0
|
border.width: 0
|
||||||
radius: 16
|
radius: 16
|
||||||
}
|
}
|
||||||
@ -74,7 +76,7 @@ ScrollView {
|
|||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.left: nbMessages.right
|
anchors.left: nbMessages.right
|
||||||
source: "../../../img/leave_chat.svg"
|
source: "../../../img/leave_chat.svg"
|
||||||
anchors.leftMargin: nbMessages.visible ? 5 : 0
|
anchors.leftMargin: nbMessages.visible ? newMessagesBox.buttonPadding : 0
|
||||||
rotation: -90
|
rotation: -90
|
||||||
|
|
||||||
ColorOverlay {
|
ColorOverlay {
|
||||||
|
@ -51,7 +51,8 @@ Theme {
|
|||||||
|
|
||||||
property color buttonForegroundColor: blue
|
property color buttonForegroundColor: blue
|
||||||
property color buttonBackgroundColor: secondaryBackground
|
property color buttonBackgroundColor: secondaryBackground
|
||||||
property color buttonDisabledForegroundColor: darkGrey
|
property color buttonSecondaryColor: darkGrey
|
||||||
|
property color buttonDisabledForegroundColor: buttonSecondaryColor
|
||||||
property color buttonDisabledBackgroundColor: darkerGrey
|
property color buttonDisabledBackgroundColor: darkerGrey
|
||||||
|
|
||||||
property color roundedButtonForegroundColor: white
|
property color roundedButtonForegroundColor: white
|
||||||
|
@ -50,7 +50,8 @@ Theme {
|
|||||||
|
|
||||||
property color buttonForegroundColor: blue
|
property color buttonForegroundColor: blue
|
||||||
property color buttonBackgroundColor: secondaryBackground
|
property color buttonBackgroundColor: secondaryBackground
|
||||||
property color buttonDisabledForegroundColor: darkGrey
|
property color buttonSecondaryColor: darkGrey
|
||||||
|
property color buttonDisabledForegroundColor: buttonSecondaryColor
|
||||||
property color buttonDisabledBackgroundColor: grey
|
property color buttonDisabledBackgroundColor: grey
|
||||||
|
|
||||||
property color roundedButtonForegroundColor: buttonForegroundColor
|
property color roundedButtonForegroundColor: buttonForegroundColor
|
||||||
|
@ -35,6 +35,7 @@ QtObject {
|
|||||||
|
|
||||||
property color buttonForegroundColor
|
property color buttonForegroundColor
|
||||||
property color buttonBackgroundColor
|
property color buttonBackgroundColor
|
||||||
|
property color buttonSecondaryColor
|
||||||
property color buttonDisabledForegroundColor
|
property color buttonDisabledForegroundColor
|
||||||
property color buttonDisabledBackgroundColor
|
property color buttonDisabledBackgroundColor
|
||||||
property color roundedButtonForegroundColor
|
property color roundedButtonForegroundColor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user