Switch to a diffrent keyboard and timepicker
these should hopefully work better on mobile browsers
This commit is contained in:
parent
b6dfba391c
commit
0eada46ece
27 changed files with 8074 additions and 3643 deletions
3
web_app/css/external/images/disabled.svg
vendored
Normal file
3
web_app/css/external/images/disabled.svg
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="#111">
|
||||
<path d="M7.4 4.4V2.5c0-1.4-1.1-2.5-2.5-2.5c-1.4 0-2.5 1.1-2.5 2.5v1.9 c-0.7 0-1.2 0.5-1.2 1.2v3.1C1.3 9.4 1.8 10 2.5 10h4.9c0.7 0 1.2-0.6 1.2-1.2V5.6 C8.7 4.9 8.1 4.4 7.4 4.4z M5.3 7.4v1.0c0 0.2-0.1 0.3-0.3 0.3c-0.2 0-0.3-0.1-0.3-0.3V7.4 c-0.2-0.1-0.3-0.3-0.3-0.5c0-0.3 0.3-0.6 0.6-0.6c0.3 0 0.6 0.3 0.6 0.6 C5.6 7.1 5.5 7.3 5.3 7.4z M6.2 4.4H3.7V2.5c0-0.7 0.5-1.2 1.2-1.2c0.7 0 1.2 0.6 1.2 1.2 V4.4z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 489 B |
3
web_app/css/external/images/enabled.svg
vendored
Normal file
3
web_app/css/external/images/enabled.svg
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" fill="#111">
|
||||
<path d="M8.7,4.4H7.5H5.0v-1.9c0-1.4-1.1-2.5-2.5-2.5c-1.4,0-2.5,1.1-2.5,2.5v1.9h1.2 v-1.9c0-0.7,0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2v1.9c-0.7,0-1.2,0.6-1.2,1.2V8.8 c0,0.7,0.6,1.2,1.2,1.2h5.0C9.4,10,10,9.4,10,8.8V5.6C10,5.0,9.4,4.4,8.8,4.4z M6.6,7.4v1.0 c0,0.2-0.1,0.3-0.3,0.3S6.0,8.6,6.0,8.4V7.4c-0.2-0.1-0.3-0.3-0.3-0.5c0-0.3,0.3-0.6,0.6-0.6 S6.9,6.6,6.9,6.9C6.9,7.1,6.8,7.3,6.6,7.4z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 468 B |
15
web_app/css/external/images/keyboard.svg
vendored
Normal file
15
web_app/css/external/images/keyboard.svg
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" style="fill:#888">
|
||||
<g>
|
||||
<path style="fill:none;stroke:#888" d="M 0.5,4.5 15.5,4.5 15.5,15.5 0.5,15.5 Z"></path>
|
||||
<rect width="2" height="2" x="2" y="6"></rect>
|
||||
<rect width="2" height="2" x="5" y="6"></rect>
|
||||
<rect width="2" height="2" x="8" y="6"></rect>
|
||||
<path d="m 11,6 3,0 0,5 -2,0 0,-3 -1,0 z"></path>
|
||||
<rect width="2" height="2" x="12" y="12"></rect>
|
||||
<rect width="6" height="2" x="5" y="12"></rect>
|
||||
<rect width="2" height="2" x="9" y="9"></rect>
|
||||
<rect width="2" height="2" x="6" y="9"></rect>
|
||||
<rect width="2" height="2" x="2" y="12"></rect>
|
||||
<rect width="3" height="2" x="2" y="9"></rect>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 686 B |
106
web_app/css/external/jquery.keypad.css
vendored
106
web_app/css/external/jquery.keypad.css
vendored
|
@ -1,106 +0,0 @@
|
|||
/* Main style sheet for jQuery Keypad v2.0.0 */
|
||||
button.keypad-trigger {
|
||||
width: 25px;
|
||||
padding: 0px;
|
||||
}
|
||||
img.keypad-trigger {
|
||||
margin: 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.keypad-popup, .keypad-inline, .keypad-key, .keypad-special {
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
font-size: 24px;
|
||||
}
|
||||
.keypad-popup {
|
||||
display: none;
|
||||
z-index: 10;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
border: 1px solid #888;
|
||||
-moz-border-radius: 0.25em;
|
||||
-webkit-border-radius: 0.25em;
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
.keypad-keyentry {
|
||||
display: none;
|
||||
}
|
||||
.keypad-inline {
|
||||
background-color: #fff;
|
||||
border: 1px solid #888;
|
||||
-moz-border-radius: 0.25em;
|
||||
-webkit-border-radius: 0.25em;
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
.keypad-disabled {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
background-color: white;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
.keypad-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.keypad-prompt {
|
||||
clear: both;
|
||||
text-align: center;
|
||||
}
|
||||
.keypad-prompt.ui-widget-header {
|
||||
margin: 0.125em;
|
||||
}
|
||||
.keypad-row {
|
||||
width: 100%;
|
||||
}
|
||||
.keypad-space {
|
||||
display: inline-block;
|
||||
margin: 0.125em;
|
||||
width: 2em;
|
||||
}
|
||||
.keypad-half-space {
|
||||
display: inline-block;
|
||||
margin: 0.125em 0.0625em;
|
||||
width: 1em;
|
||||
}
|
||||
.keypad-key, .keypad-special {
|
||||
margin: 0.125em;
|
||||
padding: 0em;
|
||||
width: 2em;
|
||||
background-color: #f4f4f4;
|
||||
-moz-border-radius: 0.25em;
|
||||
-webkit-border-radius: 0.25em;
|
||||
border-radius: 0.25em;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.keypad-key[disabled] {
|
||||
border: 0.125em outset;
|
||||
}
|
||||
.keypad-key-down {
|
||||
}
|
||||
.keypad-special {
|
||||
width: 4.25em;
|
||||
}
|
||||
.keypad-spacebar {
|
||||
width: 13.25em;
|
||||
}
|
||||
.keypad-tab {
|
||||
width: 2em;
|
||||
}
|
||||
.keypad-clear, .keypad-back, .keypad-close, .keypad-shift {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.keypad-clear {
|
||||
background-color: #a00;
|
||||
}
|
||||
.keypad-back {
|
||||
background-color: #00a;
|
||||
}
|
||||
.keypad-close {
|
||||
background-color: #0a0;
|
||||
}
|
||||
.keypad-shift {
|
||||
background-color: #0aa;
|
||||
}
|
72
web_app/css/external/jquery.timepicker.css
vendored
Executable file
72
web_app/css/external/jquery.timepicker.css
vendored
Executable file
|
@ -0,0 +1,72 @@
|
|||
.ui-timepicker-wrapper {
|
||||
overflow-y: auto;
|
||||
height: 150px;
|
||||
width: 6.5em;
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
-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);
|
||||
outline: none;
|
||||
z-index: 10001;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ui-timepicker-wrapper.ui-timepicker-with-duration {
|
||||
width: 13em;
|
||||
}
|
||||
|
||||
.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,
|
||||
.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60 {
|
||||
width: 11em;
|
||||
}
|
||||
|
||||
.ui-timepicker-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.ui-timepicker-duration {
|
||||
margin-left: 5px; color: #888;
|
||||
}
|
||||
|
||||
.ui-timepicker-list:hover .ui-timepicker-duration {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.ui-timepicker-list li {
|
||||
padding: 3px 0 3px 5px;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
color: #000;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ui-timepicker-list:hover .ui-timepicker-selected {
|
||||
background: #fff; color: #000;
|
||||
}
|
||||
|
||||
li.ui-timepicker-selected,
|
||||
.ui-timepicker-list li:hover,
|
||||
.ui-timepicker-list .ui-timepicker-selected:hover {
|
||||
background: #1980EC; color: #fff;
|
||||
}
|
||||
|
||||
li.ui-timepicker-selected .ui-timepicker-duration,
|
||||
.ui-timepicker-list li:hover .ui-timepicker-duration {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.ui-timepicker-list li.ui-timepicker-disabled,
|
||||
.ui-timepicker-list li.ui-timepicker-disabled:hover,
|
||||
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
|
||||
color: #888;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ui-timepicker-list li.ui-timepicker-disabled:hover,
|
||||
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
|
||||
background: #f2f2f2;
|
||||
}
|
170
web_app/css/external/keyboard-basic.css
vendored
Normal file
170
web_app/css/external/keyboard-basic.css
vendored
Normal file
|
@ -0,0 +1,170 @@
|
|||
/* *** keyboard light theme ***
|
||||
for when jQuery UI themes are not being used
|
||||
See http://jsfiddle.net/Mottie/jsh0377k/
|
||||
*/
|
||||
.ui-keyboard {
|
||||
/* adjust overall keyboard size using "font-size" */
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
/* include the following setting to place the
|
||||
keyboard at the bottom of the browser window */
|
||||
width: 100%;
|
||||
height: auto;
|
||||
left: 0px;
|
||||
top: auto;
|
||||
bottom: 0px;
|
||||
position: fixed;
|
||||
}
|
||||
.ui-keyboard {
|
||||
background: #fefefe;
|
||||
border: 1px solid #aaa;
|
||||
padding: 4px;
|
||||
}
|
||||
.ui-keyboard-button {
|
||||
border: 1px solid #aaa;
|
||||
padding: 0 0.5em;
|
||||
margin: 1px;
|
||||
min-width: 3em;
|
||||
height: 3em;
|
||||
line-height: 3em;
|
||||
vertical-align: top;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-webkit-box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.5);
|
||||
background: white;
|
||||
background-image: -moz-linear-gradient(-90deg, white 0%, #e3e3e3 100%);
|
||||
background-image: -webkit-linear-gradient(-90deg, white 0%, #e3e3e3 100%);
|
||||
background-image: -o-linear-gradient(-90deg, white 0%, #e3e3e3 100%);
|
||||
background-image: -ms-linear-gradient(-90deg, white 0%, #e3e3e3 100%);
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
-moz-user-focus: ignore;
|
||||
}
|
||||
.ui-keyboard-button span {
|
||||
/* padding: 0; margin: 0; white-space:nowrap; display: inline-block; */
|
||||
display: block;
|
||||
width: 100%;
|
||||
font-size: 1.2em;
|
||||
text-align: center;
|
||||
}
|
||||
/* make action keys extra-wide */
|
||||
.ui-keyboard-actionkey:not(.ui-keyboard-dec) {
|
||||
min-width: 6em;
|
||||
}
|
||||
.ui-keyboard-space {
|
||||
width: 15em;
|
||||
}
|
||||
.ui-keyboard-actionkey:not(.ui-keyboard-dec) span {
|
||||
font-size: 0.8em;
|
||||
position: relative;
|
||||
top: -1em;
|
||||
left: -1.6em;
|
||||
}
|
||||
.ui-keyboard-placeholder {
|
||||
color: #888;
|
||||
}
|
||||
/* disabled or readonly inputs, or use input[disabled='disabled'] { color: #f00; } */
|
||||
.ui-keyboard-nokeyboard {
|
||||
color: #888;
|
||||
border-color: #888;
|
||||
}
|
||||
|
||||
/* combo key styling - toggles diacritics on/off */
|
||||
.ui-keyboard-button.ui-keyboard-combo.ui-state-default {
|
||||
border-color: #375a7f;
|
||||
}
|
||||
/* (in)valid inputs */
|
||||
button.ui-keyboard-accept.ui-keyboard-valid-input {
|
||||
background: #008966;
|
||||
border-color: #007f5e;
|
||||
color: #fff;
|
||||
}
|
||||
button.ui-keyboard-accept.ui-keyboard-valid-input:hover {
|
||||
background: #00bc8c;
|
||||
border-color: #00bc8c;
|
||||
}
|
||||
button.ui-keyboard-accept.ui-keyboard-invalid-input {
|
||||
background: #d62c1a;
|
||||
border-color: #cd2a19;;
|
||||
color: #fff;
|
||||
}
|
||||
button.ui-keyboard-accept.ui-keyboard-invalid-input:hover {
|
||||
background: #e74c3c;
|
||||
border-color: #e74c3c;
|
||||
}
|
||||
/* unlocked icon (keyboard enabled) */
|
||||
button.ui-keyboard-toggle span {
|
||||
width: .9em;
|
||||
height: .9em;
|
||||
display: inline-block;
|
||||
margin-bottom: 3px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: contain;
|
||||
/* light theme unlocked icon - fill: #111 */
|
||||
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iIzExMSI+PHBhdGggZD0iTTguNyw0LjRINy41SDUuMHYtMS45YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40LDAtMi41LDEuMS0yLjUsMi41djEuOWgxLjIgdi0xLjljMC0wLjcsMC42LTEuMiwxLjItMS4yczEuMiwwLjYsMS4yLDEuMnYxLjljLTAuNywwLTEuMiwwLjYtMS4yLDEuMlY4LjggYzAsMC43LDAuNiwxLjIsMS4yLDEuMmg1LjBDOS40LDEwLDEwLDkuNCwxMCw4LjhWNS42QzEwLDUuMCw5LjQsNC40LDguOCw0LjR6IE02LjYsNy40djEuMCBjMCwwLjItMC4xLDAuMy0wLjMsMC4zUzYuMCw4LjYsNi4wLDguNFY3LjRjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zLDAuMy0wLjYsMC42LTAuNiBTNi45LDYuNiw2LjksNi45QzYuOSw3LjEsNi44LDcuMyw2LjYsNy40eiIvPjwvc3ZnPg==');
|
||||
}
|
||||
.ui-keyboard-dark-theme button.ui-keyboard-toggle span {
|
||||
/* dark theme unlocked icon - fill: #eee */
|
||||
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iI2VlZSI+PHBhdGggZD0iTTguNyw0LjRINy41SDUuMHYtMS45YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40LDAtMi41LDEuMS0yLjUsMi41djEuOWgxLjIgdi0xLjljMC0wLjcsMC42LTEuMiwxLjItMS4yczEuMiwwLjYsMS4yLDEuMnYxLjljLTAuNywwLTEuMiwwLjYtMS4yLDEuMlY4LjggYzAsMC43LDAuNiwxLjIsMS4yLDEuMmg1LjBDOS40LDEwLDEwLDkuNCwxMCw4LjhWNS42QzEwLDUuMCw5LjQsNC40LDguOCw0LjR6IE02LjYsNy40djEuMCBjMCwwLjItMC4xLDAuMy0wLjMsMC4zUzYuMCw4LjYsNi4wLDguNFY3LjRjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zLDAuMy0wLjYsMC42LTAuNiBTNi45LDYuNiw2LjksNi45QzYuOSw3LjEsNi44LDcuMyw2LjYsNy40eiIvPjwvc3ZnPg==');
|
||||
}
|
||||
/* locked icon (keyboard disabled) */
|
||||
button.ui-keyboard-toggle.ui-keyboard-disabled span {
|
||||
/* light theme locked icon - fill: #111 */
|
||||
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iIzExMSI+PHBhdGggZD0iTTcuNCA0LjRWMi41YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40IDAtMi41IDEuMS0yLjUgMi41djEuOSBjLTAuNyAwLTEuMiAwLjUtMS4yIDEuMnYzLjFDMS4zIDkuNCAxLjggMTAgMi41IDEwaDQuOWMwLjcgMCAxLjItMC42IDEuMi0xLjJWNS42IEM4LjcgNC45IDguMSA0LjQgNy40IDQuNHogTTUuMyA3LjR2MS4wYzAgMC4yLTAuMSAwLjMtMC4zIDAuM2MtMC4yIDAtMC4zLTAuMS0wLjMtMC4zVjcuNCBjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zIDAuMy0wLjYgMC42LTAuNmMwLjMgMCAwLjYgMC4zIDAuNiAwLjYgQzUuNiA3LjEgNS41IDcuMyA1LjMgNy40eiBNNi4yIDQuNEgzLjdWMi41YzAtMC43IDAuNS0xLjIgMS4yLTEuMmMwLjcgMCAxLjIgMC42IDEuMiAxLjIgVjQuNHoiLz48L3N2Zz4=');
|
||||
}
|
||||
.ui-keyboard-dark-theme button.ui-keyboard-toggle.ui-keyboard-disabled span {
|
||||
/* dark theme locked icon - fill: #eee */
|
||||
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iI2VlZSI+PHBhdGggZD0iTTcuNCA0LjRWMi41YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40IDAtMi41IDEuMS0yLjUgMi41djEuOSBjLTAuNyAwLTEuMiAwLjUtMS4yIDEuMnYzLjFDMS4zIDkuNCAxLjggMTAgMi41IDEwaDQuOWMwLjcgMCAxLjItMC42IDEuMi0xLjJWNS42IEM4LjcgNC45IDguMSA0LjQgNy40IDQuNHogTTUuMyA3LjR2MS4wYzAgMC4yLTAuMSAwLjMtMC4zIDAuM2MtMC4yIDAtMC4zLTAuMS0wLjMtMC4zVjcuNCBjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zIDAuMy0wLjYgMC42LTAuNmMwLjMgMCAwLjYgMC4zIDAuNiAwLjYgQzUuNiA3LjEgNS41IDcuMyA1LjMgNy40eiBNNi4yIDQuNEgzLjdWMi41YzAtMC43IDAuNS0xLjIgMS4yLTEuMmMwLjcgMCAxLjIgMC42IDEuMiAxLjIgVjQuNHoiLz48L3N2Zz4=');
|
||||
}
|
||||
.ui-keyboard.ui-keyboard-disabled button:not(.ui-keyboard-toggle), .ui-keyboard.ui-keyboard-disabled input {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/*** Alt-Keys Popup extension ***/
|
||||
/* clickable overlay on top of keyboard to hide the popup */
|
||||
.ui-keyboard-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
/* the actual popup styling, class names from the css.container option are also added */
|
||||
.ui-keyboard-popup {
|
||||
display: inline-block;
|
||||
/* default buttons are 2em wide + .1em margin on either side (set in .ui-keyboard-button definition);
|
||||
so use multiples of 2.2em for a max-width if you don't want any extra white space on the sides,
|
||||
e.g. 5 buttons * 2.2em = 11em, 6 buttons * 2.2em = 13.2em, etc */
|
||||
max-width: 22em;
|
||||
/* 10 buttons */
|
||||
}
|
||||
|
||||
/*** Extender keyboard extension ***/
|
||||
div.ui-keyboard-extender {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
button.ui-keyboard-extender span {
|
||||
width: .9em;
|
||||
height: .9em;
|
||||
display: inline-block;
|
||||
margin-bottom: 3px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: contain;
|
||||
/* light theme extender icon - fill: #111 */
|
||||
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgc3R5bGU9ImZpbGw6IzExMSI+PGc+PHBhdGggc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzExMSIgZD0iTSAwLjUsNC41IDE1LjUsNC41IDE1LjUsMTUuNSAwLjUsMTUuNSBaIj48L3BhdGg+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iMiIgeT0iNiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjYiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSI4IiB5PSI2Ij48L3JlY3Q+PHBhdGggZD0ibSAxMSw2IDMsMCAwLDUgLTIsMCAwLC0zIC0xLDAgeiI+PC9wYXRoPjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjEyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSI2IiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjEyIj48L3JlY3Q+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iOSIgeT0iOSI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjYiIHk9IjkiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSIyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIzIiBoZWlnaHQ9IjIiIHg9IjIiIHk9IjkiPjwvcmVjdD48L2c+PC9zdmc+');
|
||||
}
|
||||
.ui-keyboard-dark-theme button.ui-keyboard-extender span {
|
||||
/* dark theme extender icon - fill: #eee */
|
||||
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgc3R5bGU9ImZpbGw6I2VlZSI+PGc+PHBhdGggc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6I2VlZSIgZD0iTSAwLjUsNC41IDE1LjUsNC41IDE1LjUsMTUuNSAwLjUsMTUuNSBaIj48L3BhdGg+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iMiIgeT0iNiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjYiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSI4IiB5PSI2Ij48L3JlY3Q+PHBhdGggZD0ibSAxMSw2IDMsMCAwLDUgLTIsMCAwLC0zIC0xLDAgeiI+PC9wYXRoPjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjEyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSI2IiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjEyIj48L3JlY3Q+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iOSIgeT0iOSI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjYiIHk9IjkiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSIyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIzIiBoZWlnaHQ9IjIiIHg9IjIiIHk9IjkiPjwvcmVjdD48L2c+PC9zdmc+');
|
||||
}
|
44
web_app/css/external/keyboard-previewkeyset.css
vendored
Normal file
44
web_app/css/external/keyboard-previewkeyset.css
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
/* basic previewKeyset setup - modify as desired */
|
||||
.ui-keyboard-keyset .ui-keyboard-button {
|
||||
position: relative;
|
||||
}
|
||||
/* show mini-shift keyset with normal keyset */
|
||||
.ui-keyboard-keyset-normal .ui-keyboard-button::after {
|
||||
content: attr(data-shift);
|
||||
font-size: 0.6em;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
left: 2px;
|
||||
z-index: 200;
|
||||
}
|
||||
/* show mini-normal keyset with shift keyset */
|
||||
.ui-keyboard-keyset-shift .ui-keyboard-button::after {
|
||||
content: attr(data-normal);
|
||||
font-size: 0.6em;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
left: 2px;
|
||||
z-index: 200;
|
||||
}
|
||||
/* show mini-normal keyset with alt keyset */
|
||||
.ui-keyboard-keyset-alt .ui-keyboard-button::after {
|
||||
content: attr(data-alt-shift);
|
||||
font-size: 0.6em;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
left: 2px;
|
||||
z-index: 200;
|
||||
}
|
||||
/* show mini-alt-shift keyset with alt-shift keyset */
|
||||
.ui-keyboard-keyset-alt-shift .ui-keyboard-button::after {
|
||||
content: attr(data-alt);
|
||||
font-size: 0.6em;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
left: 2px;
|
||||
z-index: 200;
|
||||
}
|
161
web_app/css/external/keyboard.css
vendored
Normal file
161
web_app/css/external/keyboard.css
vendored
Normal file
|
@ -0,0 +1,161 @@
|
|||
/* keyboard - jQuery UI Widget */
|
||||
.ui-keyboard { padding: .3em; position: absolute; left: 0; top: 0; z-index: 16000; }
|
||||
.ui-keyboard-has-focus { z-index: 16001; }
|
||||
.ui-keyboard div { font-size: 1.1em; }
|
||||
.ui-keyboard-button { height: 2em; min-width: 2em; margin: .1em; cursor: pointer; overflow: hidden; line-height: 2em; -moz-user-focus: ignore; }
|
||||
.ui-keyboard-button span { padding: 0; margin: 0; white-space:nowrap; display: inline-block; }
|
||||
.ui-keyboard-button-endrow { clear: left; }
|
||||
.ui-keyboard-space { width: 15em; }
|
||||
/* see http://nicolasgallagher.com/another-css-image-replacement-technique/ */
|
||||
.ui-keyboard-space span, .ui-keyboard-empty span { font: 0/0 a; text-shadow: none; color: transparent; }
|
||||
.ui-keyboard-preview-wrapper { text-align: center; position: relative; overflow: hidden; }
|
||||
/* width is calculated in IE, since 99% = 99% full browser width =( */
|
||||
.ui-keyboard-preview { text-align: left; margin: 0 0 3px 0; display: inline; width: 99%;}
|
||||
.ui-keyboard-keyset { text-align: center; white-space: nowrap; }
|
||||
.ui-keyboard-input { text-align: left; }
|
||||
.ui-keyboard-input-current { -moz-box-shadow: 0 0 5px #4d90fe; -webkit-box-shadow: 0 0 5px #4d90fe; box-shadow: 0 0 5px #4d90fe; }
|
||||
.ui-keyboard-placeholder { color: #888; }
|
||||
/* disabled or readonly inputs, or use input[disabled='disabled'] { color: #f00; } */
|
||||
.ui-keyboard-nokeyboard { color: #888; border-color: #888; }
|
||||
.ui-keyboard-spacer { display: inline-block; width: 1px; height: 0; cursor: default; }
|
||||
|
||||
.ui-keyboard-NBSP span, .ui-keyboard-ZWSP span, .ui-keyboard-ZWNJ span, .ui-keyboard-ZWJ span, .ui-keyboard-LRM span, .ui-keyboard-RLM span {
|
||||
font-size: 0.5em;
|
||||
line-height: 1.5em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* combo key styling - toggles diacritics on/off */
|
||||
.ui-keyboard-button.ui-keyboard-combo.ui-state-default { border-color: #ffaf0f; }
|
||||
|
||||
/* (in)valid inputs */
|
||||
button.ui-keyboard-accept.ui-keyboard-valid-input { border-color: #0c0; background: #080; color: #fff; }
|
||||
button.ui-keyboard-accept.ui-keyboard-valid-input:hover { background: #0a0; }
|
||||
button.ui-keyboard-accept.ui-keyboard-invalid-input { border-color: #c00; background: #800; color: #fff; opacity: 0.5; filter: alpha(opacity=50); }
|
||||
button.ui-keyboard-accept.ui-keyboard-invalid-input:hover { background: #a00; }
|
||||
|
||||
/*** Caret extension definition ***/
|
||||
/* margin-top => is added to the caret height (top & bottom) */
|
||||
.ui-keyboard-caret { background: #c00; width: 1px; margin-top: 3px; }
|
||||
|
||||
/*** jQuery Mobile definitions ***/
|
||||
/* jQuery Mobile styles - need wider buttons because of font size and text-overflow:ellipsis */
|
||||
div.ui-body.ui-keyboard button.ui-keyboard-button.ui-btn { padding: 0.5em 1em; border-color: transparent; }
|
||||
.ui-body .ui-keyboard-button { width: 3em; height: 3em; display: inline-block; }
|
||||
.ui-body .ui-keyboard-widekey { width: 5.5em; }
|
||||
.ui-body .ui-keyboard-space { width: 15em; }
|
||||
.ui-body .ui-keyboard-space span { visibility: hidden; } /* hides the ellipsis */
|
||||
.ui-body .ui-keyboard-keyset { line-height: 0.5em; }
|
||||
.ui-body input.ui-input-text, .ui-body textarea.ui-input-text { width: 95%; }
|
||||
|
||||
/* over-ride padding set by mobile ui theme - needed because the mobile script wraps button text with several more spans */
|
||||
.ui-body .ui-btn-inner { height: 2em; padding: 0.2em 0; margin: 0; }
|
||||
.ui-body .ui-btn { margin: 0; font-size: 13px; } /* mobile default size is 13px */
|
||||
|
||||
/* override Bootstrap excessive button padding */
|
||||
button.ui-keyboard-button.btn { padding: 1px 6px; }
|
||||
|
||||
/* enable/disable icons */
|
||||
button.ui-keyboard-toggle span {
|
||||
width: .8em;
|
||||
height: .8em;
|
||||
display: inline-block;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: contain;
|
||||
}
|
||||
/* unlocked icon (keyboard enabled) */
|
||||
button.ui-keyboard-toggle span {
|
||||
/* light theme unlocked icon - fill: #111 */
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iIzExMSI+PHBhdGggZD0iTTguNyw0LjRINy41SDUuMHYtMS45YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40LDAtMi41LDEuMS0yLjUsMi41djEuOWgxLjIgdi0xLjljMC0wLjcsMC42LTEuMiwxLjItMS4yczEuMiwwLjYsMS4yLDEuMnYxLjljLTAuNywwLTEuMiwwLjYtMS4yLDEuMlY4LjggYzAsMC43LDAuNiwxLjIsMS4yLDEuMmg1LjBDOS40LDEwLDEwLDkuNCwxMCw4LjhWNS42QzEwLDUuMCw5LjQsNC40LDguOCw0LjR6IE02LjYsNy40djEuMCBjMCwwLjItMC4xLDAuMy0wLjMsMC4zUzYuMCw4LjYsNi4wLDguNFY3LjRjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zLDAuMy0wLjYsMC42LTAuNiBTNi45LDYuNiw2LjksNi45QzYuOSw3LjEsNi44LDcuMyw2LjYsNy40eiIvPjwvc3ZnPg==);
|
||||
}
|
||||
.ui-keyboard-dark-theme button.ui-keyboard-toggle span {
|
||||
/* dark theme unlocked icon - fill: #eee */
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iI2VlZSI+PHBhdGggZD0iTTguNyw0LjRINy41SDUuMHYtMS45YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40LDAtMi41LDEuMS0yLjUsMi41djEuOWgxLjIgdi0xLjljMC0wLjcsMC42LTEuMiwxLjItMS4yczEuMiwwLjYsMS4yLDEuMnYxLjljLTAuNywwLTEuMiwwLjYtMS4yLDEuMlY4LjggYzAsMC43LDAuNiwxLjIsMS4yLDEuMmg1LjBDOS40LDEwLDEwLDkuNCwxMCw4LjhWNS42QzEwLDUuMCw5LjQsNC40LDguOCw0LjR6IE02LjYsNy40djEuMCBjMCwwLjItMC4xLDAuMy0wLjMsMC4zUzYuMCw4LjYsNi4wLDguNFY3LjRjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zLDAuMy0wLjYsMC42LTAuNiBTNi45LDYuNiw2LjksNi45QzYuOSw3LjEsNi44LDcuMyw2LjYsNy40eiIvPjwvc3ZnPg==);
|
||||
}
|
||||
|
||||
/* locked icon (keyboard disabled) */
|
||||
button.ui-keyboard-toggle.ui-keyboard-disabled span {
|
||||
/* light theme locked icon - fill: #111 */
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iIzExMSI+PHBhdGggZD0iTTcuNCA0LjRWMi41YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40IDAtMi41IDEuMS0yLjUgMi41djEuOSBjLTAuNyAwLTEuMiAwLjUtMS4yIDEuMnYzLjFDMS4zIDkuNCAxLjggMTAgMi41IDEwaDQuOWMwLjcgMCAxLjItMC42IDEuMi0xLjJWNS42IEM4LjcgNC45IDguMSA0LjQgNy40IDQuNHogTTUuMyA3LjR2MS4wYzAgMC4yLTAuMSAwLjMtMC4zIDAuM2MtMC4yIDAtMC4zLTAuMS0wLjMtMC4zVjcuNCBjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zIDAuMy0wLjYgMC42LTAuNmMwLjMgMCAwLjYgMC4zIDAuNiAwLjYgQzUuNiA3LjEgNS41IDcuMyA1LjMgNy40eiBNNi4yIDQuNEgzLjdWMi41YzAtMC43IDAuNS0xLjIgMS4yLTEuMmMwLjcgMCAxLjIgMC42IDEuMiAxLjIgVjQuNHoiLz48L3N2Zz4=);
|
||||
}
|
||||
.ui-keyboard-dark-theme button.ui-keyboard-toggle.ui-keyboard-disabled span {
|
||||
/* dark theme locked icon - fill: #eee */
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iI2VlZSI+PHBhdGggZD0iTTcuNCA0LjRWMi41YzAtMS40LTEuMS0yLjUtMi41LTIuNWMtMS40IDAtMi41IDEuMS0yLjUgMi41djEuOSBjLTAuNyAwLTEuMiAwLjUtMS4yIDEuMnYzLjFDMS4zIDkuNCAxLjggMTAgMi41IDEwaDQuOWMwLjcgMCAxLjItMC42IDEuMi0xLjJWNS42IEM4LjcgNC45IDguMSA0LjQgNy40IDQuNHogTTUuMyA3LjR2MS4wYzAgMC4yLTAuMSAwLjMtMC4zIDAuM2MtMC4yIDAtMC4zLTAuMS0wLjMtMC4zVjcuNCBjLTAuMi0wLjEtMC4zLTAuMy0wLjMtMC41YzAtMC4zIDAuMy0wLjYgMC42LTAuNmMwLjMgMCAwLjYgMC4zIDAuNiAwLjYgQzUuNiA3LjEgNS41IDcuMyA1LjMgNy40eiBNNi4yIDQuNEgzLjdWMi41YzAtMC43IDAuNS0xLjIgMS4yLTEuMmMwLjcgMCAxLjIgMC42IDEuMiAxLjIgVjQuNHoiLz48L3N2Zz4=);
|
||||
}
|
||||
|
||||
.ui-keyboard.ui-keyboard-disabled button:not(.ui-keyboard-toggle),
|
||||
.ui-keyboard.ui-keyboard-disabled input {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/*** Alt-Keys Popup extension ***/
|
||||
/* clickable overlay on top of keyboard to hide the popup */
|
||||
.ui-keyboard-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
/* the actual popup styling, class names from the css.container option are also added */
|
||||
.ui-keyboard-popup {
|
||||
display: inline-block;
|
||||
/* default buttons are 2em wide + .1em margin on either side (set in .ui-keyboard-button definition);
|
||||
so use multiples of 2.2em for a max-width if you don't want any extra white space on the sides,
|
||||
e.g. 5 buttons * 2.2em = 11em, 6 buttons * 2.2em = 13.2em, etc */
|
||||
max-width: 22em; /* 10 buttons */
|
||||
}
|
||||
|
||||
/*** Extender keyboard extension ***/
|
||||
div.ui-keyboard-extender { float: right; margin-left: 5px; }
|
||||
button.ui-keyboard-extender span {
|
||||
width: .9em;
|
||||
height: .9em;
|
||||
display: inline-block;
|
||||
margin-bottom: 3px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: contain;
|
||||
/* light theme extender icon - fill: #111 */
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgc3R5bGU9ImZpbGw6IzExMSI+PGc+PHBhdGggc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzExMSIgZD0iTSAwLjUsNC41IDE1LjUsNC41IDE1LjUsMTUuNSAwLjUsMTUuNSBaIj48L3BhdGg+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iMiIgeT0iNiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjYiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSI4IiB5PSI2Ij48L3JlY3Q+PHBhdGggZD0ibSAxMSw2IDMsMCAwLDUgLTIsMCAwLC0zIC0xLDAgeiI+PC9wYXRoPjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjEyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSI2IiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjEyIj48L3JlY3Q+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iOSIgeT0iOSI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjYiIHk9IjkiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSIyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIzIiBoZWlnaHQ9IjIiIHg9IjIiIHk9IjkiPjwvcmVjdD48L2c+PC9zdmc+);
|
||||
}
|
||||
.ui-keyboard-dark-theme button.ui-keyboard-extender span {
|
||||
/* dark theme extender icon - fill: #eee */
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgc3R5bGU9ImZpbGw6I2VlZSI+PGc+PHBhdGggc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6I2VlZSIgZD0iTSAwLjUsNC41IDE1LjUsNC41IDE1LjUsMTUuNSAwLjUsMTUuNSBaIj48L3BhdGg+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iMiIgeT0iNiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjYiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSI4IiB5PSI2Ij48L3JlY3Q+PHBhdGggZD0ibSAxMSw2IDMsMCAwLDUgLTIsMCAwLC0zIC0xLDAgeiI+PC9wYXRoPjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjEyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSI2IiBoZWlnaHQ9IjIiIHg9IjUiIHk9IjEyIj48L3JlY3Q+PHJlY3Qgd2lkdGg9IjIiIGhlaWdodD0iMiIgeD0iOSIgeT0iOSI+PC9yZWN0PjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjYiIHk9IjkiPjwvcmVjdD48cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4PSIyIiB5PSIxMiI+PC9yZWN0PjxyZWN0IHdpZHRoPSIzIiBoZWlnaHQ9IjIiIHg9IjIiIHk9IjkiPjwvcmVjdD48L2c+PC9zdmc+);
|
||||
}
|
||||
|
||||
/* Media Queries (optimized for jQuery UI themes; may be slightly off in jQuery Mobile themes) */
|
||||
/* 240 x 320 (small phone) */
|
||||
@media all and (max-width: 319px) {
|
||||
.ui-keyboard div { font-size: 9px; }
|
||||
.ui-keyboard .ui-keyboard-input { font-size: 12px; }
|
||||
/* I don't own an iPhone so I have no idea how small this really is... is it even clickable with your finger? */
|
||||
.ui-body .ui-btn { margin: 0; font-size: 9px; }
|
||||
.ui-body .ui-keyboard-button { width: 1.8em; height: 2.5em; }
|
||||
.ui-body .ui-keyboard-widekey { width: 4em; }
|
||||
.ui-body .ui-keyboard-space { width: 8em; }
|
||||
.ui-body .ui-btn-inner { height: 2.5em; padding: 0.3em 0; }
|
||||
}
|
||||
|
||||
/* 320 x 480 (iPhone) */
|
||||
@media all and (min-width: 320px) and (max-width: 479px) {
|
||||
.ui-keyboard div { font-size: 9px; }
|
||||
.ui-keyboard .ui-keyboard-input { font-size: 14px; }
|
||||
/* I don't own an iPhone so I have no idea how small this really is... is it even clickable with your finger? */
|
||||
.ui-body .ui-btn { margin: 0; font-size: 11px; }
|
||||
.ui-body .ui-keyboard-button { width: 1.8em; height: 3em; }
|
||||
.ui-body .ui-keyboard-widekey { width: 4.5em; }
|
||||
.ui-body .ui-keyboard-space { width: 10em; }
|
||||
.ui-body .ui-btn-inner { height: 3em; padding: 0.7em 0; }
|
||||
}
|
||||
|
||||
/* 480 x 640 (small tablet) */
|
||||
@media all and (min-width: 480px) and (max-width: 767px) {
|
||||
.ui-keyboard div { font-size: 13px; }
|
||||
.ui-keyboard .ui-keyboard-input { font-size: 14px; }
|
||||
.ui-body .ui-btn { margin: 0; font-size: 10px; }
|
||||
.ui-body .ui-keyboard-button { height: 2.5em; }
|
||||
.ui-body .ui-btn-inner { height: 2.5em; padding: 0.5em 0; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue