From e44f297483217891808ee038f595fbd27ca66eb4 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Fri, 9 Oct 2020 15:12:54 -0500 Subject: [PATCH] KDE: Improve logout screen appearance --- kde/look-and-feel/contents/components/ActionButton.qml | 2 +- kde/look-and-feel/contents/logout/LogoutButton.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kde/look-and-feel/contents/components/ActionButton.qml b/kde/look-and-feel/contents/components/ActionButton.qml index 7a66c56..03ce502 100644 --- a/kde/look-and-feel/contents/components/ActionButton.qml +++ b/kde/look-and-feel/contents/components/ActionButton.qml @@ -55,7 +55,7 @@ Item { width: iconSize + units.smallSpacing height: width radius: width / 2 - color: softwareRendering ? PlasmaCore.ColorScope.backgroundColor : PlasmaCore.ColorScope.textColor + color: "#08080C" opacity: activeFocus || containsMouse ? (softwareRendering ? 0.8 : 0.15) : (softwareRendering ? 0.6 : 0) Behavior on opacity { PropertyAnimation { // OpacityAnimator makes it turn black at random intervals diff --git a/kde/look-and-feel/contents/logout/LogoutButton.qml b/kde/look-and-feel/contents/logout/LogoutButton.qml index 316ab93..af1b79d 100644 --- a/kde/look-and-feel/contents/logout/LogoutButton.qml +++ b/kde/look-and-feel/contents/logout/LogoutButton.qml @@ -31,8 +31,8 @@ ActionButton { Layout.alignment: Qt.AlignTop iconSize: units.iconSizes.huge circleVisiblity: activeFocus || containsMouse - circleOpacity: 0.15 // Selected option's circle is instantly visible - opacity: activeFocus || containsMouse ? 1 : 0.5 + circleOpacity: 0.55 // Selected option's circle is instantly visible + opacity: activeFocus || containsMouse ? 1 : 0.7 labelRendering: Text.QtRendering // Remove once we've solved Qt bug: https://bugreports.qt.io/browse/QTBUG-70138 (KDE bug: https://bugs.kde.org/show_bug.cgi?id=401644) font.underline: false font.pointSize: theme.defaultFont.pointSize + 1