Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: pkg/polymer/lib/elements/polymer-ui-menu-button/polymer-ui-menu-button.css

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/polymer/lib/elements/polymer-ui-menu-button/polymer-ui-menu-button.css
diff --git a/pkg/polymer/lib/elements/polymer-ui-menu-button/polymer-ui-menu-button.css b/pkg/polymer/lib/elements/polymer-ui-menu-button/polymer-ui-menu-button.css
new file mode 100644
index 0000000000000000000000000000000000000000..cb0f34960ad5575102a02dcac40606bf8bb4d479
--- /dev/null
+++ b/pkg/polymer/lib/elements/polymer-ui-menu-button/polymer-ui-menu-button.css
@@ -0,0 +1,56 @@
+/*
+Copyright 2013 The Polymer Authors. All rights reserved.
+Use of this source code is governed by a BSD-style
+license that can be found in the LICENSE file.
+*/
+
+:host {
+ position: relative;
+ display: inline-block;
+}
+
+:host(.fullwidth:host) {
+ position: static;
+}
+
+#overlay {
+ position: absolute;
+ left: 0;
+ top: 42px;
+}
+
+#overlay[halign=right] {
+ left: auto;
+ right: 10px;
+}
+
+#overlay[valign=top] {
+ top: auto;
+ bottom: 48px;
+}
+
+#overlayMenu {
+ display: inline-block;
+ position: relative;
+ top: -1px;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ background: white;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
+ margin: 7px 0 0 7px;
+}
+
+@media screen and (max-width: 800px) {
+ #overlay,
+ #overlay[align=right] {
+ left: 0;
+ width: 100%;
+ -webkit-transform: none;
+ transform: none;
+ }
+}
+
+#arrow {
+ height: 18px;
+}

Powered by Google App Engine
This is Rietveld 408576698