on xenial help sign in
Merge lp:~saviq/unity8/header-customizations
4e12deeMichał Sawicz
qml/Dash/DashNavigationList.qml+2−1
@@ -31,7 +31,8 @@ Item {
31 implicitHeight: flickable.contentHeight
31 implicitHeight: flickable.contentHeight
32
32
33 Rectangle {
33 Rectangle {
34− color: !root.scopeStyle || Qt.colorEqual(root.scopeStyle.background, "transparent") ? "white" : root.scopeStyle.background
34+ color: !root.scopeStyle || Qt.colorEqual(root.scopeStyle.background, "transparent") ?
35+ "white" : root.scopeStyle.navigationBackground
35 anchors.fill: parent
36 anchors.fill: parent
36 }
37 }
37
38
qml/Dash/PageHeader.qml+23
@@ -335,6 +335,29 @@ Item {
335 }
335 }
336
336
337 color: scopeStyle ? scopeStyle.headerDividerColor : "#e0e0e0"
337 color: scopeStyle ? scopeStyle.headerDividerColor : "#e0e0e0"
338+
339+ Rectangle {
340+ anchors {
341+ top: parent.top
342+ left: parent.left
343+ right: parent.right
344+ }
345+ height: units.dp(1)
346+ color: Qt.darker(parent.color, 1.1)
347+ }
348+ }
349+
350+ Rectangle {
351+ anchors {
352+ top: bottomBorder.bottom
353+ left: parent.left
354+ right: parent.right
355+ }
356+ height: units.dp(1)
357+ opacity: 0.6
358+ color: scopeStyle ?
359+ Qt.lighter(Qt.rgba(scopeStyle.background.r, scopeStyle.background.g, scopeStyle.background.b, 1.0), 1.2) :
360+ "#CCFFFFFF"
338 }
361 }
339
362
340 Row {
363 Row {