Commit d7c9a098 authored by LordTermor's avatar LordTermor

Improved items colors and font size

parent e691df1f
......@@ -7,7 +7,10 @@ ItemDelegate {
id:systemPalette
}
property color backgroundColor: 'transparent'
property color backgroundColor: Qt.rgba(systemPalette.window.r,
systemPalette.window.g,
systemPalette.window.b,
0)
background: Rectangle{
Behavior on color{
......@@ -18,18 +21,15 @@ ItemDelegate {
color: {
if(highlighted){
if(hovered){
return Qt.darker(systemPalette.highlight,1.1);
}
return systemPalette.highlight;
}
if(down){
return systemPalette.highlight;
return systemPalette.dark;
}
if(hovered){
return Qt.lighter(systemPalette.highlight,1.99)
return Qt.tint(systemPalette.highlight,systemPalette.window)
}
return backgroundColor;
......@@ -40,5 +40,5 @@ ItemDelegate {
width: parent.width
height:30
leftPadding: 15
font.pixelSize: 12
font.pointSize: 9
}
......@@ -27,7 +27,7 @@ LoaderDelegate{
}
if(hovered || packageDelegate.containsMouse)
{
return systemPalette.midlight;
return Qt.tint(systemPalette.highlight,systemPalette.window);
}
return systemPalette.base;
}
......
......@@ -106,7 +106,8 @@ Page{
clip: true
anchors.top: backMenuItem.bottom
anchors.bottom: parent.bottom
width: parent.width
anchors.left: parent.left
width: parent.width-1
id: drawer
initialItem: SideMenu.SideMenuMain{
height: parent.height
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment