Commit Graph
30 Commits
Author SHA1 Message Date
Paul Kaplan cb401ec6d8 Make the sprite drop area from the backpack highlight and large
Fixes useability issue where the drop area was too small, and you couldn't see it.
2019-01-07 10:09:03 -05:00
Paul Kaplan 2b132ed5bd Give max-width to sprite tiles to prevent long names issue 2018-12-12 20:55:39 -05:00
chrisgarrity 67f4496947 Action menu RTL
This bled into normalizing z-indices for the action menus in the z-index.css. The tooltip id was not unique between action menus for ‘suprise’ and ‘paint’, so `mainTooltipId` was used as a prefix to make them unique.
2018-08-01 15:55:10 -04:00
kyleplo d8547c4b72 Fix shadow placeholder color 2018-07-18 09:50:38 -04:00
Paul Kaplan 62f1443774 Fix the sprite layout by making the layout code apply to the wrapper 2018-06-22 12:48:01 -04:00
Paul Kaplan a4603bce1d Merge pull request #2323 from paulkaplan/reorderable-sprites
Make costumes, sounds and sprites sortable
2018-06-14 13:22:17 -04:00
Paul Kaplan 98b0765051 Make costume and sound tabs sortable 2018-06-13 11:07:25 -04:00
Christopher Willis-Ford 648062da88 Tweak z-index of the button to add a sprite 2018-06-12 16:03:14 -07:00
sjhuang26 1841710483 Change styles 2018-06-08 20:21:39 -04:00
Paul Kaplan 14aedcec03 Refactor sprite hover animation to use auto prefixer 2018-05-25 10:12:28 -04:00
carljbowman 013c9a1872 Modified some UI details with new color system
Updates include modifications to interaction states for the following: tabs, add menus, forms, and stage selector.
2018-04-09 13:19:05 -04:00
carljbowman 4e30c0b0c7 Unifiy colors variables
- Auditing color CSS and componet CSS to make consistent.
- Made a first pass of changes to increase contrast to elements that previously were problematic
2018-04-09 13:16:26 -04:00
DD 247a03fef9 Switch to mouse enter and mouse leave 2018-02-26 16:56:31 -05:00
DD fbdad71b38 Merge branch 'develop' into blockDrag 2018-02-26 16:36:07 -05:00
Paul Kaplan 688ee5c73c Add thermometer menus with new surprise options 2018-02-26 09:51:20 -05:00
DD 4aa3b20a93 Add very simple end animation 2018-02-23 15:35:42 -05:00
DD 2f31d434e9 fix tests 2018-02-20 16:24:55 -05:00
DD f2c50cd646 Update wiggle look 2018-02-20 16:13:27 -05:00
DD f768c28dbf adjust wiggle 2018-02-20 16:13:27 -05:00
DD d51952f99f Add block drag reactions 2018-02-20 16:13:27 -05:00
Paul Kaplan 07a5afd738 Replace new sprite and new backdrop buttons with the new round button. 2018-01-30 17:10:15 -05:00
Paul Kaplan 7a55ef8448 Fix more spacing 2017-08-14 09:28:04 -04:00
Paul Kaplan 610ce74c39 Move add sprite and backdrop to their correct containers 2017-08-09 17:17:14 -04:00
Steven Dale 0e56f866e5 TODO: -> @todo: (#213)
Refactored towards better convention for linting.
2017-03-07 17:43:10 -05:00
Steven Dale a2700dcbd6 StageArea: fixed space near edge on projects with less than 1 row of sprites (#148) 2017-03-01 17:58:53 -05:00
Steven Dale 63950a5fdb Stage/Backdrop: Design pass (#134)
* Stage/Backdrop: design pass. Changed how selected state works to keep width of pane from shifting. Switched to fixed pixel width to match design spec
* SpriteSelector: removed flex basis width. Pane grows to expand the empty space, since Stage is now fixed width
* SpriteInfo: updated to correct dropdown values. Updated 2nd row type sizing and radio box border-radius
* SpriteInfo: made labels non-selectable. StageArea: added border
* SpriteSelectorItem: Updating type size to match SpriteInfo
2017-02-28 14:33:32 -05:00
Steven Dale 7f0141e7af Configurable SpriteSelectorItems per row (#90). Standardized spacer variable (#84). MenuBar Pass (#130)
* Standardized use of space units where appropriate
* Reversed box classes for easier readability in Inspector
* Sprite Area: removed unused info button
* SpriteSelectorItems: fixed spacing between rows. Isolated layout + component CSS, now reusable in other context. Items per row is now easily configurable
* MenuBar: refactored structure for clickable items
2017-02-27 13:40:49 -05:00
Steven Dale 74dde69fd0 Design pass: layout panes, sprite libraries, info area, import buttons, + menu bar (#83)
* Covers parts of these issues: GUI layout panes (#69), sprite libraries (#12), import buttons (#64), menu bar (#67), and sprite info area (#53)

~ Refactored layout pane structure by removing `display: flex` from `.box`, by default. Declaring flex instead only where specifically needed. This helped fix layout quirks, and should help us avoid hard to find issues related to nested flex boxes

~ Added descriptive classnames to boxes/containers/wrappers. Moved more padding, margins + layout into these wrappers to help with component reusability.

~ Set up a spacer unit variable inside `gui.css`, to start keeping consistent padding, margins and rounded corners between panes. Used [CSS/PostCSS Modules](https://github.com/css-modules/postcss-modules-values) to avoid SCSS dependency.

~ Refactored inline styles from JSX, into CSS files. 2 reasons: a) prepping for reuse of CSS Module variables. b) Feels easier to debug complex flex layouts when all the styles are in one place vs JS/HTML/CSS syntax mixed together

~ Added menu bar into layout via new component, and sprite info header in sprite selector pane, with stubs for the labels + forms. Sprite items are correctly scrolling, while leaving the header fixed, in Chrome. Mostly working in FFx. Not working in Safari, IE yet.

~ Style pass on library modal

~ Experimenting with a few different transition styles: Logo in menu bar, sprite library items, Add buttons.
2017-02-15 08:46:16 -05:00
Ray Schamp 789fd14653 Layout pass
Move layout styles from component stylesheets to the GUI, or the component that is placing the component.

Add a new `Box` component to control layouts, basically giving a convenient way to lay out with flexbox.

Use `Box` as the output component for any component that may need to be passed layout options. The props passing convention allows giving layout props to the final `Box` component, making wrapping with another `Box` unnecessary in some cases.
2016-12-15 11:14:40 -05:00
Ray Schamp 16fbb64cca Use CSS modules for styles
The inline css method gives us nothing that CSS modules can't give us. This puts the project more in line with the way www works, and makes CSS actually readable.

Using class names gives us full control of the modal styles.
2016-12-07 15:59:07 -05:00