diff --git a/public/css/style.css b/public/css/style.css index 20bc665a..9d95bc30 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,6 +1,6 @@ /* Torrent status colors */ .remake { - background-color: rgb(240, 176, 128); + background-color: rgba(240, 176, 128, 0.6); } .trusted { background-color: #a3e9a4; @@ -9,6 +9,31 @@ background-color: #81d3fa; } +.container.remake { +box-shadow: 0px 0px 30px 10px rgba(240, 176, 128, 0.6); +} +.row.remake { +margin-bottom: 0.5rem; +color: white; +padding:2px 0; +} +.container.trusted { +box-shadow: 0px 0px 30px 10px rgba(163, 233, 164, 0.6); +} +.row.trusted { +margin-bottom: 0.5rem; +color: white; +padding:2px 0; +} +.container.aplus { +box-shadow: 0px 0px 30px 10px rgba(129, 211, 250, 0.6); +} +.row.aplus { +margin-bottom: 0.5rem; +color: white; +padding:2px 0; +} + /* modified copy of NyaaTorrent theme */ #mainmenu, #mainmenu .dropdown-menu{ background: #263238; diff --git a/templates/view.html b/templates/view.html index b7ccce14..7af497ac 100644 --- a/templates/view.html +++ b/templates/view.html @@ -1,13 +1,13 @@ {{define "title"}}{{.Torrent.Name}}{{end}} -{{define "contclass"}}cont-view{{end}} +{{define "contclass"}}cont-view {{if eq .Torrent.Status 2}}remake{{end}} {{if eq .Torrent.Status 3}}trusted{{end}} {{if eq .Torrent.Status 4}}aplus{{end}}{{end}} {{define "content"}}
{{with .Torrent}}
-
+
-

{{.Name}}

+

{{.Name}}