2 -- Copyright 2013 The Chromium Authors. All rights reserved.
3 -- Use of this source code is governed by a BSD-style license that can be
4 -- found in the LICENSE file.
7 <polymer-element name="kb-altkey-set" attributes="offset char">
10 /* TODO(stevet): Migrate this to main.css using custom pseudo
15 background-color: #3b3b3e;
23 content::-webkit-distributed(.active) {
24 background-color: #848490 !important;
25 /* This artificial border is used to prevent the key contents from
26 * "bouncing" due to the inactive state having a different border size.
29 border-top: 1px solid #848490;
30 /* Do not use box shadow until performance improves
31 * http://code.google.com/p/chromium/issues/detail?id=99045
32 box-shadow: 0px 0px 15px #fff;
36 content::-webkit-distributed(kb-altkey) {
38 background-color: #3b3b3e;
39 border-left: 1px solid rgba(0, 0, 0, 0.15);
40 border-top: 2px solid #4b4b4e;
42 font-family: 'Open Sans', sans-serif;
46 content::-webkit-distributed(kb-altkey:first-child) {
47 border-top-left-radius: 2px;
48 border-bottom-left-radius: 2px;
51 content::-webkit-distributed(kb-altkey:last-child) {
52 border-top-right-radius: 2px;
53 border-bottom-right-radius: 2px;
56 <content select="*"></content>
59 Polymer('kb-altkey-set', {