Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
250 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 24 additions & 13 deletions
37
assets/javascripts/app/views/inspector/text_shadow.jst.eco
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,20 +1,31 @@ | |||
<h3>Text Shadow</h3> | <h3>Text Shadow</h3> | ||
|
|
||
<article> | <article> | ||
<label> | <div class="hbox"> | ||
<span>X</span> | <input type="position" name="position"> | ||
<input type="number" name="x" placeholder="0px"> | |||
</label> | |||
|
|
||
<label> | <div class="vbox"> | ||
<span>Y</span> | <label> | ||
<input type="number" name="y" placeholder="0px"> | <span>X</span> | ||
</label> | <input type="number" name="x" placeholder="0px"> | ||
</label> | |||
|
|
||
<label> | <label> | ||
<span>Blur</span> | <span>Y</span> | ||
<input type="number" name="blur" placeholder="0px"> | <input type="number" name="y" placeholder="0px"> | ||
</label> | </label> | ||
</div> | |||
|
|
||
<input type="color" name="color"> | <div class="vbox"> | ||
<label class="blur"> | |||
<span>Blur</span> | |||
<input type="number" name="blur" placeholder="0px"> | |||
</label> | |||
|
|||
<label class="color"> | |||
<span>Color</span> | |||
<input type="color" name="color"> | |||
</label> | |||
</div> | |||
</div> | |||
</article> | </article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
#app .inspector .textShadow { | |||
.positionPicker { | |||
margin: 3px 5px 3px 0 | |||
} | |||
|
|||
label { | |||
span { | |||
margin-left: 3px | |||
width: auto | |||
} | |||
} | |||
|
|||
.blur span, .color span { | |||
width: 33px | |||
} | |||
|
|||
.color span { | |||
position relative | |||
top: -6px | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.