From b8230c5d3177897f6216056ff550500621ebbfd9 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Sat, 7 Nov 2020 15:15:15 -0600 Subject: [PATCH] KDE: Improve logout screen buttons appearance --- kde/look-and-feel/contents/components/ActionButton.qml | 3 +++ kde/look-and-feel/contents/logout/Logout.qml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/kde/look-and-feel/contents/components/ActionButton.qml b/kde/look-and-feel/contents/components/ActionButton.qml index 03ce502..ca824aa 100644 --- a/kde/look-and-feel/contents/components/ActionButton.qml +++ b/kde/look-and-feel/contents/components/ActionButton.qml @@ -30,6 +30,7 @@ Item { property alias labelRendering: label.renderType property alias circleOpacity: iconCircle.opacity property alias circleVisiblity: iconCircle.visible + property alias border_color: iconCircle.border.color property int fontSize: config.fontSize readonly property bool softwareRendering: GraphicsInfo.api === GraphicsInfo.Software signal clicked @@ -56,6 +57,8 @@ Item { height: width radius: width / 2 color: "#08080C" + border.color: "#c50ed2" + border.width: 1 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/Logout.qml b/kde/look-and-feel/contents/logout/Logout.qml index 9b54f55..24008f0 100644 --- a/kde/look-and-feel/contents/logout/Logout.qml +++ b/kde/look-and-feel/contents/logout/Logout.qml @@ -175,6 +175,7 @@ PlasmaCore.ColorScope { id: suspendButton iconSource: "system-suspend" text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Suspend to RAM", "Sleep") + border_color: "#43e97b" action: root.sleepRequested KeyNavigation.left: logoutButton KeyNavigation.right: hibernateButton @@ -184,6 +185,7 @@ PlasmaCore.ColorScope { id: hibernateButton iconSource: "system-suspend-hibernate" text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Hibernate") + border_color: "#ff9966" action: root.hibernateRequested KeyNavigation.left: suspendButton KeyNavigation.right: rebootButton @@ -193,6 +195,7 @@ PlasmaCore.ColorScope { id: rebootButton iconSource: "system-reboot" text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Restart") + border_color: "#c50ed2" action: root.rebootRequested KeyNavigation.left: hibernateButton KeyNavigation.right: shutdownButton @@ -203,6 +206,7 @@ PlasmaCore.ColorScope { id: shutdownButton iconSource: "system-shutdown" text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Shut Down") + border_color: "#ffe031" action: root.haltRequested KeyNavigation.left: rebootButton KeyNavigation.right: logoutButton @@ -213,6 +217,7 @@ PlasmaCore.ColorScope { id: logoutButton iconSource: "system-log-out" text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Log Out") + border_color: "#00ffa9" action: root.logoutRequested KeyNavigation.left: shutdownButton KeyNavigation.right: suspendButton