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