Major update of jquery.ime from upstream

Changes:
* New tilde-based layouts for several languages of Africa:
  Kabyle, Kabiye, Kikuyu, Luganda, Lingala, Malagasy,
  Northern Sotho, Koyraboro Senni, Sango, Sotho, Venda
* Latin Pinyin transliteration keyboard
  https://github.com/wikimedia/jquery.ime/pull/545
* CSS and JS cleanup, to switch to stylelint and eslint.

Updating to
22407cf992

Bug: T212637
Change-Id: I167e572a6cc0f7c1c727e87e8ff361d88f87b40f
This commit is contained in:
Amir Aharoni
2019-03-29 15:02:33 -07:00
parent ce063ac705
commit a85bc8171c
36 changed files with 1954 additions and 1482 deletions

View File

@@ -1,12 +1,12 @@
.imeselector {
position: absolute;
/* @embed */
background: url('../images/ime-active.png') no-repeat left center;
background: url( ../images/ime-active.png ) no-repeat left center;
/* @embed */
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/ime-active.svg');
background-image: -webkit-linear-gradient( transparent, transparent ), url( ../images/ime-active.svg );
/* @embed */
background-image: linear-gradient(transparent, transparent), url('../images/ime-active.svg');
background-color: rgba(255,255,255,0.75);
background-image: linear-gradient( transparent, transparent ), url( ../images/ime-active.svg );
background-color: rgba( 255, 255, 255, 0.75 );
background-position: left 3px center;
height: 15px;
font-size: small;
@@ -22,7 +22,7 @@
.imeselector:hover {
box-shadow: 0 1px 3px 0 #565656;
border-top: none;
background-color: rgba(255,255,255,0.85);
background-color: rgba( 255, 255, 255, 0.85 );
}
.imeselector a,
@@ -42,12 +42,11 @@
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #565656;
content: "";
content: '';
display: inline-block;
height: 0;
vertical-align: top;
width: 0;
}
span.ime-disable-link {
@@ -100,9 +99,9 @@ span.ime-disable-shortcut {
padding: 0;
border: 1px solid #a2a9b1;
border-radius: 2px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 5px 10px rgba( 0, 0, 0, 0.2 );
-moz-box-shadow: 0 5px 10px rgba( 0, 0, 0, 0.2 );
box-shadow: 0 5px 10px rgba( 0, 0, 0, 0.2 );
text-align: left;
}
@@ -122,7 +121,7 @@ span.ime-disable-shortcut {
border-bottom: 7px solid #a2a9b1;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
content: '';
display: inline-block;
right: 9px;
position: absolute;
@@ -138,14 +137,13 @@ span.ime-disable-shortcut {
border-bottom: 6px solid #fff;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
content: "";
content: '';
display: inline-block;
right: 10px;
position: absolute;
top: -6px;
}
.imeselector-menu.ime-right:after {
right: auto;
left: 10px;
@@ -167,11 +165,11 @@ span.ime-disable-shortcut {
.imeselector-menu .ime-checked {
/* @embed */
background: url(../images/tick.png) no-repeat left 4px center;
background: url( ../images/tick.png ) no-repeat left 4px center;
/* @embed */
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/tick.svg');
background-image: -webkit-linear-gradient( transparent, transparent ), url( ../images/tick.svg );
/* @embed */
background-image: linear-gradient(transparent, transparent), url('../images/tick.svg');
background-image: linear-gradient( transparent, transparent ), url( ../images/tick.svg );
}
.imeselector-menu .ime-help-link {