1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /* 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;
- }
|