56 lines
1.3 KiB
QML
56 lines
1.3 KiB
QML
import QtQuick 2.15
|
|
|
|
// Marca geometrica rotante — stessa identità visiva dello splash costruttivista.
|
|
Item {
|
|
id: mark
|
|
|
|
Rectangle {
|
|
anchors.fill: parent
|
|
anchors.margins: mark.width * 0.09
|
|
radius: width / 2
|
|
color: "transparent"
|
|
border.color: "#f0dfba"
|
|
border.width: Math.max(4, mark.width * 0.075)
|
|
opacity: 0.92
|
|
}
|
|
|
|
Item {
|
|
id: rotor
|
|
anchors.fill: parent
|
|
|
|
Rectangle {
|
|
width: parent.width * 0.48
|
|
height: Math.max(10, parent.height * 0.16)
|
|
anchors.right: parent.right
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
color: "#d83a28"
|
|
}
|
|
|
|
Rectangle {
|
|
width: Math.max(9, parent.width * 0.14)
|
|
height: parent.height * 0.42
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.top: parent.top
|
|
color: "#f0dfba"
|
|
}
|
|
|
|
RotationAnimator on rotation {
|
|
from: 0
|
|
to: 360
|
|
duration: 1200
|
|
loops: Animation.Infinite
|
|
running: true
|
|
}
|
|
}
|
|
|
|
Rectangle {
|
|
width: parent.width * 0.25
|
|
height: width
|
|
anchors.centerIn: parent
|
|
color: "#171719"
|
|
border.color: "#d83a28"
|
|
border.width: Math.max(3, width * 0.15)
|
|
rotation: 45
|
|
}
|
|
}
|