Skip to content

Commit 0d0606d

Browse files
author
vikasrohit
authored
Merge pull request #1710 from appirio-tech/dev
Patch release
2 parents fedff69 + 0b10248 commit 0d0606d

File tree

5 files changed

+70
-63
lines changed

5 files changed

+70
-63
lines changed

src/components/Layout/Layout.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
:global {
44
.main-wrapper {
5-
min-height: calc(100vh - 60px); // header and footer width
5+
min-height: calc(100vh - 40px); // header and footer width
66
padding-top: 60px;
77
transition: all 150ms ease-in-out;
88
overflow: hidden;
9+
910
&.with-filters {
1011
padding-top: 120px;
11-
min-height: calc(100vh - 120px);
1212
}
13-
13+
1414
&[data-route*='new-project'] {
1515
background-color: $tc-gray-neutral-light;
1616
}
1717
}
18-
18+
1919
.content-area {
2020
}
2121
}

src/components/TopBar/ProjectsToolBar.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,16 @@ class ProjectsToolBar extends Component {
200200
{ !!isLoggedIn && <NotificationsDropdown /> }
201201
</div>
202202
</div>
203+
{ isFilterVisible && isLoggedIn &&
203204
<div className="secondary-toolbar">
204-
{ isFilterVisible && isLoggedIn &&
205+
205206
<Filters
206207
applyFilters={ this.applyFilters }
207208
criteria={ criteria }
208209
/>
209-
}
210210
</div>
211+
}
212+
211213
</div>
212214
)
213215
}

src/components/TopBar/ProjectsToolBar.scss

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,77 +6,81 @@
66
$tc-rgba-10: rgba($tc-gray-80, 0.38);
77
$tc-rgba-20: rgba($tc-black, 0.17);
88
$tc-body-large: 20px;
9-
9+
1010
.ProjectsToolBar {
1111
margin: 0 auto;
1212
width: 100%;
1313
display: flex;
1414
flex-direction: column;
15-
15+
1616
.primary-toolbar {
1717
display: flex;
1818
width: 100%;
19+
min-height: 60px;
20+
height: 60px;
1921
justify-content: space-between;
20-
22+
2123
.logo-wrapper {
2224
margin-left: 4 * $base-unit;
2325
}
24-
26+
2527
.MenuBar {
2628
li.selected {
2729
// hides the bottom border as per https://github.com/appirio-tech/connect-app/issues/1267#issuecomment-343298713
2830
border-bottom: none;
2931
}
3032
}
31-
33+
3234
.primary-filters {
3335
margin-top: 15px;
3436
}
35-
37+
3638
.welcome-info {
3739
margin-right: 4 * $base-unit;
38-
40+
3941
.avatar-info {
4042
.username {
4143
display: none;
4244
}
4345
}
4446
}
45-
47+
4648
.actions {
4749
display: flex;
4850
}
4951
}
50-
52+
5153
.secondary-toolbar {
5254
display: flex;
55+
min-height: 60px;
56+
height: 60px;
5357
}
54-
58+
5559
.MenuBar li {
5660
align-items: center; // should reside in MenuBar component instead
57-
61+
5862
a {
5963
text-transform: uppercase;
6064
font-size: $tc-label-xs;
6165
line-height: 6 * $base-unit;
6266
}
63-
67+
6468
&.selected a {
6569
color: $tc-gray-10;
6670
}
6771
}
68-
72+
6973
.search-widget {
7074
width: 595px;
7175
height: 30px;
7276
margin-top: 15px;
7377
display: flex;
7478
}
75-
79+
7680
.search-filter {
7781
width: 97px;
7882
margin-left: 2 * $base-unit;
79-
83+
8084
.tc-btn {
8185
display: flex;
8286
align-items: center;
@@ -89,21 +93,21 @@
8993
border: 0;
9094
font-size: 12px;
9195
position: relative;
92-
96+
9397
svg.icon-search-filter {
9498
margin-right: 10px;
9599
}
96-
100+
97101
&.active {
98102
background: $tc-gray-80;
99103
box-shadow: inset 0px 1px 3px 0px $tc-rgba-10;
100-
104+
101105
svg.icon-search-filter g {
102106
fill: #fff;
103107
}
104108
}
105109
}
106-
110+
107111
.filter-indicator {
108112
width: 15px;
109113
height: 15px;
@@ -116,7 +120,7 @@
116120
align-items: center;
117121
}
118122
}
119-
123+
120124
/* .bar__search */
121125
.bar__search {
122126
align-items: center;
@@ -130,40 +134,40 @@
130134
display: flex;
131135
justify-content: space-between;
132136
width: 100%;
133-
137+
134138
h2 {
135139
font-size: $tc-body-large;
136140
color: $tc-black;
137141
white-space: nowrap;
138142
}
139-
143+
140144
.bar-control {
141145
width: 120px;
142146
text-align: right;
143147
min-height: 30px;
144148
padding-top: 15px;
145-
149+
146150
.tc-btn {
147151
display: inline-block;
148152
height: 30px;
149153
white-space: nowrap;
150154
}
151155
}
152-
156+
153157
.search-panel {
154158
flex: 1;
155159
margin: 0 auto;
156160
text-align: center;
157161
display: flex;
158162
justify-content: space-between;
159163
padding-right: 30px;
160-
164+
161165
.search-select-widget {
162166
align-items: center;
163167
display: flex;
164168
margin-left: 40px;
165169
flex: 1;
166-
170+
167171
label {
168172
@include roboto-medium;
169173
display: inline-block;
@@ -176,27 +180,27 @@
176180
white-space: nowrap;
177181
}
178182
}
179-
183+
180184
.search-select-field {
181185
flex: 1;
182186
}
183187
}
184188
}
185189
}
186-
190+
187191
.SwitchButton .label {
188192
padding-right: 10px;
189193
text-align: right;
190194
width: auto;
191195
width: auto;
192196
cursor: pointer;
193197
transition: 200ms ease-in-out all;
194-
198+
195199
&:hover {
196200
color: $tc-gray-30;
197201
}
198202
}
199-
203+
200204
.project-creation-dialog-overlay {
201205
position: fixed;
202206
top: 0;
@@ -209,44 +213,44 @@
209213
overflow-y: scroll;
210214
opacity: 1;
211215
transition: all .250ms ease-in-out;
212-
216+
213217
.IncompleteProjectConfirmation {
214218
margin-top: 0px;
215219
}
216-
220+
217221
.SelectProduct {
218222
margin-top: 30px;
219223
}
220-
224+
221225
section.content {
222226
padding: 1px 0;
223227
}
224-
228+
225229
.escape-button {
226230
position: absolute;
227231
right: 12px;
228232
top: 12px;
229233
z-index: 22;/* +1 from z-index of the modal overlay */
230234
}
231-
235+
232236
// .FillProjectDetailsWrapper {
233237
// margin-top: -60px; // Counteract the push from the main wrapper, top of vewport
234238
// }
235239
}
236-
240+
237241
.project-creation-dialog {
238242
top: 0px;
239243
left: 0px;
240-
244+
241245
.Wizard .content {
242246
}
243-
247+
244248
.TextInput.project-name,
245249
.TextInput.project-ref-code {
246250
height: 45px;
247251
}
248252
}
249-
253+
250254
/*.project-creation-dialog-close {
251255
cursor: pointer;
252256
position: fixed;

src/config/projectQuestions/topcoder.v1.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import _ from 'lodash'
12
import React from 'react' // eslint-disable-line no-unused-vars
23
import IconTcSpecTypeSerif from '../../assets/icons/icon-tc-spec-type-serif.svg'
34
import IconTcSpecTypeSansSerif from '../../assets/icons/icon-tc-spec-type-sans-serif.svg'

0 commit comments

Comments
 (0)