Git Product home page Git Product logo

layerstyles's Introduction

Layer Styles

A HTML5 app for creating CSS3 in a intuitive way.

Highlights

  • Colorpicker can pick any color of the element your working on
  • Drag and Drop images onto the page to use them as a background or to pick their colors
  • Color Swatches, Gradients and Styles are locally stored

layerstyles's People

Contributors

aziz avatar mrflix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

layerstyles's Issues

Gradients bug

HI,

When playing with gradients (after having deleted a "color point"), I got this error on line 84 of tools.js :
"Cannot read property 'length' of undefined element"

Very great tool, btw. Should be added to the real Photoshop ;)

License?

Hi I was wondering what licence you have released this under? thanks!

Associate labels with corresponding form elements

Would be a great accessibility practice if one could click on a forms label to focus on its input. That's how I expected it and the same way Photoshop does it (at least, if its single option).
To do so all inputs had to be given an ID corresponding to a label.
For example builder.html line 79 would become

<input type="checkbox" id="globalLight"><label for="globalLight">Use Global Light</label> 

Distance only vertical

Shadow distance can only get a vertical length, not horizontal.

Maybe a slider control is not really fit for a two-dimensional number heh ;)

Global Light doesn't seem to work

Global Light seems to be permanently at 90°.

If I tick "Use Global Light" in the Drop Shadow tab, set it to, say, 135 degrees, then go to another tab and tick it it should bounce to 135 - instead it goes to 90.

Firefox 4, Windows 7

Gradient dialog freezes

I had frequent freezes of the gradient dialog and it's color picker on Firefox 3.6 and Chrome 12.
This is what I do:

  1. Open new session of the LayerStyles Editor
  2. Pick Background, leave the linear gradient selected and click on the gradient to get to the Gradient dialog
  3. Pick the first lever of the gradient slider and change it's color
  4. Pick the second lever of the gradient slider and change color, now this second box usually freezes and neither OK nor Cancel works and I can only restart the session.

Angle Input

The angle dial allows the input negative numbers. When the focus is changed, an alert appears saying that an integer value between 0 and 360 is required.

Opera gradients

Opera 11 now supports linear gradients. Maybe it's a good idea to add its syntax to the generated css code. The syntax is (as far as I can tell) the same as the mozilla syntax, except it uses the -o- prefix.

Border radius improvements

Border radius can get two improvements

  • Border radius per corner works weird. It seems to be write-only. Needs a clearer interface.
  • Elliptic border radius (e.g. "border-radius: 10px/20px")

Gradient opacity

It seems impossible to make gradients with transparent colors in them. Only the whole gradient can get opacity, which is weird and does "flow" with the way CSS works. I guess the color chooser simply needs an opacity slider as well, a bit like in Inkscape maybe.

Colorpicker bug in Firefox

The colorpicker doesn't work right when the CSS Code is shown. The reason for this is firefox's css flex-box implementation which doesn't resize the flex-boxes if one changes it's size.
Solution: don't use flex-box

UI: Hover effect on buttons

The buttons need a hover effect to give feedback to the user that something is happening, because it looks sometimes like it froze.

Can't use number pad to enter numbers

When trying to change a number (for example, Opacity or Angle) I can't use the number pad to the right of my keboard (and I did remember to turn Num Lock on!). Numbers above the letter keys work fine.

Firefox 4, Windows 7.

Negative shadow size

It should be possible to make shadow size negative as well. It sounds odd, but in stead of making an outer shadouw bigger, it becomes smaller. And the other way around for inner shadows.

The same goes for distance.

Can't input the number

Hey :) LS looks awesome. However I can't seem to put a number into the input at the border radius section. Also when deleting the 0 from the input it gets replaced by NaN.

(using Chrome 11)

Generate CSS for IE

Can't be done for everything, but a bit of IE support would be nice.

E.g.
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#444444', EndColorStr='#999999');

Multiple Shadows & Text

LOVE it.

But would be nice to see an option to create multiple drop/inner shadows on the object (as is possible through CSS).

Also would be great to have a text styling option, to style text...rather than an object. So you can recreate stuff like borders (using shadows) etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.