1
0
tmk_keyboard/editor/common/keymap_editor.css

121 lines
2.8 KiB
CSS
Raw Normal View History

2013-09-24 05:37:53 +00:00
html * {
font-family:helvetica, arial, sans-serif;
}
2016-01-12 01:16:19 +00:00
.key, .keync {
box-shadow:inset -3px -3px 2px 5px #ebebeb;
background-color:#ffffff;
2013-09-24 05:37:53 +00:00
border-radius:6px;
border:2px solid #dcdcdc;
display:inline-block;
float: left;
color:#777777;
font-family:helvetica, arial, sans-serif;
font-size:16px;
font-weight:bold;
text-decoration:none;
padding:4px 16px 16px 4px;
width: 25px;
height: 25px;
overflow: hidden;
margin: 0px 1px 1px 0px;
white-space: normal;
}
.key:hover {
2016-01-12 01:16:19 +00:00
box-shadow:inset -3px -3px 2px 5px #cfcfcf;
position:relative;
top:2px;
2013-09-24 05:37:53 +00:00
}
.key:active {
2016-01-12 01:16:19 +00:00
}
.key:focus {
2013-09-24 05:37:53 +00:00
}
.key-editing {
2016-01-12 01:16:19 +00:00
box-shadow:inset -3px -3px 2px 5px #cfcfcf;
2013-09-24 05:37:53 +00:00
position:relative;
top:2px;
2016-01-12 01:16:19 +00:00
background-color:#efefef;
border:2px solid #7f7f7f;
2013-09-24 05:37:53 +00:00
}
/* This imageless css button was generated by CSSButtonGenerator.com */
/* Key unit and pixel
2016-01-12 01:16:19 +00:00
*
2013-09-24 05:37:53 +00:00
* key unit: 1.00 1.25 1.50 1.75 2.00
2016-01-12 01:16:19 +00:00
* width: 25 37.5 50 62.5 75
* overall: 50 62.5 75 87.5 100
2013-09-24 05:37:53 +00:00
*
* Key CSS Metrics
* +---------------------------+
* | margin |
* | +-----------------------+ |
* | |border 2 | |
* | | +-------------------+ | |
* | | |padding 4 | | |
* | | | +--------------+ | | |
* |0|2|4|width x height|16|2|1|
* | | | +--------------+ | | |
* | | | 16 | | |
* | | +-------------------+ | |
* | | 2 | |
* | +-----------------------+ |
* | 1 |
* +---------------------------+
2016-01-12 01:16:19 +00:00
* margin:1 + border:4 + padding:20 = 25px
2013-09-24 05:37:53 +00:00
*/
.btn100 { width:25px; } /* 50 - 25 */
.btn125 { width:37.5px; } /* 62.5 - 25 */
.btn150 { width:50px; } /* 75 - 25 */
.btn175 { width:62.5px; } /* 87.5 - 25 */
.btn200 { width:75px; } /* 100 - 25 */
.btn225 { width:87.5px; } /* 112.5 - 25 */
.btn250 { width:100; } /* 125 - 25 */
.btn275 { width:112.5px; } /* 137.5 - 25 */
.btn600 { width:275px; } /* 300 - 25 */
.btn625 { width:287.5px; } /* 312.5 - 25 */
.btn700 { width:325px; } /* 350 - 25 */
.btn750 { width:350px; } /* 375 - 25 */
.spc100 { width:25px; visibility:hidden; }
.spc125 { width:37.5px; visibility:hidden; }
.spc150 { width:50px; visibility:hidden; }
.spc175 { width:62.5px; visibility:hidden; }
.spc200 { width 75px; visibility:hidden; }
.keyboard-row {
2016-01-12 01:16:19 +00:00
width: auto;
2013-09-24 05:37:53 +00:00
display: inline-block;
}
.keyboard-outline {
}
.keyboard-pane {
2016-01-12 01:16:19 +00:00
width: 750px;
2013-09-24 05:37:53 +00:00
font-size: 14px;
font-weight:bold;
}
.action {
font-size:16px;
font-weight:bold;
min-width: 30px;
}
.keycode_tabs {
2016-01-12 01:16:19 +00:00
width: 750px;
2013-09-24 05:37:53 +00:00
overflow: auto;
font-size:14px;
font-weight:bold;
}
/* http://www.w3schools.com/cssref/css3_pr_resize.asp */
.resizable {
resize: both;
overflow: auto;
}