Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Monica Kozbial
26a11faf49
Update CSS rules for cursor. ( #3627 )
2020-01-22 11:41:59 -08:00
Sam El-Husseini
c1ff28fcd2
Rename arrowTop and arrowBottom css classes to blocklyArrowTop and blocklyArrowBottom ( #3548 )
2020-01-06 16:09:23 -08:00
alschmiedt
10b3a9aa9a
Refactor marker and cursor ( #3484 )
...
* Refactor marker and cursor
2019-12-04 14:50:58 -08:00
Mustafa Jebara
d99d913600
Fix #3386 - Warning Bubble Dragging ( #3479 )
...
* Set no-pointer events on the warning text svg element.
2019-12-04 14:49:18 -08:00
Sam El-Husseini
b038c1cef5
[zelos] Set dropdown div colour to match block colour ( #3462 )
...
* Set dropdown div colour to match block colour
2019-11-27 09:30:29 -08:00
Sam El-Husseini
9fcc532977
[zelos] Cross browser pixel perfect text input ( #3466 )
...
* Align text and widget div text input pixel perfect on all browsers
2019-11-25 15:54:24 -08:00
Sam El-Husseini
9fc995425a
Support adjusting dropdowndiv default colours through CSS ( #3469 )
...
* Support setting the dropdown theme default colours through CSS. Update dark theme.
2019-11-25 14:18:28 -08:00
Sam El-Husseini
426e17a06d
Move more CSS into renderers. ( #3455 )
...
* Move more CSS into renderers.
2019-11-20 11:57:37 -08:00
Sam El-Husseini
329a21c572
Add theme and renderer classnames onto the widget and dropdown div. ( #3456 )
...
* Add theme and renderer classnames onto the widget and dropdown div.
2019-11-20 11:07:39 -08:00
Sam El-Husseini
70c24cf94e
CSS in renderers ( #3446 )
...
* Have each renderer declare some CSS that is specific to the renderer.
2019-11-18 16:14:19 -08:00
Sam El-Husseini
139382e009
Field textinput pixel perfect input ( #3443 )
...
* Fix sizing of text input field in zelos, pixel perfect input in other browsers
2019-11-14 16:13:22 -08:00
Sam El-Husseini
f9dcb60f82
Zelos replacement highlight ( #3431 )
...
* Zelos replacement highlight
2019-11-13 17:14:28 -08:00
Neil Fraser
a9acd532f0
Pull comment CSS into comment modules.
2019-11-12 13:15:06 -08:00
Sam El-Husseini
d49b3400e6
Add zelos selection highlight. ( #3390 )
...
* zelos selection highlight
2019-11-06 13:47:30 -08:00
Sam El-Husseini
f79740c087
Use zero height / width for compute canvas ( #3369 )
...
* Make the blockly compute canvas have no height or width
2019-10-30 10:59:24 -07:00
Sam El-Husseini
267deceb82
Dropdowndiv positioning ( #3212 )
...
* Fix positioning of the dropdown div
2019-10-16 10:20:40 -05:00
Sam El-Husseini
fba98fca5b
Move the dropdown field into the dropdown div. ( #3122 )
...
* Move the dropdown field into the dropdown div.
2019-10-03 14:35:28 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Neil Fraser
b701475984
Simplify trashcan code ( #3110 )
...
Also delete unused props in CSS.
2019-09-27 11:43:56 -07:00
Neil Fraser
4ed3295ad9
Make generator an optional module ( #3105 )
2019-09-27 10:47:10 -07:00
Neil Fraser
75cf614104
Break CSS into modules. ( #3084 )
...
* Break CSS into modules.
Drops the compile test by 3 KB.
Remove obsolete .blocklyDraggable class stub (it used to be dynamically changed).
Remove unused menuseparator CSS.
2019-09-25 18:01:19 -07:00
Neil Fraser
a03660243e
Code cleanup, drop some CSS.
...
Random improvements to require statements.
Removal of some obviously dead CSS.
.blocklyDropDownDiv no longer supresses text selection (see comment in PR).
This PR drops the compiled size by 4 KB, which is larger than I was expecting.
2019-09-25 10:34:34 -07:00
Neil Fraser
b84cda2c76
Strip out more bloat from toolbox ( #3068 )
...
Also removes three private accesses from workspaceSvg into toolbox tree.
The strategy for workspace.updateToolbox is no longer to clear and repopulate the toolbox, but rather to throw away the old toolbox and rebuild a new one. This is simpler and more reliable.
This commit trims off another KB from the compiled code.
2019-09-23 15:18:32 -07:00
Neil Fraser
fb17b0276d
Remove unused CSS classes.
2019-09-20 10:36:06 -07:00
Rachel Fenichel
6f4476c962
Textarea Field, Multiline Block (from acbart) ( #2663 )
...
* Field Textarea, text_multiline block, generators
2019-09-11 17:57:46 -07:00
Sam El-Husseini
cd56a0c0b2
No Edge/IE close input icon ( #2912 )
...
* Don't show close icon in widgetdiv input in edge and IE
2019-08-26 10:38:44 -07:00
Neil Fraser
096959fde9
Cleanup of last fortnight’s commits. ( #2865 )
...
No functional changes.
2019-08-19 14:07:48 -07:00
Sam El-Husseini
445419e8f8
Update css to show visual indicator of focus on dropdowndivs and widget dropdowns ( #2860 )
2019-08-19 10:51:17 -07:00
Sam El-Husseini
ca83f97074
Colour field accessibility ( #2836 )
...
* Implement key board navigation and aria accessibility for the colour field.
2019-08-16 13:49:05 -07:00
Sam El-Husseini
9203517f3d
Center text field input when editing ( #2776 )
...
* Center text field input when editing
2019-08-05 11:23:47 -07:00
Abby
1c26b6d79b
Adds helper functions for keyboard nav
2019-07-24 11:42:37 -07:00
alschmiedt
8f880d55c3
Revert "Adds type to FieldNumber editor"
2019-07-18 13:02:53 -07:00
alschmiedt
45387faab7
Adds type to FieldNumber editor
2019-07-02 10:53:45 -07:00
Neil Fraser
1535f35ff2
Remove unused CSS image fetch
...
This default Closure image was always being overridden and was never fetched. But it takes some research to determine that this is not in effect a potential monitoring point.
2019-06-10 13:20:33 -07:00
Neil Fraser
6134337568
Reduce memory footprint
...
Blockly.Css.CONTENT isn’t needed after its first use.
There also is no longer a need to store a reference to the stylesheet, just a boolean.
2019-06-10 11:40:41 -07:00
RoboErikG
5056e23389
Fix margins/checkbox in RTL dropdown menus ( #2356 )
...
Fixes #2337 by adding in correct positioning for RTL selected states
and fixing an incorrect margin value.
2019-04-05 15:55:00 -07:00
RoboErikG
1a2cf96a5a
Update selected menu sizing to fix #2351 ( #2353 )
2019-04-01 12:43:19 -07:00
Neil Fraser
405b1e4e78
Lint issues found while debugging.
2019-03-27 15:47:29 -07:00
Rachel Fenichel
dfc74b8c4f
Use dropdownDiv for the angle field as well
2019-02-26 14:54:21 -08:00
Rachel Fenichel
58027b9668
css cleanup
2019-02-26 11:10:55 -08:00
Rachel Fenichel
c426aad387
Use dropdown div for dropdowns
2019-02-21 13:41:45 -08:00
Rachel Fenichel
763a06a7ac
Use dropdown div for colour field
2019-02-21 13:41:45 -08:00
Rachel Fenichel
91408a3238
Add dropdowndiv file
2019-02-21 13:41:45 -08:00
Ashwin Ramaswami
2cc3a8b3d9
Scroll very long context menus
2018-12-18 08:41:14 -05:00
Mehdi Yeganeh
56d5f166de
#172 , Fixed [Edge, IE] Zoom control mouseover is not clipped
2018-12-08 16:16:59 +03:30
Rachel Fenichel
9aa54ac487
Make replaceable child blocks opaque
2018-11-14 11:19:17 -08:00
Rachel Fenichel
4c133e9ecd
Highlight and unhilight the closest connection
2018-11-14 11:19:17 -08:00
Rachel Fenichel
7d775908b9
Add insertion markers.
2018-11-14 11:18:32 -08:00
Neil Fraser
aa09ad9175
Line wrap at 80.
2018-10-16 11:34:10 -07:00