mirror of
1
Fork 0
forgejo/web_src/less
silverwind c61ed6fad4
Rework repo buttons (#20602, #20718) (#20719)
* Rework repo buttons (#20602)

* Rework repo buttons

- Replace "New PR" and "Go to File" button with Icon Button
- Move all "Add File" actions into a dropdown button
- Remove most custom styling of clone buttons
- Margin and wiki tweaks

Buttons are now all equal height, mobile layout wraps gracefully.

Fixes: https://github.com/go-gitea/gitea/issues/13671
Replaces: https://github.com/go-gitea/gitea/pull/20375

* Restore history button and hide add button when unable to add (#20718)

Fix two regressions from #20602:

- Restore the 'History' button that was previously unable to render
  because it's show condition was never hit
- Hide the 'Add File' button when there would be no items in the
  dropdown.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-08-20 15:49:16 +01:00
..
chroma Make .cs highlighting legible on dark themes. (#19604) 2022-05-04 16:58:38 +08:00
code
codemirror
console Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
features Prevent "empty" scrollbars on Firefox (#20294) (#20308) 2022-07-10 19:48:35 +01:00
markup Disallow selecting the text of buttons (#19330) 2022-04-14 16:57:19 +08:00
shared Make branch icon stand out more (#20726) (#20774) 2022-08-12 15:38:17 -04:00
standalone
themes Remove fomantic progress module (#19760) 2022-05-20 05:04:45 +02:00
_admin.less Prevent "empty" scrollbars on Firefox (#20294) (#20308) 2022-07-10 19:48:35 +01:00
_base.less Fix dashboard switching on Mobile (#20238) (#20239) 2022-07-28 19:04:29 +02:00
_dashboard.less Fix dashboard switching on Mobile (#20238) (#20239) 2022-07-28 19:04:29 +02:00
_editor.less
_explore.less
_font_i18n.less
_form.less Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861) 2022-06-03 17:38:26 -04:00
_home.less
_install.less
_organization.less Add RSS Feed buttons to Repo, User and Org pages (#19370) 2022-04-24 22:03:39 +02:00
_repository.less Rework repo buttons (#20602, #20718) (#20719) 2022-08-20 15:49:16 +01:00
_review.less Replace unstyled meter with progress (#19968) 2022-06-15 12:28:24 +08:00
_svg.less
_tribute.less
_user.less Prevent "empty" scrollbars on Firefox (#20294) (#20308) 2022-07-10 19:48:35 +01:00
animations.less Improve reviewing PR UX (#19612) 2022-05-07 01:35:12 -04:00
helpers.less Rework repo buttons (#20602, #20718) (#20719) 2022-08-20 15:49:16 +01:00
index.less Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
misc.css
variables.less