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 d32af84a10
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
Close #22847

This PR:

* introduce Gitea's own `showElem` and related functions
* remove jQuery show/hide
* remove .hide class
* remove inline style=display:none 

From now on:

do not use:
* "[hidden]" attribute: it's too weak, can not be applied to an element
with "display: flex"
* ".hidden" class: it has been polluted by Fomantic UI in many cases
* inline style="display: none": it's difficult to tweak
* jQuery's show/hide/toggle: it can not show/hide elements with
"display: xxx !important"

only use:
* this ".gt-hidden" class
* showElem/hideElem/toggleElem functions in "utils/dom.js"

cc: @silverwind , this is the all-in-one PR
1 year ago
..
chroma Improve arc-green code theme (#21039) 2 years ago
code Fix and restyle menu on code line (#15913) 3 years ago
codemirror Support Issue forms and PR forms (#20987) 2 years ago
console Add support for rendering terminal output with colors (#19497) 2 years ago
features Preview images for Issue cards in Project Board view (#22112) 1 year ago
markup Load asciicast css async (#22502) 1 year ago
modules Use separate class for tippy targets (#20742) 2 years ago
shared Timeline and color tweaks (#21799) 2 years ago
standalone Update JS dependencies, fix lint (#18389) 2 years ago
themes Release and Tag List tweaks (#21712) 1 year ago
_admin.less Webhook list enhancements (#21893) 2 years ago
_base.less Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
_dashboard.less Fix margin and alignment in dashboard repolist (#22120) 1 year ago
_editor.less Extract CodeMirror styles (#17960) 2 years ago
_explore.less improve explore relevancy note (#22421) 1 year ago
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 2 years ago
_form.less Add new captcha: cloudflare turnstile (#22369) 1 year ago
_home.less fix media query edge case (#13546) 4 years ago
_install.less Move all remaining colors into CSS variables (#21903) 2 years ago
_organization.less Add team member invite by email (#20307) 2 years ago
_package.less Fix empty container layer history and UI (#21251) 2 years ago
_repository.less Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
_review.less First step to refactor the `.hide` to `.gt-hidden` (#22916) 1 year ago
_runner.less Move helpers to be prefixed with `gt-` (#22879) 1 year ago
_svg.less Update JS dependencies, fix lint (#18389) 2 years ago
_tribute.less CSS color enhancements (#21534) 2 years ago
_user.less Add badge capabilities to users (#20607) 2 years ago
animations.less Improvements for Content Copy (#21842) 2 years ago
helpers.less Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
index.less Remove _actions.less (#22885) 1 year ago
variables.less fix media query edge case (#13546) 4 years ago