Skip to content

Commit a1db874

Browse files
committed
style: TT-582 add a border radius to current elapsed time box
1 parent 6c16256 commit a1db874

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
.current{
1+
.current-elapsed-time-box{
22
border-color: #FF5E0A;
33
border-width: 2px;
44
background-color: #FF5E0A;
55
color: white;
6+
border-radius: .25rem;
67
}
78

89
.clock-out{
@@ -14,12 +15,11 @@
1415
color: #fff;
1516
padding: 7px 20px;
1617
}
18+
1719
.bt-clock-out:hover{
1820
background: #10a5ce;
1921
box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.56);
20-
-webkit-box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.56);
21-
-moz-box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.56);
22+
-webkit-box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.56);
23+
-moz-box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.56);
2224
color: #fff;
2325
}
24-
25-

src/app/modules/time-clock/components/time-entries-summary/time-entries-summary.component.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
</p>
77
</div>
88
<div class="col-2 col-sm-3">
9-
<div class="current d-flex flex-column justify-content-center align-items-center" style="width: 50%">
9+
<div class="current-elapsed-time-box d-flex flex-column justify-content-center align-items-center" style="width: 50%">
1010
<h6>Current</h6>
1111
<h3>{{ currentWorkingTime }}</h3>
1212
</div>
1313
</div>
1414
<div class="col-7 clock-out">
15-
<button
16-
class="btn bt-clock-out"
17-
type="button"
15+
<button
16+
class="btn bt-clock-out"
17+
type="button"
1818
(click)="clockOut()">
1919
Clock Out
2020
</button>
@@ -24,7 +24,7 @@ <h3>{{ currentWorkingTime }}</h3>
2424
<h6 class="text-left"><strong>Summary</strong></h6>
2525
<hr class="mb-4" />
2626
<div class ="container px-0">
27-
27+
2828
<div class="row pb-4">
2929
<div class="col-12 col-sm-4">
3030
<h6>Day</h6>
@@ -39,5 +39,5 @@ <h6>Month</h6>
3939
<h3>{{ timeEntriesSummary?.month | timeDetails }}</h3>
4040
</div>
4141
</div>
42-
42+
4343
</div>

0 commit comments

Comments
 (0)