Sha256: 735cd9b43a07b5b9ad5cef9b0873c677ce8f37c74844117ec66a159986023e83

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

/*
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 {
  display: inline-block;
  padding: 8px;
  position: relative;
  background-image: none;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  overflow: hidden;
}

:host([disabled]) {
  cursor: auto;
}

core-icon {
  position: relative;
}

core-icon::shadow svg {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
}

:host(:hover) core-icon::shadow svg {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
}

:host([disabled]:hover) core-icon::shadow svg {
  transform: none;
  -webkit-transform: none;
}

:host([disabled]) core-icon::shadow path {
  fill: #c9c9c9;
}

#overlay {
  display: block;
	position: fixed;
  border-radius: 3px;
}

.paper-menu-button-overlay-ink {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	border-radius: 20px;
  background: #fff;
  opacity: 0;
  transform: scale(0);
  -webkit-transform: scale(0);
}

:host([halign="right"]) .paper-menu-button-overlay-ink {
	left: auto;
	right: 0;
}

.paper-menu-button-overlay-bg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	border-radius: 3px;
  background: #fff;
  opacity: 0;
}

#menu {
	position: relative;
  margin: 0;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polymer-paper-rails-0.1.0 app/assets/components/paper-menu-button/paper-menu-button.css