mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	CSS table fixes (#13692)
* CSS table fixes Override the right fomantic selectors. Fixes: https://github.com/go-gitea/gitea/issues/13690 * use flexbox
This commit is contained in:
		| @@ -2,14 +2,16 @@ | |||||||
| <div class="repository wiki pages"> | <div class="repository wiki pages"> | ||||||
| 	{{template "repo/header" .}} | 	{{template "repo/header" .}} | ||||||
| 	<div class="ui container"> | 	<div class="ui container"> | ||||||
| 		<div class="ui header"> | 		<h2 class="ui header df ac sb"> | ||||||
| 			{{.i18n.Tr "repo.wiki.pages"}} | 			<div> | ||||||
| 			{{if and .CanWriteWiki (not .IsRepositoryMirror)}} | 				{{.i18n.Tr "repo.wiki.pages"}} | ||||||
| 			<div class="ui right"> |  | ||||||
| 				<a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a> |  | ||||||
| 			</div> | 			</div> | ||||||
| 			{{end}} | 			<div> | ||||||
| 		</div> | 				{{if and .CanWriteWiki (not .IsRepositoryMirror)}} | ||||||
|  | 					<a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a> | ||||||
|  | 				{{end}} | ||||||
|  | 			</div> | ||||||
|  | 		</h2> | ||||||
| 		<table class="ui table"> | 		<table class="ui table"> | ||||||
| 			<tbody> | 			<tbody> | ||||||
| 				{{range .Pages}} | 				{{range .Pages}} | ||||||
|   | |||||||
| @@ -229,6 +229,8 @@ a:hover, | |||||||
|  |  | ||||||
| .ui.table { | .ui.table { | ||||||
|   color: var(--color-text); |   color: var(--color-text); | ||||||
|  |   background: var(--color-body); | ||||||
|  |   border-color: var(--color-secondary); | ||||||
| } | } | ||||||
|  |  | ||||||
| .ui.ui.selectable.table > tbody > tr:hover, | .ui.ui.selectable.table > tbody > tr:hover, | ||||||
| @@ -237,6 +239,12 @@ a:hover, | |||||||
|   background-color: var(--color-secondary-alpha-40); |   background-color: var(--color-secondary-alpha-40); | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .ui.ui.ui.ui.table tr.grey:not(.marked), | ||||||
|  | .ui.ui.table td.grey:not(.marked) { | ||||||
|  |   background: var(--color-body); | ||||||
|  |   color: var(--color-text); | ||||||
|  | } | ||||||
|  |  | ||||||
| .ui.modal { | .ui.modal { | ||||||
|   background: var(--color-body); |   background: var(--color-body); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -891,25 +891,10 @@ a.ui.basic.green.label:hover { | |||||||
|   background-color: #393d4a !important; |   background-color: #393d4a !important; | ||||||
| } | } | ||||||
|  |  | ||||||
| .ui.table { |  | ||||||
|   border-color: var(--color-secondary); |  | ||||||
|   background: #353945; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .ui.table tbody tr { |  | ||||||
|   border-color: var(--color-secondary); |  | ||||||
|   background: #353945; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .ui .text.grey { | .ui .text.grey { | ||||||
|   color: var(--color-secondary-dark-6) !important; |   color: var(--color-secondary-dark-6) !important; | ||||||
| } | } | ||||||
|  |  | ||||||
| .ui.attached.table.segment { |  | ||||||
|   background: #353945; |  | ||||||
|   color: #dbdbdb !important; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .markdown:not(code) h2 { | .markdown:not(code) h2 { | ||||||
|   border-bottom: 1px solid #304251; |   border-bottom: 1px solid #304251; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user