Minor updates to CSS and punctuation in messages.

This commit is contained in:
Sean Lip
2016-10-05 15:58:28 -07:00
parent ca2cd7227a
commit a91badeede
3 changed files with 18 additions and 7 deletions

View File

@@ -29,8 +29,8 @@ blocklyApp.AppView = ng.core
.Component({
selector: 'blockly-app',
template: `
<div aria-hidden="true">
Status: <span aria-live="polite" role="status">{{getStatusMessage()}}</span>
<div *ngIf="getStatusMessage()" aria-hidden="true" class="blocklyAriaLiveStatus">
<span aria-live="polite" role="status">{{getStatusMessage()}}</span>
</div>
<div>

View File

@@ -8,8 +8,19 @@
}
.blocklyToolbarColumn {
float: left;
margin-left: 10px;
margin-top: 20px;
width: 200px;
width: 150px;
}
.blocklyAriaLiveStatus {
background: #c8f7be;
border-radius: 10px;
bottom: 80px;
left: 20px;
max-width: 300px;
padding: 10px;
position: fixed;
}
.blocklyTree .blocklyActiveDescendant > label,

View File

@@ -51,7 +51,7 @@ Blockly.Msg.VALUE = 'value';
Blockly.Msg.BLOCK_OPTIONS = 'Block options: ';
Blockly.Msg.BLOCK_MOVED_TO_MARKED_SPOT_MSB = 'Block moved to marked spot: ';
Blockly.Msg.COPIED_BLOCK_MSG = 'Copied: ';
Blockly.Msg.MARKED_SPOT_MSG = 'Marked spot: ';
Blockly.Msg.PASTED_BLOCK_FROM_CLIPBOARD_MSG = 'Pasted: ';
Blockly.Msg.PASTED_BLOCK_TO_MARKED_SPOT_MSG = 'Moved to marked spot: ';
Blockly.Msg.COPIED_BLOCK_MSG = 'copied. ';
Blockly.Msg.MARKED_SPOT_MSG = 'Marked spot. ';
Blockly.Msg.PASTED_BLOCK_FROM_CLIPBOARD_MSG = 'pasted. ';
Blockly.Msg.PASTED_BLOCK_TO_MARKED_SPOT_MSG = 'moved to marked spot. ';