Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: ui/keyboard/resources/elements/kb-key.html

Issue 249493002: Reskins the Compact and System VK to look closer to the IME VK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed background-image to background-color. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/keyboard/resources/elements/kb-keyboard.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/resources/elements/kb-key.html
diff --git a/ui/keyboard/resources/elements/kb-key.html b/ui/keyboard/resources/elements/kb-key.html
index 6b9103af735bce4beaace141de44ea884422820c..4a947bed0437f866f28a4dfc407caaac7fc8fee7 100644
--- a/ui/keyboard/resources/elements/kb-key.html
+++ b/ui/keyboard/resources/elements/kb-key.html
@@ -9,13 +9,13 @@
<template>
<style>
:host {
- background-color: #3b3b3e;
- border-radius: 2px;
+ background-color: #ffffff;
+ border-radius: 1px;
border-style: solid;
- border-width: 1px 0px;
- color: #ffffff;
- font-family: roboto-bold;
- font-weight: 300;
+ border-width: 0px 0px;
+ color: #666666;
+ font-family: 'Droid Sans';
+ font-weight: 100;
}
:host .key {
@@ -58,20 +58,20 @@
height: 80%;
}
+ :host .hint,
+ :host([invert]) key {
+ color: #bbbbbb;
+ }
+
:host .hint {
- color: #313131;
font-size: 70%;
position: absolute;
right: 7%;
top: 5%;
}
- :host([invert]) .key {
- color: #313131;
- }
-
:host([invert]) .hint {
- color: #ffffff;
+ color: #666666;
}
:host(.dark) {
@@ -79,26 +79,17 @@
}
:host(.active) {
- -webkit-box-shadow: inset 0px 1px #969696, inset 0px -1px #6f6f6f;
- background-image: -webkit-linear-gradient(#8b8b8b, #7d7d7d);
+ background-color: #dddddd;
background-size: cover;
- border-bottom-color: #5b5b5b;
- border-top-color: #a4a4a4;
}
:host(.dark:not(.active)) {
- -webkit-box-shadow: inset 0px 1px #313131, inset 0px -1px #202020;
- background-color: #222222;
- border-bottom-color: #1c1c1c;
- border-top-color: #4f4f4f;
+ background-color: #555555;
}
:host(:not(.dark):not(.active)) {
- -webkit-box-shadow: inset 0px 1px #6f6f6f, inset 0px -1px #565656;
- background-image: -webkit-linear-gradient(#636363, #5b5b5b);
+ background-color: #ffffff;
background-size: cover;
- border-bottom-color: #4a4a4a;
- border-top-color: #878787;
}
</style>
<div id="key" class="key">
« no previous file with comments | « no previous file | ui/keyboard/resources/elements/kb-keyboard.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698