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 Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
codemirror Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
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 Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
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 Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
_explore.less Ensure popup text is aligned left (#17327) 2021-10-17 11:14:32 +01:00
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 2021-12-13 00:04:18 +01:00
_form.less Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861) 2022-06-03 17:38:26 -04:00
_home.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00
_install.less Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
_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 Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
_tribute.less Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
_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 Raw file view tweaks (#15520) 2021-04-22 23:43:44 +02:00
variables.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00