feat: remove tailwindcss + introduce windicss

This commit is contained in:
Liyas Thomas
2021-06-25 23:44:27 +00:00
committed by GitHub
parent 3e5629e738
commit 6d33132705
84 changed files with 1560 additions and 40544 deletions

View File

@@ -9,7 +9,7 @@
readonly
:value="entry.url"
:placeholder="$t('empty_req_name')"
class="cursor-pointer text-sm bg-transparent"
class="input cursor-pointer text-sm bg-transparent"
@click="$emit('use-entry')"
/>
</li>
@@ -18,7 +18,7 @@
content: !entry.star ? $t('add_star') : $t('remove_star'),
}"
data-testid="star_button"
class="icon"
class="icon button"
:class="{ stared: entry.star }"
@click="$emit('toggle-star')"
>
@@ -31,7 +31,7 @@
content: expand ? $t('hide_more') : $t('show_more'),
}"
data-testid="query_expand"
class="icon"
class="icon button"
@click="expand = !expand"
>
<i class="material-icons">
@@ -42,7 +42,7 @@
<button
v-tooltip="$t('options')"
data-testid="options"
class="tooltip-target icon"
class="tooltip-target icon button"
>
<i class="material-icons">more_vert</i>
</button>
@@ -51,7 +51,7 @@
<button
v-close-popover
data-testid="restore_history_entry"
class="icon"
class="icon button"
:aria-label="$t('restore')"
@click="$emit('use-entry')"
>
@@ -63,7 +63,7 @@
<button
v-close-popover
data-testid="delete_history_entry"
class="icon"
class="icon button"
:aria-label="$t('delete')"
@click="$emit('delete-entry')"
>
@@ -83,7 +83,7 @@
type="text"
readonly
:value="`${line}`"
class="pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
class="input pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
/>
</li>
</div>
@@ -96,7 +96,7 @@
type="text"
readonly
:value="entry.time"
class="pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
class="input pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
/>
</li>
<li>
@@ -106,11 +106,11 @@
readonly
:value="`Duration: ${entry.duration}ms`"
:placeholder="$t('no_duration')"
class="pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
class="input pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
/>
</li>
<!-- <li>
<input
<input class="input"
:aria-label="$t('prerequest_script')"
type="text"
readonly

View File

@@ -6,7 +6,7 @@
aria-label="Search"
type="search"
:placeholder="$t('search')"
class="rounded-t-lg"
class="input rounded-t-lg"
/>
</div>
<div
@@ -46,7 +46,7 @@
<div v-if="!isClearingHistory" class="row-wrapper">
<button
data-testid="clear_history"
class="icon"
class="icon button"
:disabled="history.length === 0"
@click="enableHistoryClearing"
>
@@ -55,7 +55,7 @@
</button>
<button
v-tooltip="{ content: !showMore ? $t('show_more') : $t('hide_more') }"
class="icon"
class="icon button"
@click="toggleCollapse()"
>
<i class="material-icons">
@@ -71,7 +71,7 @@
<button
v-tooltip="$t('yes')"
data-testid="confirm_clear_history"
class="icon"
class="icon button"
@click="clearHistory"
>
<i class="material-icons">done</i>
@@ -79,7 +79,7 @@
<button
v-tooltip="$t('no')"
data-testid="reject_clear_history"
class="icon"
class="icon button"
@click="disableHistoryClearing"
>
<i class="material-icons">close</i>

View File

@@ -16,7 +16,7 @@
readonly
:value="entry.name"
:placeholder="$t('empty_req_name')"
class="cursor-pointer text-sm bg-transparent"
class="input cursor-pointer text-sm bg-transparent"
@click="$emit('use-entry')"
/>
</li>
@@ -26,7 +26,7 @@
content: !entry.star ? $t('add_star') : $t('remove_star'),
}"
data-testid="star_button"
class="icon"
class="icon button"
:class="{ stared: entry.star }"
@click="$emit('toggle-star')"
>
@@ -37,7 +37,7 @@
</span>
<!-- <li>
<button
class="icon"
class="icon button"
v-tooltip="{
content: !entry.usesScripts
? 'No pre-request script'
@@ -50,7 +50,7 @@
</button>
</li> -->
<v-popover>
<button v-tooltip="$t('options')" class="tooltip-target icon">
<button v-tooltip="$t('options')" class="tooltip-target icon button">
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
@@ -58,7 +58,7 @@
<button
v-close-popover
data-testid="restore_history_entry"
class="icon"
class="icon button"
:aria-label="$t('edit')"
@click="$emit('use-entry')"
>
@@ -70,7 +70,7 @@
<button
v-close-popover
data-testid="delete_history_entry"
class="icon"
class="icon button"
:aria-label="$t('delete')"
@click="$emit('delete-entry')"
>
@@ -89,7 +89,7 @@
readonly
:value="`${entry.url}${entry.path}`"
:placeholder="$t('no_url')"
class="pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
class="input pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
/>
</li>
</div>
@@ -102,7 +102,7 @@
type="text"
readonly
:value="entry.time"
class="pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
class="input pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
/>
</li>
<li>
@@ -112,11 +112,11 @@
readonly
:value="`Duration: ${entry.duration}ms`"
:placeholder="$t('no_duration')"
class="pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
class="input pt-0 mt-0 text-sm bg-transparent text-secondaryLight"
/>
</li>
<!-- <li>
<input
<input class="input"
:aria-label="$t('prerequest_script')"
type="text"
readonly