summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/Greeter/GreeterStatusCard.qml
diff options
context:
space:
mode:
authorNippy <nippy@rp1.hu>2026-05-09 13:33:09 +0200
committerNippy <nippy@rp1.hu>2026-05-09 13:33:09 +0200
commita2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5 (patch)
tree1a8769217f84bfe9d6216fafaadaf8cdd876d457 /raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/Greeter/GreeterStatusCard.qml
parent34b9c34f982b2596cfa9e368a2d7f74e9a17477c (diff)
downloadRaveOS-PKGBUILD-a2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5.tar.gz
RaveOS-PKGBUILD-a2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5.zip
raveos update
Diffstat (limited to 'raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/Greeter/GreeterStatusCard.qml')
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/Greeter/GreeterStatusCard.qml75
1 files changed, 0 insertions, 75 deletions
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/Greeter/GreeterStatusCard.qml b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/Greeter/GreeterStatusCard.qml
deleted file mode 100644
index af0d5d6..0000000
--- a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/Modals/Greeter/GreeterStatusCard.qml
+++ /dev/null
@@ -1,75 +0,0 @@
-import QtQuick
-import qs.Common
-import qs.Widgets
-
-Rectangle {
- id: root
-
- property int count: 0
- property string label: ""
- property string iconName: ""
- property color iconColor: Theme.surfaceText
- property color bgColor: Theme.surfaceContainerHigh
- property bool selected: false
-
- signal clicked
-
- height: Math.round(Theme.fontSizeMedium * 5)
- radius: Theme.cornerRadius
- color: bgColor
- border.width: selected ? 2 : 0
- border.color: selected ? iconColor : "transparent"
- scale: mouseArea.pressed ? 0.97 : 1
-
- Behavior on scale {
- NumberAnimation {
- duration: Theme.shortDuration
- easing.type: Theme.emphasizedEasing
- }
- }
-
- Behavior on border.width {
- NumberAnimation {
- duration: Theme.shortDuration
- }
- }
-
- MouseArea {
- id: mouseArea
- anchors.fill: parent
- cursorShape: Qt.PointingHandCursor
- onClicked: root.clicked()
- }
-
- Column {
- anchors.centerIn: parent
- spacing: Theme.spacingXS
-
- Row {
- anchors.horizontalCenter: parent.horizontalCenter
- spacing: Theme.spacingS
-
- DankIcon {
- name: root.iconName
- size: Theme.iconSize - 4
- color: root.iconColor
- anchors.verticalCenter: parent.verticalCenter
- }
-
- StyledText {
- text: root.count.toString()
- font.pixelSize: Theme.fontSizeXLarge
- font.weight: Font.Bold
- color: root.iconColor
- anchors.verticalCenter: parent.verticalCenter
- }
- }
-
- StyledText {
- text: root.label
- font.pixelSize: Theme.fontSizeSmall
- color: Theme.surfaceText
- anchors.horizontalCenter: parent.horizontalCenter
- }
- }
-}