From 9436718527fd5ec22ea647d7e5f784a599804233 Mon Sep 17 00:00:00 2001 From: frankiefu Date: Tue, 8 Oct 2013 14:10:27 -0700 Subject: [PATCH] polymer-ui-basic-app: add "hideMenuButton" for hiding the default menu button; add basic-app3 --- polymer-ui-basic-app/index.html | 25 +++++++++ polymer-ui-basic-app/polymer-ui-basic-app.css | 9 ++++ .../polymer-ui-basic-app.html | 53 ++++++++++++++++++- 3 files changed, 85 insertions(+), 2 deletions(-) diff --git a/polymer-ui-basic-app/index.html b/polymer-ui-basic-app/index.html index 0dc36ec..4b1e399 100644 --- a/polymer-ui-basic-app/index.html +++ b/polymer-ui-basic-app/index.html @@ -28,6 +28,7 @@

basic-app

+
Title
@@ -50,6 +51,7 @@

basic-app

basic-app2 (same content)

+
Title
@@ -68,5 +70,28 @@

basic-app2 (same content)

+ +

basic-app3 (same content)

+ + +
Title
+ + + + + Item + Item + + +
+ Content. +
+ + + Item + Item + + +
diff --git a/polymer-ui-basic-app/polymer-ui-basic-app.css b/polymer-ui-basic-app/polymer-ui-basic-app.css index 6812602..a7dc25b 100644 --- a/polymer-ui-basic-app/polymer-ui-basic-app.css +++ b/polymer-ui-basic-app/polymer-ui-basic-app.css @@ -19,4 +19,13 @@ polymer-ui-sidebar-menu { section { background-color: white; +} + +[hidden] { + display: none !important; +} + +#scrim { + background: rgba(128, 128, 128, 0.5); + z-index: 1; } \ No newline at end of file diff --git a/polymer-ui-basic-app/polymer-ui-basic-app.html b/polymer-ui-basic-app/polymer-ui-basic-app.html index b90a3f7..f1e3fb3 100644 --- a/polymer-ui-basic-app/polymer-ui-basic-app.html +++ b/polymer-ui-basic-app/polymer-ui-basic-app.html @@ -20,7 +20,7 @@ - +