add style changes to clock and volume
This commit is contained in:
parent
31dd09baff
commit
58b9530361
@ -14,7 +14,7 @@ Loader {
|
||||
|
||||
sourceComponent: Rectangle {
|
||||
id: container
|
||||
border.color: Colors.color7
|
||||
border.color: clickHandler.containsMouse ? Colors.color8 : Colors.color7
|
||||
border.width: 1
|
||||
radius: implicitHeight / 2
|
||||
color: Colors.color0
|
||||
@ -102,9 +102,11 @@ Loader {
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
id: clickHandler
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
hoverEnabled: true
|
||||
onClicked: mouse => {
|
||||
const modes = [PowerProfile.PowerSaver, PowerProfile.Balanced, PowerProfile.Performance];
|
||||
let current = PowerProfiles.profile;
|
||||
|
||||
@ -7,7 +7,7 @@ import qs.reusables
|
||||
|
||||
Rectangle {
|
||||
id: container
|
||||
border.color: Colors.color7
|
||||
border.color: formatSwitch.containsMouse ? Colors.color8 : Colors.color7
|
||||
border.width: 1
|
||||
radius: implicitHeight / 2
|
||||
color: Colors.color0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user