a7e8273574 
								
							 
						 
						
							
							
								
								Fix the truncate and alignment problem for some admin tables ( #26042 )  
							
							... 
							
							
							
							Some "text truncate email" code were just copied&pasted, they are not
suitable for most admin tables.
For the table layouts, some "max-width" helpers could be very helpful.
At least, we can get rid of the confusing "email" CSS class.


 
							
						 
						
							2023-07-22 10:54:48 +00:00  
				
					
						
							
							
								 
						
							
								d021c88d29 
								
							 
						 
						
							
							
								
								Reduce margins on admin pages ( #26026 )  
							
							... 
							
							
							
							Reduce margins around admin boxes and reduce sidebar size from 275px to
240px. This is the same 16px margin we use on issue pages.
Before and After:
<img width="1270" alt="Screenshot 2023-07-21 at 00 28 11"
src="https://github.com/go-gitea/gitea/assets/115237/f9b0dcb0-8f7e-49b4-b130-54bf31c142fd ">
<img width="1271" alt="Screenshot 2023-07-21 at 00 30 51"
src="https://github.com/go-gitea/gitea/assets/115237/ddd75d59-9ab9-4061-8989-852e89727560 "> 
							
						 
						
							2023-07-21 03:11:42 +00:00  
				
					
						
							
							
								 
						
							
								00dbba7f42 
								
							 
						 
						
							
							
								
								Several fixes for mobile UI ( #25634 )  
							
							... 
							
							
							
							Resolves  #25622  
<details>
<summary>Screenshots</summary>







</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-07-04 17:45:45 +00:00  
				
					
						
							
							
								 
						
							
								64f2d70262 
								
							 
						 
						
							
							
								
								Replace fomantic divider module with our own ( #25539 )  
							
							... 
							
							
							
							Should look exactly like before for normal dividers. "Horizontal" ones
look better because they no longer use image backgrounds.
<img width="917" alt="Screenshot 2023-06-27 at 19 07 56"
src="https://github.com/go-gitea/gitea/assets/115237/d97d8dec-6859-44a8-85ba-e4549b4dd9df ">
<img width="914" alt="Screenshot 2023-06-27 at 19 05 58"
src="https://github.com/go-gitea/gitea/assets/115237/8bf98544-2d82-4ebf-ac68-d6dc237bd6b2 ">
<img width="1246" alt="Screenshot 2023-06-27 at 19 00 42"
src="https://github.com/go-gitea/gitea/assets/115237/36a6bb21-6029-4f53-8bee-535f55c66fed ">
<img width="344" alt="Screenshot 2023-06-27 at 18 58 15"
src="https://github.com/go-gitea/gitea/assets/115237/a9e70aee-8e6b-4ea1-9e93-19c9f96aec6e ">
<img width="823" alt="Screenshot 2023-06-27 at 18 56 22"
src="https://github.com/go-gitea/gitea/assets/115237/e7a497cd-f262-4683-8872-23c3c8cce32f ">
<img width="330" alt="Screenshot 2023-06-27 at 19 21 11"
src="https://github.com/go-gitea/gitea/assets/115237/42f24149-a655-4c7e-bd26-8ab52db6446b "> 
							
						 
						
							2023-06-29 20:24:22 +08:00  
				
					
						
							
							
								 
						
							
								6dbcf6fbc5 
								
							 
						 
						
							
							
								
								Fix admin-dl-horizontal ( #25512 )  
							
							... 
							
							
							
							

---------
Co-authored-by: HesterG <hestergong@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-27 09:14:45 +00:00  
				
					
						
							
							
								 
						
							
								457946d595 
								
							 
						 
						
							
							
								
								Allow change line of admin-dl-horizontal dt ( #25508 )  
							
							... 
							
							
							
							Close  #25389 
After:
<img width="915" alt="Screen Shot 2023-06-26 at 11 00 12"
src="https://github.com/go-gitea/gitea/assets/17645053/45026447-cf50-4603-ade3-7b80a9023c20 ">
admin/dashboard:
<img width="957" alt="Screen Shot 2023-06-26 at 10 59 51"
src="https://github.com/go-gitea/gitea/assets/17645053/f4f95bbe-f747-46f1-8fbd-5778a19ebef7 "> 
						
							2023-06-26 11:49:14 +08:00  
				
					
						
							
							
								 
						
							
								6a075589bf 
								
							 
						 
						
							
							
								
								Fix mobile navbar and misc cleanups ( #25134 )  
							
							... 
							
							
							
							- Fix and improve mobile navbar layout
- Apply all cleanups suggested in
https://github.com/go-gitea/gitea/pull/25111 
- Make media query breakpoints match Fomantic's exactly
- Clean up whitespace in class on navbar items
Mobile navbar before and after:
<img width="745" alt="Screenshot 2023-06-08 at 08 40 56"
src="https://github.com/go-gitea/gitea/assets/115237/ca84b239-b10f-41db-8c06-dcf2b6dd9d28 ">
<img width="739" alt="Screenshot 2023-06-08 at 08 41 23"
src="https://github.com/go-gitea/gitea/assets/115237/09133c54-eb7e-4110-858c-ead23c3b7521 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-09 09:10:51 +00:00  
				
					
						
							
							
								 
						
							
								19993d8814 
								
							 
						 
						
							
							
								
								Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables ( #24827 )  
							
							... 
							
							
							
							There was some recent discussion about this in Discord `ui-design`
channel and the conclusion was that
https://github.com/go-gitea/gitea/issues/24305  should have fixed their
OS font installation to have semibold weights.
I have now tested this 601 weight on a Windows 10 machine on Firefox
myself, and I immediately noticed that bold was excessivly bold and
rendering as 700 because browsers are biased towards bolder fonts. So
revert this back to the previous value. 
							
						 
						
							2023-05-21 23:37:32 +00:00  
				
					
						
							
							
								 
						
							
								f7cf7e6848 
								
							 
						 
						
							
							
								
								Fix config list overflow and layout ( #24312 )  
							
							... 
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/24299 
<img width="531" alt="Screenshot 2023-04-24 at 21 05 40"
src="https://user-images.githubusercontent.com/115237/234091905-9db42697-87b3-40a0-bd18-9e910ad8a2ae.png "> 
							
						 
						
							2023-04-30 13:32:07 -04:00  
				
					
						
							
							
								 
						
							
								83022013c8 
								
							 
						 
						
							
							
								
								Fix layouts of admin table / adapt repo / email test  ( #24370 )  
							
							... 
							
							
							
							Ref:
https://github.com/go-gitea/gitea/pull/24315#pullrequestreview-1403034993 
And fix the incorrect layout for "dasbboard", the "form" shouldn't
follow `<h4 class="ui top attached header">`, so move it to inner.
Diff with ignoring spaces:
https://github.com/go-gitea/gitea/pull/24370/files?diff=unified&w=1 
A known bug: the adapt/delete button doesn't work due to a historical
messy logic, will fix it in next PR (#24374 )



 
							
						 
						
							2023-04-28 09:48:41 +08:00  
				
					
						
							
							
								 
						
							
								f1a4330306 
								
							 
						 
						
							
							
								
								Modify width of ui container, fine tune css for settings pages and org header ( #24315 )  
							
							... 
							
							
							
							Close  #24302  
Part of #24229 , Follows #24246 
This PR focused on CSS style fine-tune, main changes:
1. Give `.ui.ui.ui.container` a width of `1280px` with a max-width of
`calc(100vw - 64px)`, so the main contents looks better on large
devices.
2. Share styles for table elements in all levels settings pages to fix
overflow of runners table on mobile and for consistency (The headers on
mobile can be further improved, but haven't found a proper way yet).
3. Use [stackable
grid](https://fomantic-ui.com/collections/grid.html#stackable ) and
[device column width](https://fomantic-ui.com/examples/responsive.html )
for responsiveness for some pages (repo/org collaborators settings
pages, org teams related page)
4. Fixed  #24302  by sharing label related CSS in reporg.css
5. Fine tune repo tags settings page
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
							2023-04-26 11:59:08 -04:00  
				
					
						
							
							
								 
						
							
								20a3b03fe5 
								
							 
						 
						
							
							
								
								Add --font-weight-bold and set previous bold to 601 ( #24307 )  
							
							... 
							
							
							
							Fix  #24305 
According to MDN, "bold" starts from 700, some fonts do not provide
"bolding" for weight 600
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
							2023-04-24 13:46:00 -04:00  
				
					
						
							
							
								 
						
							
								202803fc69 
								
							 
						 
						
							
							
								
								Replace Less with CSS ( #23481 )  
							
							... 
							
							
							
							Ran most of the Less files through the Less compiler and Prettier and
then followed up with a round of manual fixes.
The Less compiler had unfortunately stripped all `//` style comments
that I had to restore (It did preserve `/* */` comments). Other fixes
include duplicate selector removal which were revealed after the
transpilation and which weren't caught by stylelint before but now are.
Fixes: https://github.com/go-gitea/gitea/issues/15565  
							
						 
						
							2023-03-14 22:20:19 -04:00