UNPKG

smoosic

Version:

<sub>[Github site](https://github.com/Smoosic/smoosic) | [source documentation](https://smoosic.github.io/Smoosic/release/docs/modules.html) | [change notes](https://aarondavidnewman.github.io/Smoosic/changes.html) | [application](https://smoosic.github.i

105 lines (87 loc) 1.53 kB
.piano-container { display:flex; justify-content:center; } #keyId-C4 { fill:#ddffee; } #keyId-C4.glow-key { fill:#33ccaa; } .piano-container { display:none; } .key-left-ctrl,.key-right-ctrl { display:flex; } .key-left-ctrl button,.key-right-ctrl button { display:flex; flex: auto; justify-content:center; } .key-right-ctrl button.close { color:red; width:25px; height:25px; flex: 0 1 auto; } .key-right-ctrl .icon-duration_grow, .key-right-ctrl .icon-duration_less, .key-right-ctrl .icon-duration_grow_dot, .key-right-ctrl .icon-duration_less_dot, .key-left-ctrl button span, .piano-keys button.key-ctrl span { font-size:1.5em; } .piano-container button { background: #fff; border-radius:5px; } .piano-container button:hover { background: #33ccaa; color: #eee; } .piano-container button.activated { background: #cad; } .piano-container button.piano-ctrl { width:50px; height:30px; } .piano-container .piano-keys button { width:30px; } body.show-piano .piano-container { display:flex; flex-direction:column; } .piano-keys { display:flex; justify-content:center; } .black-key { stroke:#000; } .white-key { fill:#fff; stroke:#000; } .white-key.glow-key { fill:#aad; } .white-key.pressed-key { fill:#33d; } .white-key.pressed-key + text { stroke: #fff; } .black-key.pressed-key { fill:#bbd; } .black-key.glow-key { fill:#aad; } .note-text { font-size:.7em; }