diff --git a/server/ui/.gitignore b/server/ui/.gitignore
index 94eab2d..07d46bc 100644
--- a/server/ui/.gitignore
+++ b/server/ui/.gitignore
@@ -25,6 +25,5 @@ node_modules
*~
test/data/result.json
-
package-lock.json
*.orig
diff --git a/server/ui/src/Main.css b/server/ui/src/Main.css
index c88addd..85653a9 100644
--- a/server/ui/src/Main.css
+++ b/server/ui/src/Main.css
@@ -1,18 +1,60 @@
-.table-fixed {
- table-layout: fixed;
+/* globally disable dotted outlines on anchors */
+a:focus {
+ outline: none;
+}
+
+a::-moz-focus-inner {
+ border: 0;
}
.search-name-col {
- width: 50%;
+ width: 50%;
}
.search-name-cell {
- word-wrap: break-word;
+ word-wrap: break-word;
}
+.table-fixed {
+ table-layout: fixed;
+}
+
+/* add padding to first and last cell */
+.table-padding th:first-child, .table-padding td:first-child {
+ padding-left: 1em !important;
+}
+
+.table-padding th:last-child, .table-padding td:last-child {
+ padding-right: 1em !important;
+}
+
+.table thead th {
+ border: 0px;
+}
+
+.table tr td {
+ vertical-align: middle !important;
+}
+
+/* Colors */
.navbar-purple {
- background-color: #673ab7;
- -webkit-box-shadow: 0 8px 6px -6px #999;
- -moz-box-shadow: 0 8px 6px -6px #999;
- box-shadow: 0 8px 6px -6px #999;
-}
\ No newline at end of file
+ background-color: #673ab7;
+}
+
+.table-hover-purple tbody tr:hover {
+ background-color: rgba(103, 58, 183, 0.2) !important;
+}
+
+/* Bootstrap fixes */
+
+.rounded-right {
+ /* disable radius on left when using on right side */
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.no-outline, .no-outline:focus {
+ /* disable colored outline on btn or input */
+ box-shadow: none !important;
+ outline: none !important;
+}
diff --git a/server/ui/src/components/home.tsx b/server/ui/src/components/home.tsx
index 2904f74..bcf03b7 100644
--- a/server/ui/src/components/home.tsx
+++ b/server/ui/src/components/home.tsx
@@ -13,16 +13,13 @@ export class Home extends Component
Torrents.csv is a collaborative git repository of torrents, consisting of a single, searchable
+ torrents.csv
file. Its initially populated with a January 2017 backup of the pirate bay, and new torrents are periodically added from various torrents sites. It comes with a self-hostable webserver, a command line search, and a folder scanner to add torrents.
Torrents.csv will only store torrents with at least one seeder to keep the file small, will be periodically purged of non-seeded torrents, and sorted by seeders descending.
To request more torrents, or add your own, go here.
Made with Rust, ripgrep, Actix, Inferno, and Typescript.
-
-