summaryrefslogtreecommitdiff
path: root/chromium/ui/keyboard/resources/elements/kb-row.html
blob: 0398587daa2c2c545720a5422d5981347de1c596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!--
  -- Copyright (c) 2013 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.
  -->

<polymer-element name="kb-row">
  <template>
    <style>
      @host {
        * {
           -webkit-box-flex: 1;
           display: -webkit-box;
           text-align: center;
           margin-right: 0.25em;
           margin-top: 0.25em;
        }
        *:last-of-type {
           margin-bottom: 0.25em;
        }
      }
      content::-webkit-distributed(kb-key) {
        -webkit-flex: 1 auto;
      }
    </style>
    <content select="*"></content>
  </template>
  <script>
    Polymer('kb-row');
  </script>
</polymer-element>