Skip to content

Commit f60169d

Browse files
committed
Merge branch 'dev' into sam/render-html
2 parents 82961a2 + ed26693 commit f60169d

File tree

4 files changed

+52
-16
lines changed

4 files changed

+52
-16
lines changed

src/assets/style/navbar.scss

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,37 @@
1111
display: flex;
1212
justify-content: space-evenly;
1313
.btn {
14-
background: transparent;
15-
border: solid 1px #4e4e4e;
16-
color: $mediumgray;
17-
font-size: 14px;
14+
background: #4e4e4e;
15+
border: solid 1px #4e4e4e;
16+
border-radius: 5px;
17+
color: white;
18+
// font-size: 8px;
1819
margin: 4px;
1920
padding: .5rem;
2021
cursor: pointer;
21-
font-size: 16px;
22+
font-size: 12px;
2223
outline: none;
2324
font-weight: 425;
24-
}
25+
}
26+
.btn:hover {
27+
background: #2c3e50;
28+
border: solid 1px white;
29+
}
30+
.save-btn {
31+
background: $bluetwo;
32+
border: solid 1px #white;
33+
border-radius: 5px;
34+
color: white;
35+
// font-size: 8px;
36+
margin: 4px;
37+
padding: .5rem;
38+
cursor: pointer;
39+
font-size: 12px;
40+
outline: none;
41+
font-weight: 425;
42+
}
43+
.save-btn:hover {
44+
background: $bluethree;
45+
border: solid 1px white;
46+
}
2547
}

src/assets/style/sidebar.scss

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
font-weight: bold;
44
}
55
.sidebar_composer-console {
6-
background: #282828;
6+
background: #2c3e50;
77
color: #FCF7F8;
88
display: flex;
99
flex-direction: column;
1010
height: 100vh;
1111
left: 0;
12-
// overflow: scroll;
12+
overflow: scroll;
1313
padding: 15px 18px;
1414
position: absolute;
1515
top: 0;
@@ -173,6 +173,16 @@
173173
margin: 0 0 15px;
174174
width: 28%;
175175
}
176+
.composer_subtitle_SSE {
177+
cursor: pointer;
178+
display: flex;
179+
font-size: 16px;
180+
justify-items: center;
181+
margin: 0 0 15px;
182+
width: 40%;
183+
padding: 3px;
184+
}
185+
176186
.composer_subtitle_arrow-closed {
177187
height: 28px;
178188
margin: -3px -6px -8px -7px;
@@ -320,7 +330,8 @@
320330
// margin-top: 10px;
321331
overflow-y: scroll;
322332
overflow-x: none;
323-
height: 100%;
333+
height: 100%;
334+
min-height: 200px;
324335
}
325336
.historyDate-container h1 {
326337
font-weight: 700;
@@ -335,7 +346,7 @@
335346
margin-top: 15px;
336347
}
337348
.history-container {
338-
border: 1px solid #282828;
349+
border: 1px solid #2c3e50;
339350
border-radius: 5px;
340351
color: white;
341352
cursor: pointer;
@@ -365,7 +376,7 @@
365376
cursor: pointer;
366377
}
367378
.collection-container {
368-
border: 1px solid #282828;
379+
border: 1px solid #2c3e50;
369380
border-radius: 5px;
370381
color: white;
371382
cursor: pointer;
@@ -430,13 +441,13 @@
430441
z-index: 0;
431442
}
432443
.history-delete-fade, .collection-delete-fade {
433-
background: linear-gradient(to right, rgba(40, 40, 40, 0), rgba(40, 40, 40, 1));
444+
// background: linear-gradient(to right, rgba(40, 40, 40, 0), rgba(40, 40, 40, 1));
434445
color: white;
435446
height: 26px;
436447
width: 32px;
437448
}
438449
.history-delete-button, .collection-delete-button {
439-
background: rgba(40, 40, 40, 1);
450+
// background: rgba(40, 40, 40, 1);
440451
height: 100%;
441452
width: 20px;
442453
}
@@ -486,4 +497,4 @@
486497
max-height: 400px;
487498
width: 100%;
488499
overflow-y: scroll;
489-
}
500+
}

src/client/components/composer/NewRequest/ComposerNewRequest.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ class ComposerNewRequest extends Component {
291291
!this.props.newRequestFields.graphQL
292292
&& !/wss?:\/\//.test(this.props.newRequestFields.protocol)
293293
&&
294-
<div>Server Sent Event: <input type="checkbox" onChange={this.handleSSEPayload} checked={this.props.newRequestSSE.isSSE}/></div>
294+
<div class='composer_subtitle_SSE'>
295+
<input type="checkbox" onChange={this.handleSSEPayload} checked={this.props.newRequestSSE.isSSE}/>
296+
Server Sent Events
297+
</div>
295298
}
296299

297300
<button className={SubmitButtonClassName} onClick={this.addNewRequest} type="button">

src/client/components/containers/NavBarContainer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class NavBarContainer extends Component {
111111
Clear All
112112
</button>
113113

114-
<button className="btn" type="button" onClick={this.handleOpenModal}>
114+
<button className="btn save-btn" type="button" onClick={this.handleOpenModal}>
115115
Save Collection
116116
</button>
117117

0 commit comments

Comments
 (0)