[Frontend] Time controller-related styling

open #1515
open #117
Markup changed to utilize mct-representation via CSS;
time-controller now uses list-based _constants values;
ConductorRepresenter.js modded to remove inline styling
and to add CSS classes to enclosing mct-representation;
This commit is contained in:
Charles Hacskaylo
2015-09-29 08:43:34 -07:00
parent 23de3917bb
commit 333f7cb848
14 changed files with 339 additions and 315 deletions

View File

@@ -28,13 +28,8 @@ define(
var CONDUCTOR_HEIGHT = "100px",
TEMPLATE = [
'<div style=',
'"position: absolute; bottom: 0; width: 100%; ',
'overflow: hidden; ',
'height: ' + CONDUCTOR_HEIGHT + '">',
"<mct-include key=\"'time-controller'\" ng-model='conductor'>",
"</mct-include>",
'</div>'
"</mct-include>"
].join(''),
GLOBAL_SHOWING = false;
@@ -126,8 +121,7 @@ define(
this.conductorElement =
this.$compile(TEMPLATE)(this.conductorScope());
this.element.after(this.conductorElement[0]);
this.element.addClass('abs');
this.element.css('bottom', CONDUCTOR_HEIGHT);
this.element.addClass('l-controls-visible l-time-controller-visible');
GLOBAL_SHOWING = true;
}
};