Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

keyboard.css 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. html * {
  2. font-family:helvetica, arial, sans-serif;
  3. }
  4. .key {
  5. -moz-box-shadow:inset -8px -10px 0px -3px #ffffff;
  6. -webkit-box-shadow:inset -8px -10px 0px -3px #ffffff;
  7. box-shadow:inset -8px -10px 0px -3px #ffffff;
  8. background-color:#ededed;
  9. -moz-border-radius:6px;
  10. -webkit-border-radius:6px;
  11. border-radius:6px;
  12. border:2px solid #dcdcdc;
  13. display:block;
  14. float: left;
  15. color:#777777;
  16. font-family:helvetica, arial, sans-serif;
  17. font-size:16px;
  18. font-weight:bold;
  19. text-decoration:none;
  20. padding:4px 16px 16px 4px;
  21. width: 24px;
  22. height: 24px;
  23. overflow: hidden;
  24. margin: 0px 1px 1px 0px;
  25. }
  26. .key:hover {
  27. background-color:#dfdfdf;
  28. }
  29. .key:active {
  30. position:relative;
  31. top:1px;
  32. }
  33. .key-editing {
  34. background-color:#b4b4b4;
  35. position:relative;
  36. top:2px;
  37. }
  38. /* This imageless css button was generated by CSSButtonGenerator.com */
  39. /* Key size and pixel
  40. * key: 1.00 1.25 1.50 1.75 2.00
  41. * size: 50 62.5 75 87.5 100
  42. * width: 24 36.5 49 61.5 74
  43. *
  44. * margin:1 + border:2 + padding:4 + width:24 + padding:16 + border:2 + margin:1 = 50px
  45. * width:24 + 26px = 50px
  46. */
  47. .btn100 { width:24px; }
  48. .btn125 { width:36.5px; }
  49. .btn150 { width:47.5px; }
  50. .btn175 { width:60px; }
  51. .btn200 { width:74px; }
  52. .btn225 { width:83px; }
  53. .btn250 { width:99px; }
  54. .btn275 { width:111.5px; }
  55. .btn600 { width:259px; }
  56. .btn625 { width:270px; }
  57. .btn700 { width:324px; }
  58. .spc100 { width:24px; visibility:hidden; }
  59. .spc125 { width:36.5px; visibility:hidden; }
  60. .spc150 { width:47.5px; visibility:hidden; }
  61. .spc175 { width:60px; visibility:hidden; }
  62. .spc200 { width 74px; visibility:hidden; }
  63. .keyboard-row {
  64. width: auto;
  65. display: inline-block;
  66. }
  67. .keyboard-outline {
  68. }
  69. .keyboard-pane {
  70. width: 750px;
  71. font-size: 14px;
  72. font-weight:bold;
  73. }
  74. .action {
  75. font-size:16px;
  76. font-weight:bold;
  77. min-width: 30px;
  78. }
  79. .keycode_tabs {
  80. max-width: 750px;
  81. overflow: auto;
  82. font-size:14px;
  83. font-weight:bold;
  84. }
  85. /* http://www.w3schools.com/cssref/css3_pr_resize.asp */
  86. .resizable {
  87. resize: both;
  88. overflow: auto;
  89. }