ijprest / keyboard-layout-editor

Web application to enable the design & editing of keyboard layouts
http://www.keyboard-layout-editor.com/
Other
1.3k stars 241 forks source link

Stepped keys background strangely affected by custom CSS (visible with custom shaped .keytop) #245

Open Adzetko opened 5 years ago

Adzetko commented 5 years ago

So here is some context:

strange stepped keys This is the link to the "keyboard" I am working on, based on the OP-1 synth: link As you can see, all the black keys are having a bad time getting styled correctly. It's like there is some kind of a ghost .keyborder div, but actually, it is a simple no-class div inside the parent .keycap.

May not be significant, but I prefer mentioning this:

div:nth-child(3) {
    background-color: transparent !important;
}

You can see the CSS above as commented in the custom styles tab, it is a dirty workaround, which gives the result I wanted. dirty workaround