Forum color tweaks for new dark theme

This commit is contained in:
Noah Petherbridge 2024-03-30 14:09:16 -07:00
parent 2d0fd25a08
commit ad59440b2b
3 changed files with 16 additions and 16 deletions

View File

@ -60,7 +60,7 @@
<div class="block p-2"> <div class="block p-2">
{{range .Threads}} {{range .Threads}}
{{$Stats := $Root.ThreadMap.Get .ID}} {{$Stats := $Root.ThreadMap.Get .ID}}
<div class="box has-background-success-light"> <div class="box has-background-success-light has-text-dark">
<div class="columns"> <div class="columns">
<div class="column is-2 has-text-centered pt-0 pb-1"> <div class="column is-2 has-text-centered pt-0 pb-1">
<div> <div>
@ -72,7 +72,7 @@
</div> </div>
<div class="column content pt-1 pb-0"> <div class="column content pt-1 pb-0">
<a href="/forum/thread/{{.ID}}"> <a href="/forum/thread/{{.ID}}">
<h2 class="is-size-4 pt-0"> <h2 class="is-size-4 pt-0 has-text-dark">
{{if .Pinned}}<sup class="fa fa-thumbtack has-text-success mr-2 is-size-6" title="Pinned"></sup>{{end}} {{if .Pinned}}<sup class="fa fa-thumbtack has-text-success mr-2 is-size-6" title="Pinned"></sup>{{end}}
{{or .Title "Untitled"}} {{or .Title "Untitled"}}
</h2> </h2>

View File

@ -63,7 +63,7 @@
{{else}} {{else}}
{{range .Forums}} {{range .Forums}}
{{$Stats := $Root.ForumMap.Get .ID}} {{$Stats := $Root.ForumMap.Get .ID}}
<div class="card block has-background-primary-light"> <div class="card block has-background-primary-light has-text-dark">
<div class="card-content"> <div class="card-content">
<div class="columns"> <div class="columns">
<div class="column is-3 pt-0 pb-1"> <div class="column is-3 pt-0 pb-1">
@ -83,21 +83,21 @@
<div> <div>
{{if .Explicit}} {{if .Explicit}}
<span class="tag is-danger is-light"> <span class="tag is-danger is-light has-text-dark">
<span class="icon"><i class="fa fa-fire"></i></span> <span class="icon"><i class="fa fa-fire"></i></span>
<span>Explicit</span> <span>Explicit</span>
</span> </span>
{{end}} {{end}}
{{if .Privileged}} {{if .Privileged}}
<span class="tag is-warning is-light"> <span class="tag is-warning is-light has-text-dark">
<span class="icon"><i class="fa fa-peace"></i></span> <span class="icon"><i class="fa fa-peace"></i></span>
<span>Privileged</span> <span>Privileged</span>
</span> </span>
{{end}} {{end}}
{{if .PermitPhotos}} {{if .PermitPhotos}}
<span class="tag is-grey"> <span class="tag is-grey has-text-dark">
<span class="icon"><i class="fa fa-camera"></i></span> <span class="icon"><i class="fa fa-camera"></i></span>
<span>Photos</span> <span>Photos</span>
</span> </span>
@ -106,8 +106,8 @@
</div> </div>
<div class="column py-1"> <div class="column py-1">
<div class="box has-background-success-light"> <div class="box has-background-success-light has-text-dark">
<h2 class="subtitle mb-1">Latest Post</h2> <h2 class="subtitle mb-1 has-text-dark">Latest Post</h2>
{{if $Stats.RecentThread}} {{if $Stats.RecentThread}}
<a href="/go/comment?id={{$Stats.RecentPost.ID}}"> <a href="/go/comment?id={{$Stats.RecentPost.ID}}">
<strong>{{$Stats.RecentThread.Title}}</strong> <strong>{{$Stats.RecentThread.Title}}</strong>
@ -129,8 +129,8 @@
<div class="column is-3 py-1"> <div class="column is-3 py-1">
<div class="columns is-mobile is-gapless"> <div class="columns is-mobile is-gapless">
<div class="column has-text-centered mr-1"> <div class="column has-text-centered mr-1">
<div class="box has-background-warning-light p-2"> <div class="box has-background-warning-light has-text-dark p-2">
<p class="is-size-7">Topics</p> <p class="is-size-7 has-text-dark">Topics</p>
{{if $Stats}} {{if $Stats}}
{{$Stats.Threads}} {{$Stats.Threads}}
{{else}} {{else}}
@ -139,8 +139,8 @@
</div> </div>
</div> </div>
<div class="column has-text-centered mx-1"> <div class="column has-text-centered mx-1">
<div class="box has-background-warning-light p-2"> <div class="box has-background-warning-light has-text-dark p-2">
<p class="is-size-7">Posts</p> <p class="is-size-7 has-text-dark">Posts</p>
{{if $Stats}} {{if $Stats}}
{{$Stats.Posts}} {{$Stats.Posts}}
{{else}} {{else}}
@ -149,8 +149,8 @@
</div> </div>
</div> </div>
<div class="column has-text-centered ml-1"> <div class="column has-text-centered ml-1">
<div class="box has-background-warning-light p-2"> <div class="box has-background-warning-light has-text-dark p-2">
<p class="is-size-7">Users</p> <p class="is-size-7 has-text-dark">Users</p>
{{if $Stats}} {{if $Stats}}
{{$Stats.Users}} {{$Stats.Users}}
{{else}} {{else}}

View File

@ -68,7 +68,7 @@
</span> </span>
{{end}} {{end}}
<span class="tag is-grey is-light mr-2" title="This thread can not be replied to."> <span class="tag is-grey is-light has-text-dark mr-2" title="This thread can not be replied to.">
<span class="icon"><i class="fa fa-eye"></i></span> <span class="icon"><i class="fa fa-eye"></i></span>
<span>{{.Thread.Views}} View{{PluralizeU64 .Thread.Views}}</span> <span>{{.Thread.Views}} View{{PluralizeU64 .Thread.Views}}</span>
</span> </span>
@ -103,7 +103,7 @@
{{$Root := .}} {{$Root := .}}
<div class="block p-2"> <div class="block p-2">
{{range $i, $c := .Comments}} {{range $i, $c := .Comments}}
<div class="box has-background-link-light" id="p{{.ID}}"> <div class="box has-background-link-light has-text-dark" id="p{{.ID}}">
<div class="columns"> <div class="columns">
<div class="column is-2 has-text-centered"> <div class="column is-2 has-text-centered">
<div> <div>