From a7017b824d108bbf81b8dbc994d451829c2413db Mon Sep 17 00:00:00 2001 From: sdtsui Date: Sun, 6 Aug 2017 18:50:23 -0700 Subject: Refactor app-header css, including box shadow and z-index --- ui/app/app.js | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) (limited to 'ui/app/app.js') diff --git a/ui/app/app.js b/ui/app/app.js index 2214809e2..6196040b6 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -172,25 +172,11 @@ App.prototype.renderAppBar = function () { }, [ h('.app-header.flex-row.flex-space-between', { - style: { - alignItems: 'center', - visibility: props.isUnlocked ? 'visible' : 'none', - background: '#EFEFEF', // $gallery - paddingTop: '1.5vh', - height: '12vh', - maxHeight: '60px', - position: 'relative', - zIndex: 12, - }, + style: {}, }, [ - h('div.left-menu-section', { - style: { - display: 'flex', - flexDirection: 'row', - alignItems: 'center', - marginBottom: '1.8em', - }, + h('div.left-menu-wrapper', { + style: {}, }, [ // mini logo h('img', { @@ -209,13 +195,8 @@ App.prototype.renderAppBar = function () { ]), - h('div', { - style: { - display: 'flex', - flexDirection: 'row', - alignItems: 'center', - marginBottom: '1.8em', - }, + h('div.network-component-wrapper', { + style: {}, }, [ // Network Indicator h(NetworkIndicator, { -- cgit