| 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; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 kb-key::x-key[inverted] { | 63 kb-key::x-key[inverted] { |
| 64 color: #7c7c7c; | 64 color: #7c7c7c; |
| 65 } | 65 } |
| 66 | 66 |
| 67 kb-key::x-superscript[inverted] { | 67 kb-key::x-superscript[inverted] { |
| 68 color: #ffffff; | 68 color: #ffffff; |
| 69 } | 69 } |
| 70 | 70 |
| 71 /** |
| 72 * Controls whether the shift key should be highlighted or not. |
| 73 * Only highlights if we are in a lockable keyboard which is not locked. |
| 74 */ |
| 75 kb-keyboard:not(.locked) kb-keyset[lockable] kb-shift-key { |
| 76 color: lightblue; |
| 77 } |
| 78 |
| 71 kb-shift-key.dark, | 79 kb-shift-key.dark, |
| 72 kb-layout-selector.dark, | 80 kb-layout-selector.dark, |
| 73 kb-key.dark { | 81 kb-key.dark { |
| 74 background-color: #2a2a2c; | 82 background-color: #2a2a2c; |
| 75 border-top: 2px solid #3a3a3c; | 83 border-top: 2px solid #3a3a3c; |
| 76 } | 84 } |
| 77 | 85 |
| 78 /* TODO(stevet): We can probably share most of this with kb-key::x-key. */ | 86 /* TODO(stevet): We can probably share most of this with kb-key::x-key. */ |
| 79 kb-altkey::x-key { | 87 kb-altkey::x-key { |
| 80 bottom: 0; | 88 bottom: 0; |
| 81 height: 1.2em; | 89 height: 1.2em; |
| 82 left: 0; | 90 left: 0; |
| 83 margin: auto; | 91 margin: auto; |
| 84 position: absolute; | 92 position: absolute; |
| 85 right: 0; | 93 right: 0; |
| 86 top: 0; | 94 top: 0; |
| 87 text-align: center; | 95 text-align: center; |
| 88 } | 96 } |
| 89 | 97 |
| 90 .caps kb-shift-key, | 98 .locked kb-shift-key, |
| 91 .active { | 99 .active { |
| 92 background-color: #848490 !important; | 100 background-color: #848490 !important; |
| 93 border-top: 2px solid #A9A9AF !important; | 101 border-top: 2px solid #A9A9AF !important; |
| 94 /* Do not use box shadow until performance improves | 102 /* Do not use box shadow until performance improves |
| 95 * http://code.google.com/p/chromium/issues/detail?id=99045 | 103 * http://code.google.com/p/chromium/issues/detail?id=99045 |
| 96 box-shadow: 0px 0px 15px #fff; | 104 box-shadow: 0px 0px 15px #fff; |
| 97 */ | 105 */ |
| 98 } | 106 } |
| 99 | 107 |
| 100 /** | 108 /** |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 } | 158 } |
| 151 | 159 |
| 152 .microphone { | 160 .microphone { |
| 153 background-image: url('images/microphone.svg'); | 161 background-image: url('images/microphone.svg'); |
| 154 } | 162 } |
| 155 | 163 |
| 156 .audio .microphone { | 164 .audio .microphone { |
| 157 background-image: url('images/microphone-green.svg'); | 165 background-image: url('images/microphone-green.svg'); |
| 158 } | 166 } |
| 159 | 167 |
| 160 /* Highlight for shift key when pressed. */ | |
| 161 .highlight kb-shift-key { | |
| 162 color: lightblue; | |
| 163 } | |
| 164 | |
| 165 .layout-selector { | 168 .layout-selector { |
| 166 background-image: url('images/keyboard.svg'); | 169 background-image: url('images/keyboard.svg'); |
| 167 } | 170 } |
| OLD | NEW |