Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Better color picker widget for #66 or whatever else
- Loading branch information
Showing
5 changed files
with
102 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
<table class="color-picker"> | ||
<tr> | ||
<td ng-repeat="color in colorList"> | ||
<div class="{{color.select}}" style="background-color: {{color.color}};" | ||
ng-click="selectColor(color)"> | ||
</div> | ||
<td> | ||
</tr> | ||
</table> | ||
<div class="color-picker"> | ||
<div class="wrapper"> | ||
<div class="selected-color" style="background-color: {{property}};" ng-click="popout = !popout"></div> | ||
</div> | ||
<div class="color-picker-popout"> | ||
<table> | ||
<tr> | ||
<td ng-repeat="color in colorList"> | ||
<div class="{{color.select}}" style="background-color: {{color.color}};" | ||
ng-click="selectColor(color)"> | ||
</div> | ||
<td> | ||
</tr> | ||
</table> | ||
<i class="icon-remove" ng-click="popout = !popout"></i> | ||
</div> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ module UI { | |
|
||
|
||
$scope.myColor = "#FF887C"; | ||
$scope.showColorDialog = false; | ||
|
||
|
||
} | ||
|
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