@@ -24,7 +24,7 @@ html, body {
24
24
-webkit-touch-callout : none;
25
25
-webkit-user-select : none;
26
26
-moz-user-select : none;
27
- -ms-user-select : none;
27
+ -ms-user-select : none;
28
28
user-select : none;
29
29
cursor : default;
30
30
}
@@ -49,8 +49,8 @@ html, body {
49
49
/* The keyboard background */
50
50
# keyboard {
51
51
padding : 9px ;
52
- position : relative;
53
- border : solid 1px # ddd ;
52
+ position : relative;
53
+ border : solid 1px # ddd ;
54
54
border-radius : 6px ;
55
55
background-color : # eee ;
56
56
min-height : 56px ;
@@ -70,35 +70,42 @@ html, body {
70
70
71
71
/* Key labels */
72
72
.keylabel > div { display : table-cell; position : static !important ; }
73
- .keylabel3 > div , .keylabel4 > div , .keylabel6 > div , .keylabel8 > div { text-align : right; }
74
- .keylabel7 > div , .keylabel8 > div { vertical-align : middle; }
75
- .keylabel2 > div , .keylabel4 > div { vertical-align : bottom; }
76
- .keylabel5 , .keylabel6 { top : 100% ; margin-top : -1px ; font-size : 10px !important ; white-space : nowrap; overflow : hidden;}
77
- .keylabel1 .centerx-true > div , .keylabel2 .centerx-true > div , .keylabel5 .centerf-true > div , .keylabel7 .centerx-true > div { text-align : center; }
78
- .keylabel1 .centery-true > div , .keylabel3 .centery-true > div { vertical-align : middle; }
79
-
73
+ /* Vertical alignment */
74
+ .keylabel0 > div , .keylabel1 > div , .keylabel2 > div { vertical-align : top; }
75
+ .keylabel3 > div , .keylabel4 > div , .keylabel5 > div { vertical-align : middle; }
76
+ .keylabel6 > div , .keylabel7 > div , .keylabel8 > div { vertical-align : bottom; }
77
+ .keylabel9 , .keylabel10 , .keylabel11 { top : 100% ; margin-top : -1px ; font-size : 10px !important ; max-height : 1em !important ; white-space : nowrap; overflow : hidden; }
78
+ /* Horizontal alignment */
79
+ .keylabel0 > div , .keylabel3 > div , .keylabel6 > div , .keylabel9 > div { text-align : left; }
80
+ .keylabel1 > div , .keylabel4 > div , .keylabel7 > div , .keylabel10 > div { text-align : center; }
81
+ .keylabel2 > div , .keylabel5 > div , .keylabel8 > div , .keylabel11 > div { text-align : right; }
82
+ /* Label Sizes */
80
83
for i in (1..9) {
81
84
.keylabel .textsize {i } {
82
- font-size : (6 + 2 * i)px;
85
+ font-size : (6 + 2 * i)px;
83
86
line-height : 1em ;
84
87
}
85
88
}
86
89
.keylabels { font-family : "Helvetica" , "Arial" , sans-serif; }
87
90
.keylabel hr { display : inline; }
88
- .keylabel hr : before {
89
- position : relative;
90
- display : block;
91
- overflow : hidden;
92
- white-space : nowrap;
93
- content : "\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500" ;
91
+ .keylabel hr : before {
92
+ position : relative;
93
+ display : block;
94
+ overflow : hidden;
95
+ white-space : nowrap;
96
+ content : "\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500\2500" ;
94
97
}
95
98
96
99
/* Keycap-Profile Modifications */
97
100
.SA .keylabels , .DSA .keylabels {
98
101
font-family : 'engravers_gothic_fsregular' ; /* substitute for Gorton Modified */
99
102
}
100
-
101
- .DSA .keylabel5 , .DSA .keylabel6 , .SA .keylabel5 , .SA .keylabel6 { margin-top : -2px ; font-size : 9px !important ; }
103
+
104
+ .DSA .keylabel9 , .DSA .keylabel10 , .DSA .keylabel11 ,
105
+ .SA .keylabel9 , .SA .keylabel10 , .SA .keylabel11 {
106
+ margin-top : -2px ;
107
+ font-size : 9px !important ;
108
+ }
102
109
.DCS .keytop , .OEM .keytop {
103
110
background : linear-gradient (to right, # 00000000 0% , # 0000001A 40% , # 0000001A 60% , # 00000000 100% );
104
111
background-repeat : no-repeat;
@@ -123,7 +130,7 @@ for i in (1..9) {
123
130
}
124
131
.DSA .HOMING .keylabels , .SA .HOMING .keylabels { background-image : none; }
125
132
126
- span .PETSCII {
133
+ span .PETSCII {
127
134
font-family : "C64ProMono" ;
128
135
font-size : 6px !important ;
129
136
border : solid 1px ;
@@ -134,14 +141,14 @@ span.PETSCII {
134
141
135
142
/* color swatches */
136
143
# swatches { list-style-type : none; margin : 0px ; padding : 0px ; }
137
- .swatch {
138
- display : inline-block;
144
+ .swatch {
145
+ display : inline-block;
139
146
position : relative;
140
- width : 16px ;
141
- height : 32px ;
142
- border : solid 1px # 888 ;
147
+ width : 16px ;
148
+ height : 32px ;
149
+ border : solid 1px # 888 ;
143
150
margin-right : -1px ;
144
- margin-bottom : -6px ;
151
+ margin-bottom : -6px ;
145
152
padding : 0px ;
146
153
}
147
154
# swatches .disabled .swatch { background-color : rgb (235 , 235 , 228 ) !important ; }
@@ -155,7 +162,7 @@ span.PETSCII {
155
162
.hidden { display : none; }
156
163
.error { border : solid 2px rgb (217 , 83 , 79 ); }
157
164
# selectionRectangle { position : absolute; border : dashed 2px red; }
158
- # rotationCrosshairs {
165
+ # rotationCrosshairs {
159
166
display : none;
160
167
position : absolute;
161
168
margin : 0px ;
@@ -209,12 +216,12 @@ span.PETSCII {
209
216
# wrap > .navbar , # wrap > .body > .btn-group , # keyboard ~ * , # keyboard + * , # footer , # helpDialog , # markdownDialog { display : none; margin : 0 !important ; padding : 0 !important ; }
210
217
div .body { margin : 0 !important ; padding : 0 !important ; }
211
218
a { color : black; text-decoration : none; }
212
- # keyboard {
213
- border : none;
214
- background-color : inherit !important ;
215
- transform : scale (0.75 , 0.75 );
219
+ # keyboard {
220
+ border : none;
221
+ background-color : inherit !important ;
222
+ transform : scale (0.75 , 0.75 );
216
223
position : absolute !important ;
217
- left : 0px ;
224
+ left : 0px ;
218
225
top : 0px ;
219
226
padding-left : 0px ; padding-top : 0px ;
220
227
}
@@ -234,3 +241,10 @@ span.PETSCII {
234
241
235
242
# swap-colors { position : absolute; top : 11px ; left : 200px ; z-index : 1 ; }
236
243
.color-name { display : inline-block; min-width : 3em ; font-size : 10px ; white-space : nowrap; }
244
+
245
+ .use-default : after {
246
+ content : "\d7" ; /* × */
247
+ right : 0px ;
248
+ bottom : -4px ;
249
+ position : absolute;
250
+ }
0 commit comments