[Frontend] In-progress checkin: color palette SASS

WTD-847
Significant markup and CSS for color palette support;
This commit is contained in:
Charles Hacskaylo
2015-02-25 18:17:11 -08:00
parent bdd070e12f
commit a0f31132e3
12 changed files with 205 additions and 68 deletions

View File

@@ -1,4 +1,5 @@
<div ng-style="{ 'background-image': 'url(' + ngModel.element.url + ')', border: '1px solid ' + ngModel.stroke() }"
class="l-fixed-position-image"
style="">
<div
ng-style="{ 'background-image': 'url(' + ngModel.element.url + ')', border: '1px solid ' + ngModel.stroke() }"
class="l-fixed-position-image"
>
</div>

View File

@@ -1,5 +1,6 @@
<div
class="l-fixed-position-text l-static-text"
ng-style="{ background: ngModel.fill(), 'border-color': ngModel.stroke(), color: ngModel.color() }">
ng-style="{ background: ngModel.fill(), 'border-color': ngModel.stroke(), color: ngModel.color() }"
>
{{ngModel.element.text}}
</div>

View File

@@ -11,7 +11,7 @@
<!-- Fixed position elements -->
<!-- TO-DO: Should not be applying positioning styles to the mct-include element.
<!-- TO-DO: Should not be applying positioning styles or CSS classes to the mct-include element.
Instead, these should be passed on to the actual HTML element within the template -->
<mct-include ng-repeat="element in controller.getElements()"
key="element.template"