mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 12:52:26 -05:00
more about-dicking
This commit is contained in:
parent
5291146f8a
commit
076c0062d8
3 changed files with 51 additions and 24 deletions
|
|
@ -59,6 +59,7 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
display: grid;
|
display: grid;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,7 @@
|
||||||
|
|
||||||
.stats-grouping {
|
.stats-grouping {
|
||||||
column-gap: 1rem;
|
column-gap: 1rem;
|
||||||
|
row-gap: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats-item {
|
.stats-item {
|
||||||
|
|
@ -360,10 +361,20 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats-item.published-at dd time.dt-published {
|
.stats-item.published-at dd a {
|
||||||
|
time.dt-published {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus-visible {
|
||||||
|
outline: 0;
|
||||||
|
time.dt-published {
|
||||||
|
outline: $link-focus-outline;
|
||||||
|
outline-offset: -0.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.stats-item:not(.published-at):not(.edit-timeline) {
|
.stats-item:not(.published-at):not(.edit-timeline) {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,33 @@
|
||||||
|
|
||||||
{{- with . }}
|
{{- with . }}
|
||||||
<div class="status-stats">
|
<div class="status-stats">
|
||||||
<dl class="stats-grouping">
|
<dl class="stats-grouping text-cutoff">
|
||||||
|
<div class="stats-item published-at text-cutoff">
|
||||||
|
<dt class="sr-only">Published</dt>
|
||||||
|
<dd class="text-cutoff">
|
||||||
|
{{- if .Local }}
|
||||||
|
<a
|
||||||
|
href="{{- .URL -}}"
|
||||||
|
class="u-url text-cutoff"
|
||||||
|
data-nosnippet
|
||||||
|
title="Open thread at this post"
|
||||||
|
>
|
||||||
|
<time class="dt-published text-cutoff" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }}
|
||||||
|
</a>
|
||||||
|
{{- else }}
|
||||||
|
<a
|
||||||
|
href="{{- .URL -}}"
|
||||||
|
class="u-url text-cutoff"
|
||||||
|
data-nosnippet
|
||||||
|
rel="nofollow noreferrer noopener" target="_blank"
|
||||||
|
title="Open remote post (opens in a new window)"
|
||||||
|
>
|
||||||
|
<time class="dt-published text-cutoff" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }}
|
||||||
|
</a>
|
||||||
|
{{- end }}
|
||||||
|
</dd>
|
||||||
|
</div>
|
||||||
|
<div class="stats-grouping">
|
||||||
<div class="stats-item visibility-level" title="{{- template "visibility_title" . -}}">
|
<div class="stats-item visibility-level" title="{{- template "visibility_title" . -}}">
|
||||||
<dt class="sr-only">Visibility</dt>
|
<dt class="sr-only">Visibility</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
@ -47,31 +73,6 @@
|
||||||
<span class="sr-only">{{- template "visibility_title" . -}}</span>
|
<span class="sr-only">{{- template "visibility_title" . -}}</span>
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
<div class="stats-item published-at text-cutoff">
|
|
||||||
<dt class="sr-only">Published</dt>
|
|
||||||
<dd>
|
|
||||||
{{- if .Local }}
|
|
||||||
<a
|
|
||||||
href="{{- .URL -}}"
|
|
||||||
class="u-url"
|
|
||||||
data-nosnippet
|
|
||||||
title="Open thread at this post"
|
|
||||||
>
|
|
||||||
<time class="dt-published" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }}
|
|
||||||
</a>
|
|
||||||
{{- else }}
|
|
||||||
<a
|
|
||||||
href="{{- .URL -}}"
|
|
||||||
class="u-url"
|
|
||||||
data-nosnippet
|
|
||||||
rel="nofollow noreferrer noopener" target="_blank"
|
|
||||||
title="Open remote post (opens in a new window)"
|
|
||||||
>
|
|
||||||
<time class="dt-published" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }}
|
|
||||||
</a>
|
|
||||||
{{- end }}
|
|
||||||
</dd>
|
|
||||||
</div>
|
|
||||||
{{- if .Pinned }}
|
{{- if .Pinned }}
|
||||||
<div class="stats-item" title="Pinned">
|
<div class="stats-item" title="Pinned">
|
||||||
<dt>
|
<dt>
|
||||||
|
|
@ -82,6 +83,17 @@
|
||||||
</div>
|
</div>
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .RepliesCount }}
|
||||||
|
<div class="stats-item" title="Replies">
|
||||||
|
<dt>
|
||||||
|
<span class="sr-only">Replies</span>
|
||||||
|
<i class="fa fa-reply-all" aria-hidden="true"></i>
|
||||||
|
</dt>
|
||||||
|
<dd>{{- .RepliesCount -}}</dd>
|
||||||
|
</div>
|
||||||
|
{{- else }}
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
</dl>
|
</dl>
|
||||||
<details class="stats-more-info" name="stats-more-info">
|
<details class="stats-more-info" name="stats-more-info">
|
||||||
<summary title="More info">
|
<summary title="More info">
|
||||||
|
|
@ -105,6 +117,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if not .RepliesCount }}
|
||||||
<div class="stats-item" title="Replies">
|
<div class="stats-item" title="Replies">
|
||||||
<dt>
|
<dt>
|
||||||
<span class="sr-only">Replies</span>
|
<span class="sr-only">Replies</span>
|
||||||
|
|
@ -112,6 +125,8 @@
|
||||||
</dt>
|
</dt>
|
||||||
<dd>{{- .RepliesCount -}}</dd>
|
<dd>{{- .RepliesCount -}}</dd>
|
||||||
</div>
|
</div>
|
||||||
|
{{- else }}
|
||||||
|
{{- end }}
|
||||||
<div class="stats-item" title="Faves">
|
<div class="stats-item" title="Faves">
|
||||||
<dt>
|
<dt>
|
||||||
<span class="sr-only">Favourites</span>
|
<span class="sr-only">Favourites</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue