Commit graph

176 commits

Author SHA1 Message Date
Andy O'Neill
ffcd546474 feat: add quaternary color for selected dropdowns 2023-03-02 13:46:07 -05:00
Andy O'Neill
46e92fbbfc feat: rename color properties for input text and text 2023-02-15 09:32:37 -05:00
Andy O'Neill
5258e785c1 feat: block text color with stylesheet reloading 2023-02-10 16:32:24 -05:00
Paul Kaplan
c72e6934b4 Use placeholders instead of a default value for comments 2019-07-29 14:40:57 -04:00
Paul Kaplan
6d59fb722f Increase touchable size of checkboxes and extension status buttons. 2019-06-10 11:15:58 -04:00
picklesrus
5d832c396a
Merge pull request from epicfaace/feature/comment-format
Comment formatting improvements
2019-01-15 11:26:22 -05:00
Ashwin Ramaswami
79b9cf6163 Comment formatting improvements 2018-12-19 08:44:20 -05:00
Ashwin Ramaswami
f2bd666580 scroll very long context menus 2018-12-13 12:49:22 -08:00
Karishma Chadha
5b3bffb6f5
Update min height on drop down div, to fix reporters having extra space below text. 2018-12-07 13:09:21 -05:00
Eric Rosenbaum
68f1a8bbb4
Merge pull request from ericrosenbaum/feature/note-picker
Musical note picker field
2018-11-07 10:42:07 -05:00
Paul Kaplan
5ab5db5b71 Disable pointer events on field angle arrow to fix firefox dragging 2018-11-05 11:01:36 -05:00
Eric Rosenbaum
61ff2aacc1 Fix C key fill color 2018-10-30 16:24:51 -04:00
Eric Rosenbaum
45d65c83ce Labels on low and high C keys 2018-10-29 18:36:34 -04:00
chrisgarrity
30a6e67ffa
Handle RTL text ()
* Handle RTL text

Fixes issues related to dropdown menus (right align instead of left align), and bi-directional blocks (e.g., go to x: %1 y:%2, the ‘x: %1 y:%2’ is LTR, but should not be treated as LTR, when rendered in Hebrew it should be ‘%2 :y %1 :x’)

* Set dropdownDiv direction

Set the direction based on the rtl of the block that owns the menu.

Note the css for dropdowns is completely different from blockly (`float` vs `absolute`) as a result of this PR from a couple of years ago: https://github.com/LLK/scratch-blocks/pull/632/

*  use right-left-embed (rle) unicode to force RTL text, and left-right-embed for editing numbers.
2018-08-30 14:05:25 -04:00
Eric Rosenbaum
d794251d86 Set pointer-events: all on FlyoutButton instead 2018-08-01 11:33:33 -04:00
Eric Rosenbaum
be772327dc Merge branch 'bugfix/edge-status-button' of https://github.com/ericrosenbaum/scratch-blocks into ericrosenbaum-bugfix/edge-status-button 2018-08-01 11:30:42 -04:00
Eric Rosenbaum
f3745d0d4e Set pointer-events all on flyout
To fix a bug with the extension status button on windows edge: https://github.com/LLK/scratch-blocks/issues/1660
2018-07-31 17:58:37 -04:00
chrisgarrity
5110bcf454 Widen the category menu
Add 8px to the category menu width so that more category names in other languages fit in the space. It doesn’t solve all of them, but it does help for most. The add extension button width will also need adjustment, but that’s in gui.
2018-07-16 08:14:30 -04:00
chrisgarrity
de63c04eeb Widen the category menu area to accomodate more langs
increasing the category width to 72 allows most of the current languages to fit. This part is in SVG rendering, so it’s not easy to change with multiple styles. The width is calculated and set explicitly on the element.
2018-07-11 15:36:29 -04:00
Kreg Hanning
5f5af7e40c Merge remote-tracking branch 'upstream/develop' into menu-field-matrix 2018-07-05 21:07:44 -04:00
Karishma Chadha
017f536509 Remove explicit z-index from comment foreign body. 2018-06-14 17:26:00 -04:00
Karishma Chadha
18c512fce2 Add comment target back so that workspace comments can be dragged from center of comment as well as top bar. 2018-06-12 14:50:45 -04:00
Kreg Hanning
41683d1387 Add new menu type field matrix 2018-06-06 17:11:55 -04:00
kchadha
e38969831e
Merge pull request from kchadha/comments
Scratch Block Comments
2018-05-30 19:31:06 -04:00
Karishma Chadha
4afc8e5085 Scratch block comments. 2018-05-25 17:21:31 -04:00
Paul Kaplan
c115e6d998 Use transparent instead of none for the button fill.
Mouse up does not fire on the inside of a fill: none; path, but fill: transparent; does click
2018-05-25 13:40:33 -04:00
Rachel Fenichel
6a3692da01 Add the bubble dragger and ws comment basics 2018-05-11 16:35:31 -07:00
kyleplo
bdae081d0b
Fix 2018-03-09 15:25:02 -05:00
Paul Kaplan
7c61985d31
Merge pull request from ivanixgames/fix1381a
Fix behavior of color picker on sensor blocks
2018-03-08 09:27:42 -05:00
ivanixgames
063b0a0669 - 3rd patch for issue 1381
- Removed saturation conversion patch
  - setMoveToPointEnabled patch left in place
  - Converted css property margin-top to top in .goog-slider-horizontal .goog-slider-thumb
