🎨 Updated color codes
This commit is contained in:
@@ -124,7 +124,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="3">
|
<fieldset class="parameters">
|
||||||
<legend>Parameters</legend>
|
<legend>Parameters</legend>
|
||||||
<ol v-for="(param, index) in params">
|
<ol v-for="(param, index) in params">
|
||||||
<li>
|
<li>
|
||||||
@@ -153,7 +153,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="4" v-if="method === 'POST' || method === 'PUT'">
|
<fieldset class="reqbody" v-if="method === 'POST' || method === 'PUT'">
|
||||||
<legend>Request Body</legend>
|
<legend>Request Body</legend>
|
||||||
<ol v-for="(param, index) in bodyParams">
|
<ol v-for="(param, index) in bodyParams">
|
||||||
<li>
|
<li>
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
<input name="value" :value="value" readonly>
|
<input name="value" :value="value" readonly>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<textarea rows="10" readonly>{{response.body}}</textarea>
|
<textarea rows="5" readonly>{{response.body}}</textarea>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<footer>
|
<footer>
|
||||||
<a href="https://github.com/liyasthomas/postwoman"><img src="icons/github.svg" alt="" style="margin-right: 16px">GitHub</a>
|
<a href="https://github.com/liyasthomas/postwoman"><img src="icons/github.svg" alt="" style="margin-right: 16px">GitHub</a>
|
||||||
|
|||||||
38
style.css
38
style.css
@@ -85,7 +85,7 @@ button {
|
|||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
margin: 16px 0;
|
margin: 16px 0;
|
||||||
border: 1px solid var(--fg-color);
|
border: 2px solid var(--fg-color);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -98,22 +98,6 @@ fieldset textarea {
|
|||||||
resize: vertical;
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > section,
|
|
||||||
fieldset > table {
|
|
||||||
margin: .6em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset > table {
|
|
||||||
width: 100%;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-style: collaped;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset table td input {
|
|
||||||
box-sizing: border-box;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset.request {
|
fieldset.request {
|
||||||
border-color: #57b5f9;
|
border-color: #57b5f9;
|
||||||
}
|
}
|
||||||
@@ -123,11 +107,27 @@ fieldset.request legend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fieldset.authentication {
|
fieldset.authentication {
|
||||||
border-color: #57b5f9;
|
border-color: #50E3C2;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset.authentication legend {
|
fieldset.authentication legend {
|
||||||
color: #57b5f9;
|
color: #50E3C2;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset.parameters {
|
||||||
|
border-color: #B8E986;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset.parameters legend {
|
||||||
|
color: #B8E986;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset.reqbody {
|
||||||
|
border-color: #4A90E2;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset.reqbody legend {
|
||||||
|
color: #4A90E2;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset.response {
|
fieldset.response {
|
||||||
|
|||||||
Reference in New Issue
Block a user