Commit 5b39069d authored by Marco Martin's avatar Marco Martin

uniform bottom and top bar

parent 2a1e2934
......@@ -155,7 +155,7 @@ Rectangle {
anchors.right: parent.right
anchors.bottom: parent.bottom
height: bottomBarHeight
color: Qt.rgba(0, 0, 0, 0.7)
color: Qt.rgba(0, 0, 0, 0.9)
Behavior on height {
NumberAnimation {
......@@ -172,8 +172,8 @@ Rectangle {
width: units.iconSizes.smallMedium
height: width
source: "distribute-horizontal-x"
enabled: compositorRoot.state != "switcher";
opacity: enabled ? 1 : 0.6
enabled: compositorRoot.state != "switcher" && windowsLayout.children.length > 0
opacity: enabled ? 1 : 0.2
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: units.iconSizes.medium
......@@ -192,7 +192,7 @@ Rectangle {
height: width
source: "go-home"
enabled: compositorRoot.state != "homeScreen";
opacity: enabled ? 1 : 0.6
opacity: enabled ? 1 : 0.2
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: units.iconSizes.medium
......@@ -211,7 +211,7 @@ Rectangle {
height: width
source: "window-close"
enabled: compositorRoot.currentWindow
opacity: enabled ? 1 : 0.6
opacity: enabled ? 1 : 0.2
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: units.iconSizes.medium
......
......@@ -209,7 +209,7 @@ Item {
Rectangle {
z: 1
color: Qt.rgba(0, 0, 0, 0.7 * (Math.min(applications.contentY + homescreen.height, homescreen.height) / homescreen.height))
color: Qt.rgba(0, 0, 0, 0.9 * (Math.min(applications.contentY + homescreen.height, homescreen.height) / homescreen.height))
anchors.fill: parent
}
......@@ -317,7 +317,7 @@ Item {
Rectangle {
anchors.fill: parent
color: Qt.rgba(0, 0, 0, 0.7)
color: Qt.rgba(0, 0, 0, 0.9)
PlasmaCore.IconItem {
id: strengthIcon
......@@ -398,6 +398,7 @@ Item {
height: homescreen.height
}
PlasmaCore.ColorScope {
z: 1
anchors {
......@@ -458,7 +459,7 @@ Item {
right: parent.right
bottomMargin: stripe.height * 2
}
height: contentHeight
height: parent.height / 3
interactive: false
z: 1
......
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