Skip to content
Snippets Groups Projects
  1. Feb 15, 2017
    • Steven Dale's avatar
      Design pass: layout panes, sprite libraries, info area, import buttons, + menu bar (#83) · 74dde69f
      Steven Dale authored
      * 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.
      74dde69f
  2. Feb 14, 2017
  3. Feb 10, 2017
  4. Feb 09, 2017
  5. Feb 08, 2017
  6. Feb 07, 2017
  7. Feb 06, 2017
  8. Feb 03, 2017
  9. Feb 02, 2017
  10. Feb 01, 2017
  11. Jan 31, 2017
    • Ray Schamp's avatar
      Cache stage bounding box · 6385cb06
      Ray Schamp authored
      `getBoundingClientRect` forces WebKit to recalculate the layout ("force reflow"), so cache the canvas bounding box rather than getting it on every mouse event.
      6385cb06
  12. Jan 30, 2017
  13. Jan 28, 2017
  14. Jan 27, 2017
  15. Jan 25, 2017
  16. Jan 24, 2017
  17. Jan 23, 2017
Loading