From a295c0db559a83ed744355a2ce6ef21b780a78ba Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Mon, 26 Aug 2013 17:07:12 -0700 Subject: [PATCH] remove g-app and animations. --- pica/components/css/pi-app.css | 25 ++++++++++++++++++++++++- pica/components/pi-app.html | 4 +--- pica/components/pi-items-view.html | 2 ++ 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/pica/components/css/pi-app.css b/pica/components/css/pi-app.css index 6856bec..358a00e 100644 --- a/pica/components/css/pi-app.css +++ b/pica/components/css/pi-app.css @@ -3,7 +3,30 @@ * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ -#panels, #contentPanels { + @host { + :scope { + /* fit to container */ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + + /* layout content using flexbox */ + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-orient: vertical; + -webkit-flex-flow: column; + flex-direction: column; + + /* convenient defaults */ + font-family: 'Helvetica Neue', Helvetica, Arial, 'open sans', sans-serif; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + } + } + +#panels, #contentPanels, #Topics { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; diff --git a/pica/components/pi-app.html b/pica/components/pi-app.html index 19e8890..f810f4f 100644 --- a/pica/components/pi-app.html +++ b/pica/components/pi-app.html @@ -5,11 +5,9 @@ * license that can be found in the LICENSE file. */ --> - - @@ -17,7 +15,7 @@ - +