blob: 93f9bce88b6d4f721a5bb65746ff63bc3b77ff03 [file] [log] [blame]
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<dom-module id="files-tooltip">
:host {
opacity: 0;
padding: 4px 6px 0;
pointer-events: none;
position: absolute;
transition: opacity 300ms;
z-index: 1000;
:host([visible]) {
opacity: .9;
:host > #label {
background-color: #323232;
border-radius: 2px;
color: white;
font-size: 12px;
line-height: 28px;
padding: 0 14px;
white-space: nowrap;
<div id="label"></div>
<script src="files_tooltip.js"></script>