Skip to content

Reskin Fixes #6364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ workflows:
branches:
only:
- footer-update
- reskin
# This is stage env for production QA releases
- "build-prod-staging":
context : org-global
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/shared/components/Tooltip/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
padding: 0;
}

.toolTipPadding {
.rc-tooltip-inner {
padding: 8px 10px;
}
}

.rc-tooltip-arrow {
background: url(assets/images/tooltip-arrow.svg);
width: 30px;
Expand Down
4 changes: 2 additions & 2 deletions src/shared/components/TrackIcon/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ $track-code-turquose: #0ab88a;

&.qa,
&.quality-assurance {
color: $tc-purple-120;
background: $tc-purple-20;
color: #0ab88a;
background: #c1f5e7;
}

&.data_science,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { COMPETITION_TRACKS } from 'utils/tc';
import VerifiedTag from 'components/challenge-listing/VerifiedTag';
import MatchScore from 'components/challenge-listing/ChallengeCard/MatchScore';
import { calculateScore } from '../../../utils/challenge-listing/helper';
import './style.scss';
import style from './style.scss';

export default function ChallengeTags(props) {
const {
Expand Down Expand Up @@ -97,6 +97,7 @@ export default function ChallengeTags(props) {
<EventTag
to={`https://${event}.topcoder.com`}
key={event}
theme={track === COMPETITION_TRACKS.QA ? { button: style.qaTrackEventTag } : undefined}
>
{event}
</EventTag>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function DeadlinesPanel({ deadlines }) {
const started = moment(start).isBefore();

return (
<div styleName="panel" tabIndex="0" role="tabpanel">
<div styleName={`panel ${deadlines.length < 5 ? 'left' : ''}`} tabIndex="0" role="tabpanel">
<p styleName="timezone">
Timezone:
{moment.tz.guess()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 30px 150px 15px 0;
padding: 30px 0 15px 0;
position: relative;

@include xs-to-md {
Expand All @@ -14,6 +14,10 @@
padding-right: 16px;
padding-left: 16px;
}

&.left {
justify-content: flex-start;
}
}

.timezone {
Expand Down
16 changes: 16 additions & 0 deletions src/shared/components/challenge-detail/Header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -586,3 +586,19 @@
margin-right: -2px;
padding: 0;
}

.qaTrackEventTag {
color: #0ab88a;
background: #c1f5e7;

&:active,
&:focus,
&:hover {
color: lighten(#0ab88a, 2%);
background: darken(#c1f5e7, 5%);
}

&:visited {
color: lighten(#0ab88a, 2%);
}
}
Loading