You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang 51cfe0e7de
Remove CSS `has` selector and improve various styles (#26891)
Replace  #26850

Major changes:

1. Remove all `has` selectors, it is still not supported by firefox.
Actually there could be some more general and clearer approaches
2. Remove `two-toggle-buttons`, the `.ui.buttons` just works well
3. Rewrite the `.ui.buttons` border styles, see the screenshots
4. Remove the "fine-tuning" paddings from the the flex children, they
could layout themselves well.

![image](https://github.com/go-gitea/gitea/assets/2114189/a32ed6f3-60f7-43d5-9492-62c45d2397f6)

![image](https://github.com/go-gitea/gitea/assets/2114189/5cb173c5-c942-4237-8cb4-2697220b3f06)

![image](https://github.com/go-gitea/gitea/assets/2114189/8a1c12b3-a632-48ff-b1a7-a01a4417f821)

![image](https://github.com/go-gitea/gitea/assets/2114189/46bde1bd-9113-4231-965d-6ec9076f6a3b)
11 months ago
..
actions Minor dashboard tweaks, fix flex-list margins (#26829) 11 months ago
branch Refactor some CSS styles and simplify code (#26771) 11 months ago
cite Button and color enhancements (#24989) 1 year ago
code Fix template bugs in recently_pushed_new_branches.tmpl (#26744) 11 months ago
diff Remove "TODO" tasks from CSS file (#26835) 11 months ago
editor Fix incorrect "tabindex" attributes (#26733) 11 months ago
find Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
graph Refactor "shortsha" (#26877) 11 months ago
issue Enable djlint H008 and fix issues (#26869) 11 months ago
migrate Use docs.gitea.com instead of docs.gitea.io (#26739) 11 months ago
projects Remove polluted `.ui.right` (#26825) 11 months ago
pulls Use template context function for avatar rendering (#26385) 12 months ago
release Remove polluted `.ui.right` (#26825) 11 months ago
settings Minor dashboard tweaks, fix flex-list margins (#26829) 11 months ago
tag Enable H014 and H023 djlint rules (#25786) 1 year ago
wiki Remove polluted `.ui.right` (#26825) 11 months ago
activity.tmpl Replace fomantic divider module with our own (#25539) 1 year ago
blame.tmpl Add template linting via djlint (#25212) 1 year ago
branch_dropdown.tmpl Add default label in branch select list (#26697) 11 months ago
clone_buttons.tmpl Remove some transition related code (#26755) 11 months ago
clone_script.tmpl Rework button coloring, add focus and active colors (#24507) 1 year ago
commit_load_branches_and_tags.tmpl Remove commit load branches and tags in wiki repo (#26304) 12 months ago
commit_page.tmpl Use template context function for avatar rendering (#26385) 12 months ago
commit_status.tmpl Remove commit status running and warning from the dashboard repo list (#26036) 1 year ago
commit_statuses.tmpl Button and color enhancements (#24989) 1 year ago
commits.tmpl Fix some UI alignments (#25277) 1 year ago
commits_list.tmpl Refactor "shortsha" (#26877) 11 months ago
commits_list_small.tmpl Remove polluted `.ui.right` (#26825) 11 months ago
commits_table.tmpl Remove ref name in PR commits page (#25876) 11 months ago
create.tmpl Fix incorrect "tabindex" attributes (#26733) 11 months ago
create_helper.tmpl Add templates to customize text when creating and migrating repositories 2 years ago
empty.tmpl Repository Archived text title center align (#25767) 1 year ago
file_info.tmpl Show image size on view page (#25884) 12 months ago
forks.tmpl Use template context function for avatar rendering (#26385) 12 months ago
graph.tmpl Replace remaining fontawesome dropdown icons with SVG (#24455) 1 year ago
header.tmpl Remove unnecessary template helper repoAvatar (#26387) 12 months ago
home.tmpl Render code blocks in repo description (#26830) 11 months ago
icon.tmpl Refactor some CSS styles and simplify code (#26771) 11 months ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 1 year ago
release_tag_header.tmpl Remove polluted `.ui.right` (#26825) 11 months ago
search.tmpl Refactor some CSS styles and simplify code (#26771) 11 months ago
search_name.tmpl Clean template/helper.go (#23922) 1 year ago
shabox_badge.tmpl Use template context function for avatar rendering (#26385) 12 months ago
sub_menu.tmpl Improve repo sub menu (#26531) 11 months ago
unicode_escape_prompt.tmpl Make confusable character warning less jarring (#25069) 12 months ago
upload.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
user_cards.tmpl Use template context function for avatar rendering (#26385) 12 months ago
view_file.tmpl Remove CSS `has` selector and improve various styles (#26891) 11 months ago
view_list.tmpl Refactor "shortsha" (#26877) 11 months ago
watchers.tmpl Fix user-cards format (#24428) 1 year ago