Skip to content

Commit 1764e47

Browse files
Merge pull request #6364 from topcoder-platform/reskin
Reskin Fixes
2 parents 0e6842c + c4d0cce commit 1764e47

File tree

28 files changed

+670
-334
lines changed

28 files changed

+670
-334
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ workflows:
371371
branches:
372372
only:
373373
- footer-update
374+
- reskin
374375
# This is stage env for production QA releases
375376
- "build-prod-staging":
376377
context : org-global
Lines changed: 3 additions & 0 deletions
Loading

src/shared/components/Tooltip/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
padding: 0;
1414
}
1515

16+
.toolTipPadding {
17+
.rc-tooltip-inner {
18+
padding: 8px 10px;
19+
}
20+
}
21+
1622
.rc-tooltip-arrow {
1723
background: url(assets/images/tooltip-arrow.svg);
1824
width: 30px;

src/shared/components/TrackIcon/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ $track-code-turquose: #0ab88a;
8383

8484
&.qa,
8585
&.quality-assurance {
86-
color: $tc-purple-120;
87-
background: $tc-purple-20;
86+
color: #0ab88a;
87+
background: #c1f5e7;
8888
}
8989

9090
&.data_science,

src/shared/components/challenge-detail/Header/ChallengeTags.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { COMPETITION_TRACKS } from 'utils/tc';
2727
import VerifiedTag from 'components/challenge-listing/VerifiedTag';
2828
import MatchScore from 'components/challenge-listing/ChallengeCard/MatchScore';
2929
import { calculateScore } from '../../../utils/challenge-listing/helper';
30-
import './style.scss';
30+
import style from './style.scss';
3131

3232
export default function ChallengeTags(props) {
3333
const {
@@ -97,6 +97,7 @@ export default function ChallengeTags(props) {
9797
<EventTag
9898
to={`https://${event}.topcoder.com`}
9999
key={event}
100+
theme={track === COMPETITION_TRACKS.QA ? { button: style.qaTrackEventTag } : undefined}
100101
>
101102
{event}
102103
</EventTag>

src/shared/components/challenge-detail/Header/DeadlinesPanel/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function DeadlinesPanel({ deadlines }) {
1717
const started = moment(start).isBefore();
1818

1919
return (
20-
<div styleName="panel" tabIndex="0" role="tabpanel">
20+
<div styleName={`panel ${deadlines.length < 5 ? 'left' : ''}`} tabIndex="0" role="tabpanel">
2121
<p styleName="timezone">
2222
Timezone:
2323
{moment.tz.guess()}

src/shared/components/challenge-detail/Header/DeadlinesPanel/style.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
display: flex;
66
flex-wrap: wrap;
77
justify-content: space-between;
8-
padding: 30px 150px 15px 0;
8+
padding: 30px 0 15px 0;
99
position: relative;
1010

1111
@include xs-to-md {
@@ -14,6 +14,10 @@
1414
padding-right: 16px;
1515
padding-left: 16px;
1616
}
17+
18+
&.left {
19+
justify-content: flex-start;
20+
}
1721
}
1822

1923
.timezone {

src/shared/components/challenge-detail/Header/style.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,3 +586,19 @@
586586
margin-right: -2px;
587587
padding: 0;
588588
}
589+
590+
.qaTrackEventTag {
591+
color: #0ab88a;
592+
background: #c1f5e7;
593+
594+
&:active,
595+
&:focus,
596+
&:hover {
597+
color: lighten(#0ab88a, 2%);
598+
background: darken(#c1f5e7, 5%);
599+
}
600+
601+
&:visited {
602+
color: lighten(#0ab88a, 2%);
603+
}
604+
}

0 commit comments

Comments
 (0)