]> source.dussan.org Git - gitea.git/commit
Add class to page content to unify top margin (#13766)
authorsilverwind <me@silverwind.io>
Tue, 1 Dec 2020 04:00:14 +0000 (05:00 +0100)
committerGitHub <noreply@github.com>
Tue, 1 Dec 2020 04:00:14 +0000 (23:00 -0500)
commitb1cf7f4df11dfac879d65125880d18a03fef22c0
tree79a9f65c922b4e247744d7fc8a96509f4a72caa1
parent14e8ef9ecb7c79ba8adff6fee44fc9bfb669814c
Add class to page content to unify top margin (#13766)

* Add class to page content to unify top margin

Previously pages would individually set this margin but some didn't so
content would stick to the header without any space. Resolve this by
adding a new class that is added on all pages. The only place where we
remove this margin again is on the pages with menu or wrapper in the
header.

* fix admin notices

* fix team pages

* fix loading segment on gitgraph for arc-green

* fix last missing case

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
133 files changed:
templates/admin/auth/edit.tmpl
templates/admin/auth/list.tmpl
templates/admin/auth/new.tmpl
templates/admin/config.tmpl
templates/admin/dashboard.tmpl
templates/admin/emails/list.tmpl
templates/admin/hook_new.tmpl
templates/admin/hooks.tmpl
templates/admin/monitor.tmpl
templates/admin/notice.tmpl
templates/admin/org/list.tmpl
templates/admin/queue.tmpl
templates/admin/repo/list.tmpl
templates/admin/repo/unadopted.tmpl
templates/admin/user/edit.tmpl
templates/admin/user/list.tmpl
templates/admin/user/new.tmpl
templates/explore/code.tmpl
templates/explore/navbar.tmpl
templates/explore/organizations.tmpl
templates/explore/repos.tmpl
templates/explore/users.tmpl
templates/home.tmpl
templates/install.tmpl
templates/org/create.tmpl
templates/org/home.tmpl
templates/org/member/members.tmpl
templates/org/settings/delete.tmpl
templates/org/settings/hook_new.tmpl
templates/org/settings/hooks.tmpl
templates/org/settings/labels.tmpl
templates/org/settings/options.tmpl
templates/org/team/members.tmpl
templates/org/team/new.tmpl
templates/org/team/repositories.tmpl
templates/org/team/teams.tmpl
templates/post-install.tmpl
templates/repo/activity.tmpl
templates/repo/branch/list.tmpl
templates/repo/commit_page.tmpl
templates/repo/commits.tmpl
templates/repo/create.tmpl
templates/repo/diff/compare.tmpl
templates/repo/editor/delete.tmpl
templates/repo/editor/edit.tmpl
templates/repo/editor/upload.tmpl
templates/repo/empty.tmpl
templates/repo/forks.tmpl
templates/repo/graph.tmpl
templates/repo/home.tmpl
templates/repo/issue/choose.tmpl
templates/repo/issue/labels.tmpl
templates/repo/issue/list.tmpl
templates/repo/issue/milestone_issues.tmpl
templates/repo/issue/milestone_new.tmpl
templates/repo/issue/milestones.tmpl
templates/repo/issue/new.tmpl
templates/repo/issue/view.tmpl
templates/repo/migrate/git.tmpl
templates/repo/migrate/gitea.tmpl
templates/repo/migrate/github.tmpl
templates/repo/migrate/gitlab.tmpl
templates/repo/migrate/migrate.tmpl
templates/repo/migrate/migrating.tmpl
templates/repo/projects/list.tmpl
templates/repo/projects/new.tmpl
templates/repo/projects/view.tmpl
templates/repo/pulls/commits.tmpl
templates/repo/pulls/files.tmpl
templates/repo/pulls/fork.tmpl
templates/repo/release/list.tmpl
templates/repo/release/new.tmpl
templates/repo/search.tmpl
templates/repo/settings/branches.tmpl
templates/repo/settings/collaboration.tmpl
templates/repo/settings/deploy_keys.tmpl
templates/repo/settings/githook_edit.tmpl
templates/repo/settings/githooks.tmpl
templates/repo/settings/lfs.tmpl
templates/repo/settings/lfs_file.tmpl
templates/repo/settings/lfs_file_find.tmpl
templates/repo/settings/lfs_locks.tmpl
templates/repo/settings/lfs_pointers.tmpl
templates/repo/settings/options.tmpl
templates/repo/settings/protected_branch.tmpl
templates/repo/settings/webhook/base.tmpl
templates/repo/settings/webhook/new.tmpl
templates/repo/watchers.tmpl
templates/repo/wiki/new.tmpl
templates/repo/wiki/pages.tmpl
templates/repo/wiki/revision.tmpl
templates/repo/wiki/start.tmpl
templates/repo/wiki/view.tmpl
templates/status/404.tmpl
templates/status/500.tmpl
templates/user/auth/activate.tmpl
templates/user/auth/change_passwd.tmpl
templates/user/auth/finalize_openid.tmpl
templates/user/auth/forgot_passwd.tmpl
templates/user/auth/grant.tmpl
templates/user/auth/grant_error.tmpl
templates/user/auth/link_account.tmpl
templates/user/auth/prohibit_login.tmpl
templates/user/auth/reset_passwd.tmpl
templates/user/auth/signin.tmpl
templates/user/auth/signin_navbar.tmpl
templates/user/auth/signin_openid.tmpl
templates/user/auth/signup.tmpl
templates/user/auth/signup_openid_connect.tmpl
templates/user/auth/signup_openid_register.tmpl
templates/user/auth/twofa.tmpl
templates/user/auth/twofa_scratch.tmpl
templates/user/auth/u2f.tmpl
templates/user/dashboard/dashboard.tmpl
templates/user/dashboard/issues.tmpl
templates/user/dashboard/milestones.tmpl
templates/user/notification/notification_div.tmpl
templates/user/profile.tmpl
templates/user/project.tmpl
templates/user/settings/account.tmpl
templates/user/settings/applications.tmpl
templates/user/settings/applications_oauth2_edit.tmpl
templates/user/settings/keys.tmpl
templates/user/settings/organization.tmpl
templates/user/settings/profile.tmpl
templates/user/settings/repos.tmpl
templates/user/settings/security.tmpl
templates/user/settings/twofa_enroll.tmpl
web_src/less/_admin.less
web_src/less/_base.less
web_src/less/_dashboard.less
web_src/less/_explore.less
web_src/less/_repository.less