Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 9bf2ff6

Browse files
author
vikasrohit
committed
Merge pull request #350 from appirio-tech/feature/stalled-ios-card-state
Feature/stalled ios card state
2 parents db612d1 + 08fea27 commit 9bf2ff6

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

app/directives/ios-card/ios-card.directive.jade

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@
99
.challenge-details
1010

1111
p.currentPhase {{challenge.userCurrentPhase}}
12+
1213
.challenge-calendar(ng-show="challenge.userCurrentPhaseEndTime")
1314
p.ends-in Ends In
1415
p.time-remaining {{challenge.userCurrentPhaseEndTime[0]}}
1516
p.unit-of-time {{challenge.userCurrentPhaseEndTime[1]}}
1617

18+
.stalled-challenge(ng-hide="challenge.userCurrentPhaseEndTime") This challenge is currently paused.
19+
1720
p.prize-money(ng-show="challenge.reviewType === 'PEER'") Peer Review Challenge
1821

1922
p.prize-money(ng-hide="challenge.reviewType === 'PEER'") {{challenge.totalCheckpointPrize || 0 | currency:undefined:0}}

assets/css/directives/ios-card.scss

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ ios-card .challenge.tile-view {
4949
align-items: center;
5050

5151
.currentPhase {
52-
margin-top: 42px;
52+
margin-top: 40px;
53+
@include sofia-pro-light;
54+
font-size: 20px;
55+
line-height: 24px;
5356
}
5457
}
5558

@@ -62,7 +65,8 @@ ios-card .challenge.tile-view {
6265
}
6366

6467
.technologies {
65-
margin-bottom: 40px;
68+
height: 36px;
69+
margin-bottom: 33px;
6670
padding: 0 20px;
6771
@include source-sans-regular;
6872
font-size: 13px;
@@ -75,8 +79,7 @@ ios-card .challenge.tile-view {
7579
align-items: center;
7680
width: 75px;
7781
height: 63px;
78-
margin-bottom: 20px;
79-
margin-top: 44px;
82+
margin-top: 16px;
8083
background-image: url(/images/ico-calendar.svg);
8184

8285
> p {
@@ -105,6 +108,11 @@ ios-card .challenge.tile-view {
105108
}
106109
}
107110

111+
.stalled-challenge {
112+
margin-top: 31px;
113+
margin-bottom: 32px;
114+
}
115+
108116
.phase-action {
109117
margin-bottom: 25px;
110118
@include button-m-wide;

0 commit comments

Comments
 (0)