Scratch block comments.

This commit is contained in:
Karishma Chadha 2018-05-25 17:21:31 -04:00
parent 6b5665847d
commit 4afc8e5085
11 changed files with 1057 additions and 11 deletions

View file

@ -647,6 +647,50 @@ Blockly.Css.CONTENT = [
'stroke: #fc3;',
'}',
// Scratch Comments
'.scratchCommentBody {',
'background-color: #fef49c;',
'display: flex',
'justify-content: center;',
'align-items: center;',
'}',
'.scratchCommentRect {',
'fill: #fef49c;',
'stroke-width: 1px',
'}',
'.scratchCommentTopBar {',
'fill: #000000;',
'fill-opacity: 0.1',
'}',
'.scratchCommentText {',
'font-family: "Helvetica Neue", Helvetica, sans-serif;',
'font-size: 12pt;',
'font-weight: 400;',
'}',
'.scratchCommentTextarea {',
'background-color: #fef49c;',
'border: 0;',
'outline: 0;',
'padding: 0;',
'resize: none;',
'overflow: hidden;',
'}',
'.scratchCommentResizeSE {',
'cursor: se-resize;',
'fill: transparent;',
'}',
'.scratchCommentResizeSW {',
'cursor: sw-resize;',
'fill: transparent;',
'}',
'.blocklyHtmlInput {',
'border: none;',
'font-family: "Helvetica Neue", Helvetica, sans-serif;',