Polymer elements added to third_party/polymer.
[chromium-blink-merge.git] / third_party / polymer / components / paper-menu-button / paper-menu-button-transition.css
blob6d1ba6e6ade46548cdf2d7954370bc271f088bb6
1 /* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 Code distributed by Google as part of the polymer project is also
6 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */
8 :host(.paper-menu-button-transition) {
9 outline: none;
10 opacity: 0;
11 transition: transform 0.2s ease-in-out, opacity 0.2s ease-in;
12 -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in;
15 :host(.paper-menu-button-transition.paper-menu-button-opened) {
16 opacity: 1;
17 transform: none;
18 -webkit-transform: none;