Buttons on the top bar color and style testing
This commit is contained in:
@@ -39,8 +39,8 @@ import QtQuick.Controls.Material
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: dashBoard.down? Material.accent: Material.primary
|
||||
border.color: dashBoard.hovered? "lightgrey": "transparent"
|
||||
color: dashBoard.down? Material.accent: Material.background
|
||||
border.color: dashBoard.hovered? Material.Amber: "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
@@ -48,6 +48,7 @@ import QtQuick.Controls.Material
|
||||
{
|
||||
text: "Dashboard"
|
||||
anchors.centerIn: parent
|
||||
color: Material.accent
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,8 +61,8 @@ import QtQuick.Controls.Material
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: kunden.down? Material.accent: Material.primary
|
||||
border.color: kunden.hovered? "lightgrey": "transparent"
|
||||
color: kunden.down? Material.accent: Material.background
|
||||
border.color: kunden.hovered? Material.Amber: "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
@@ -69,6 +70,7 @@ import QtQuick.Controls.Material
|
||||
{
|
||||
text: "Kunden"
|
||||
anchors.centerIn: parent
|
||||
color: Material.accent
|
||||
}
|
||||
}
|
||||
Button
|
||||
@@ -80,8 +82,8 @@ import QtQuick.Controls.Material
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: objekt.down? Material.accent: Material.primary
|
||||
border.color: objekt.hovered? "lightgrey": "transparent"
|
||||
color: objekt.down? Material.accent: Material.background
|
||||
border.color: objekt.hovered? Material.Amber: "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
@@ -89,6 +91,7 @@ import QtQuick.Controls.Material
|
||||
{
|
||||
text: "Objekt"
|
||||
anchors.centerIn: parent
|
||||
color: Material.accent
|
||||
}
|
||||
}
|
||||
Button
|
||||
@@ -100,8 +103,8 @@ import QtQuick.Controls.Material
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: mitarbeiter.down? Material.accent: Material.primary
|
||||
border.color: mitarbeiter.hovered? "lightgrey": "transparent"
|
||||
color: mitarbeiter.down? Material.accent: Material.background
|
||||
border.color: mitarbeiter.hovered? Material.Amber: "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
@@ -109,6 +112,7 @@ import QtQuick.Controls.Material
|
||||
{
|
||||
text: "Mitarbeiter"
|
||||
anchors.centerIn: parent
|
||||
color: Material.accent
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,8 +123,8 @@ import QtQuick.Controls.Material
|
||||
hoverEnabled: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: abrechnung.down? Material.accent: Material.primary
|
||||
border.color: abrechnung.hovered? "lightgrey": "transparent"
|
||||
color: abrechnung.down? Material.accent: Material.background
|
||||
border.color: abrechnung.hovered? Material.Amber: "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
@@ -128,6 +132,7 @@ import QtQuick.Controls.Material
|
||||
{
|
||||
text: "Abrechnung"
|
||||
anchors.centerIn: parent
|
||||
color: Material.accent
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user