mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 01:12:24 -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,8 +361,18 @@ | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			.stats-item.published-at dd time.dt-published { | 			.stats-item.published-at dd a { | ||||||
| 				text-decoration: underline; | 				time.dt-published { | ||||||
|  | 					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) { | ||||||
|  |  | ||||||
|  | @ -39,49 +39,61 @@ | ||||||
| 
 | 
 | ||||||
| {{- with . }} | {{- with . }} | ||||||
| <div class="status-stats"> | <div class="status-stats"> | ||||||
|     <dl class="stats-grouping"> |     <dl class="stats-grouping text-cutoff"> | ||||||
|         <div class="stats-item visibility-level" title="{{- template "visibility_title" . -}}"> |  | ||||||
|             <dt class="sr-only">Visibility</dt> |  | ||||||
|             <dd> |  | ||||||
|                 <i class="fa fa-{{- template "visibility_icon" . -}}" aria-hidden="true"></i> |  | ||||||
|                 <span class="sr-only">{{- template "visibility_title" . -}}</span> |  | ||||||
|             </dd> |  | ||||||
|         </div> |  | ||||||
|         <div class="stats-item published-at text-cutoff"> |         <div class="stats-item published-at text-cutoff"> | ||||||
|             <dt class="sr-only">Published</dt> |             <dt class="sr-only">Published</dt> | ||||||
|             <dd> |             <dd class="text-cutoff"> | ||||||
|                 {{- if .Local }} |                 {{- if .Local }} | ||||||
|                 <a |                 <a | ||||||
|                     href="{{- .URL -}}" |                     href="{{- .URL -}}" | ||||||
|                     class="u-url" |                     class="u-url text-cutoff" | ||||||
|                     data-nosnippet |                     data-nosnippet | ||||||
|                     title="Open thread at this post" |                     title="Open thread at this post" | ||||||
|                 > |                 > | ||||||
|                     <time class="dt-published" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }} |                     <time class="dt-published text-cutoff" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }} | ||||||
|                 </a> |                 </a> | ||||||
|                 {{- else }} |                 {{- else }} | ||||||
|                 <a |                 <a | ||||||
|                     href="{{- .URL -}}" |                     href="{{- .URL -}}" | ||||||
|                     class="u-url" |                     class="u-url text-cutoff" | ||||||
|                     data-nosnippet |                     data-nosnippet | ||||||
|                     rel="nofollow noreferrer noopener" target="_blank" |                     rel="nofollow noreferrer noopener" target="_blank" | ||||||
|                     title="Open remote post (opens in a new window)" |                     title="Open remote post (opens in a new window)" | ||||||
|                 > |                 > | ||||||
|                     <time class="dt-published" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }} |                     <time class="dt-published text-cutoff" datetime="{{- .CreatedAt -}}">{{- .CreatedAt | timestampPrecise -}}</time>{{- if .EditedAt }}*{{- end }} | ||||||
|                 </a> |                 </a> | ||||||
|                 {{- end }} |                 {{- end }} | ||||||
|             </dd> |             </dd> | ||||||
|         </div> |         </div> | ||||||
|         {{- if .Pinned }} |         <div class="stats-grouping"> | ||||||
|         <div class="stats-item" title="Pinned"> |             <div class="stats-item visibility-level" title="{{- template "visibility_title" . -}}"> | ||||||
|             <dt> |                 <dt class="sr-only">Visibility</dt> | ||||||
|                 <span class="sr-only">Pinned</span> |                 <dd> | ||||||
|                 <i class="fa fa-thumb-tack" aria-hidden="true"></i> |                     <i class="fa fa-{{- template "visibility_icon" . -}}" aria-hidden="true"></i> | ||||||
|             </dt> |                     <span class="sr-only">{{- template "visibility_title" . -}}</span> | ||||||
|             <dd class="sr-only">{{- .Pinned -}}</dd> |                 </dd> | ||||||
|  |             </div> | ||||||
|  |             {{- if .Pinned }} | ||||||
|  |             <div class="stats-item" title="Pinned"> | ||||||
|  |                 <dt> | ||||||
|  |                     <span class="sr-only">Pinned</span> | ||||||
|  |                     <i class="fa fa-thumb-tack" aria-hidden="true"></i> | ||||||
|  |                 </dt> | ||||||
|  |                 <dd class="sr-only">{{- .Pinned -}}</dd> | ||||||
|  |             </div> | ||||||
|  |             {{- else }} | ||||||
|  |             {{- 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> |         </div> | ||||||
|         {{- else }} |  | ||||||
|         {{- end }} |  | ||||||
|     </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