[Frontend] Styling for controls
Fixes #1324 CSS, markup, new glyphs for brightness and contrast
This commit is contained in:
@@ -2,20 +2,19 @@
|
||||
<div class="l-image-main-wrapper l-flex-col"
|
||||
ng-mouseenter="showLocalControls = true;"
|
||||
ng-mouseleave="showLocalControls = false;">
|
||||
<div
|
||||
class="l-local-controls s-local-controls"
|
||||
ng-show="false && showLocalControls">
|
||||
<a class="s-button icon-arrow-left"
|
||||
ng-click="plot.stepBackPanZoom()"
|
||||
ng-show="1"
|
||||
title="Restore previous pan/zoom">
|
||||
</a>
|
||||
<div class="l-local-controls s-local-controls s-wrapper-transluc"
|
||||
ng-show="showLocalControls">
|
||||
<input class="icon-contrast" type="range"
|
||||
min="0"
|
||||
max="200"
|
||||
ng-model="filters.contrast">
|
||||
</input>
|
||||
|
||||
<a class="s-button icon-arrows-out"
|
||||
ng-click="plot.unzoom()"
|
||||
ng-show="1"
|
||||
title="Reset pan/zoom">
|
||||
</a>
|
||||
<input class="icon-brightness" type="range"
|
||||
min="0"
|
||||
max="200"
|
||||
ng-model="filters.brightness">
|
||||
</input>
|
||||
</div>
|
||||
|
||||
<div class="l-image-main s-image-main flex-elem grows"
|
||||
@@ -33,16 +32,6 @@
|
||||
<span class="l-date">{{imagery.getDate()}}</span>
|
||||
</div>
|
||||
<div class="right flex-elem">
|
||||
<input type="range"
|
||||
min="0"
|
||||
max="200"
|
||||
ng-model="filters.contrast">
|
||||
</input>
|
||||
<input type="range"
|
||||
min="0"
|
||||
max="200"
|
||||
ng-model="filters.brightness">
|
||||
</input>
|
||||
<a class="s-button pause-play"
|
||||
ng-click="imagery.paused(!imagery.paused())"
|
||||
ng-class="{ paused: imagery.paused() }"></a>
|
||||
|
||||
Reference in New Issue
Block a user