mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Scratch block comments.
This commit is contained in:
parent
6b5665847d
commit
4afc8e5085
11 changed files with 1057 additions and 11 deletions
44
core/css.js
44
core/css.js
|
@ -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;',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue