🎨 Updated color codes

This commit is contained in:
liyasthomas
2019-08-21 19:22:11 +05:30
parent 91c08a5e63
commit f85a15f85e
2 changed files with 22 additions and 22 deletions

View File

@@ -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>

View File

@@ -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 {