Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
remove g-app and animations.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Aug 27, 2013
1 parent 3756fb8 commit a295c0d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
25 changes: 24 additions & 1 deletion pica/components/css/pi-app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 1 addition & 3 deletions pica/components/pi-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@
* license that can be found in the LICENSE file.
*/
-->
<link rel="import" href="../../../toolkit-ui/elements/g-app.html"/>
<link rel="import" href="../../../toolkit-ui/elements/g-panels.html"/>
<link rel="import" href="../../../toolkit-ui/elements/g-menu-item.html"/>
<link rel="import" href="../../../toolkit-ui/elements/g-ribbon.html"/>
<link rel="import" href="../../../polymer-elements/polymer-animation/web-animations.html">
<link rel="import" href="pi-toolbar.html"/>
<link rel="import" href="pi-toolbar-buttons.html"/>
<link rel="import" href="pi-feed-viewer.html"/>
<link rel="import" href="pi-explore.html"/>
<link rel="import" href="pi-home.html"/>
<link rel="import" href="pi-accounts.html"/>
<link rel="import" href="pi-accounts-model.html"/>
<polymer-element name="pi-app" extends="g-app" on-keyup="keyupHandler">
<polymer-element name="pi-app" on-keyup="keyupHandler">
<template>
<link rel="stylesheet" href="css/pi-app.css" />
<g-panels id="panels" selected="{{selectedPanel}}" transition="flow" autoselect on-g-panels-select="panelSelectHandler">
Expand Down
2 changes: 2 additions & 0 deletions pica/components/pi-items-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
this.fire('select', {item: this.selected});
},
animateCascade: function() {
/*
var container = this.$.container;
var cards = container.querySelectorAll('.item');
Expand Down Expand Up @@ -127,6 +128,7 @@
{duration: 0.5, startDelay: 0.03 * d, fillMode: "backwards"}));
}
document.timeline.play(parGroup);
*/
}
});
})();
Expand Down

0 comments on commit a295c0d

Please sign in to comment.