Skip to content

Commit

Permalink
feat(ui): Changing color for icon overlay
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Feb 5, 2023
1 parent c6c71dd commit c405519
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/fibr/templates/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,11 @@
{{ template "async-image-item" . }}

{{ if .IsVideo }}
<img class="icon icon-overlay" src="{{ url "/svg/play?fill=rgba(192,192,192,0.8)" }}" alt="play icon" title="Play video">
<img class="icon icon-overlay" src="{{ url "/svg/play?fill=rgba(39,39,39,0.8)" }}" alt="play icon" title="Play video">
{{ end }}

{{ if .IsCover }}
<img class="icon icon-overlay-small" src="{{ url "/svg/rss?fill=rgba(192,192,192,0.8)" }}" alt="waves" title="Is cover image">
<img class="icon icon-overlay-small" src="{{ url "/svg/rss?fill=rgba(39,39,39,0.8)" }}" alt="waves" title="Is cover image">
{{ end }}
{{ else }}
<img class="icon {{ if eq $root.Request.Display "grid" }}icon-large{{ end }}" src="{{ url "/svg/" }}{{ if .IsDir }}folder{{ else }}{{ iconFromExtension . }}{{ end }}?fill=aliceblue" alt="{{ if .IsDir }}folder{{ else }}file{{ end }}">
Expand Down
2 changes: 1 addition & 1 deletion cmd/fibr/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
{{ template "async-image-item" . }}

{{ if .IsVideo }}
<img class="icon icon-overlay" src="{{ url "/svg/play?fill=rgba(192,192,192,0.8)" }}" alt="play icon" title="Play video">
<img class="icon icon-overlay" src="{{ url "/svg/play?fill=rgba(39,39,39,0.8)" }}" alt="play icon" title="Play video">
{{ end }}
{{ else }}
<img class="icon {{ if eq $root.Request.Display "grid" }}icon-large{{ end }}" src="{{ url "/svg/" }}{{ if .IsDir }}folder{{ else }}{{ iconFromExtension . }}{{ end }}?fill=aliceblue" alt="{{ if .IsDir }}folder{{ else }}file{{ end }}">
Expand Down
2 changes: 1 addition & 1 deletion cmd/fibr/templates/story.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
{{ template "async-image-item-large" .RenderItem }}

{{ if .IsVideo }}
<img class="icon icon-overlay" src="{{ url "/svg/play?fill=rgba(192,192,192,0.8)" }}" alt="play icon" title="Play video">
<img class="icon icon-overlay" src="{{ url "/svg/play?fill=rgba(39,39,39,0.8)" }}" alt="play icon" title="Play video">
{{ end }}
</a>

Expand Down

0 comments on commit c405519

Please sign in to comment.