blob: 1457448840da65f61f7660671b0a4417c29e2045 [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-toast">
.container {
background: rgb(50, 50, 50);
bottom: 16px;
display: flex;
min-width: 360px;
padding: 20px 24px;
position: absolute;
.container[hidden] {
display: none;
:host-context(html[dir='ltr']) .container {
right: 16px;
:host-context(html[dir='rtl']) .container {
left: 16px;
.text {
color: white;
flex-grow: 1;
.action {
-webkit-margin-start: 8px;
color: rgb(97, 203, 255);
cursor: pointer;
font-weight: bold;
<div class="container" id="container" hidden>
<div class="text" id="text"></div>
<div class="action" id="action" on-tap="onActionTapped_"></div>
<script src="files_toast.js"></script>