e20f8f0977 
								
							 
						 
						
							
							
								
								Improve profile readme rendering ( #25988 )  
							
							... 
							
							
							
							- Tell the renderer to use the `document` mode, so it's consistent with
other renderers.
- Use the same padding as `.file-view.markup`, so it's consistent with
other containers that contain markup rendering.
- Resolves https://codeberg.org/forgejo/forgejo/issues/833 
Co-authored-by: Gusted <postmaster@gusted.xyz> 
							
						 
						
							2023-07-19 22:22:32 +00: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  
				
					
						
							
							
								 
						
							
								27c221aa5d 
								
							 
						 
						
							
							
								
								Rework notifications list ( #24812 )  
							
							... 
							
							
							
							- Replace `<table>` with flexbox
- Add issue modification time and issue number
- Remove big title
- Replace tabs with menu items
- Add clicked item deletion on back button cache restoration
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-25 02:31:26 +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  
				
					
						
							
							
								 
						
							
								8a8b753647 
								
							 
						 
						
							
							
								
								Improve button-ghost, remove tertiary button ( #24692 )  
							
							... 
							
							
							
							<img width="474" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/7fd231f9-71c3-4769-ba96-37a5b77cf224 ">
<img width="557" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/c9945f61-39b4-4711-aea8-c34ef1d714c5 ">
<img width="641" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/691be76e-74fd-420d-9b9e-ba1f3b08e0b4 ">
And a page to test buttons:
<details>
<img width="451" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/5f61da24-2f36-40ad-a9bb-2205da5f5f04 ">
</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-13 20:38:22 +00:00  
				
					
						
							
							
								 
						
							
								82224c54e0 
								
							 
						 
						
							
							
								
								Improve avatar uploading / resizing / compressing, remove Fomantic card module ( #24653 )  
							
							... 
							
							
							
							Fixes : #8972 
Fixes : #24263 
And I think it also (partially) fix  #24263  (no need to convert) ,
because users could upload any supported image format if it isn't larger
than AVATAR_MAX_ORIGIN_SIZE
The main idea: 
* if the uploaded file size is not larger than AVATAR_MAX_ORIGIN_SIZE,
use the origin
* if the resized size is larger than the origin, use the origin
Screenshots:
JPG:
<details>

</details>
APNG:
<details>


</details>
WebP (animated)
<details>

</details>
The only exception: if a WebP image is larger than MaxOriginSize and it
is animated, then current `webp` package can't decode it, so only in
this case it isn't supported. IMO no need to support such case: why a
user would upload a 1MB animated webp as avatar? crazy .....
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-05-13 20:59:11 +02:00  
				
					
						
							
							
								 
						
							
								c090f87a8d 
								
							 
						 
						
							
							
								
								Add Gitea Profile Readmes ( #23260 )  
							
							... 
							
							
							
							Implements displaying a README.md file present in a users ```.profile```
repository on the users profile page. If no such repository/file is
present, the user's profile page remains unchanged.
Example of user with ```.profile/README.md```

Example of user without ```.profile/README.md```

This pull request closes the feature request in #12233  
Special thanks to @techknowlogick for the help in the Gitea discord!
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-09 05:57:24 +00: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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								5ab1c7acec 
								
							 
						 
						
							
							
								
								Fix user profile description rendering ( #23882 )  
							
							... 
							
							
							
							The `ul li` styles were polluted.
Before:

After:
 
							
						 
						
							2023-04-03 16:11:16 -04:00  
				
					
						
							
							
								 
						
							
								73b4010fcd 
								
							 
						 
						
							
							
								
								Remove row clicking from notification table ( #22695 )  
							
							... 
							
							
							
							Resolves  #22692 
I don't think there's a need for this entire row to be clickable (and
even different links depending on which segment you click)
The links still point to the same spot, so no information is lost here.
---------
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
							2023-03-25 14:37:34 -05:00  
				
					
						
							
							
								 
						
							
								253a00aaac 
								
							 
						 
						
							
							
								
								Remove conflicting CSS rules on notifications, improve notifications table ( #23565 )  
							
							... 
							
							
							
							Dropdowns on `/notifications/subscriptions` before and after:
<img width="157" alt="Screenshot 2023-03-18 at 20 37 12"
src="https://user-images.githubusercontent.com/115237/226133906-e4ad6a0a-de24-4324-8e1d-94081d23fe85.png ">
<img width="152" alt="Screenshot 2023-03-18 at 20 41 29"
src="https://user-images.githubusercontent.com/115237/226134038-c3946c32-a424-4b92-ad15-890e1036cafe.png ">
These selectors are meant to target the notification list which I
improved:
<img width="1145" alt="Screenshot 2023-03-19 at 01 52 11"
src="https://user-images.githubusercontent.com/115237/226147907-1c35736a-4bc9-4698-9813-21a20a1d2106.png ">
<img width="1148" alt="Screenshot 2023-03-19 at 01 54 17"
src="https://user-images.githubusercontent.com/115237/226147920-626dbd84-11d3-48db-a177-6d808e3212c0.png "> 
							
						 
						
							2023-03-21 15:11:25 -04:00  
				
					
						
							
							
								 
						
							
								d42015e6eb 
								
							 
						 
						
							
							
								
								Fix long name ui issues and label ui issue  ( #23541 )  
							
							... 
							
							
							
							This PR fixes some ui problems as mentioned in the two issues below.
1. Long file path has no word break
## Before
<img width="1357" alt="截屏2023-03-17 17 49 43"
src="https://user-images.githubusercontent.com/17645053/225873491-27c7bf9a-d5d5-4065-9e4a-ff228e935abf.png ">
## After
<img width="1248" alt="截屏2023-03-17 17 51 22"
src="https://user-images.githubusercontent.com/17645053/225873562-93b87af7-9c83-43f8-aa0d-36a9174d25ac.png ">
on mobile
<img width="408" alt="截屏2023-03-17 17 51 15"
src="https://user-images.githubusercontent.com/17645053/225873554-1b8c8999-1dfc-4251-a7fc-20ecd3444cb0.png ">
2. Texts in labels  
## Before
<img width="1219" alt="截屏2023-03-17 17 49 24"
src="https://user-images.githubusercontent.com/17645053/225873369-812b1b52-c104-4e32-988f-c3e55ad2f844.png ">
## After
<img width="1259" alt="截屏2023-03-17 17 51 31"
src="https://user-images.githubusercontent.com/17645053/225873317-9717fd2c-e9e1-4a00-a27d-6bdc5933c3ca.png ">
with two labels
<img width="1258" alt="截屏2023-03-17 17 51 53"
src="https://user-images.githubusercontent.com/17645053/225873323-13198192-71de-472d-8e78-6fd86ddba3d9.png ">
In explore and star pages
<img width="896" alt="截屏2023-03-17 18 25 00"
src="https://user-images.githubusercontent.com/17645053/225878962-9e26e3aa-cff0-451c-9133-19f4ad1507a4.png ">
<img width="913" alt="截屏2023-03-17 18 25 09"
src="https://user-images.githubusercontent.com/17645053/225878967-6adaa414-136e-43c2-87d0-7e46a0da112e.png ">
3. Long name repository on creating new fork page
## Before
<img width="919" alt="截屏2023-03-17 17 50 01"
src="https://user-images.githubusercontent.com/17645053/225873723-5c4ea137-3b51-4074-a458-ef442e330ddf.png ">
## After
<img width="907" alt="截屏2023-03-17 17 50 37"
src="https://user-images.githubusercontent.com/17645053/225873772-fc4a52c3-49c6-4ca6-903d-a13707f2a98b.png ">
<img width="383" alt="截屏2023-03-17 17 50 48"
src="https://user-images.githubusercontent.com/17645053/225873779-6de1dfde-5c05-4ae9-89e1-85c25b3a1682.png ">
Closes  #23535 
Closes  #23534  
							
						 
						
							2023-03-18 17:07:59 +01: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