2018-03-08 15:56:21 +08:00
DD
f057073552 Move style change to block css 2018-02-15 18:13:06 -05:00
Karishma Chadha
d2957c0b31 Whitespace message dropdown menu option rendering fixed. 2017-12-21 14:56:42 -05:00
Eric Rosenbaum
f4aff45250 Add optional icon to category menu 2017-12-19 14:23:45 -05:00
Paul Kaplan
00ce41ce85 Use custom class for overflow behavior 2017-12-01 12:22:20 -05:00
Paul Kaplan
06931302a3 Fix license, indentation and move constants into CSS 2017-12-01 12:22:20 -05:00
Paul Kaplan
95a8be63c2 Add removable text input and callbacks 2017-12-01 12:22:19 -05:00
Paul Kaplan
91beeb9674 Render label with secondary color background and white text 2017-11-21 10:41:25 -05:00
Eric Rosenbaum
619fb631e7 Set category menu width in px for clarity 2017-11-01 11:42:50 -04:00
Eric Rosenbaum
3f40225536 Tighten up the category menu
To make space for additional items
2017-10-31 18:30:24 -04:00
Rachel Fenichel
5e386d5bd0 Fix iOS toolbox flashing on tap () 2017-10-19 16:57:47 -04:00
picklesrus
0c09d60ff7 Fix by adding a more specific rule for overflow:visible on the … ()
* Fix  by adding a more specific rule for overflow:visible on the drag surface svg.  This wins out over a common bootstrap rule that says: svg:not(:root) {overflow:hidden} and helps avoid a difficult problem for Blockly users to diagnose.

* Update css.js
2017-10-19 11:59:21 -04:00
Eric Rosenbaum
b4f1aa43bc Merge pull request from ericrosenbaum/feature/all-the-blocks-flyout
Single auto-scrolling flyout containing all of the blocks
2017-09-26 16:36:05 -04:00
Paul Kaplan
468bff28c7 Move new slider picker into new field_colour_slider field file 2017-09-19 10:34:32 -04:00
Paul Kaplan
c55bc4b8c3 Replace colour grid with sliders 2017-09-19 10:34:32 -04:00
Eric Rosenbaum
e3123af4d8 Fix layout of flyout labels 2017-08-28 15:11:08 -04:00
Eric Rosenbaum
05655aaf0c Style flyout labels 2017-08-28 15:11:08 -04:00
Paul Kaplan
4f4e1b6812 Allow category menu to render horizontally 2017-08-25 10:25:11 -04:00
Eric Rosenbaum
101d195e48 Vertical category menu 2017-08-22 15:49:51 -04:00
Paul Kaplan
5056f797d5 WIP draggable angle picker update 2017-08-14 17:08:57 -04:00
Paul Kaplan
15a2fa7aeb Remove drag transparency 2017-07-27 15:35:08 -04:00