Skip to content

Commit

Permalink
performance: softer red color #155
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Feb 17, 2021
1 parent 61947cd commit 05c9f94
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
44 changes: 21 additions & 23 deletions src/components/Modals/SearchModal/SearchModal.vue
Expand Up @@ -10,33 +10,31 @@
<v-card-title class="justify-center">
<h2>Search</h2>
</v-card-title>
<v-card-text>
<v-card-text class="pa-0">
<v-form
ref="form"
v-model="searchForm.valid"
>
<v-container fluid>
<v-flex row class="mx-auto">
<v-text-field
v-model="searchForm.pattern"
:prepend-inner-icon="mdiMagnify"
label="Search"
:rules="[v => !!v || 'Searchterm is required']"
clearable
style="width: 70%"
@keydown.enter="$refs.searchButton.click"
/>
<v-spacer />
<v-btn
ref="searchButton"
:disabled="!searchForm.valid"
:color="loading ? 'warning' : 'primary'"
@click="loading ? stopSearch() : startSearch()"
>
{{ loading ? "Stop" : "Search" }}
</v-btn>
</v-flex>
</v-container>
<v-flex row class="py-1 px-2 mx-auto">
<v-text-field
v-model="searchForm.pattern"
:prepend-inner-icon="mdiMagnify"
label="Search"
:rules="[v => !!v || 'Searchterm is required']"
clearable
style="width: 70%"
@keydown.enter="$refs.searchButton.click"
/>
<v-spacer />
<v-btn
ref="searchButton"
:disabled="!searchForm.valid"
:color="loading ? 'warning' : 'primary'"
@click="loading ? stopSearch() : startSearch()"
>
{{ loading ? "Stop" : "Search" }}
</v-btn>
</v-flex>
</v-form>
<perfect-scrollbar>
<v-data-table
Expand Down
12 changes: 6 additions & 6 deletions src/components/Torrent/TorrentRightClickMenu.vue
Expand Up @@ -34,8 +34,8 @@
{{ mdiDelete }}
</v-icon>
<v-list-item-title
class="ml-2"
style="font-size: 1em; color: red"
class="ml-2 red--text"
style="font-size: 1em;"
>
Delete
</v-list-item-title>
Expand All @@ -45,8 +45,8 @@
{{ mdiDeleteForever }}
</v-icon>
<v-list-item-title
class="ml-2"
style="font-size: 1em; color: red"
class="ml-2 red--text"
style="font-size: 1em;"
>
Delete with files
</v-list-item-title>
Expand Down Expand Up @@ -220,7 +220,7 @@
<v-list-item @click="setLimit('upload')">
<v-icon>{{ mdiChevronUp }}</v-icon>
<v-list-item-title class="ml-2">
Upload
Upload
</v-list-item-title>
</v-list-item>
</v-list>
Expand Down Expand Up @@ -280,7 +280,7 @@ export default {
},
hashes() {
if (this.multiple) return this.selected_torrents
return [this.torrent.hash]
},
multiple() {
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/vuetify.js
Expand Up @@ -20,12 +20,14 @@ export default new Vuetify({
accent: variables.download,
background: colors.grey.lighten4,
selected: colors.grey.lighten2,
red: colors.red.accent2,
...variables
},
dark: {
accent: variables.download,
background: colors.black,
selected: colors.grey.darken1,
red: colors.red.accent3,
...variables
}
}
Expand Down

0 comments on commit 05c9f94

Please sign in to comment.