From b121767110de52ee0be9454dc08d840874362f3b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 19 Jul 2022 07:42:39 +0100 Subject: Revert "move : x11-themes/redcore-theme-sddm -> x11-themes/redcore-artwork-sddm" This reverts commit 104022dded3b0d2c3c785ea4d11d564defdee4d9. --- .../files/redcore/BreezeMenuStyle.qml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 x11-themes/redcore-theme-sddm/files/redcore/BreezeMenuStyle.qml (limited to 'x11-themes/redcore-theme-sddm/files/redcore/BreezeMenuStyle.qml') diff --git a/x11-themes/redcore-theme-sddm/files/redcore/BreezeMenuStyle.qml b/x11-themes/redcore-theme-sddm/files/redcore/BreezeMenuStyle.qml new file mode 100644 index 00000000..7d56c149 --- /dev/null +++ b/x11-themes/redcore-theme-sddm/files/redcore/BreezeMenuStyle.qml @@ -0,0 +1,25 @@ +import QtQuick 2.2 + +import org.kde.plasma.core 2.0 as PlasmaCore + +import QtQuick.Controls.Styles 1.4 as QQCS +import QtQuick.Controls 1.3 as QQC + +QQCS.MenuStyle { + frame: Rectangle { + color: PlasmaCore.ColorScope.backgroundColor + border.color: Qt.tint(PlasmaCore.ColorScope.textColor, Qt.rgba(color.r, color.g, color.b, 0.7)) + border.width: 1 + } + itemDelegate.label: QQC.Label { + height: contentHeight * 1.2 + verticalAlignment: Text.AlignVCenter + color: styleData.selected ? PlasmaCore.ColorScope.highlightedTextColor : PlasmaCore.ColorScope.textColor + font.pointSize: config.fontSize + text: styleData.text + } + itemDelegate.background: Rectangle { + visible: styleData.selected + color: PlasmaCore.ColorScope.highlightColor + } +} -- cgit v1.2.3