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.

keymap_editor.css 2.9KB

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