From 630eeda71bc1be913a408a78f74d293304ddcaf7 Mon Sep 17 00:00:00 2001 From: frankiefu Date: Thu, 24 Oct 2013 11:02:14 -0700 Subject: [PATCH] polymer-ui-breadcrumbs: revert the behavior so tapping on crumb will not update the UI --- polymer-ui-breadcrumbs/metadata.html | 1 + polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.css | 8 ++------ polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.html | 13 ++----------- 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/polymer-ui-breadcrumbs/metadata.html b/polymer-ui-breadcrumbs/metadata.html index e4466d7..e0ee725 100644 --- a/polymer-ui-breadcrumbs/metadata.html +++ b/polymer-ui-breadcrumbs/metadata.html @@ -3,6 +3,7 @@ + diff --git a/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.css b/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.css index d616683..e9ea862 100644 --- a/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.css +++ b/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.css @@ -22,11 +22,7 @@ license that can be found in the LICENSE file. color: #aaa; } -.label[hidden] { - display: none; -} - -.label.polymer-selected > a { +.label:last-of-type > a { color: black; } @@ -40,6 +36,6 @@ polymer-ui-icon { transform: rotate(270deg); } -.label.polymer-selected ~ polymer-ui-icon { +polymer-ui-icon:last-of-type { display: none !important; } \ No newline at end of file diff --git a/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.html b/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.html index 034ec47..ce0bd45 100644 --- a/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.html +++ b/polymer-ui-breadcrumbs/polymer-ui-breadcrumbs.html @@ -64,7 +64,7 @@
@@ -72,17 +72,8 @@