Hello world com blockly-games
BIN
html/blockly-games/music/black1x1.gif
Normal file
|
After Width: | Height: | Size: 35 B |
854
html/blockly-games/music/generated/pt-br/compressed.js
Normal file
BIN
html/blockly-games/music/icons.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
html/blockly-games/music/note0.03125.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
html/blockly-games/music/note0.0625.png
Normal file
|
After Width: | Height: | Size: 881 B |
BIN
html/blockly-games/music/note0.125.png
Normal file
|
After Width: | Height: | Size: 706 B |
BIN
html/blockly-games/music/note0.25.png
Normal file
|
After Width: | Height: | Size: 410 B |
BIN
html/blockly-games/music/note0.5.png
Normal file
|
After Width: | Height: | Size: 566 B |
BIN
html/blockly-games/music/note1.png
Normal file
|
After Width: | Height: | Size: 581 B |
BIN
html/blockly-games/music/notes.png
Normal file
|
After Width: | Height: | Size: 894 B |
BIN
html/blockly-games/music/play.png
Normal file
|
After Width: | Height: | Size: 392 B |
BIN
html/blockly-games/music/rest0.03125.png
Normal file
|
After Width: | Height: | Size: 861 B |
BIN
html/blockly-games/music/rest0.0625.png
Normal file
|
After Width: | Height: | Size: 662 B |
BIN
html/blockly-games/music/rest0.125.png
Normal file
|
After Width: | Height: | Size: 478 B |
BIN
html/blockly-games/music/rest0.25.png
Normal file
|
After Width: | Height: | Size: 602 B |
BIN
html/blockly-games/music/rest0.5.png
Normal file
|
After Width: | Height: | Size: 163 B |
BIN
html/blockly-games/music/rest1.png
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
html/blockly-games/music/stave.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
157
html/blockly-games/music/style.css
Normal file
@@ -0,0 +1,157 @@
|
||||
button.primary {
|
||||
/* Can't use "text-align: start" due to IE. */
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
html[dir="RTL"] button.primary {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#blockly {
|
||||
position: fixed;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
#paddingBox {
|
||||
height: 400px;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#staveBox {
|
||||
position: absolute;
|
||||
border: 1px solid #ccc;
|
||||
height: 400px;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.stave {
|
||||
height: 69px;
|
||||
width: 400px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.note {
|
||||
height: 37px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.rest {
|
||||
height: 31px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.splash {
|
||||
transition-property: height, opacity, width, margin;
|
||||
transition-duration: .3s;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.splash.note {
|
||||
margin-left: -10px;
|
||||
margin-top: -30px;
|
||||
height: 74px;
|
||||
}
|
||||
|
||||
.splash.rest {
|
||||
margin-left: -8px;
|
||||
margin-top: -6px;
|
||||
height: 62px;
|
||||
}
|
||||
|
||||
.goal {
|
||||
opacity: .4;
|
||||
}
|
||||
|
||||
.wrong {
|
||||
filter: invert(50%) sepia(100%) saturate(10000%)
|
||||
}
|
||||
|
||||
.ledgerLine {
|
||||
height: 1px;
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ledgerLineWide {
|
||||
height: 1px;
|
||||
width: 27px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.barLine {
|
||||
height:36px;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#musicBox {
|
||||
direction: ltr;
|
||||
position: absolute;
|
||||
height: 400px;
|
||||
width: 365px;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
margin-left: 36px;
|
||||
}
|
||||
|
||||
#notePicker {
|
||||
background-image: url(notes.png);
|
||||
border: 1px solid #ccc;
|
||||
height: 109px;
|
||||
width: 46px;
|
||||
}
|
||||
|
||||
.sampleNote {
|
||||
float: left;
|
||||
height: 37px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
html[dir="RTL"] .sampleNote {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#sampleHelp2 {
|
||||
height: 150px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
#sampleHelp6, #sampleHelp7 {
|
||||
height: 50px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
/* Slider. */
|
||||
.sliderTrack {
|
||||
stroke: #aaa;
|
||||
stroke-width: 6px;
|
||||
stroke-linecap: round;
|
||||
}
|
||||
.sliderKnob {
|
||||
fill: #ddd;
|
||||
stroke: #bbc;
|
||||
stroke-width: 1px;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.sliderKnob:hover {
|
||||
fill: #eee;
|
||||
}
|
||||
|
||||
/* Sprited icons. */
|
||||
.icon21 {
|
||||
height: 21px;
|
||||
width: 21px;
|
||||
background-image: url(icons.png);
|
||||
}
|
||||
.camera {
|
||||
background-position: -21px 0px;
|
||||
}
|
||||
.stop {
|
||||
background-position: -42px 0px;
|
||||
}
|
||||
.run {
|
||||
background-position: -63px 0px;
|
||||
}
|
||||
.gallery {
|
||||
background-position: -63px -21px;
|
||||
}
|
||||