0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 14:19:46 +01:00
gitea/templates/repo
wxiaoguang d306ab2b8f
Remove Fomantic-UI's .hidden CSS class for menu elements (#22895)
* Like #22851
* All other dropdown menu elements do not have such `hidden` class.
* Actually the dropdown menu elements do not need it in HTML, so this PR
removes it.
* There is already `.ui.dropdown .menu { display: none; }`, so when
loading the page, the menu is correctly hidden initially, no need to add
any more CSS classes.
* The Fomantic UI's `.hidden` class should still exist until there is no
its checkbox/dropdown module anymore. The Fomantic UI JS code still
addes `hidden` for `ui checkbox` and addes `transition hidden` for `ui
menu` at the moment.
* This PR also cleans the legacy inline `style`, which is quite hacky
and no need anymore.

All these dropdown menus work well.

I have tested these 5 places:

* The code search from User Profile
* The issue sidebar to lock issue
* The repo search form
* The repo setting page: branch list
* The repo setting page: merge option list

Screenshot:

![image](https://user-images.githubusercontent.com/2114189/218534515-e7dfe291-6765-4e0b-833c-b74f17e30117.png)
2023-02-14 19:53:54 +08:00
..
actions Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
branch Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
cite Copy citation file content, in APA and BibTex format, on repo home page (#19999) 2022-11-11 18:02:50 +01:00
diff Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
editor Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
find Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
graph Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
issue Remove Fomantic-UI's .hidden CSS class for menu elements (#22895) 2023-02-14 19:53:54 +08:00
migrate Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
projects Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
pulls Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
release Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
settings Remove Fomantic-UI's .hidden CSS class for menu elements (#22895) 2023-02-14 19:53:54 +08:00
wiki Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
activity.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
blame.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
branch_dropdown.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
clone_buttons.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
clone_script.tmpl Make clone URL use current page's host (#22808) 2023-02-09 17:29:13 +08:00
commit_page.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
commit_status.tmpl Change commit status icons to SVG (#20736) 2022-08-09 23:55:29 +02:00
commit_statuses.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
commits_list_small.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
commits_list.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
commits_table.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
commits.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
create_helper.tmpl Add templates to customize text when creating and migrating repositories 2023-01-24 22:36:48 -05:00
create.tmpl Remove Fomantic-UI's .hidden CSS class for checkbox elements (#22851) 2023-02-13 11:16:59 +08:00
empty.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
file_info.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
forks.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
graph.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
header.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
home.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
icon.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
packages.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
search.tmpl Remove Fomantic-UI's .hidden CSS class for menu elements (#22895) 2023-02-14 19:53:54 +08:00
shabox_badge.tmpl
sub_menu.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
unicode_escape_prompt.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
upload.tmpl
user_cards.tmpl Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
view_file.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
view_list.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
watchers.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00