💄 Minor UI update
This commit is contained in:
@@ -26,7 +26,6 @@ $responsiveWidth: 720px;
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-family: "Poppins", "Roboto", "Noto", sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -44,6 +43,7 @@ body {
|
|||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
font-family: "Poppins", "Roboto", "Noto", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
@@ -96,6 +96,7 @@ button {
|
|||||||
color: var(--act-color);
|
color: var(--act-color);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
font-family: "Poppins", "Roboto", "Noto", sans-serif;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s ease-in-out;
|
transition: all 0.2s ease-in-out;
|
||||||
fill: var(--act-color);
|
fill: var(--act-color);
|
||||||
@@ -308,7 +309,7 @@ label {
|
|||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: 8px 0 0;
|
margin: 4px 0 4px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
@@ -400,7 +401,8 @@ fieldset#history {
|
|||||||
span {
|
span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 44px;
|
top: 44px;
|
||||||
right: 20px;
|
right: 12px;
|
||||||
|
font-weight: 700;
|
||||||
font-family: monospace, monospace;
|
font-family: monospace, monospace;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,13 +132,13 @@
|
|||||||
</autocomplete>
|
</autocomplete>
|
||||||
<span>
|
<span>
|
||||||
<pw-toggle :on="rawInput" @change="rawInput = !rawInput">
|
<pw-toggle :on="rawInput" @change="rawInput = !rawInput">
|
||||||
Raw input {{ rawInput ? "enabled" : "disabled" }}
|
Raw Input {{ rawInput ? "Enabled" : "Disabled" }}
|
||||||
</pw-toggle>
|
</pw-toggle>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div v-if="!rawInput">
|
<div v-if="!rawInput">
|
||||||
<ol v-for="(param, index) in bodyParams" :key="index">
|
<ul v-for="(param, index) in bodyParams" :key="index">
|
||||||
<li>
|
<li>
|
||||||
<label :for="'bparam'+index">Key {{index + 1}}</label>
|
<label :for="'bparam'+index">Key {{index + 1}}</label>
|
||||||
<input :name="'bparam'+index" v-model="param.key" @keyup.prevent="setRouteQueryState" autofocus>
|
<input :name="'bparam'+index" v-model="param.key" @keyup.prevent="setRouteQueryState" autofocus>
|
||||||
@@ -157,10 +157,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
</ol>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<label for="addrequest">Action</label>
|
|
||||||
<button @click="addRequestBodyParam" name="addrequest">Add New</button>
|
<button @click="addRequestBodyParam" name="addrequest">Add New</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -172,7 +171,12 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<textarea @keydown="formatRawParams" rows="8" v-model="rawParams" v-textarea-auto-height="rawParams"></textarea>
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label for="rawBody">Raw Request Body</label>
|
||||||
|
<textarea name="rawBody" @keydown="formatRawParams" rows="8" v-model="rawParams" v-textarea-auto-height="rawParams"></textarea>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</pw-section>
|
</pw-section>
|
||||||
<pw-section class="purple" id="response" label="Response" ref="response">
|
<pw-section class="purple" id="response" label="Response" ref="response">
|
||||||
@@ -261,7 +265,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</pw-section>
|
</pw-section>
|
||||||
<pw-section class="orange" collapsed label="Headers">
|
<pw-section class="orange" collapsed label="Headers">
|
||||||
<ol v-for="(header, index) in headers" :key="index">
|
<ul v-for="(header, index) in headers" :key="index">
|
||||||
<li>
|
<li>
|
||||||
<label :for="'header'+index">Header {{index + 1}}</label>
|
<label :for="'header'+index">Header {{index + 1}}</label>
|
||||||
<input :name="'header'+index" v-model="header.key" @keyup.prevent="setRouteQueryState" autofocus>
|
<input :name="'header'+index" v-model="header.key" @keyup.prevent="setRouteQueryState" autofocus>
|
||||||
@@ -280,7 +284,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
</ol>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<button @click="addRequestHeader" name="add">Add New</button>
|
<button @click="addRequestHeader" name="add">Add New</button>
|
||||||
@@ -294,7 +298,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</pw-section>
|
</pw-section>
|
||||||
<pw-section class="pink" collapsed label="Parameters">
|
<pw-section class="pink" collapsed label="Parameters">
|
||||||
<ol v-for="(param, index) in params" :key="index">
|
<ul v-for="(param, index) in params" :key="index">
|
||||||
<li>
|
<li>
|
||||||
<label :for="'param'+index">Parameter {{index + 1}}</label>
|
<label :for="'param'+index">Parameter {{index + 1}}</label>
|
||||||
<input :name="'param'+index" v-model="param.key" autofocus>
|
<input :name="'param'+index" v-model="param.key" autofocus>
|
||||||
@@ -313,7 +317,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
</ol>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<button @click="addRequestParam" name="add">Add New</button>
|
<button @click="addRequestParam" name="add">Add New</button>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<h3 class="title">Frames</h3>
|
<h3 class="title">Frames</h3>
|
||||||
<span>
|
<span>
|
||||||
<pw-toggle :on="!settings.DISABLE_FRAME_COLORS" @change="toggleSetting('DISABLE_FRAME_COLORS')">
|
<pw-toggle :on="!settings.DISABLE_FRAME_COLORS" @change="toggleSetting('DISABLE_FRAME_COLORS')">
|
||||||
Multi-color {{ settings.DISABLE_FRAME_COLORS ? "disabled" : "enabled" }}
|
Multi-color {{ settings.DISABLE_FRAME_COLORS ? "Disabled" : "Enabled" }}
|
||||||
</pw-toggle>
|
</pw-toggle>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user