diff --git a/scss/main.scss b/scss/main.scss
index 96a5088..463e3b2 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -7,13 +7,8 @@
}
.torrent {
- &.paused {
- color: $gray-dark;
- background-color: $gray-lighter;
- }
-
- &.idle {
- color: $gray-dark;
+ &.selected {
+ background-color: lighten($brand-primary, 45);
}
&.error {
@@ -24,29 +19,6 @@
text-decoration: underline;
}
}
-
- &.paused {
- background-image: linear-gradient(to right, darken($gray-lighter, 20), darken($gray-lighter, 40));
- }
-
- &.pending, &.idle {
- background-image: linear-gradient(to right, lighten($brand-info, 20), $brand-info);
- }
-
- &.seeding {
- background-image: linear-gradient(to right, lighten($brand-primary, 20), $brand-primary);
- }
-
- &.leeching {
- background-image: linear-gradient(to right, lighten($brand-success, 20), $brand-success);
- }
-
- &.selected {
- background-color: lighten($brand-warning, 20);
- }
-
- background-repeat: no-repeat;
- background-position: left bottom;
}
.connection-overlay {
@@ -164,7 +136,6 @@ fieldset .form-check-input:only-child {
.progress {
flex-grow: 1;
height: 1rem;
- border-radius: 0;
}
.btn-group {
@@ -216,3 +187,18 @@ fieldset .form-check-input:only-child {
}
}
}
+
+.progress {
+ border-radius: 0;
+
+ .progress-bar {
+ &.bg-info, &.bg-success {
+ color: #222;
+ }
+
+ &.bg-default {
+ background: darken($gray-lighter, 10);
+ color: $black;
+ }
+ }
+}
diff --git a/src/ui/torrent_details.js b/src/ui/torrent_details.js
index 08caa6d..5c8ee8d 100644
--- a/src/ui/torrent_details.js
+++ b/src/ui/torrent_details.js
@@ -10,10 +10,10 @@ import {
Collapse,
Card,
CardBlock,
- Progress
} from 'reactstrap';
import moment from 'moment';
import TorrentOptions from './torrent_options';
+import TorrentProgress from './torrent_progress';
import ws_send from '../socket';
import DateDisplay from './date';
import selectTorrent, {
@@ -98,9 +98,7 @@ class Torrent extends Component {