added two new themes, reworked Crypto.qml and Stats.qml, standardized the buttons for the modules, added a new Sidebar widget which contains new 3 modules
This commit is contained in:
@@ -10,14 +10,18 @@ Rectangle {
|
||||
property color borderHoverColor: "transparent"
|
||||
property real pressScale: 0.97
|
||||
property int animDuration: 150
|
||||
property int btnRadius: 8
|
||||
property int btnBorderWidth: 1
|
||||
|
||||
readonly property bool hovered: _hover.hovered
|
||||
readonly property bool pressed: _tap.pressed
|
||||
|
||||
signal clicked()
|
||||
|
||||
radius: root.btnRadius
|
||||
color: pressed ? pressColor : (hovered ? hoverColor : idleColor)
|
||||
border.color: hovered ? borderHoverColor : borderIdleColor
|
||||
border.width: root.btnBorderWidth
|
||||
|
||||
scale: pressed ? pressScale : 1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user