UNPKG

music21j-port

Version:

A toolkit for computer-aided musicology, Javascript version

193 lines (174 loc) 4.42 kB
@import url('m21jFonts.css'); .inlineBlock { display: inline-block; vertical-align: top; } .btButton { font-family: BravuraTextM21j; position: relative; background-color: #ffff99; text-align: center; display: inline-block; font-size: 40pt; width: 100px; height: 100px; padding-top: 10px; padding-left: 20px; padding-right: 20px; padding-bottom: 10px; margin-right: 4px; border: 2px black dashed; } .btButtonSm { font-size: 20pt; width: 50px; height: 50px; padding-top: 5px; padding-left: 10px; padding-right: 10px; padding-bottom: 5px; margin-right: 2px; border: 1px black dashed; } .loadingSoundfont { top: 40px; background-color: #99ff99; color: black; font-weight: normal; position: fixed; right: 30px; width: 170px; font-size: 10px; opacity: 0.7; border-radius: 15px; box-shadow: 0px 0px 19px #999; padding: 10px 10px 10px 10px; z-index: 20; } /* four part editor */ .editorButtonNotSelected { background-color: white; } .editorButtonSelected { background-color: red; } /* midi player */ .midiPlayer { background-image: -webkit-linear-gradient( top, rgba(66, 66, 66, 1) 0%, rgba(22, 22, 22, 1) 100% ); background-image: -moz-linear-gradient( top, rgba(66, 66, 66, 1) 0%, rgba(22, 22, 22, 1) 100% ); background-image: -ms-gradient( top, rgba(66, 66, 66, 1) 0%, rgba(22, 22, 22, 1) 100% ); background-image: -o-gradient( top, rgba(66, 66, 66, 1) 0%, rgba(22, 22, 22, 1) 100% ); background-image: linear-gradient( top, rgba(66, 66, 66, 1) 0%, rgba(22, 22, 22, 1) 100% ); padding: 15px 20px; border: 1px solid #000; box-shadow: 0 0 10px #fff; -moz-box-shadow: 0 0 10px #fff; -webkit-box-shadow: 0 0 10px #fff; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; color: #ffffff; color: rgba(255, 255, 255, 0.8); text-shadow: 1px 1px 2px #000; -moz-text-shadow: 1px 1px 2px #000; margin-bottom: 15px; height: 42px; box-shadow: 0 -1px #000; max-width: 700px; min-height: 70px; } .midiPlayer .capsule { border: 1px solid #000; box-shadow: 0 0 10px #555; -moz-box-shadow: 0 0 10px #555; -webkit-box-shadow: 0 0 10px #555; background: #000; background-image: -webkit-linear-gradient( top, rgba(0, 0, 0, 0.5) 1, #333 0 ); background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 1, #333 0); background-image: -ms-gradient(top, rgba(0, 0, 0, 0.5) 1, #333 0); background-image: -o-gradient(top, rgba(0, 0, 0, 0.5) 1, #333 0); background-image: linear-gradient(top, rgba(0, 0, 0, 0.5) 1, #333 0); overflow: hidden; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; width: 420px; display: inline-block; height: 30px; } .midiPlayer .capsule .cursor { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-top-right-radius: 0; border-bottom-right-radius: 0; background: #003b96; background-image: -webkit-linear-gradient(top, #0088e9 0%, #003b96 100%); background-image: -moz-linear-gradient(top, #0088e9 0%, #003b96 100%); background-image: -ms-gradient(top, #0088e9 0%, #003b96 100%); background-image: -o-gradient(top, #0088e9 0%, #003b96 100%); background-image: linear-gradient(top, #0088e9 0%, #003b96 100%); width: 0; display: inline-block; height: 100%; } .midiPlayer .timePlayed, .midiPlayer .timeRemaining { position: relative; top: -9px; padding: 0 10px; width: 40px; display: inline-block; text-align: right; } .midiPlayer .timeRemaining { text-align: left; } .midiPlayer .timeControls { width: 560px; margin: 0; float: left; position: relative; top: 5px; } .midiPlayer .positionControls { position: relative; top: 5px; margin: 0 auto; width: 80px; float: right; } .midiPlayer .positionControls input[type='image']:hover { opacity: 1; } .midiPlayer .positionControls input[type='image']:active { opacity: 0.85; } .midiPlayer .positionControls input[type='image'] { opacity: 0.7; outline: none; }