|
1 | | -<div class="controls" [class.short]="lastHeight <= 420 && lastHeight > 380" [class.extra-short]="lastHeight <= 380"> |
| 1 | +<div class="controls tbw-dark-mode" [class.short]="lastHeight <= 420 && lastHeight > 380" [class.extra-short]="lastHeight <= 380"> |
2 | 2 | <div class="place-name-group"> |
3 | 3 | <span *ngIf="!canSaveName && placeName" class="place-name">{{placeName}}</span> |
4 | 4 | <span *ngIf="!canSaveName && !placeName" class="no-name">No name provided</span> |
|
20 | 20 | wideSpinner |
21 | 21 | (click)="checkIfTimeIsEditable()" |
22 | 22 | pTooltip='Uncheck on "Track current time" to modify the time' |
| 23 | + tooltipPosition="bottom" |
23 | 24 | [tooltipDisabled]="!trackTime" |
24 | 25 | [options]="isoFormat ? ISO_OPTS : LOCAL_OPTS" |
25 | 26 | [viewOnly]="trackTime" |
|
29 | 30 | <i class="pi pi-caret-right" (click)="skipToEvent()"></i> |
30 | 31 | </div> |
31 | 32 | <div class="button-row"> |
32 | | - <p-checkbox [(ngModel)]="isoFormat" [binary]="true" label="ISO input format"></p-checkbox> |
| 33 | + <p-checkbox [(ngModel)]="isoFormat" [binary]="true" label="ISO time format"></p-checkbox> |
33 | 34 | <p-checkbox [(ngModel)]="disableDst" [binary]="true" label="Disable DST on clock" (onChange)="updateTime(true)"></p-checkbox> |
34 | 35 | </div> |
35 | 36 | <tze-zone-selector [(ngModel)]="zone" [recents]="recentLocations" (clearItem)='clearItem($event)' (clearRecents)="clearRecents()" |
36 | 37 | [autofocus]="false" [disabled]="canSaveName" (location)="changeLocation($event)"></tze-zone-selector> |
37 | | - <div class="button-row"> |
38 | | - <p-checkbox [(ngModel)]="trackTime" [binary]="true" label="Track current time"></p-checkbox> |
| 38 | + <div class="button-row time-row"> |
| 39 | + <p-checkbox [(ngModel)]="trackTime" [binary]="true" label="Track current time"></p-checkbox><span> </span> |
39 | 40 | <button type="button" pButton (click)="setNow()" [disabled]="trackTime">Now</button> |
40 | 41 | </div> |
41 | 42 | <div class="button-row"> |
|
46 | 47 | </div> |
47 | 48 | </div> |
48 | 49 |
|
49 | | -<div id="graphics-credit">Original SVG clock graphics by Jan Tošovský</div> |
50 | | - |
51 | 50 | <div id="svg-wrapper"> |
52 | 51 | <svg viewBox="0 0 600 600" xml:space="preserve"> |
53 | 52 | <defs> |
|
167 | 166 | <path id="sunrisePath" [attr.d]="sunriseLabelPath" class="textPath"/> |
168 | 167 | <path id="sunsetPath" [attr.d]="sunsetLabelPath" class="textPath"/> |
169 | 168 | <path id="solNoctis" [attr.d]="solNoctisPath" class="textPath"/> |
| 169 | + <!-- cspell:disable --> |
170 | 170 | <text> |
171 | 171 | <textPath xlink:href="#sunrisePath" [attr.startOffset]="southern ? '40%' : '54%'" class="eventText"> |
172 | 172 | <tspan [style.font-size]="riseSetFontSize">ɐɑɒɓɔ</tspan><!-- ORTUS --> |
|
192 | 192 | <tspan dy="-2" [style.font-size]="'12px'">ⓈⓄⓁ ⓃⓄⒸⓉⒾⓈ</tspan><!-- CREPUSCULUM --> |
193 | 193 | </textPath> |
194 | 194 | </text> |
| 195 | + <!-- cspell:enable --> |
195 | 196 | </g> |
196 | 197 | <g id="time"> |
197 | 198 | <path id="timeTextPath" d="M0.0 -221.0C122.0 -221.0 221.0 -122.0 221.0 0.0C221.0 122.0 122.0 221.0 0.0 221.0C-122.0 221.0 -221.0 122.0 -221.0 0.0C-221.0 -122.0 -122.0 -221.0 0.0 -221.0" class="textPath"/> |
|
608 | 609 | </svg> |
609 | 610 | </div> |
610 | 611 |
|
| 612 | +<div id="graphics-credit">Original SVG clock graphics by Jan Tošovský</div> |
| 613 | + |
611 | 614 | <p-toast position="center"></p-toast> |
612 | 615 | <p-confirmDialog header="Change time"></p-confirmDialog> |
0 commit comments