Skip to content

Commit eb94455

Browse files
fix #1092
1 parent 2e283fa commit eb94455

File tree

7 files changed

+58
-31
lines changed

7 files changed

+58
-31
lines changed

src/components/Wizard/Wizard.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
margin: 24px auto;
1010
min-width: 120px;
1111
padding: 20px;
12-
position: relative;
12+
/*position: relative;*/
1313
text-align: left;
1414
width: 100%;
1515
}

src/projects/create/components/FillProjectDetails.js

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -49,33 +49,37 @@ class FillProjectDetails extends Component {
4949
specification = typeToSpecification[product]
5050
let sections = require(`../../../config/projectQuestions/${specification}`).basicSections
5151
return (
52-
<div className="FillProjectDetails">
53-
<div className="header">
52+
<div className="FillProjectDetailsWrapper">
53+
<div className="header headerFillProjectDetails">
5454
{ (!userRoles || !userRoles.length) && <ConnectLogo />}
55-
<h1>Let's setup your { productName } project</h1>
5655
{ (!userRoles || !userRoles.length) && <button className="tc-btn tc-btn-default tc-btn-sm" onClick={ this.props.onChangeProjectType }><SVGIconImage filePath="arrows-undo" />Change project type</button> }
5756
</div>
58-
<section className="two-col-content content">
59-
<div className="container">
60-
<div className="left-area">
61-
<ProjectBasicDetailsForm
62-
project={project}
63-
sections={sections}
64-
isEdittable
65-
submitHandler={this.props.onCreateProject}
66-
saving={processing}
67-
onProjectChange={this.props.onProjectChange}
68-
submitBtnText={ submitBtnText }
69-
/>
70-
</div>
71-
<div className="right-area">
72-
<Sticky top={80}>
73-
<ProjectOutline project={ dirtyProject } />
74-
<div className="right-area-footer">In 24 hours our project managers will contact you for more information and a detailed quote that accurately reflects your project needs.</div>
75-
</Sticky>
76-
</div>
57+
<div className="FillProjectDetails">
58+
<div className="header">
59+
<h1>Let's setup your { productName } project</h1>
7760
</div>
78-
</section>
61+
<section className="two-col-content content">
62+
<div className="container">
63+
<div className="left-area">
64+
<ProjectBasicDetailsForm
65+
project={project}
66+
sections={sections}
67+
isEdittable
68+
submitHandler={this.props.onCreateProject}
69+
saving={processing}
70+
onProjectChange={this.props.onProjectChange}
71+
submitBtnText={ submitBtnText }
72+
/>
73+
</div>
74+
<div className="right-area">
75+
<Sticky top={80}>
76+
<ProjectOutline project={ dirtyProject } />
77+
<div className="right-area-footer">In 24 hours our project managers will contact you for more information and a detailed quote that accurately reflects your project needs.</div>
78+
</Sticky>
79+
</div>
80+
</div>
81+
</section>
82+
</div>
7983
</div>
8084
)
8185
}

src/projects/create/components/FillProjectDetails.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
-ms-flex: $number;
1515
flex: $number;
1616
}
17+
.headerFillProjectDetails {
18+
margin-top: -28px;
19+
display: flex;
20+
justify-content: space-between;
21+
.tc-btn-default img {
22+
margin-right: 10px;
23+
}
24+
}
1725

1826
.FillProjectDetails {
1927

src/projects/create/components/ProjectOutline.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
margin-top: $base-unit * 4;
4444
.project-meta-data-row {
4545
display: flex;
46+
.visual-design-project-estimate-section {
47+
margin-left: 0;
48+
margin-right: 0;
49+
}
4650
.project-meta-data-label {
4751
flex: 1;
4852
color: $tc-gray-50;

src/projects/create/components/SelectProduct.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,16 @@ function SelectProduct(props) {
2929
}
3030
}
3131
return (
32-
<div className="SelectProduct">
33-
<div className="header">
32+
<div>
33+
<div className="header headerSelectProduct">
3434
<ConnectLogo />
3535
</div>
36-
<h1>Select your project type</h1>
37-
<div className="cards">{cards}</div>
38-
<div className="footer">
39-
Looking for something else? <a href="http://crowdsourcing.topcoder.com/piqued_by_crowdsourcing">Get in touch with us.</a>
36+
<div className="SelectProduct">
37+
<h1>Select your project type</h1>
38+
<div className="cards">{cards}</div>
39+
<div className="footer">
40+
Looking for something else? <a href="http://crowdsourcing.topcoder.com/piqued_by_crowdsourcing">Get in touch with us.</a>
41+
</div>
4042
</div>
4143
</div>
4244
)

src/projects/create/components/SelectProduct.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@import 'tc-includes';
22

3+
.headerSelectProduct {
4+
position: absolute;
5+
top: 25px;
6+
left: 20px;
7+
}
8+
39
.SelectProduct {
410
@include tc-body;
511
color: $tc-gray-50;

src/projects/detail/components/VisualDesignProjectEstimateSection.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
.visual-design-project-estimate-section {
44
display: flex;
5-
width: 100%;
5+
width: calc(100% - 40px);
6+
margin-left: 20px;
7+
margin-right: 20px;
68
flex-wrap: wrap;
79
flex-direction: row;
810

911
h4.titles {
1012
width: 100%;
13+
margin: 0;
1114
margin-bottom: $base-unit * 2;
1215
font-size: 12px;
1316
color: $tc-gray-50;

0 commit comments

Comments
 (0)