-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
33 changed files
with
404 additions
and
174 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,7 +107,6 @@ | |
white-space: nowrap; | ||
} | ||
|
||
|
||
&-range-guide { | ||
position: absolute; | ||
top: 0; | ||
|
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
32 changes: 25 additions & 7 deletions
32
src-ui/app/components/cct-input-setting/cct-input-setting.component.html
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,10 +1,28 @@ | ||
<div class="wrapper" (clickOutside)="inputOpen = false"> | ||
<input type="text" [value]="displayValue()" readonly (mouseenter)="mouseEnter('INPUT')" | ||
(mouseleave)="mouseLeave('INPUT')" [disabled]="disabled" | ||
[style.background-color]="cctColor"> | ||
<div class="input-container" *ngIf="inputOpen" @fade (mouseenter)="mouseEnter('CONTAINER')" | ||
(mouseleave)="mouseLeave('CONTAINER')"> | ||
<app-slider [min]="1000" [max]="10000" [snapValues]="[6600]" [snapDistance]="200" [value]="value()" [step]="50" | ||
(valueChange)="updateValue($event)"></app-slider> | ||
<input | ||
type="text" | ||
[value]="displayValue()" | ||
readonly | ||
(mouseenter)="mouseEnter('INPUT')" | ||
(mouseleave)="mouseLeave('INPUT')" | ||
[disabled]="disabled" | ||
[style.background-color]="cctColor" | ||
/> | ||
<div | ||
class="input-container" | ||
*ngIf="inputOpen" | ||
@fade | ||
(mouseenter)="mouseEnter('CONTAINER')" | ||
(mouseleave)="mouseLeave('CONTAINER')" | ||
> | ||
<app-slider | ||
[min]="1000" | ||
[max]="10000" | ||
[snapValues]="[6600]" | ||
[snapDistance]="200" | ||
[value]="value()" | ||
[step]="50" | ||
(valueChange)="updateValue($event)" | ||
></app-slider> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ input { | |
border: 0; | ||
box-shadow: none; | ||
} | ||
|
||
} | ||
|
||
.color-input-wrapper { | ||
|
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
44 changes: 39 additions & 5 deletions
44
src-ui/app/components/duration-input-setting/duration-input-setting.component.html
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,15 +1,49 @@ | ||
<div class="wrapper" (clickOutside)="inputOpen = false"> | ||
<input type="text" [value]="displayValue()" readonly (mouseenter)="mouseEnter('INPUT')" (mouseleave)="mouseLeave('INPUT')" [disabled]="disabled"> | ||
<div class="input-container" *ngIf="inputOpen" @fade (mouseenter)="mouseEnter('CONTAINER')" (mouseleave)="mouseLeave('CONTAINER')"> | ||
<input | ||
type="text" | ||
[value]="displayValue()" | ||
readonly | ||
(mouseenter)="mouseEnter('INPUT')" | ||
(mouseleave)="mouseLeave('INPUT')" | ||
[disabled]="disabled" | ||
/> | ||
<div | ||
class="input-container" | ||
*ngIf="inputOpen" | ||
@fade | ||
(mouseenter)="mouseEnter('CONTAINER')" | ||
(mouseleave)="mouseLeave('CONTAINER')" | ||
> | ||
<div class="input-container-labels"> | ||
<span>H</span> | ||
<span>M</span> | ||
<span>S</span> | ||
</div> | ||
<div class="input-container-inputs"> | ||
<input type="number" [value]="hours()" min="0" max="24" (input)="setHours(hourInput.value)" #hourInput> | ||
<input type="number" [value]="minutes()" min="0" max="60" (input)="setMinutes(minuteInput.value)" #minuteInput> | ||
<input type="number" [value]="seconds()" min="0" max="60" (input)="setSeconds(secondInput.value)" #secondInput> | ||
<input | ||
type="number" | ||
[value]="hours()" | ||
min="0" | ||
max="24" | ||
(input)="setHours(hourInput.value)" | ||
#hourInput | ||
/> | ||
<input | ||
type="number" | ||
[value]="minutes()" | ||
min="0" | ||
max="60" | ||
(input)="setMinutes(minuteInput.value)" | ||
#minuteInput | ||
/> | ||
<input | ||
type="number" | ||
[value]="seconds()" | ||
min="0" | ||
max="60" | ||
(input)="setSeconds(secondInput.value)" | ||
#secondInput | ||
/> | ||
</div> | ||
</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
Oops, something went wrong.