* { box-sizing: border-box; padding: 0; margin: 0; } .virtualkeyboard { font-family: "Microsoft Yahei", "Hiragino Sans GB", tahoma, arial; position: absolute; width: 100%; /* border: 1px solid #999; */ z-index: 99999; /* top: 50%; left: 50%; transform: translate(-50%, -50%); */ bottom: 0; user-select: none; right:0 } .inputZone { background: #DBDBDB; display: flex; flex-direction: column; align-items: center; padding: 1px 0; } .inputZone > div { display: flex; } /* .inputZone span { font-size: 32px; width: 64px; border-radius: 4px; height: 60px; text-align: center; line-height: 60px; background: white; display: inline-block; border: 1px solid #DBDBDB; cursor: pointer; } */ .inputZone span { float: left; font-size: 24px; width: 70px; border-radius: 10px; height: 70px;; text-align: center; line-height: 70px;; border: 1px solid #ccc; margin: 4px; background: white; cursor: pointer; box-shadow: 1px 1px 3px 2px rgba(0,0,0,0.1); font-weight: bold; } /* .inputZone span:active { background: #eee; } */ .inputZone .func:active,.inputZone .blank:active { background: #eee; } .inputZone .letter:active,.inputZone .number:active,.inputZone .symbol:active { background: #eee; line-height: 15px; font-weight: bolder; font-size: 15px; } /* .keyboardOp { height: 44px; line-height: 44px; font-size: 20px; cursor: move; background-color: white; } */ .keyboardOp { height: 32px; line-height: 32px; font-size: 20px; cursor: move; background-color: white; } .keyboardOp > .slideDown { float: right; font-weight: bold; color: darkviolet; cursor: pointer; padding: 0 10px; border-left: 1px solid #DBDBDB; } .keyboardOp > .slideDown:active { background-color: #DBDBDB; color: red; } .outputZone { display: none; position: absolute; width: 375px; height: 30px; left: -1px; top: -30px; border: 1px solid #999; box-sizing: border-box; background-color: white; } .outputZone .zh-pinyin-letter { font-size: 15px; font-weight: bold; color: #dc4f42; margin-left: 8px; } .outputZoneOp { float: right; height: 20px; line-height: 20px; } .outputZoneOp > span { display: inline-block; height: 100%; padding: 0 8px; font-size: 24px; cursor: pointer; } .outputZoneOp > span:active { color: red; background-color: #cccccc; } .outputZoneOp .unclick { color: #999; cursor: not-allowed; } .output-ZH{ padding-left: 0px !important; margin-bottom: 0px !important;; } /* .output-ZH > li { padding: 0 12px; cursor: pointer; float: left; list-style: none; } */ .output-ZH > li { padding: 0 16px; cursor: pointer; float: left; list-style: none; font-weight: bold; } .output-ZH > li:active { color: red; background-color: #cccccc; } .virtualkeyboard .hide { display: none; } /* .virtualkeyboard .blank { width: 260px; font-size: 20px; } */ .virtualkeyboard .blank { width: 180px; font-size: 20px; } .virtualkeyboard .symbol { font-size: 18px; } .virtualkeyboard .func { font-size: 20px; color: #fd910a; }