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.7KB

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