mirror of
https://github.com/L4ki/Jolly-Plasma-Themes.git
synced 2026-02-01 21:27:38 +01:00
Add files via upload
This commit is contained in:
25
Jolly SDDM Themes/Jolly-SDDM/BreezeMenuStyle.qml
Normal file
25
Jolly SDDM Themes/Jolly-SDDM/BreezeMenuStyle.qml
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user