keyboard.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. * {
  2. touch-action: none;
  3. }
  4. .virtual-keyboard-window {
  5. user-select: none;
  6. position: fixed;
  7. top: 0;
  8. width: 800px;
  9. border-radius: 10px;
  10. box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.1);
  11. border: 1px solid #ddd;
  12. background: #ececec;
  13. z-index: 999;
  14. overflow: hidden;
  15. }
  16. .virtual-keyboard-window .window-content {
  17. height: 100%;
  18. }
  19. .hg-theme-default .hg-button {
  20. height: 45px;
  21. }
  22. .virtual-keyboard-window .window-top {
  23. cursor: move;
  24. text-align: center;
  25. height: 20px;
  26. border-top-right-radius: 5px;
  27. border-top-left-radius: 5px;
  28. padding: 5px;
  29. background-color: #ddd;
  30. color: #333;
  31. }
  32. .virtual-keyboard-window .btn-close {
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. position: absolute;
  37. right: 0;
  38. top: 0;
  39. width: 50px;
  40. height: 30px;
  41. box-sizing: border-box;
  42. padding: 5px 15px;
  43. border: none;
  44. background: none;
  45. cursor: pointer;
  46. }
  47. .keyboard-toggle {
  48. width: 20px;
  49. height: 20px;
  50. padding: 5px;
  51. position: absolute;
  52. top: 0;
  53. left: 0;
  54. display: flex;
  55. align-items: center;
  56. justify-content: center;
  57. background: #fff;
  58. opacity: 0.5;
  59. box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.1);
  60. color: #333;
  61. border-radius: 4px;
  62. border: 1px solid #ddd;
  63. z-index: 999;
  64. cursor: pointer;
  65. }