From 77e2e05971d13364c26f07259ae4dae55b62af6b Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Tue, 16 Sep 2014 12:15:17 -0700 Subject: [PATCH] core-dropdown updates, new demo --- core-menu-button.css | 8 + core-menu-button.html | 6 +- demo.html | 429 ++++++++++++++++++++++++++++++++++++------ 3 files changed, 381 insertions(+), 62 deletions(-) diff --git a/core-menu-button.css b/core-menu-button.css index 03b5bb5..b74c4a9 100644 --- a/core-menu-button.css +++ b/core-menu-button.css @@ -7,4 +7,12 @@ license that can be found in the LICENSE file. :host { position: relative; display: inline-block; +} + +#dropdown { + margin: 12px; + background: #fff; + color: #000; + border-radius: 3px; + border: 1px solid #ccc; } \ No newline at end of file diff --git a/core-menu-button.html b/core-menu-button.html index 96d36f2..b2fa9cc 100644 --- a/core-menu-button.html +++ b/core-menu-button.html @@ -38,7 +38,7 @@ {{label}} - + @@ -84,14 +84,14 @@ * @attribute halign * @type string */ - halign: 'auto', + halign: 'left', /** * Display the overlay on top or below the button. * @attribute valign * @type string */ - valign: 'auto' + valign: 'top' }, diff --git a/demo.html b/demo.html index c25f360..07f1b97 100644 --- a/demo.html +++ b/demo.html @@ -1,97 +1,408 @@ - + + + + + + core-menu-button + - - - - + - + + + - +