@@ -39,7 +39,7 @@ Item {
3939 fill: parent
4040 topMargin: panelHeight
4141 }
42− color: "#333333"
42+ color: "black"
4343 opacity: indicators.unitProgress * darkenedOpacity
4444 visible: !indicators.fullyClosed
4545
@@ -57,7 +57,7 @@ Item {
5757 anchors.fill: parent
5858
5959 Behavior on anchors.topMargin {
60− NumberAnimation { duration: UbuntuAnimation.FastDuration; easing: UbuntuAnimation.StandardEasing }
60+ UbuntuNumberAnimation {}
6161 }
6262
6363 transform: Translate {
@@ -115,13 +115,16 @@ Item {
115115 }
116116
117117 MouseArea {
118+ id: mouseArea
118119 anchors {
119120 top: parent.top
120121 left: parent.left
121122 right: indicators.left
122123 }
123124 height: indicators.minimizedPanelHeight
125+ hoverEnabled: true
124126 onClicked: { if (callHint.visible) { callHint.showLiveCall(); } }
127+ onDoubleClicked: PanelState.maximize()
125128 }
126129
127130 IndicatorsMenu {
@@ -166,10 +169,13 @@ Item {
166169 anchors {
167170 left: parent.left
168171 top: parent.top
169− margins: units.gu(0.7)
172+ leftMargin: units.gu(1)
173+ topMargin: units.gu(0.5)
174+ bottomMargin: units.gu(0.5)
170175 }
171− height: indicators.minimizedPanelHeight - anchors.margins * 2
172− visible: PanelState.buttonsVisible && !root.locked
176+ height: indicators.minimizedPanelHeight - anchors.topMargin - anchors.bottomMargin
177+ visible: PanelState.buttonsVisible && mouseArea.containsMouse && !root.locked && !callHint.visible
178+ active: PanelState.buttonsVisible
173179 onClose: PanelState.close()
174180 onMinimize: PanelState.minimize()
175181 onMaximize: PanelState.maximize()
@@ -179,19 +185,23 @@ Item {
179185 id: titleLabel
180186 objectName: "windowDecorationTitle"
181187 anchors {
182− left: PanelState.buttonsVisible ? windowControlButtons.right : parent.left // FIXME this should be separate from the buttons, also based on LIM
188+ left: parent.left
183189 top: parent.top
184− margins: units.gu(0.7)
190+ leftMargin: units.gu(1)
191+ topMargin: units.gu(0.5)
192+ bottomMargin: units.gu(0.5)
185193 }
186194 color: PanelState.buttonsVisible ? "#ffffff" : "#5d5d5d"
187− height: windowControlButtons.height
188− visible: true // TODO the title should exchange with the menu on mouse hover
195+ height: indicators.minimizedPanelHeight - anchors.topMargin - anchors.bottomMargin
196+ visible: !windowControlButtons.visible && !root.locked && !callHint.visible
189197 verticalAlignment: Text.AlignVCenter
190198 fontSize: "medium"
191− font.weight: Font.Light
199+ font.weight: Font.Normal
192200 text: PanelState.title
193201 }
194202
203+ // TODO here would the LIM come
204+
195205 PanelSeparatorLine {
196206 id: indicatorOrangeLine
197207 anchors {