summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/resources/webui/keysets.html
diff options
context:
space:
mode:
authorstevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-22 00:49:16 +0000
committerstevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-22 00:49:16 +0000
commit8fce311668977b966f21d61220dcdb2091375a16 (patch)
treeed18c2266e0edef8b202795ee5f6f5034d0b7c79 /ui/keyboard/resources/webui/keysets.html
parentea43383aa118bad3f513d8509d62ede8023c7023 (diff)
downloadchromium_src-8fce311668977b966f21d61220dcdb2091375a16.zip
chromium_src-8fce311668977b966f21d61220dcdb2091375a16.tar.gz
chromium_src-8fce311668977b966f21d61220dcdb2091375a16.tar.bz2
Adjust the WebUI keyboard css and layout to work better in narrow spaces.
NOTE that this must be patched on top of https://codereview.chromium.org/15176004/ TODOs: Add a list of adjustments here before review. Review URL: https://chromiumcodereview.appspot.com/16336002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/keyboard/resources/webui/keysets.html')
-rw-r--r--ui/keyboard/resources/webui/keysets.html69
1 files changed, 35 insertions, 34 deletions
diff --git a/ui/keyboard/resources/webui/keysets.html b/ui/keyboard/resources/webui/keysets.html
index 67a9eac..bc86231 100644
--- a/ui/keyboard/resources/webui/keysets.html
+++ b/ui/keyboard/resources/webui/keysets.html
@@ -6,113 +6,114 @@
<template>
<kb-keyset id="upper" toKeyset="lower">
- <kb-row>
+ <kb-row class="top">
<kb-key>Q</kb-key><kb-key>W</kb-key><kb-key>E</kb-key><kb-key>R</kb-key>
<kb-key>T</kb-key><kb-key>Y</kb-key><kb-key>U</kb-key><kb-key>I</kb-key>
<kb-key>O</kb-key><kb-key>P</kb-key>
</kb-row>
<kb-row>
- <kb-key class="tab dark" char="&#x0009;">tab</kb-key>
+ <div class="half-key-spacer"></div>
<kb-key>A</kb-key><kb-key>S</kb-key><kb-key>D</kb-key><kb-key>F</kb-key>
<kb-key>G</kb-key><kb-key>H</kb-key><kb-key>J</kb-key><kb-key>K</kb-key>
<kb-key>L</kb-key>
+ <div class="half-key-spacer"></div>
</kb-row>
<kb-row>
- <kb-key class="left-shift dark" toKeyset="lower" char="Invalid">shift</kb-key>
+ <kb-key class="left-shift padded-left-special dark" toKeyset="lower" char="Invalid">shift</kb-key>
<kb-key>Z</kb-key><kb-key>X</kb-key><kb-key>C</kb-key><kb-key>V</kb-key>
<kb-key>B</kb-key><kb-key>N</kb-key><kb-key>M</kb-key>
- <kb-key class="backspace dark" char="&#x0008;" repeat>backspace</kb-key>
+ <kb-key class="backspace padded-right-special dark" char="&#x0008;" repeat>delete</kb-key>
</kb-row>
<kb-row>
+ <kb-key class="symbol dark" toKeyset="symbol" char="Invalid">?123</kb-key>
<kb-key class="mic dark" char="Mic"></kb-key>
- <kb-key class="symbol dark" toKeyset="symbol" char="Invalid">#123</kb-key>
- <kb-key class="dark">.com</kb-key>
+ <kb-key class="dark">,</kb-key>
<kb-key class="space dark" char=" "></kb-key>
- <kb-key class="dark">@</kb-key>
- <kb-key class='return dark' char="&#x000A;">enter</kb-key>
+ <kb-key class="dark">.</kb-key>
+ <kb-key class="return dark" char="&#000A;">enter</kb-key>
</kb-row>
</kb-keyset>
<kb-keyset id="lower">
- <kb-row>
+ <kb-row class="top">
<kb-key>q</kb-key><kb-key>w</kb-key><kb-key>e</kb-key><kb-key>r</kb-key>
<kb-key>t</kb-key><kb-key>y</kb-key><kb-key>u</kb-key><kb-key>i</kb-key>
<kb-key>o</kb-key><kb-key>p</kb-key>
</kb-row>
<kb-row>
- <kb-key class="tab dark" char="&#x0009;">tab</kb-key>
+ <div class="half-key-spacer"></div>
<kb-key>a</kb-key><kb-key>s</kb-key><kb-key>d</kb-key><kb-key>f</kb-key>
<kb-key>g</kb-key><kb-key>h</kb-key><kb-key>j</kb-key><kb-key>k</kb-key>
<kb-key>l</kb-key>
+ <div class="half-key-spacer"></div>
</kb-row>
<kb-row>
- <kb-key class="left-shift dark" toKeyset="upper" char="Invalid">shift</kb-key>
+ <kb-key class="left-shift padded-left-special dark" toKeyset="upper" char="Invalid">shift</kb-key>
<kb-key>z</kb-key><kb-key>x</kb-key><kb-key>c</kb-key><kb-key>v</kb-key>
<kb-key>b</kb-key><kb-key>n</kb-key><kb-key>m</kb-key>
- <kb-key class="backspace dark" char="&#x0008;" repeat>backspace</kb-key>
+ <kb-key class="backspace padded-right-special dark" char="&#x0008;" repeat>delete</kb-key>
</kb-row>
<kb-row>
+ <kb-key class="symbol dark" toKeyset="symbol" char="Invalid">?123</kb-key>
<kb-key class="mic dark" char="Mic"></kb-key>
- <kb-key class="symbol dark" toKeyset="symbol" char="Invalid">#123</kb-key>
- <kb-key class="dark">.com</kb-key>
+ <kb-key class="dark">,</kb-key>
<kb-key class="space dark" char=" "></kb-key>
- <kb-key class="dark">@</kb-key>
+ <kb-key class="dark">.</kb-key>
<kb-key class='return dark' char="&#x000A;">enter</kb-key>
</kb-row>
</kb-keyset>
<kb-keyset id="symbol">
- <kb-row>
+ <kb-row class="top">
<kb-key>1</kb-key><kb-key>2</kb-key><kb-key>3</kb-key><kb-key>4</kb-key>
<kb-key>5</kb-key><kb-key>6</kb-key><kb-key>7</kb-key><kb-key>8</kb-key>
<kb-key>9</kb-key><kb-key>0</kb-key>
</kb-row>
<kb-row>
- <kb-key class="tab dark" char="&#x0009;">tab</kb-key>
<kb-key>!</kb-key><kb-key>@</kb-key><kb-key>#</kb-key><kb-key>$</kb-key>
<kb-key>%</kb-key><kb-key>^</kb-key><kb-key>&</kb-key><kb-key>*</kb-key>
- <kb-key>(</kb-key>
+ <kb-key>(</kb-key><kb-key>)</kb-key>
</kb-row>
<kb-row>
- <kb-key class="left-more dark" toKeyset="more" char="Invalid">more</kb-key>
- <kb-key>)</kb-key><kb-key>/</kb-key><kb-key>-</kb-key><kb-key>'</kb-key>
- <kb-key>"</kb-key><kb-key>:</kb-key><kb-key>;</kb-key>
- <kb-key class="backspace dark" char="&#x0008;" repeat>backspace</kb-key>
+ <kb-key class="left-more padded-left-special dark" toKeyset="more" char="Invalid">more</kb-key>
+ <kb-key>/</kb-key><kb-key>-</kb-key><kb-key>'</kb-key><kb-key>"</kb-key>
+ <kb-key>:</kb-key><kb-key>;</kb-key><kb-key>?</kb-key>
+ <kb-key class="backspace padded-right-special dark" char="&#x0008;" repeat>delete</kb-key>
</kb-row>
<kb-row>
- <kb-key class="mic dark" char="Mic"></kb-key>
<kb-key class="symbol dark" toKeyset="lower" char="Invalid">abc</kb-key>
- <kb-key class="dark">.com</kb-key>
+ <kb-key class="mic dark" char="Mic"></kb-key>
+ <kb-key class="dark">,</kb-key>
<kb-key class="space dark" char=" "></kb-key>
- <kb-key class="dark">@</kb-key>
+ <kb-key class="dark">.</kb-key>
<kb-key class='return dark' char="&#x000A;">enter</kb-key>
</kb-row>
</kb-keyset>
<kb-keyset id="more">
- <kb-row>
+ <kb-row class="top">
<kb-key>_</kb-key><kb-key>`</kb-key><kb-key>~</kb-key>
<kb-key>&#x003C;</kb-key><kb-key>&#x003E;</kb-key><kb-key>[</kb-key>
<kb-key>]</kb-key><kb-key>{</kb-key><kb-key>}</kb-key><kb-key>\</kb-key>
</kb-row>
<kb-row>
- <kb-key class="tab dark" char="&#x0009;">tab</kb-key>
- <kb-key>|</kb-key><kb-key>+</kb-key><kb-key>=</kb-key><kb-key>€</kb-key>
+ <kb-key class="tab padded-left-special dark" char="&#x0009;">tab</kb-key>
+ <kb-key>|</kb-key><kb-key>+</kb-key><kb-key>=</kb-key><kb-key></kb-key>
<kb-key></kb-key><kb-key></kb-key><kb-key></kb-key><kb-key></kb-key>
<kb-key></kb-key>
</kb-row>
<kb-row>
- <kb-key class="left-more dark" toKeyset="symbol" char="Invalid">#123</kb-key>
+ <kb-key class="left-more padded-left-special dark" toKeyset="symbol" char="Invalid">?123</kb-key><kb-key></kb-key>
<kb-key></kb-key><kb-key></kb-key><kb-key></kb-key><kb-key></kb-key>
- <kb-key></kb-key><kb-key></kb-key><kb-key></kb-key>
- <kb-key class="backspace dark" char="&#x0008;" repeat>backspace</kb-key>
+ <kb-key></kb-key><kb-key></kb-key>
+ <kb-key class="backspace padded-right-special dark" char="&#x0008;" repeat>delete</kb-key>
</kb-row>
<kb-row>
- <kb-key class="mic dark" char="Mic"></kb-key>
<kb-key class="symbol dark" toKeyset="lower" char="Invalid">abc</kb-key>
- <kb-key class="dark">.com</kb-key>
+ <kb-key class="mic dark" char="Mic"></kb-key>
+ <kb-key class="dark">,</kb-key>
<kb-key class="space dark" char=" "></kb-key>
- <kb-key class="dark">@</kb-key>
+ <kb-key class="dark">.</kb-key>
<kb-key class='return dark' char="&#x000A;">enter</kb-key>
</kb-row>
</kb-keyset>