Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 body { | 7 body { |
| 8 -webkit-box-pack: center; | 8 -webkit-box-pack: center; |
| 9 -webkit-user-select: none; | 9 -webkit-user-select: none; |
| 10 background-color: #0b0b0b; | 10 background-color: #0b0b0b; |
| 11 display: -webkit-box; | 11 display: -webkit-box; |
| 12 margin: 0; | 12 margin: 0; |
| 13 overflow: hidden; | 13 overflow: hidden; |
| 14 padding: 0; | 14 padding: 0; |
| 15 } | 15 } |
| 16 | 16 |
| 17 kb-keyboard { | 17 kb-keyboard { |
| 18 -webkit-box-orient: vertical; | 18 -webkit-box-orient: vertical; |
| 19 display: -webkit-box; | 19 display: -webkit-box; |
| 20 max-width: 1280px; | 20 max-width: 1280px; |
| 21 width: 1280px; | 21 width: 1280px; |
| 22 } | 22 } |
| 23 | 23 |
| 24 kb-key { | 24 kb-key { |
| 25 background-color: #444444; | 25 background-color: #3b3b3e; |
| 26 border-top: 1px solid #666666; | 26 border-top: 2px solid #4b4b4e; |
| 27 border-radius: 3px; | 27 border-radius: 2px; |
| 28 color: #ffffff; | 28 color: #ffffff; |
| 29 font-family: sans-serif; | 29 font-family: 'Open Sans', sans-serif; |
| 30 font-weight: 100; | 30 font-weight: 300; |
| 31 margin-left: 5px; | 31 margin-left: 7px; |
| 32 } | 32 } |
| 33 | 33 |
| 34 kb-key.dark { | 34 kb-key.dark { |
| 35 background-color: #333333; | 35 background-color: #2a2a2c; |
| 36 border-top: 2px solid #3a3a3c; | |
| 36 } | 37 } |
| 37 | 38 |
| 38 #upper .left-shift, | 39 #upper .left-shift, |
| 39 #upper .right-shift, | 40 #upper .right-shift, |
| 40 .active { | 41 .active { |
| 41 background-color: #acacac !important; | 42 background-color: #848490 !important; |
| 42 border-top: 1px solid rgba(125,125,125,0.5); | 43 border-top: 2px solid #A9A9AF !important; |
| 43 /* Do not use box shadow until performance improves | 44 /* Do not use box shadow until performance improves |
| 44 * http://code.google.com/p/chromium/issues/detail?id=99045 | 45 * http://code.google.com/p/chromium/issues/detail?id=99045 |
| 45 box-shadow: 0px 0px 15px #fff; | 46 box-shadow: 0px 0px 15px #fff; |
| 46 */ | 47 */ |
| 47 } | 48 } |
| 48 | 49 |
| 49 .at, | 50 .at, |
| 50 .com, | 51 .com, |
| 51 .comma, | 52 .comma, |
| 52 .hide, | 53 .hide, |
| 53 .mic, | 54 .mic, |
| 54 .period, | 55 .period, |
| 55 .tab { | 56 .tab { |
| 56 -webkit-box-flex: 1.3 !important; | 57 -webkit-box-flex: 1.3 !important; |
|
bshe
2013/06/20 19:41:51
value of .tab and .backspace may also need to chan
SteveT
2013/06/20 20:58:33
Nope, this is intentional. We actually want to kee
| |
| 57 } | 58 } |
| 58 | 59 |
| 59 .symbol, | |
| 60 .return { | 60 .return { |
| 61 -webkit-box-flex: 2.1 !important; | |
| 62 } | |
| 63 | |
| 64 .symbol { | |
| 61 -webkit-box-flex: 1.5 !important; | 65 -webkit-box-flex: 1.5 !important; |
| 62 } | 66 } |
| 63 | 67 |
| 64 .backspace { | 68 .backspace { |
| 65 -webkit-box-flex: 1.7 !important; | 69 -webkit-box-flex: 1.7 !important; |
| 66 } | 70 } |
| 67 | 71 |
| 68 .left-shift, | 72 .left-shift, |
| 69 .left-more { | 73 .left-more { |
| 70 -webkit-box-flex: 1.4 !important; | 74 -webkit-box-flex: 1.8 !important; |
| 71 } | 75 } |
| 72 | 76 |
| 73 .right-shift, | 77 .right-shift, |
| 74 .right-more { | 78 .right-more { |
| 75 -webkit-box-flex: 1.6 !important; | 79 -webkit-box-flex: 1.8 !important; |
| 76 } | 80 } |
| 77 | 81 |
| 78 .space { | 82 .space { |
| 79 -webkit-box-flex: 4.8 !important; | 83 -webkit-box-flex: 4.8 !important; |
| 80 } | 84 } |
| 81 | 85 |
| 82 .bar { | 86 .bar { |
| 83 -webkit-box-flex: 0.6 !important; | 87 -webkit-box-flex: 0.6 !important; |
| 84 } | 88 } |
| 85 | 89 |
| 86 .backspace, | 90 .backspace, |
| 87 .tab, | 91 .dotcom, |
| 92 .left-more, | |
| 93 .left-shift, | |
| 94 .moddown.shift, | |
| 88 .return, | 95 .return, |
| 89 .left-shift, | 96 .right-more, |
| 90 .right-shift, | 97 .right-shift, |
| 91 .left-more, | |
| 92 .right-more, | |
| 93 .symbol, | 98 .symbol, |
| 94 .moddown.shift { | 99 .tab { |
| 95 font-size: 80%; | 100 font-size: 70%; |
| 96 } | 101 } |
| 97 | 102 |
| 98 .mic { | 103 .mic { |
| 99 background-image: url('images/mic.svg'); | 104 background-image: url('images/mic.svg'); |
| 100 } | 105 } |
| 101 | 106 |
| 102 .audio .mic { | 107 .audio .mic { |
| 103 background-image: url('images/mic-green.svg'); | 108 background-image: url('images/mic-green.svg'); |
| 104 } | 109 } |
| 105 | 110 |
| 106 .hide { | 111 .hide { |
| 107 background-image: url('images/keyboard.svg'); | 112 background-image: url('images/keyboard.svg'); |
| 108 } | 113 } |
| OLD | NEW |