Home | History | Annotate | Download | only in base
      1 <!DOCTYPE html>
      2 <!--
      3 Copyright 2015 The Chromium Authors. All rights reserved.
      4 Use of this source code is governed by a BSD-style license that can be
      5 found in the LICENSE file.
      6 -->
      7 
      8 <link rel="import" href="/tracing/base/base.html">
      9 
     10 </script>
     11 <polymer-element name='tr-ui-b-toolbar-button' noscript>
     12   <template>
     13     <style>
     14     :host {
     15       display: flex;
     16       background-color: #f8f8f8;
     17       border: 1px solid rgba(0, 0, 0, 0.5);
     18       color: rgba(0,0,0,0.8);
     19       justify-content: center;
     20       align-self: stretch;
     21       min-width: 23px;
     22     }
     23 
     24     :host(:hover) {
     25       background-color: rgba(255, 255, 255, 1.0);
     26       border-color: rgba(0, 0, 0, 0.8);
     27       box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4);
     28       color: rgba(0, 0, 0, 1);
     29     }
     30 
     31     #aligner {
     32       display: flex;
     33       flex: 0 0 auto;
     34       align-self: center;
     35     }
     36     </style>
     37     <div id="aligner">
     38       <content></content>
     39     </div>
     40   </template>
     41 </polymer-element>
     42