mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-25 02:45:48 +03:00
small color change/rename
This commit is contained in:
parent
7673c295a9
commit
2e3a11e2d1
2 changed files with 17 additions and 17 deletions
|
@ -175,10 +175,7 @@ export default {
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.project.done {
|
.project.done {
|
||||||
border-left: 4px solid #2E5EAA;
|
border-left: 4px solid #3cd1c2;
|
||||||
}
|
|
||||||
.project.downloading {
|
|
||||||
border-left: 4px solid #1FC176;
|
|
||||||
}
|
}
|
||||||
.project.busy {
|
.project.busy {
|
||||||
border-left: 4px solid #ffaa2c;
|
border-left: 4px solid #ffaa2c;
|
||||||
|
@ -187,13 +184,13 @@ export default {
|
||||||
border-left: 4px solid #f83e70;
|
border-left: 4px solid #f83e70;
|
||||||
}
|
}
|
||||||
.project.paused {
|
.project.paused {
|
||||||
border-left: 4px solid #EB8A90;
|
border-left: 4px solid #cfd8dc;
|
||||||
|
}
|
||||||
|
.project.queued {
|
||||||
|
border-left: 4px solid #2e5eaa;
|
||||||
}
|
}
|
||||||
.v-chip.done {
|
.v-chip.done {
|
||||||
background: #2E5EAA !important;
|
background: #3cd1c2 !important;
|
||||||
}
|
|
||||||
.v-chip.downloading {
|
|
||||||
background: #1FC176 !important;
|
|
||||||
}
|
}
|
||||||
.v-chip.busy {
|
.v-chip.busy {
|
||||||
background: #ffaa2c !important;
|
background: #ffaa2c !important;
|
||||||
|
@ -202,8 +199,12 @@ export default {
|
||||||
background: #f83e70 !important;
|
background: #f83e70 !important;
|
||||||
}
|
}
|
||||||
.v-chip.paused {
|
.v-chip.paused {
|
||||||
background: #EB8A90 !important;
|
background: #cfd8dc !important;
|
||||||
}
|
}
|
||||||
|
.v-chip.queued {
|
||||||
|
background: #2e5eaa !important;
|
||||||
|
}
|
||||||
|
|
||||||
.noselect {
|
.noselect {
|
||||||
-webkit-touch-callout: none; /* iOS Safari */
|
-webkit-touch-callout: none; /* iOS Safari */
|
||||||
-webkit-user-select: none; /* Safari */
|
-webkit-user-select: none; /* Safari */
|
||||||
|
|
|
@ -26,12 +26,11 @@ export default class Torrent {
|
||||||
}
|
}
|
||||||
|
|
||||||
formatState(state) {
|
formatState(state) {
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case 'pausedDL':
|
case 'pausedDL':
|
||||||
return 'paused'
|
return 'paused'
|
||||||
case 'downloading':
|
case 'downloading':
|
||||||
return 'downloading'
|
return 'busy'
|
||||||
case 'stalledDL':
|
case 'stalledDL':
|
||||||
return 'fail'
|
return 'fail'
|
||||||
case 'pausedUP':
|
case 'pausedUP':
|
||||||
|
@ -41,7 +40,7 @@ export default class Torrent {
|
||||||
case 'stalledUP':
|
case 'stalledUP':
|
||||||
return 'done'
|
return 'done'
|
||||||
case 'queuedUP':
|
case 'queuedUP':
|
||||||
return 'busy'
|
return 'queued'
|
||||||
default:
|
default:
|
||||||
return 'fail'
|
return 'fail'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue