Tweaked hover effects
This commit is contained in:
@@ -31,24 +31,34 @@ export component WindowHeader {
|
||||
}
|
||||
|
||||
HorizontalLayout {
|
||||
padding: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
Rectangle {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: Palette.warning;
|
||||
border-radius: self.width / 2;
|
||||
y: (parent.height - self.height) / 2;
|
||||
TouchArea {
|
||||
mouse-cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
HorizontalLayout {
|
||||
padding: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
Rectangle {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: Palette.error;
|
||||
border-radius: self.width / 2;
|
||||
y: (parent.height - self.height) / 2;
|
||||
TouchArea {
|
||||
mouse-cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user