Skip to content

Commit a8e7e79

Browse files
committed
style: TT-582 improved the clocked in hour text and current time box
1 parent ee212af commit a8e7e79

File tree

16 files changed

+153
-8
lines changed

16 files changed

+153
-8
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "time-tracker",
3-
"version": "1.66.0",
3+
"version": "1.69.1",
44
"scripts": {
55
"config": "ts-node ./scripts/setenv.ts",
66
"preinstall": "npx npm-force-resolutions",
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
table.dataTable thead th {
2+
position: relative;
3+
}
4+
5+
table.dataTable thead th.sorting:after,
6+
table.dataTable thead th.sorting_asc:after,
7+
table.dataTable thead th.sorting_desc:after {
8+
position: absolute;
9+
top: 10px;
10+
right: 3px;
11+
display: block;
12+
font-family: Arial, Helvetica, sans-serif;
13+
color: #ff5e0a;
14+
-webkit-text-stroke: 2px white;
15+
}
16+
17+
table.dataTable thead .sorting_asc::after {
18+
content: "";
19+
}
20+
21+
table.dataTable thead .sorting_desc::after {
22+
content: "";
23+
}
24+
25+
table.dataTable thead .sorting_asc,
26+
table.dataTable thead .sorting_desc {
27+
background-image: none;
28+
}

src/app/modules/customer-management/components/customer-info/components/customer-list/customer-list.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ export class CustomerListComponent implements OnInit, OnDestroy, AfterViewInit {
3030
@Output() changeValueShowCustomerForm = new EventEmitter<boolean>();
3131
@Input()
3232
customers: CustomerUI[] = [];
33-
dtOptions: any = {};
33+
dtOptions: any = {
34+
columnDefs: [{orderable: false, targets: [2]}]
35+
};
3436
dtTrigger: Subject<any> = new Subject();
3537
@ViewChild(DataTableDirective, { static: false })
3638
dtElement: DataTableDirective;

src/app/modules/reports/components/time-entries-table/time-entries-table.component.scss

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,31 @@ $url-hover-color: darken($url-base-color, 20);
5555
}
5656
}
5757

58+
table.dataTable thead th {
59+
position: relative;
60+
}
61+
62+
table.dataTable thead th.sorting:after,
63+
table.dataTable thead th.sorting_asc:after,
64+
table.dataTable thead th.sorting_desc:after {
65+
position: absolute;
66+
top: 10px;
67+
right: 3px;
68+
display: block;
69+
font-family: Arial, Helvetica, sans-serif;
70+
color: #ff5e0a;
71+
-webkit-text-stroke: 2px white;
72+
}
73+
74+
table.dataTable thead .sorting_asc::after {
75+
content: "";
76+
}
77+
78+
table.dataTable thead .sorting_desc::after {
79+
content: "";
80+
}
81+
82+
table.dataTable thead .sorting_asc,
83+
table.dataTable thead .sorting_desc {
84+
background-image: none;
85+
}

src/app/modules/shared/components/details-fields/details-fields.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
id="uri"
6666
type="text"
6767
placeholder="Enter Jira ticket URL"
68-
class="form-control"
68+
class="url-ticket-input form-control"
6969
aria-label="Small"
7070
aria-describedby="inputGroup-sizing-sm"
7171
/>

src/app/modules/shared/components/details-fields/details-fields.component.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,14 @@ input[type="date"]::-webkit-clear-button {
119119
::ng-deep .cdk-overlay-container {
120120
z-index: 1100 !important;
121121
}
122+
123+
.url-ticket-input {
124+
border: 1px solid #ced4da;
125+
border-radius: 0.25rem;
126+
}
127+
128+
::ng-deep .ngx-timepicker {
129+
border: 1px solid #ced4da;
130+
border-radius: 0.25rem;
131+
padding: 2px;
132+
}

src/app/modules/shared/components/month-picker/month-picker.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div class="row content-months">
2323
<div class="spacing col-xl-1 col-lg-1 col-md-2 col-2" *ngFor="let month of months; let i = index">
2424
<button class="btn btn-light btn-block"
25-
[ngClass]="{'btn-primary': isSelectedMonth(i)}"
25+
[ngClass]="{'btn-primary selected-month': isSelectedMonth(i)}"
2626
(click)="selectMonth(i)"
2727
[disabled]="monthEnable(i)">
2828
<small>{{ month.slice(0, 3) }}</small>

src/app/modules/shared/components/month-picker/month-picker.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
}
2525
}
2626

27+
.selected-month {
28+
color: white;
29+
}
30+
2731
.align-item {
2832
display: flex;
2933
justify-content: center;

src/app/modules/time-clock/components/entry-fields/entry-fields.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
placeholder="Enter Jira ticket URL"
2121
id="uri"
2222
formControlName="uri"
23-
class="form-control"
23+
class="url-ticket-input form-control"
2424
/>
2525
</div>
2626

0 commit comments

Comments
 (0)