mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Remove cutomizations for text color and hover from ActivityActionButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
43bafda1eb
commit
aaf9d6bd4c
1 changed files with 0 additions and 12 deletions
|
@ -10,11 +10,7 @@ AbstractButton {
|
||||||
|
|
||||||
property bool primaryButton: false
|
property bool primaryButton: false
|
||||||
|
|
||||||
property string imageSourceHover: ""
|
|
||||||
|
|
||||||
readonly property color adjustedHeaderColor: Style.adjustedCurrentUserHeaderColor
|
readonly property color adjustedHeaderColor: Style.adjustedCurrentUserHeaderColor
|
||||||
readonly property color textColor: primaryButton ? adjustedHeaderColor : palette.buttonText
|
|
||||||
readonly property color textColorHovered: primaryButton ? Style.currentUserHeaderTextColor : palette.buttonText
|
|
||||||
|
|
||||||
property string verb: ""
|
property string verb: ""
|
||||||
property bool isTalkReplyButton: false
|
property bool isTalkReplyButton: false
|
||||||
|
@ -22,12 +18,6 @@ AbstractButton {
|
||||||
leftPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
|
leftPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
|
||||||
rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
|
rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
|
||||||
|
|
||||||
background: NCButtonBackground {
|
|
||||||
color: Style.currentUserHeaderColor
|
|
||||||
hovered: root.hovered
|
|
||||||
visible: root.primaryButton
|
|
||||||
}
|
|
||||||
|
|
||||||
contentItem: Loader {
|
contentItem: Loader {
|
||||||
id: contentItemLoader
|
id: contentItemLoader
|
||||||
active: true
|
active: true
|
||||||
|
@ -57,10 +47,8 @@ AbstractButton {
|
||||||
NCButtonContents {
|
NCButtonContents {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hovered: root.hovered
|
hovered: root.hovered
|
||||||
imageSourceHover: root.imageSourceHover
|
|
||||||
imageSource: root.icon.source
|
imageSource: root.icon.source
|
||||||
text: root.text
|
text: root.text
|
||||||
font.bold: root.primaryButton
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue