]> source.dussan.org Git - gitea.git/commitdiff
Migrate margin and padding helpers to tailwind (#30043)
authorsilverwind <me@silverwind.io>
Sun, 24 Mar 2024 16:42:49 +0000 (17:42 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Mar 2024 16:42:49 +0000 (17:42 +0100)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:

```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g'   {web_src/js,templates,routers,services}/**/*
```

178 files changed:
routers/web/repo/blame.go
routers/web/repo/issue_content_history.go
routers/web/repo/view.go
services/auth/source/oauth2/providers.go
services/auth/source/oauth2/providers_base.go
services/auth/source/oauth2/providers_openid.go
templates/admin/config.tmpl
templates/admin/config_settings.tmpl
templates/admin/cron.tmpl
templates/admin/dashboard.tmpl
templates/admin/emails/list.tmpl
templates/admin/org/list.tmpl
templates/admin/queue_manage.tmpl
templates/admin/repo/unadopted.tmpl
templates/admin/self_check.tmpl
templates/admin/stacktrace-row.tmpl
templates/admin/user/edit.tmpl
templates/base/head_navbar.tmpl
templates/base/paginate.tmpl
templates/devtest/fetch-action.tmpl
templates/devtest/flex-list.tmpl
templates/devtest/gitea-ui.tmpl
templates/explore/repo_list.tmpl
templates/explore/search.tmpl
templates/home.tmpl
templates/install.tmpl
templates/org/follow_unfollow.tmpl
templates/org/header.tmpl
templates/org/projects/list.tmpl
templates/org/team/members.tmpl
templates/org/team/new.tmpl
templates/org/team/repositories.tmpl
templates/package/metadata/alpine.tmpl
templates/package/metadata/cargo.tmpl
templates/package/metadata/chef.tmpl
templates/package/metadata/composer.tmpl
templates/package/metadata/conan.tmpl
templates/package/metadata/conda.tmpl
templates/package/metadata/container.tmpl
templates/package/metadata/helm.tmpl
templates/package/metadata/maven.tmpl
templates/package/metadata/npm.tmpl
templates/package/metadata/nuget.tmpl
templates/package/metadata/pub.tmpl
templates/package/metadata/pypi.tmpl
templates/package/metadata/rpm.tmpl
templates/package/metadata/rubygems.tmpl
templates/package/metadata/swift.tmpl
templates/package/metadata/vagrant.tmpl
templates/package/shared/list.tmpl
templates/package/shared/versionlist.tmpl
templates/package/view.tmpl
templates/projects/list.tmpl
templates/projects/view.tmpl
templates/repo/actions/list.tmpl
templates/repo/actions/runs_list.tmpl
templates/repo/blame.tmpl
templates/repo/branch/list.tmpl
templates/repo/branch_dropdown.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/commit_load_branches_and_tags.tmpl
templates/repo/commit_page.tmpl
templates/repo/commits.tmpl
templates/repo/commits_list.tmpl
templates/repo/commits_list_small.tmpl
templates/repo/commits_table.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/comment_form.tmpl
templates/repo/diff/comments.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/diff/new_review.tmpl
templates/repo/diff/stats.tmpl
templates/repo/diff/whitespace_dropdown.tmpl
templates/repo/editor/commit_form.tmpl
templates/repo/editor/patch.tmpl
templates/repo/empty.tmpl
templates/repo/file_info.tmpl
templates/repo/find/files.tmpl
templates/repo/forks.tmpl
templates/repo/graph.tmpl
templates/repo/graph/commits.tmpl
templates/repo/header.tmpl
templates/repo/home.tmpl
templates/repo/issue/branch_selector_field.tmpl
templates/repo/issue/card.tmpl
templates/repo/issue/fields/checkboxes.tmpl
templates/repo/issue/fields/textarea.tmpl
templates/repo/issue/filter_actions.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/filters.tmpl
templates/repo/issue/labels.tmpl
templates/repo/issue/labels/edit_delete_label.tmpl
templates/repo/issue/labels/label_list.tmpl
templates/repo/issue/labels/labels_selector_field.tmpl
templates/repo/issue/milestone/select_menu.tmpl
templates/repo/issue/milestone_issues.tmpl
templates/repo/issue/milestones.tmpl
templates/repo/issue/new_form.tmpl
templates/repo/issue/openclose.tmpl
templates/repo/issue/view_content/attachments.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/pull.tmpl
templates/repo/issue/view_content/pull_merge_instruction.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/issue/view_content/watching.tmpl
templates/repo/issue/view_title.tmpl
templates/repo/latest_commit.tmpl
templates/repo/migrate/migrate.tmpl
templates/repo/projects/view.tmpl
templates/repo/pulls/tab_menu.tmpl
templates/repo/pulse.tmpl
templates/repo/release/list.tmpl
templates/repo/release/new.tmpl
templates/repo/settings/branches.tmpl
templates/repo/settings/deploy_keys.tmpl
templates/repo/settings/githooks.tmpl
templates/repo/settings/options.tmpl
templates/repo/settings/protected_branch.tmpl
templates/repo/settings/webhook/base_list.tmpl
templates/repo/sub_menu.tmpl
templates/repo/tag/list.tmpl
templates/repo/view_file.tmpl
templates/repo/view_list.tmpl
templates/repo/wiki/new.tmpl
templates/repo/wiki/revision.tmpl
templates/repo/wiki/start.tmpl
templates/shared/actions/runner_edit.tmpl
templates/shared/issuelist.tmpl
templates/shared/search/code/results.tmpl
templates/shared/searchbottom.tmpl
templates/shared/secrets/add_list.tmpl
templates/shared/user/authorlink.tmpl
templates/shared/user/blocked_users.tmpl
templates/shared/user/profile_big_avatar.tmpl
templates/shared/variables/variable_list.tmpl
templates/status/500.tmpl
templates/user/auth/signin_inner.tmpl
templates/user/auth/signup_inner.tmpl
templates/user/auth/webauthn.tmpl
templates/user/auth/webauthn_error.tmpl
templates/user/dashboard/feeds.tmpl
templates/user/dashboard/issues.tmpl
templates/user/dashboard/milestones.tmpl
templates/user/notification/notification_div.tmpl
templates/user/notification/notification_subscriptions.tmpl
templates/user/overview/package_versions.tmpl
templates/user/overview/packages.tmpl
templates/user/profile.tmpl
templates/user/settings/account.tmpl
templates/user/settings/applications.tmpl
templates/user/settings/applications_oauth2_edit_form.tmpl
templates/user/settings/applications_oauth2_list.tmpl
templates/user/settings/grants_oauth2.tmpl
templates/user/settings/keys_gpg.tmpl
templates/user/settings/keys_ssh.tmpl
templates/user/settings/profile.tmpl
templates/user/settings/repos.tmpl
web_src/css/helpers.css
web_src/js/components/DashboardRepoList.vue
web_src/js/components/DiffCommitSelector.vue
web_src/js/components/DiffFileList.vue
web_src/js/components/DiffFileTree.vue
web_src/js/components/PullRequestMergeForm.vue
web_src/js/components/RepoActionView.vue
web_src/js/components/RepoBranchTagSelector.vue
web_src/js/components/RepoCodeFrequency.vue
web_src/js/components/RepoContributors.vue
web_src/js/components/RepoRecentCommits.vue
web_src/js/components/ScopedAccessTokenSelector.vue
web_src/js/features/repo-diff-commit.js
web_src/js/features/repo-findfile.js
web_src/js/features/repo-home.js
web_src/js/features/repo-issue-content.js
web_src/js/features/repo-issue-list.js
web_src/js/features/repo-legacy.js
web_src/js/features/tribute.js

index 549ccdeabe5dbcf4e42d36d4158b5619d8b98648..935e6d78fc41274ed464ede9c06ac699435f3984 100644 (file)
@@ -280,7 +280,7 @@ func renderBlame(ctx *context.Context, blameParts []*git.BlamePart, commitNames
                                if commit.User != nil {
                                        avatar = string(avatarUtils.Avatar(commit.User, 18))
                                } else {
-                                       avatar = string(avatarUtils.AvatarByEmail(commit.Author.Email, commit.Author.Name, 18, "gt-mr-3"))
+                                       avatar = string(avatarUtils.AvatarByEmail(commit.Author.Email, commit.Author.Name, 18, "tw-mr-2"))
                                }
 
                                br.Avatar = gotemplate.HTML(avatar)
index 1ec497658f93e697819fe37291994100bf43bbeb..bf3571c835c1c0ee4291b09b1056882bfd023d83 100644 (file)
@@ -70,7 +70,7 @@ func GetContentHistoryList(ctx *context.Context) {
                }
 
                src := html.EscapeString(item.UserAvatarLink)
-               class := avatars.DefaultAvatarClass + " gt-mr-3"
+               class := avatars.DefaultAvatarClass + " tw-mr-2"
                name := html.EscapeString(username)
                avatarHTML := string(templates.AvatarHTML(src, 28, class, username))
                timeSinceText := string(timeutil.TimeSinceUnix(item.EditedUnix, ctx.Locale))
index b9e623919aa18d551786da8832b42ce595119c51..73a7be4e892f4f35a42b7230aae14da1366bceb1 100644 (file)
@@ -919,9 +919,9 @@ func prepareOpenWithEditorApps(ctx *context.Context) {
                schema, _, _ := strings.Cut(app.OpenURL, ":")
                var iconHTML template.HTML
                if schema == "vscode" || schema == "vscodium" || schema == "jetbrains" {
-                       iconHTML = svg.RenderHTML(fmt.Sprintf("gitea-%s", schema), 16, "gt-mr-3")
+                       iconHTML = svg.RenderHTML(fmt.Sprintf("gitea-%s", schema), 16, "tw-mr-2")
                } else {
-                       iconHTML = svg.RenderHTML("gitea-git", 16, "gt-mr-3") // TODO: it could support user's customized icon in the future
+                       iconHTML = svg.RenderHTML("gitea-git", 16, "tw-mr-2") // TODO: it could support user's customized icon in the future
                }
                tmplApps = append(tmplApps, map[string]any{
                        "DisplayName": app.DisplayName,
index c3edae4ab65f0cc470c2208df4a4b68122c121ee..6ed6c184eb502987544259fb9c083d5af10b3d70 100644 (file)
@@ -59,7 +59,7 @@ func (p *AuthSourceProvider) DisplayName() string {
 
 func (p *AuthSourceProvider) IconHTML(size int) template.HTML {
        if p.iconURL != "" {
-               img := fmt.Sprintf(`<img class="tw-object-contain gt-mr-3" width="%d" height="%d" src="%s" alt="%s">`,
+               img := fmt.Sprintf(`<img class="tw-object-contain tw-mr-2" width="%d" height="%d" src="%s" alt="%s">`,
                        size,
                        size,
                        html.EscapeString(p.iconURL), html.EscapeString(p.DisplayName()),
index 5b6694487bf98ebb4b1e0c37ec54756584d4223f..9d4ab106e5c7a6c7a0725d8412e10c239ecc1a61 100644 (file)
@@ -35,10 +35,10 @@ func (b *BaseProvider) IconHTML(size int) template.HTML {
        case "github":
                svgName = "octicon-mark-github"
        }
-       svgHTML := svg.RenderHTML(svgName, size, "gt-mr-3")
+       svgHTML := svg.RenderHTML(svgName, size, "tw-mr-2")
        if svgHTML == "" {
                log.Error("No SVG icon for oauth2 provider %q", b.name)
-               svgHTML = svg.RenderHTML("gitea-openid", size, "gt-mr-3")
+               svgHTML = svg.RenderHTML("gitea-openid", size, "tw-mr-2")
        }
        return svgHTML
 }
index a4dcfcafc7e35de126a6e3b9a059b99aec02a7bc..285876d5ac3312cbadc1534e0725b59d9c34f1cb 100644 (file)
@@ -29,7 +29,7 @@ func (o *OpenIDProvider) DisplayName() string {
 
 // IconHTML returns icon HTML for this provider
 func (o *OpenIDProvider) IconHTML(size int) template.HTML {
-       return svg.RenderHTML("gitea-openid", size, "gt-mr-3")
+       return svg.RenderHTML("gitea-openid", size, "tw-mr-2")
 }
 
 // CreateGothProvider creates a GothProvider from this Provider
index 6bdda07e487dd5b0814b5e2189eecf3a9bf96706..8c16429920ba4eff12e1e10985248f3f9d9c5491 100644 (file)
                                        <dt>{{ctx.Locale.Tr "admin.config.mailer_user"}}</dt>
                                        <dd>{{if .Mailer.User}}{{.Mailer.User}}{{else}}(empty){{end}}</dd>
                                        <div class="divider"></div>
-                                       <dt class="gt-py-2">{{ctx.Locale.Tr "admin.config.send_test_mail"}}</dt>
+                                       <dt class="tw-py-1">{{ctx.Locale.Tr "admin.config.send_test_mail"}}</dt>
                                        <dd>
                                                <form class="ui form ignore-dirty" action="{{AppSubUrl}}/admin/config/test_mail" method="post">
                                                        {{.CsrfTokenHtml}}
                                {{range $loggerName, $loggerDetail := .Loggers}}
                                        <dt>{{ctx.Locale.Tr "admin.config.logger_name_fmt" $loggerName}}</dt>
                                        {{if $loggerDetail.IsEnabled}}
-                                               <dd><pre class="gt-m-0">{{$loggerDetail.EventWriters | JsonUtils.EncodeToString | JsonUtils.PrettyIndent}}</pre></dd>
+                                               <dd><pre class="tw-m-0">{{$loggerDetail.EventWriters | JsonUtils.EncodeToString | JsonUtils.PrettyIndent}}</pre></dd>
                                        {{else}}
                                                <dd>{{ctx.Locale.Tr "admin.config.disabled_logger"}}</dd>
                                        {{end}}
index 22ad5c24ac054b7519c4242d4a149e78842265ce..d7fb02227428352b447a51c7e0e79ddd4628cf13 100644 (file)
@@ -28,7 +28,7 @@
                <div class="field">
                        <details>
                                <summary>{{ctx.Locale.Tr "admin.config.open_with_editor_app_help"}}</summary>
-                               <pre class="gt-px-4">{{.DefaultOpenWithEditorAppsString}}</pre>
+                               <pre class="tw-px-4">{{.DefaultOpenWithEditorAppsString}}</pre>
                        </details>
                </div>
                <div class="field">
index af30cc06e15814bdb0ae148d80198822adc25141..3cb641488ccf8bce5f9c2963f705e8c5f181a9f0 100644 (file)
@@ -5,7 +5,7 @@
        </h4>
        <div class="ui attached table segment">
                <form method="post" action="{{AppSubUrl}}/admin">
-                       <table class="ui very basic striped table unstackable gt-mb-0">
+                       <table class="ui very basic striped table unstackable tw-mb-0">
                                <thead>
                                        <tr>
                                                <th></th>
index cc7d338589a0d872cd8377bbe83b690439fd5401..bfd2ee667094c9bbd603fec629b7aa8659aca0dd 100644 (file)
@@ -11,7 +11,7 @@
                <div class="ui attached table segment">
                        <form method="post" action="{{AppSubUrl}}/admin">
                                {{.CsrfTokenHtml}}
-                               <table class="ui very basic table gt-mt-0 gt-px-4">
+                               <table class="ui very basic table tw-mt-0 tw-px-4">
                                        <tbody>
                                                <tr>
                                                        <td>{{ctx.Locale.Tr "admin.dashboard.delete_inactive_accounts"}}</td>
index b72aef8f35d435569424afcc2e104c7308b30647..388863df9b27d50a476839aa5f430f72aa270c94 100644 (file)
@@ -4,12 +4,12 @@
                        {{ctx.Locale.Tr "admin.emails.email_manage_panel"}} ({{ctx.Locale.Tr "admin.total" .Total}})
                </h4>
                <div class="ui attached segment">
-                       <div class="ui secondary filter menu tw-items-center gt-mx-0">
+                       <div class="ui secondary filter menu tw-items-center tw-mx-0">
                                <form class="ui form ignore-dirty tw-flex-1">
                                        {{template "shared/search/combo" dict "Value" .Keyword}}
                                </form>
                                <!-- Sort -->
-                               <div class="ui dropdown type jump item gt-mr-0">
+                               <div class="ui dropdown type jump item tw-mr-0">
                                        <span class="text">
                                                {{ctx.Locale.Tr "repo.issues.filter_sort"}}
                                        </span>
index ca0ee300923942278d2563bacf6733fea941b621..987ceab1e0f99044f156475a46a6e1463b63161a 100644 (file)
@@ -7,12 +7,12 @@
                        </div>
                </h4>
                <div class="ui attached segment">
-                       <div class="ui secondary filter menu tw-items-center gt-mx-0">
+                       <div class="ui secondary filter menu tw-items-center tw-mx-0">
                                <form class="ui form ignore-dirty tw-flex-1">
                                        {{template "shared/search/combo" dict "Value" .Keyword "Placeholder" (ctx.Locale.Tr "search.org_kind")}}
                                </form>
                                <!-- Sort -->
-                               <div class="ui dropdown type jump item gt-mr-0">
+                               <div class="ui dropdown type jump item tw-mr-0">
                                        <span class="text">
                                                {{ctx.Locale.Tr "repo.issues.filter_sort"}}
                                        </span>
index dd1682a0000e752ba4d6dd1ab87cf8e81e4ead63..dc0196fc6a3a361f428f8595507220ede2b03fbe 100644 (file)
@@ -30,7 +30,7 @@
                                                                -
                                                        {{else}}
                                                                {{$sum}}
-                                                               <form action="{{$.Link}}/remove-all-items" method="post" class="tw-inline-block gt-ml-4">
+                                                               <form action="{{$.Link}}/remove-all-items" method="post" class="tw-inline-block tw-ml-4">
                                                                        {{$.CsrfTokenHtml}}
                                                                        <button class="ui tiny basic red button">{{ctx.Locale.Tr "admin.monitor.queue.settings.remove_all_items"}}</button>
                                                                </form>
index 9166a844a77d320987be0817899e25a2917595d3..6a8e203694ab40c82dbf946e9646c76844c492d7 100644 (file)
@@ -23,7 +23,7 @@
                                                        <div class="item tw-flex tw-items-center">
                                                                <span class="tw-flex-1"> {{svg "octicon-file-directory-fill"}} {{$dir}}</span>
                                                                <div>
-                                                                       <button class="ui button primary show-modal gt-p-3" data-modal="#adopt-unadopted-modal-{{$dirI}}">{{svg "octicon-plus"}} {{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</button>
+                                                                       <button class="ui button primary show-modal tw-p-2" data-modal="#adopt-unadopted-modal-{{$dirI}}">{{svg "octicon-plus"}} {{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</button>
                                                                        <div class="ui g-modal-confirm modal" id="adopt-unadopted-modal-{{$dirI}}">
                                                                                <div class="header">
                                                                                        <span class="label">{{ctx.Locale.Tr "repo.adopt_preexisting"}}</span>
@@ -40,7 +40,7 @@
                                                                                        {{template "base/modal_actions_confirm"}}
                                                                                </form>
                                                                        </div>
-                                                                       <button class="ui button red show-modal gt-p-3" data-modal="#delete-unadopted-modal-{{$dirI}}">{{svg "octicon-x"}} {{ctx.Locale.Tr "repo.delete_preexisting_label"}}</button>
+                                                                       <button class="ui button red show-modal tw-p-2" data-modal="#delete-unadopted-modal-{{$dirI}}">{{svg "octicon-x"}} {{ctx.Locale.Tr "repo.delete_preexisting_label"}}</button>
                                                                        <div class="ui g-modal-confirm modal" id="delete-unadopted-modal-{{$dirI}}">
                                                                                <div class="header">
                                                                                        <span class="label">{{ctx.Locale.Tr "repo.delete_preexisting"}}</span>
index fafaf9242d3a190e55f0d4c5e68ff678f2474ffd..94c4673a49a17cfb9e13c70b05a5127fd8ddb2b5 100644 (file)
@@ -7,9 +7,9 @@
        <div class="ui attached segment">
                {{if .DatabaseCheckHasProblems}}
                        {{if .DatabaseType.IsMySQL}}
-                               <div class="gt-p-3">{{ctx.Locale.Tr "admin.self_check.database_fix_mysql"}}</div>
+                               <div class="tw-p-2">{{ctx.Locale.Tr "admin.self_check.database_fix_mysql"}}</div>
                        {{else if .DatabaseType.IsMSSQL}}
-                               <div class="gt-p-3">{{ctx.Locale.Tr "admin.self_check.database_fix_mssql"}}</div>
+                               <div class="tw-p-2">{{ctx.Locale.Tr "admin.self_check.database_fix_mssql"}}</div>
                        {{end}}
                        {{if .DatabaseCheckCollationMismatch}}
                                <div class="ui red message">{{ctx.Locale.Tr "admin.self_check.database_collation_mismatch" .DatabaseCheckResult.ExpectedCollation}}</div>
@@ -28,7 +28,7 @@
                                </div>
                        {{end}}
                {{else}}
-                       <div class="gt-p-3">{{ctx.Locale.Tr "admin.self_check.no_problem_found"}}</div>
+                       <div class="tw-p-2">{{ctx.Locale.Tr "admin.self_check.no_problem_found"}}</div>
                {{end}}
        </div>
 </div>
index 3f639ba1617305fff1dff081688eb6184ae67c13..694bf56d9613e5ddcb9b830b131b1cc383dd36ae 100644 (file)
@@ -1,6 +1,6 @@
 <div class="item">
        <div class="tw-flex tw-items-center">
-               <div class="icon gt-ml-3 gt-mr-3">
+               <div class="icon tw-ml-2 tw-mr-2">
                        {{if eq .Process.Type "request"}}
                                {{svg "octicon-globe" 16}}
                        {{else if eq .Process.Type "system"}}
                </div>
        </div>
        {{if .Process.Stacks}}
-               <div class="divided list gt-ml-3">
+               <div class="divided list tw-ml-2">
                        {{range .Process.Stacks}}
                                <div class="item">
                                        <details>
                                                <summary>
                                                        <div class="flex-text-inline">
-                                                               <div class="header gt-ml-3">
-                                                                       <span class="icon gt-mr-3">{{svg "octicon-code" 16}}</span>{{.Description}}{{if gt .Count 1}} * {{.Count}}{{end}}
+                                                               <div class="header tw-ml-2">
+                                                                       <span class="icon tw-mr-2">{{svg "octicon-code" 16}}</span>{{.Description}}{{if gt .Count 1}} * {{.Count}}{{end}}
                                                                </div>
                                                                <div class="description">
                                                                        {{range .Labels}}
@@ -41,7 +41,7 @@
                                                <div class="list">
                                                        {{range .Entry}}
                                                                <div class="item tw-flex tw-items-center">
-                                                                       <span class="icon gt-mr-4">{{svg "octicon-dot-fill" 16}}</span>
+                                                                       <span class="icon tw-mr-4">{{svg "octicon-dot-fill" 16}}</span>
                                                                        <div class="content tw-flex-1">
                                                                                <div class="header"><code>{{.Function}}</code></div>
                                                                                <div class="description"><code>{{.File}}:{{.Line}}</code></div>
index 159c8210993fccedc8ecff92623b69c4172ff606..751eb6d83f70516b047d4fe6f781cbd7814625cc 100644 (file)
                                                <label>{{ctx.Locale.Tr "settings.lookup_avatar_by_mail"}}</label>
                                        </div>
                                </div>
-                               <div class="field gt-pl-4 {{if .Err_Gravatar}}error{{end}}">
+                               <div class="field tw-pl-4 {{if .Err_Gravatar}}error{{end}}">
                                        <label for="gravatar">Avatar {{ctx.Locale.Tr "email"}}</label>
                                        <input id="gravatar" name="gravatar" value="{{.User.AvatarEmail}}">
                                </div>
                                        </div>
                                </div>
 
-                               <div class="inline field gt-pl-4">
+                               <div class="inline field tw-pl-4">
                                        <label for="avatar">{{ctx.Locale.Tr "settings.choose_new_avatar"}}</label>
                                        <input name="avatar" type="file" accept="image/png,image/jpeg,image/gif,image/webp">
                                </div>
index 50ca744457952fad36fe34a5f4f49780cfaae38c..490fddcf051ce4221b79f279b5270d9773ae494c 100644 (file)
                <!-- mobile right menu, it must be here because in mobile view, each item is a flex column, the first item is a full row column -->
                <div class="ui secondary menu item navbar-mobile-right only-mobile">
                        {{if .IsSigned}}
-                       <a id="mobile-notifications-icon" class="item tw-w-auto gt-p-3" href="{{AppSubUrl}}/notifications" data-tooltip-content="{{ctx.Locale.Tr "notifications"}}" aria-label="{{ctx.Locale.Tr "notifications"}}">
+                       <a id="mobile-notifications-icon" class="item tw-w-auto tw-p-2" href="{{AppSubUrl}}/notifications" data-tooltip-content="{{ctx.Locale.Tr "notifications"}}" aria-label="{{ctx.Locale.Tr "notifications"}}">
                                <div class="tw-relative">
                                        {{svg "octicon-bell"}}
                                        <span class="notification_count{{if not $notificationUnreadCount}} gt-hidden{{end}}">{{$notificationUnreadCount}}</span>
                                </div>
                        </a>
                        {{end}}
-                       <button class="item tw-w-auto ui icon mini button gt-p-3 gt-m-0" id="navbar-expand-toggle" aria-label="{{ctx.Locale.Tr "home.nav_menu"}}">{{svg "octicon-three-bars"}}</button>
+                       <button class="item tw-w-auto ui icon mini button tw-p-2 tw-m-0" id="navbar-expand-toggle" aria-label="{{ctx.Locale.Tr "home.nav_menu"}}">{{svg "octicon-three-bars"}}</button>
                </div>
 
                <!-- navbar links non-mobile -->
@@ -57,8 +57,8 @@
                {{if and .IsSigned .MustChangePassword}}
                        <div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
                                <span class="text tw-flex tw-items-center">
-                                       {{ctx.AvatarUtils.Avatar .SignedUser 24 "gt-mr-2"}}
-                                       <span class="only-mobile gt-ml-3">{{.SignedUser.Name}}</span>
+                                       {{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
+                                       <span class="only-mobile tw-ml-2">{{.SignedUser.Name}}</span>
                                        <span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
                                </span>
                                <div class="menu user-menu">
                        </div><!-- end dropdown avatar menu -->
                {{else if .IsSigned}}
                        {{if EnableTimetracking}}
-                       <a class="active-stopwatch-trigger item gt-mx-0{{if not .ActiveStopwatch}} gt-hidden{{end}}" href="{{.ActiveStopwatch.IssueLink}}" title="{{ctx.Locale.Tr "active_stopwatch"}}">
+                       <a class="active-stopwatch-trigger item tw-mx-0{{if not .ActiveStopwatch}} gt-hidden{{end}}" href="{{.ActiveStopwatch.IssueLink}}" title="{{ctx.Locale.Tr "active_stopwatch"}}">
                                <div class="tw-relative">
                                        {{svg "octicon-stopwatch"}}
                                        <span class="header-stopwatch-dot"></span>
                                </div>
-                               <span class="only-mobile gt-ml-3">{{ctx.Locale.Tr "active_stopwatch"}}</span>
+                               <span class="only-mobile tw-ml-2">{{ctx.Locale.Tr "active_stopwatch"}}</span>
                        </a>
-                       <div class="active-stopwatch-popup item tippy-target gt-p-3">
+                       <div class="active-stopwatch-popup item tippy-target tw-p-2">
                                <div class="tw-flex tw-items-center">
                                        <a class="stopwatch-link tw-flex tw-items-center" href="{{.ActiveStopwatch.IssueLink}}">
-                                               {{svg "octicon-issue-opened" 16 "gt-mr-3"}}
+                                               {{svg "octicon-issue-opened" 16 "tw-mr-2"}}
                                                <span class="stopwatch-issue">{{.ActiveStopwatch.RepoSlug}}#{{.ActiveStopwatch.IssueIndex}}</span>
-                                               <span class="ui primary label stopwatch-time gt-my-0 gt-mx-4" data-seconds="{{.ActiveStopwatch.Seconds}}">
+                                               <span class="ui primary label stopwatch-time tw-my-0 tw-mx-4" data-seconds="{{.ActiveStopwatch.Seconds}}">
                                                        {{if .ActiveStopwatch}}{{Sec2Time .ActiveStopwatch.Seconds}}{{end}}
                                                </span>
                                        </a>
                        </div>
                        {{end}}
 
-                       <a class="item not-mobile gt-mx-0" href="{{AppSubUrl}}/notifications" data-tooltip-content="{{ctx.Locale.Tr "notifications"}}" aria-label="{{ctx.Locale.Tr "notifications"}}">
+                       <a class="item not-mobile tw-mx-0" href="{{AppSubUrl}}/notifications" data-tooltip-content="{{ctx.Locale.Tr "notifications"}}" aria-label="{{ctx.Locale.Tr "notifications"}}">
                                <div class="tw-relative">
                                        {{svg "octicon-bell"}}
                                        <span class="notification_count{{if not $notificationUnreadCount}} gt-hidden{{end}}">{{$notificationUnreadCount}}</span>
                                </div>
                        </a>
 
-                       <div class="ui dropdown jump item gt-mx-0 gt-pr-3" data-tooltip-content="{{ctx.Locale.Tr "create_new"}}">
+                       <div class="ui dropdown jump item tw-mx-0 tw-pr-2" data-tooltip-content="{{ctx.Locale.Tr "create_new"}}">
                                <span class="text">
                                        {{svg "octicon-plus"}}
                                        <span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
                                </div><!-- end content create new menu -->
                        </div><!-- end dropdown menu create new -->
 
-                       <div class="ui dropdown jump item gt-mx-0 gt-pr-3" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
+                       <div class="ui dropdown jump item tw-mx-0 tw-pr-2" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
                                <span class="text tw-flex tw-items-center">
-                                       {{ctx.AvatarUtils.Avatar .SignedUser 24 "gt-mr-2"}}
-                                       <span class="only-mobile gt-ml-3">{{.SignedUser.Name}}</span>
+                                       {{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
+                                       <span class="only-mobile tw-ml-2">{{.SignedUser.Name}}</span>
                                        <span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
                                </span>
                                <div class="menu user-menu">
index 8c2adc1f94cf553444927902a505884b3ffdac06..9a7a6322f792432a736ad53c510910e0727ce556 100644 (file)
@@ -6,11 +6,11 @@
                <div class="center page buttons">
                        <div class="ui borderless pagination menu">
                                <a class="{{if .IsFirst}}disabled{{end}} item navigation" {{if not .IsFirst}}href="{{$paginationLink}}{{if $paginationParams}}?{{$paginationParams}}{{end}}"{{end}}>
-                                       {{svg "gitea-double-chevron-left" 16 "gt-mr-2"}}
+                                       {{svg "gitea-double-chevron-left" 16 "tw-mr-1"}}
                                        <span class="navigation_label">{{ctx.Locale.Tr "admin.first_page"}}</span>
                                </a>
                                <a class="{{if not .HasPrevious}}disabled{{end}} item navigation" {{if .HasPrevious}}href="{{$paginationLink}}?page={{.Previous}}{{if $paginationParams}}&{{$paginationParams}}{{end}}"{{end}}>
-                                       {{svg "octicon-chevron-left" 16 "gt-mr-2"}}
+                                       {{svg "octicon-chevron-left" 16 "tw-mr-1"}}
                                        <span class="navigation_label">{{ctx.Locale.Tr "repo.issues.previous"}}</span>
                                </a>
                                {{range .Pages}}
                                {{end}}
                                <a class="{{if not .HasNext}}disabled{{end}} item navigation" {{if .HasNext}}href="{{$paginationLink}}?page={{.Next}}{{if $paginationParams}}&{{$paginationParams}}{{end}}"{{end}}>
                                        <span class="navigation_label">{{ctx.Locale.Tr "repo.issues.next"}}</span>
-                                       {{svg "octicon-chevron-right" 16 "gt-ml-2"}}
+                                       {{svg "octicon-chevron-right" 16 "tw-ml-1"}}
                                </a>
                                <a class="{{if .IsLast}}disabled{{end}} item navigation" {{if not .IsLast}}href="{{$paginationLink}}?page={{.TotalPages}}{{if $paginationParams}}&{{$paginationParams}}{{end}}"{{end}}>
                                        <span class="navigation_label">{{ctx.Locale.Tr "admin.last_page"}}</span>
-                                       {{svg "gitea-double-chevron-right" 16 "gt-ml-2"}}
+                                       {{svg "gitea-double-chevron-right" 16 "tw-ml-1"}}
                                </a>
                        </div>
                </div>
index 70844a8751ab3946a0733b1a3d3706a8035eb2d8..7b0bbba5545d00925ab0a902edf4a5ccd6eefa0b 100644 (file)
@@ -26,7 +26,7 @@
                                <div><button name="btn">submit post</button></div>
                        </form>
                        <form method="post" action="/no-such-uri" class="form-fetch-action">
-                               <div class="gt-py-5">bad action url</div>
+                               <div class="tw-py-8">bad action url</div>
                                <div><button name="btn">submit test</button></div>
                        </form>
                </div>
index fdb9eb6b394855e048eff3948b7ab5b7ed7a033e..d5678566d8846dac78ae19e5fb127030049314cc 100644 (file)
@@ -73,7 +73,7 @@
                                                </div>
                                                <div class="flex-item-trailing">
                                                        <a class="muted" href="{{$.Link}}">
-                                                               <span class="flex-text-inline"><i class="color-icon gt-mr-3 tw-bg-blue"></i>Go</span>
+                                                               <span class="flex-text-inline"><i class="color-icon tw-mr-2 tw-bg-blue"></i>Go</span>
                                                        </a>
                                                        <a class="text grey flex-text-inline" href="{{$.Link}}">{{svg "octicon-star" 16}}45000</a>
                                                        <a class="text grey flex-text-inline" href="{{$.Link}}">{{svg "octicon-git-branch" 16}}1234</a>
                </div>
 
                <h1>If parent provides the padding/margin space:</h1>
-               <div class="tw-border tw-border-secondary gt-py-4">
+               <div class="tw-border tw-border-secondary tw-py-4">
                        <div class="flex-list flex-space-fitted">
                                <div class="flex-item">item 1 (no padding top)</div>
                                <div class="flex-item">item 2 (no padding bottom)</div>
index 6341076323e945a6df8a05b5668713e98bf3f680..76de4a93d71781a85f77e5404838175ce96b0cc5 100644 (file)
                                </li>
                                <li class="sample-group">
                                        <h2>Inline / Plain:</h2>
-                                       <div class="gt-my-2">
-                                               <button class="btn gt-p-3">Plain button</button>
-                                               <button class="btn interact-fg gt-p-3">Plain button with interact fg</button>
-                                               <button class="btn interact-bg gt-p-3">Plain button with interact bg</button>
+                                       <div class="tw-my-1">
+                                               <button class="btn tw-p-2">Plain button</button>
+                                               <button class="btn interact-fg tw-p-2">Plain button with interact fg</button>
+                                               <button class="btn interact-bg tw-p-2">Plain button with interact bg</button>
                                        </div>
                                </li>
                        </ul>
 
        <div>
                <h1>Loading</h1>
-               <div class="is-loading small-loading-icon tw-border tw-border-secondary gt-py-2"><span>loading ...</span></div>
-               <div class="is-loading tw-border tw-border-secondary gt-py-4">
+               <div class="is-loading small-loading-icon tw-border tw-border-secondary tw-py-1"><span>loading ...</span></div>
+               <div class="is-loading tw-border tw-border-secondary tw-py-4">
                        <p>loading ...</p>
                        <p>loading ...</p>
                        <p>loading ...</p>
index 4c0f93ed2e2b434a0f9d163db76f45b6625ce321..d00773a963299e58572aa0df094f7ea6c1b8c6ea 100644 (file)
@@ -33,7 +33,7 @@
                                        <div class="flex-item-trailing muted-links">
                                                {{if .PrimaryLanguage}}
                                                        <a class="flex-text-inline" href="?q={{$.Keyword}}&sort={{$.SortType}}&language={{.PrimaryLanguage.Language}}{{if $.TabName}}&tab={{$.TabName}}{{end}}">
-                                                               <i class="color-icon gt-mr-3" style="background-color: {{.PrimaryLanguage.Color}}"></i>
+                                                               <i class="color-icon tw-mr-2" style="background-color: {{.PrimaryLanguage.Color}}"></i>
                                                                {{.PrimaryLanguage.Language}}
                                                        </a>
                                                {{end}}
index c12ff325f919ce6b09869c434ff3b7c2386b7ec7..1d984a2e3770fa0d1522eec500c97dfa3424b387 100644 (file)
@@ -1,4 +1,4 @@
-<div class="ui small secondary filter menu tw-items-center gt-mx-0">
+<div class="ui small secondary filter menu tw-items-center tw-mx-0">
        <form class="ui form ignore-dirty tw-flex-1">
                {{if .PageIsExploreUsers}}
                        {{template "shared/search/combo" dict "Value" .Keyword "Placeholder" (ctx.Locale.Tr "search.user_kind")}}
@@ -7,7 +7,7 @@
                {{end}}
        </form>
        <!-- Sort -->
-       <div class="ui small dropdown type jump item gt-mr-0">
+       <div class="ui small dropdown type jump item tw-mr-0">
                <span class="text">
                        {{ctx.Locale.Tr "repo.issues.filter_sort"}}
                </span>
index 1e5369e7ee0b4c5fd3097a69fc166273f512a571..e6fd4ef020d7ca5a8ca8241a9adacc77d3c543ff 100644 (file)
@@ -1,6 +1,6 @@
 {{template "base/head" .}}
 <div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content home">
-       <div class="gt-mb-5 gt-px-5">
+       <div class="tw-mb-8 tw-px-8">
                <div class="center">
                        <img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
                        <div class="hero">
index 05a74cc788a06319809ea35346ef6d4098b6a420..b2f449618ca12bd4b7f07a9409d2ddcd096b5c6a 100644 (file)
@@ -28,7 +28,7 @@
                                                </div>
                                        </div>
 
-                                       <div class="gt-mt-4 gt-hidden" data-db-setting-for="common-host">
+                                       <div class="tw-mt-4 gt-hidden" data-db-setting-for="common-host">
                                                <div class="inline required field {{if .Err_DbSetting}}error{{end}}">
                                                        <label for="db_host">{{ctx.Locale.Tr "install.host"}}</label>
                                                        <input id="db_host" name="db_host" value="{{.db_host}}">
@@ -47,7 +47,7 @@
                                                </div>
                                        </div>
 
-                                       <div class="gt-mt-4 gt-hidden" data-db-setting-for="postgres">
+                                       <div class="tw-mt-4 gt-hidden" data-db-setting-for="postgres">
                                                <div class="inline required field">
                                                        <label>{{ctx.Locale.Tr "install.ssl_mode"}}</label>
                                                        <div class="ui selection database type dropdown">
@@ -68,7 +68,7 @@
                                                </div>
                                        </div>
 
-                                       <div class="gt-mt-4 gt-hidden" data-db-setting-for="sqlite3">
+                                       <div class="tw-mt-4 gt-hidden" data-db-setting-for="sqlite3">
                                                <div class="inline required field {{if or .Err_DbPath .Err_DbSetting}}error{{end}}">
                                                        <label for="db_path">{{ctx.Locale.Tr "install.path"}}</label>
                                                        <input id="db_path" name="db_path" value="{{.db_path}}">
 
                                        <!-- Email -->
                                        <details class="optional field">
-                                               <summary class="right-content gt-py-3{{if .Err_SMTP}} text red{{end}}">
+                                               <summary class="right-content tw-py-2{{if .Err_SMTP}} text red{{end}}">
                                                        {{ctx.Locale.Tr "install.email_title"}}
                                                </summary>
                                                <div class="inline field">
 
                                        <!-- Server and other services -->
                                        <details class="optional field">
-                                               <summary class="right-content gt-py-3{{if .Err_Services}} text red{{end}}">
+                                               <summary class="right-content tw-py-2{{if .Err_Services}} text red{{end}}">
                                                        {{ctx.Locale.Tr "install.server_service_title"}}
                                                </summary>
                                                <div class="inline field">
 
                                        <!-- Admin -->
                                        <details class="optional field">
-                                               <summary class="right-content gt-py-3{{if .Err_Admin}} text red{{end}}">
+                                               <summary class="right-content tw-py-2{{if .Err_Admin}} text red{{end}}">
                                                        {{ctx.Locale.Tr "install.admin_title"}}
                                                </summary>
                                                <p class="center">{{ctx.Locale.Tr "install.admin_setting_desc"}}</p>
                                                <div class="right-content">
                                                        {{ctx.Locale.Tr "install.env_config_keys_prompt"}}
                                                </div>
-                                               <div class="right-content gt-mt-3">
+                                               <div class="right-content tw-mt-2">
                                                        {{range .EnvConfigKeys}}<span class="ui label">{{.}}</span>{{end}}
                                                </div>
                                        </div>
                                                <div class="right-content">
                                                        These configuration options will be written into: {{.CustomConfFile}}
                                                </div>
-                                               <div class="right-content gt-mt-3">
+                                               <div class="right-content tw-mt-2">
                                                        <button class="ui primary button">{{ctx.Locale.Tr "install.install_btn_confirm"}}</button>
                                                </div>
                                        </div>
index b9a3bb77fea3077fea3b2ba1dc324d00fa012f91..ba0bd01efe44dbb4c9a179517c256606ffa5bd21 100644 (file)
@@ -1,4 +1,4 @@
-<button class="ui basic button gt-mr-0" hx-post="{{.Org.HomeLink}}?action={{if $.IsFollowing}}unfollow{{else}}follow{{end}}">
+<button class="ui basic button tw-mr-0" hx-post="{{.Org.HomeLink}}?action={{if $.IsFollowing}}unfollow{{else}}follow{{end}}">
        {{if $.IsFollowing}}
                {{ctx.Locale.Tr "user.unfollow"}}
        {{else}}
index 6eb7feb33f032c1af7bddd4955eeadc2e1322e15..7361df99eaf1feabfab12669f35fa3ef686edcdd 100644 (file)
@@ -9,7 +9,7 @@
                        </span>
                        <span class="tw-flex tw-items-center tw-gap-1 tw-ml-auto tw-text-16 tw-whitespace-nowrap">
                                {{if .EnableFeed}}
-                                       <a class="ui basic label button gt-mr-0" href="{{.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
+                                       <a class="ui basic label button tw-mr-0" href="{{.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
                                                {{svg "octicon-rss" 24}}
                                        </a>
                                {{end}}
@@ -19,7 +19,7 @@
                        </span>
                </div>
                {{if .RenderedDescription}}<div class="render-content markup">{{.RenderedDescription}}</div>{{end}}
-               <div class="text light meta gt-mt-2">
+               <div class="text light meta tw-mt-1">
                        {{if .Org.Location}}<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
                        {{if .Org.Website}}<div class="flex-text-block">{{svg "octicon-link"}} <a class="muted" target="_blank" rel="noopener noreferrer me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}
                        {{if .IsSigned}}
index 97cc6cf66c6f8f9c6bffdbb84be5f2e50ec8fa67..ec9cfece9a8eb04dcdc47342186e24086d3bd765 100644 (file)
@@ -14,7 +14,7 @@
                                        {{template "shared/user/profile_big_avatar" .}}
                                </div>
                                <div class="ui twelve wide column">
-                               <div class="gt-mb-4">
+                               <div class="tw-mb-4">
                                        {{template "user/overview/header" .}}
                                </div>
                                {{template "projects/list" .}}
index aa358841da8973447a80c27e00663c2a5b6e56f4..5719328a273af74176da75e13dd8e54561b57841 100644 (file)
@@ -12,7 +12,7 @@
                                                <form class="ui form ignore-dirty tw-flex tw-flex-wrap tw-gap-2" action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/add" method="post">
                                                        {{.CsrfTokenHtml}}
                                                        <input type="hidden" name="uid" value="{{.SignedUser.ID}}">
-                                                       <div id="search-user-box" class="ui search gt-mr-3"{{if .IsEmailInviteEnabled}} data-allow-email="true" data-allow-email-description="{{ctx.Locale.Tr "org.teams.invite_team_member" $.Team.Name}}"{{end}}>
+                                                       <div id="search-user-box" class="ui search tw-mr-2"{{if .IsEmailInviteEnabled}} data-allow-email="true" data-allow-email-description="{{ctx.Locale.Tr "org.teams.invite_team_member" $.Team.Name}}"{{end}}>
                                                                <div class="ui input">
                                                                        <input class="prompt" name="uname" placeholder="{{ctx.Locale.Tr "search.user_kind"}}" autocomplete="off" required>
                                                                </div>
index d1e0dbe38264bd609804a51d1af6096cd924a420..0de70296fd3d73a6c03b07b55db5fd1b9b4b806a 100644 (file)
                                                                                <tr>
                                                                                        <th>{{ctx.Locale.Tr "units.unit"}}</th>
                                                                                        <th class="center aligned">{{ctx.Locale.Tr "org.teams.none_access"}}
-                                                                                       <span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.none_access_helper"}}">{{svg "octicon-question" 16 "gt-ml-2"}}</span></th>
+                                                                                       <span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.none_access_helper"}}">{{svg "octicon-question" 16 "tw-ml-1"}}</span></th>
                                                                                        <th class="center aligned">{{ctx.Locale.Tr "org.teams.read_access"}}
-                                                                                       <span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.read_access_helper"}}">{{svg "octicon-question" 16 "gt-ml-2"}}</span></th>
+                                                                                       <span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.read_access_helper"}}">{{svg "octicon-question" 16 "tw-ml-1"}}</span></th>
                                                                                        <th class="center aligned">{{ctx.Locale.Tr "org.teams.write_access"}}
-                                                                                       <span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.write_access_helper"}}">{{svg "octicon-question" 16 "gt-ml-2"}}</span></th>
+                                                                                       <span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.write_access_helper"}}">{{svg "octicon-question" 16 "tw-ml-1"}}</span></th>
                                                                                </tr>
                                                                        </thead>
                                                                        <tbody>
index 202279240bba131627ec79ef98ebbb0ea36e966c..98b4854eb84fd6d9e2beb45b059900a8592e68d3 100644 (file)
@@ -17,7 +17,7 @@
                                                                        <input class="prompt" name="repo_name" placeholder="{{ctx.Locale.Tr "search.repo_kind"}}" autocomplete="off" required>
                                                                </div>
                                                        </div>
-                                                       <button class="ui primary button gt-ml-3">{{ctx.Locale.Tr "add"}}</button>
+                                                       <button class="ui primary button tw-ml-2">{{ctx.Locale.Tr "add"}}</button>
                                                </form>
                                                <div class="tw-inline-block">
                                                        <button class="ui primary button link-action" data-modal-confirm="{{ctx.Locale.Tr "org.teams.add_all_repos_desc"}}" data-url="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/repo/addall">{{ctx.Locale.Tr "add_all"}}</button>
index 73cbc06aac46a0c782e3b30daef6889c93362cc6..3e7f10f66a6d541cdb37f3adf38ea3e21b766129 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "alpine"}}
        {{if .PackageDescriptor.Metadata.Maintainer}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "mr-3"}} {{.PackageDescriptor.Metadata.Maintainer}}</div>{{end}}
        {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
 {{end}}
index c8471a71ef9eabad669c9e612b46202b0392078e..5ad3c20a932fb17a7a7bfcc401fb9b42112de729 100644 (file)
@@ -1,7 +1,7 @@
 {{if eq .PackageDescriptor.Package.Type "cargo"}}
-       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
 {{end}}
index fa6e068d23c502d1b234cfec94663e23afacc90d..23a9ce3ec0bbe923f2c12c408902918782ee5e6c 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "chef"}}
-       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
 {{end}}
index fbdc33f73d50f177de6539d2ffecfdc466e9002f..0f6ff9d6f2d755e37b624054d352f1c4905359ed 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "composer"}}
-       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.Name}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.Homepage}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.Homepage}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{range .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.}}</div>{{end}}
+       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.Name}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.Homepage}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.Homepage}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{range .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.}}</div>{{end}}
 {{end}}
index 40bda555bb63b0341c8e28fba83595949f95dfaf..4e05ec2587cb3604444b7dbb76766dc734e3feec 100644 (file)
@@ -1,6 +1,6 @@
 {{if eq .PackageDescriptor.Package.Type "conan"}}
-       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
 {{end}}
index f70e2b2a1cc41c9861abb7953cc5923f6e145587..3628686e13acd65070d79683332992592293c2a8 100644 (file)
@@ -1,6 +1,6 @@
 {{if eq .PackageDescriptor.Package.Type "conda"}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
 {{end}}
index b05ef0b8461449d73b5c14e2fe9d81d083375610..f5abb7ef6e5f5443177f3c1eaa6a00ddb7ac406c 100644 (file)
@@ -1,9 +1,9 @@
 {{if eq .PackageDescriptor.Package.Type "container"}}
-       <div class="item" title="{{ctx.Locale.Tr "packages.container.details.type"}}">{{svg "octicon-package" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Type.Name}}</div>
-       {{if .PackageDescriptor.Metadata.Platform}}<div class="item" title="{{ctx.Locale.Tr "packages.container.details.platform"}}">{{svg "octicon-cpu" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Platform}}</div>{{end}}
-       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.Licenses}}<div class="item">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Licenses}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
+       <div class="item" title="{{ctx.Locale.Tr "packages.container.details.type"}}">{{svg "octicon-package" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Type.Name}}</div>
+       {{if .PackageDescriptor.Metadata.Platform}}<div class="item" title="{{ctx.Locale.Tr "packages.container.details.platform"}}">{{svg "octicon-cpu" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Platform}}</div>{{end}}
+       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.Licenses}}<div class="item">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Licenses}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
 {{end}}
index 499f77e80da7488e5f22585536a1152b416077c8..50ea484999108ef054a2633d3b1dd663491a6eef 100644 (file)
@@ -1,4 +1,4 @@
 {{if eq .PackageDescriptor.Package.Type "helm"}}
-       {{range .PackageDescriptor.Metadata.Maintainers}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.Name}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.Home}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.Home}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{range .PackageDescriptor.Metadata.Maintainers}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.Name}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.Home}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.Home}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
 {{end}}
index 36f5eca84053e062f933f1a6d06a1614b81a8032..548be61790fff68cf2cb7ca7151b5383084c82ba 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "maven"}}
-       {{if .PackageDescriptor.Metadata.Name}}<div class="item">{{svg "octicon-note" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Name}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{range .PackageDescriptor.Metadata.Licenses}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.Name}}<div class="item">{{svg "octicon-note" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Name}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{range .PackageDescriptor.Metadata.Licenses}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.}}</div>{{end}}
 {{end}}
index 9794d851afc85702e29d92900702bcc629832d49..df37504e374d33b5a3264434cbd1be0190cee4a8 100644 (file)
@@ -1,8 +1,8 @@
 {{if eq .PackageDescriptor.Package.Type "npm"}}
-       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
        {{range .PackageDescriptor.VersionProperties}}
-               {{if eq .Name "npm.tag"}}<div class="item" title="{{ctx.Locale.Tr "packages.npm.details.tag"}}">{{svg "octicon-versions" 16 "gt-mr-3"}} {{.Value}}</div>{{end}}
+               {{if eq .Name "npm.tag"}}<div class="item" title="{{ctx.Locale.Tr "packages.npm.details.tag"}}">{{svg "octicon-versions" 16 "tw-mr-2"}} {{.Value}}</div>{{end}}
        {{end}}
 {{end}}
index f25e1c3b63d604463e0c903c4f6186575bed6fbc..5534577bd26ef479f889932adf66fd410760aab5 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "nuget"}}
-       {{if .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Authors}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Authors}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
 {{end}}
index 1e4a90e78ca601a028001446eb2e219026a73848..16f7cec3704074fba5059ed5f2f96ef1c1c8abc3 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "pub"}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.DocumentationURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.DocumentationURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.documentation_site"}}</a></div>{{end}}
 {{end}}
index f447cb7f4f866224f95a5ee0a7da77fc5f2ab3c0..3d9b213907f810d75781028e3e42a6178274f123 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "pypi"}}
-       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
 {{end}}
index 026f129590598a526d90a3b35ebad4b0cb23f5fd..eda8a489f3cdff32299fe0da734aa2d678545733 100644 (file)
@@ -1,4 +1,4 @@
 {{if eq .PackageDescriptor.Package.Type "rpm"}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.License}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.License}}</div>{{end}}
 {{end}}
index 62150b1a4388c869e739989f1224b25d49d5bee0..9b11287691c3481c4a44103a3a86ff0d5dacd6bd 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "rubygems"}}
-       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>       {{end}}
-       {{range .PackageDescriptor.Metadata.Licenses}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "gt-mr-3"}} {{.}}</div>{{end}}
+       {{range .PackageDescriptor.Metadata.Authors}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>       {{end}}
+       {{range .PackageDescriptor.Metadata.Licenses}}<div class="item" title="{{ctx.Locale.Tr "packages.details.license"}}">{{svg "octicon-law" 16 "tw-mr-2"}} {{.}}</div>{{end}}
 {{end}}
index 326ebe1a94632336efd425c98e8f22acdbb35254..fdffb6dedec3f8858196a742fc217c31dc565f20 100644 (file)
@@ -1,4 +1,4 @@
 {{if eq .PackageDescriptor.Package.Type "swift"}}
        {{if .PackageDescriptor.Metadata.Author.String}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "mr-3"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
 {{end}}
index a92398a2759a1194a49b9537dba69a826fed60cf..4628a2dcbb0f6d71f7f0422834f257305a829886 100644 (file)
@@ -1,5 +1,5 @@
 {{if eq .PackageDescriptor.Package.Type "vagrant"}}
-       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "gt-mr-3"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
-       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
-       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.Author}}<div class="item" title="{{ctx.Locale.Tr "packages.details.author"}}">{{svg "octicon-person" 16 "tw-mr-2"}} {{.PackageDescriptor.Metadata.Author}}</div>{{end}}
+       {{if .PackageDescriptor.Metadata.ProjectURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.ProjectURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.project_site"}}</a></div>{{end}}
+       {{if .PackageDescriptor.Metadata.RepositoryURL}}<div class="item">{{svg "octicon-link-external" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Metadata.RepositoryURL}}" target="_blank" rel="noopener noreferrer me">{{ctx.Locale.Tr "packages.details.repository_site"}}</a></div>{{end}}
 {{end}}
index a9ee023061ca4e3f60ca9ea9addf8fe6fc1e49b8..e4e8eca91e1958c3344586ee3f9cb284cc609e74 100644 (file)
@@ -50,7 +50,7 @@
                                <p>{{ctx.Locale.Tr "packages.empty.documentation" "https://docs.gitea.com/usage/packages/overview/"}}</p>
                        </div>
                {{else}}
-                       <p class="gt-py-4">{{ctx.Locale.Tr "packages.filter.no_result"}}</p>
+                       <p class="tw-py-4">{{ctx.Locale.Tr "packages.filter.no_result"}}</p>
                {{end}}
        {{end}}
        {{template "base/paginate" .}}
index fc34ccc93882c60f487a1f7045520a7ad6d41c7a..e5c568e0596d37d66fb0e59a468935aa55680139 100644 (file)
@@ -31,7 +31,7 @@
                </div>
        </div>
        {{else}}
-               <p class="gt-py-4">{{ctx.Locale.Tr "packages.filter.no_result"}}</p>
+               <p class="tw-py-4">{{ctx.Locale.Tr "packages.filter.no_result"}}</p>
        {{end}}
        {{template "base/paginate" .}}
 </div>
index e81a7148959a3f0bcb03eaf0a6895a6d90e42fcb..6beb249a7ffc2c4cbeb28b159aa63756ca65bc9b 100644 (file)
                        <div class="issue-content-right ui segment">
                                <strong>{{ctx.Locale.Tr "packages.details"}}</strong>
                                <div class="ui relaxed list">
-                                       <div class="item">{{svg .PackageDescriptor.Package.Type.SVGName 16 "gt-mr-3"}} {{.PackageDescriptor.Package.Type.Name}}</div>
+                                       <div class="item">{{svg .PackageDescriptor.Package.Type.SVGName 16 "tw-mr-2"}} {{.PackageDescriptor.Package.Type.Name}}</div>
                                        {{if .HasRepositoryAccess}}
-                                       <div class="item">{{svg "octicon-repo" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Repository.Link}}">{{.PackageDescriptor.Repository.FullName}}</a></div>
+                                       <div class="item">{{svg "octicon-repo" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Repository.Link}}">{{.PackageDescriptor.Repository.FullName}}</a></div>
                                        {{end}}
-                                       <div class="item">{{svg "octicon-calendar" 16 "gt-mr-3"}} {{TimeSinceUnix .PackageDescriptor.Version.CreatedUnix ctx.Locale}}</div>
-                                       <div class="item">{{svg "octicon-download" 16 "gt-mr-3"}} {{.PackageDescriptor.Version.DownloadCount}}</div>
+                                       <div class="item">{{svg "octicon-calendar" 16 "tw-mr-2"}} {{TimeSinceUnix .PackageDescriptor.Version.CreatedUnix ctx.Locale}}</div>
+                                       <div class="item">{{svg "octicon-download" 16 "tw-mr-2"}} {{.PackageDescriptor.Version.DownloadCount}}</div>
                                        {{template "package/metadata/alpine" .}}
                                        {{template "package/metadata/cargo" .}}
                                        {{template "package/metadata/chef" .}}
@@ -70,7 +70,7 @@
                                        {{template "package/metadata/swift" .}}
                                        {{template "package/metadata/vagrant" .}}
                                        {{if not (and (eq .PackageDescriptor.Package.Type "container") .PackageDescriptor.Metadata.Manifests)}}
-                                       <div class="item">{{svg "octicon-database" 16 "gt-mr-3"}} {{FileSize .PackageDescriptor.CalculateBlobSize}}</div>
+                                       <div class="item">{{svg "octicon-database" 16 "tw-mr-2"}} {{FileSize .PackageDescriptor.CalculateBlobSize}}</div>
                                        {{end}}
                                </div>
                                {{if not (eq .PackageDescriptor.Package.Type "container")}}
                                        <div class="divider"></div>
                                        <div class="ui relaxed list">
                                                {{if .HasRepositoryAccess}}
-                                               <div class="item">{{svg "octicon-issue-opened" 16 "gt-mr-3"}} <a href="{{.PackageDescriptor.Repository.Link}}/issues">{{ctx.Locale.Tr "repo.issues"}}</a></div>
+                                               <div class="item">{{svg "octicon-issue-opened" 16 "tw-mr-2"}} <a href="{{.PackageDescriptor.Repository.Link}}/issues">{{ctx.Locale.Tr "repo.issues"}}</a></div>
                                                {{end}}
                                                {{if .CanWritePackages}}
-                                               <div class="item">{{svg "octicon-tools" 16 "gt-mr-3"}} <a href="{{.Link}}/settings">{{ctx.Locale.Tr "repo.settings"}}</a></div>
+                                               <div class="item">{{svg "octicon-tools" 16 "tw-mr-2"}} <a href="{{.Link}}/settings">{{ctx.Locale.Tr "repo.settings"}}</a></div>
                                                {{end}}
                                        </div>
                                {{end}}
index f33f9180bbe92b5e1486511c4836ce99622a095a..ec02e9a6fc9536128050813d40e0968aa8243f3d 100644 (file)
@@ -1,12 +1,12 @@
 {{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
-       <div class="tw-flex tw-justify-between gt-mb-4">
+       <div class="tw-flex tw-justify-between tw-mb-4">
                <div class="small-menu-items ui compact tiny menu list-header-toggle">
                        <a class="item{{if not .IsShowClosed}} active{{end}}" href="?state=open&q={{$.Keyword}}">
-                               {{svg "octicon-project-symlink" 16 "gt-mr-3"}}
+                               {{svg "octicon-project-symlink" 16 "tw-mr-2"}}
                                {{ctx.Locale.PrettyNumber .OpenCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.open_title"}}
                        </a>
                        <a class="item{{if .IsShowClosed}} active{{end}}" href="?state=closed&q={{$.Keyword}}">
-                               {{svg "octicon-check" 16 "gt-mr-3"}}
+                               {{svg "octicon-check" 16 "tw-mr-2"}}
                                {{ctx.Locale.PrettyNumber .ClosedCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.closed_title"}}
                        </a>
                </div>
@@ -41,7 +41,7 @@
 <div class="milestone-list">
        {{range .Projects}}
                <li class="milestone-card">
-                       <h3 class="flex-text-block gt-m-0">
+                       <h3 class="flex-text-block tw-m-0">
                                {{svg .IconName 16}}
                                <a class="muted" href="{{.Link ctx}}">{{.Title}}</a>
                        </h3>
index 93c2cdbb5751662470cac3e22c5a3b32f6c9c0da..ba5cbc3b4562924f1e7bd79adc004ae86b1ed575 100644 (file)
@@ -1,8 +1,8 @@
 {{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}}
 
 <div class="ui container">
-       <div class="tw-flex tw-justify-between tw-items-center gt-mb-4">
-               <h2 class="gt-mb-0">{{.Project.Title}}</h2>
+       <div class="tw-flex tw-justify-between tw-items-center tw-mb-4">
+               <h2 class="tw-mb-0">{{.Project.Title}}</h2>
                {{if $canWriteProject}}
                        <div class="ui compact mini menu">
                                <a class="item" href="{{.Link}}/edit?redirect=project">
@@ -68,7 +68,7 @@
                {{range .Columns}}
                        <div class="ui segment project-column" style="background: {{.Color}} !important;" data-id="{{.ID}}" data-sorting="{{.Sorting}}" data-url="{{$.Link}}/{{.ID}}">
                                <div class="project-column-header">
-                                       <div class="ui large label project-column-title gt-py-2">
+                                       <div class="ui large label project-column-title tw-py-1">
                                                <div class="ui small circular grey label project-column-issue-count">
                                                        {{.NumIssues ctx}}
                                                </div>
@@ -76,7 +76,7 @@
                                        </div>
                                        {{if and $canWriteProject (ne .ID 0)}}
                                                <div class="ui dropdown jump item">
-                                                       <div class="gt-px-3">
+                                                       <div class="tw-px-2">
                                                                {{svg "octicon-kebab-horizontal"}}
                                                        </div>
                                                        <div class="menu user-menu">
index 916949d4f9a281896d66179250f5a1a70281e53d..b66d0e360ab0cb736cf9e01187634e45bc08b8e3 100644 (file)
@@ -66,7 +66,7 @@
                                        </div>
 
                                        {{if .AllowDisableOrEnableWorkflow}}
-                                               <button class="ui jump dropdown btn interact-bg gt-p-3">
+                                               <button class="ui jump dropdown btn interact-bg tw-p-2">
                                                        {{svg "octicon-kebab-horizontal"}}
                                                        <div class="menu">
                                                                <a class="item link-action" data-url="{{$.Link}}/{{if .CurWorkflowDisabled}}enable{{else}}disable{{end}}?workflow={{$.CurWorkflow}}&actor={{.CurActor}}&status={{$.CurStatus}}">
index d393df6539f71fc227aedffe341574619b21cd9a..ac5049cf561ba5d1ee5f249c303fe7d1fe368bde 100644 (file)
@@ -28,9 +28,9 @@
                        </div>
                        <div class="flex-item-trailing">
                                {{if .RefLink}}
-                                       <a class="ui label gt-px-2 gt-mx-0" href="{{.RefLink}}">{{.PrettyRef}}</a>
+                                       <a class="ui label tw-px-1 tw-mx-0" href="{{.RefLink}}">{{.PrettyRef}}</a>
                                {{else}}
-                                       <span class="ui label gt-px-2 gt-mx-0">{{.PrettyRef}}</span>
+                                       <span class="ui label tw-px-1 tw-mx-0">{{.PrettyRef}}</span>
                                {{end}}
                        </div>
                        <div class="run-list-item-right">
index fc6b65f142edc5cf399705b3f550f9ef5f5f3ec3..31b5b99829396b57543af01f61374c3b8dd07884 100644 (file)
@@ -12,7 +12,7 @@
 {{end}}
 <div class="{{TabSizeClass .Editorconfig .FileName}} non-diff-file-content">
        <h4 class="file-header ui top attached header tw-flex tw-items-center tw-justify-between tw-flex-wrap">
-               <div class="file-header-left tw-flex tw-items-center gt-py-3 gt-pr-4">
+               <div class="file-header-left tw-flex tw-items-center tw-py-2 tw-pr-4">
                        {{template "repo/file_info" .}}
                </div>
                <div class="file-header-right file-actions tw-flex tw-items-center tw-flex-wrap">
@@ -69,7 +69,7 @@
                                                                </td>
                                                        {{end}}
                                                        <td rel="L{{$row.RowNumber}}" class="lines-code blame-code chroma">
-                                                               <code class="code-inner gt-pl-3">{{$row.Code}}</code>
+                                                               <code class="code-inner tw-pl-2">{{$row.Code}}</code>
                                                        </td>
                                                </tr>
                                        {{end}}
index 7e061696e41aae9a6626c508840ac6d2d4164421..77cccd65b74eac2c73b32df7a1ed00aeac9cb43b 100644 (file)
                                                                <div class="flex-text-block">
                                                                        {{if .DefaultBranchBranch.IsProtected}}{{svg "octicon-shield-lock"}}{{end}}
                                                                        <a class="gt-ellipsis" href="{{.RepoLink}}/src/branch/{{PathEscapeSegments .DefaultBranchBranch.DBBranch.Name}}">{{.DefaultBranchBranch.DBBranch.Name}}</a>
-                                                                       <button class="btn interact-fg gt-px-2" data-clipboard-text="{{.DefaultBranchBranch.DBBranch.Name}}">{{svg "octicon-copy" 14}}</button>
+                                                                       <button class="btn interact-fg tw-px-1" data-clipboard-text="{{.DefaultBranchBranch.DBBranch.Name}}">{{svg "octicon-copy" 14}}</button>
                                                                        {{template "repo/commit_statuses" dict "Status" (index $.CommitStatus .DefaultBranchBranch.DBBranch.CommitID) "Statuses" (index $.CommitStatuses .DefaultBranchBranch.DBBranch.CommitID)}}
                                                                </div>
-                                                               <p class="info tw-flex tw-items-center gt-my-2">{{svg "octicon-git-commit" 16 "gt-mr-2"}}<a href="{{.RepoLink}}/commit/{{PathEscape .DefaultBranchBranch.DBBranch.CommitID}}">{{ShortSha .DefaultBranchBranch.DBBranch.CommitID}}</a> Â· <span class="commit-message">{{RenderCommitMessage $.Context .DefaultBranchBranch.DBBranch.CommitMessage (.Repository.ComposeMetas ctx)}}</span> Â· {{ctx.Locale.Tr "org.repo_updated"}} {{TimeSince .DefaultBranchBranch.DBBranch.CommitTime.AsTime ctx.Locale}}{{if .DefaultBranchBranch.DBBranch.Pusher}} &nbsp;{{template "shared/user/avatarlink" dict "user" .DefaultBranchBranch.DBBranch.Pusher}}{{template "shared/user/namelink" .DefaultBranchBranch.DBBranch.Pusher}}{{end}}</p>
+                                                               <p class="info tw-flex tw-items-center tw-my-1">{{svg "octicon-git-commit" 16 "tw-mr-1"}}<a href="{{.RepoLink}}/commit/{{PathEscape .DefaultBranchBranch.DBBranch.CommitID}}">{{ShortSha .DefaultBranchBranch.DBBranch.CommitID}}</a> Â· <span class="commit-message">{{RenderCommitMessage $.Context .DefaultBranchBranch.DBBranch.CommitMessage (.Repository.ComposeMetas ctx)}}</span> Â· {{ctx.Locale.Tr "org.repo_updated"}} {{TimeSince .DefaultBranchBranch.DBBranch.CommitTime.AsTime ctx.Locale}}{{if .DefaultBranchBranch.DBBranch.Pusher}} &nbsp;{{template "shared/user/avatarlink" dict "user" .DefaultBranchBranch.DBBranch.Pusher}}{{template "shared/user/namelink" .DefaultBranchBranch.DBBranch.Pusher}}{{end}}</p>
                                                        </td>
                                                        <td class="right aligned middle aligned overflow-visible">
                                                                {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
-                                                                       <button class="btn interact-bg show-create-branch-modal gt-p-3"
+                                                                       <button class="btn interact-bg show-create-branch-modal tw-p-2"
                                                                                data-modal="#create-branch-modal"
                                                                                data-branch-from="{{$.DefaultBranchBranch.DBBranch.Name}}"
                                                                                data-branch-from-urlcomponent="{{PathEscapeSegments $.DefaultBranchBranch.DBBranch.Name}}"
                                                                        </button>
                                                                {{end}}
                                                                {{if .EnableFeed}}
-                                                                       <a role="button" class="btn interact-bg gt-p-3" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .DefaultBranchBranch.DBBranch.Name}}">{{svg "octicon-rss"}}</a>
+                                                                       <a role="button" class="btn interact-bg tw-p-2" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .DefaultBranchBranch.DBBranch.Name}}">{{svg "octicon-rss"}}</a>
                                                                {{end}}
                                                                {{if not $.DisableDownloadSourceArchives}}
-                                                                       <div class="ui dropdown btn interact-bg gt-p-3" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.download" ($.DefaultBranchBranch.DBBranch.Name)}}">
+                                                                       <div class="ui dropdown btn interact-bg tw-p-2" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.download" ($.DefaultBranchBranch.DBBranch.Name)}}">
                                                                                {{svg "octicon-download"}}
                                                                                <div class="menu">
                                                                                        <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.DefaultBranchBranch.DBBranch.Name}}.zip" rel="nofollow">{{svg "octicon-file-zip"}}&nbsp;ZIP</a>
@@ -51,7 +51,7 @@
                                                                        </div>
                                                                {{end}}
                                                                {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted) (not $.IsMirror)}}
-                                                                       <button class="btn interact-bg gt-p-3 show-modal show-rename-branch-modal"
+                                                                       <button class="btn interact-bg tw-p-2 show-modal show-rename-branch-modal"
                                                                                data-is-default-branch="true"
                                                                                data-modal="#rename-branch-modal"
                                                                                data-old-branch-name="{{$.DefaultBranchBranch.DBBranch.Name}}"
                                                        {{if .DBBranch.IsDeleted}}
                                                                <div class="flex-text-block">
                                                                        <a class="gt-ellipsis" href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments .DBBranch.Name}}">{{.DBBranch.Name}}</a>
-                                                                       <button class="btn interact-fg gt-px-2" data-clipboard-text="{{.DBBranch.Name}}">{{svg "octicon-copy" 14}}</button>
+                                                                       <button class="btn interact-fg tw-px-1" data-clipboard-text="{{.DBBranch.Name}}">{{svg "octicon-copy" 14}}</button>
                                                                </div>
                                                                <p class="info">{{ctx.Locale.Tr "repo.branch.deleted_by" .DBBranch.DeletedBy.Name}} {{TimeSinceUnix .DBBranch.DeletedUnix ctx.Locale}}</p>
                                                        {{else}}
                                                                <div class="flex-text-block">
                                                                        {{if .IsProtected}}{{svg "octicon-shield-lock"}}{{end}}
                                                                        <a class="gt-ellipsis" href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments .DBBranch.Name}}">{{.DBBranch.Name}}</a>
-                                                                       <button class="btn interact-fg gt-px-2" data-clipboard-text="{{.DBBranch.Name}}">{{svg "octicon-copy" 14}}</button>
+                                                                       <button class="btn interact-fg tw-px-1" data-clipboard-text="{{.DBBranch.Name}}">{{svg "octicon-copy" 14}}</button>
                                                                        {{template "repo/commit_statuses" dict "Status" (index $.CommitStatus .DBBranch.CommitID) "Statuses" (index $.CommitStatuses .DBBranch.CommitID)}}
                                                                </div>
-                                                               <p class="info tw-flex tw-items-center gt-my-2">{{svg "octicon-git-commit" 16 "gt-mr-2"}}<a href="{{$.RepoLink}}/commit/{{PathEscape .DBBranch.CommitID}}">{{ShortSha .DBBranch.CommitID}}</a> Â· <span class="commit-message">{{RenderCommitMessage $.Context .DBBranch.CommitMessage ($.Repository.ComposeMetas ctx)}}</span> Â· {{ctx.Locale.Tr "org.repo_updated"}} {{TimeSince .DBBranch.CommitTime.AsTime ctx.Locale}}{{if .DBBranch.Pusher}} &nbsp;{{template "shared/user/avatarlink" dict "user" .DBBranch.Pusher}} &nbsp;{{template "shared/user/namelink" .DBBranch.Pusher}}{{end}}</p>
+                                                               <p class="info tw-flex tw-items-center tw-my-1">{{svg "octicon-git-commit" 16 "tw-mr-1"}}<a href="{{$.RepoLink}}/commit/{{PathEscape .DBBranch.CommitID}}">{{ShortSha .DBBranch.CommitID}}</a> Â· <span class="commit-message">{{RenderCommitMessage $.Context .DBBranch.CommitMessage ($.Repository.ComposeMetas ctx)}}</span> Â· {{ctx.Locale.Tr "org.repo_updated"}} {{TimeSince .DBBranch.CommitTime.AsTime ctx.Locale}}{{if .DBBranch.Pusher}} &nbsp;{{template "shared/user/avatarlink" dict "user" .DBBranch.Pusher}} &nbsp;{{template "shared/user/namelink" .DBBranch.Pusher}}{{end}}</p>
                                                        {{end}}
                                                        </td>
                                                        <td class="two wide ui">
                                                                                </span>
                                                                        {{else if and (not .DBBranch.IsDeleted) $.AllowsPulls (gt .CommitsAhead 0)}}
                                                                        <a href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.DefaultBranchBranch.DBBranch.Name}}...{{if ne $.Repository.Owner.Name $.Owner.Name}}{{PathEscape $.Owner.Name}}:{{end}}{{PathEscapeSegments .DBBranch.Name}}">
-                                                                               <button id="new-pull-request" class="ui compact basic button gt-mr-0">{{if $.CanPull}}{{ctx.Locale.Tr "repo.pulls.compare_changes"}}{{else}}{{ctx.Locale.Tr "action.compare_branch"}}{{end}}</button>
+                                                                               <button id="new-pull-request" class="ui compact basic button tw-mr-0">{{if $.CanPull}}{{ctx.Locale.Tr "repo.pulls.compare_changes"}}{{else}}{{ctx.Locale.Tr "action.compare_branch"}}{{end}}</button>
                                                                        </a>
                                                                        {{end}}
                                                                {{else if and .LatestPullRequest.HasMerged .MergeMovedOn}}
                                                                        {{if and (not .DBBranch.IsDeleted) $.AllowsPulls (gt .CommitsAhead 0)}}
                                                                        <a href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.DefaultBranchBranch.DBBranch.Name}}...{{if ne $.Repository.Owner.Name $.Owner.Name}}{{PathEscape $.Owner.Name}}:{{end}}{{PathEscapeSegments .DBBranch.Name}}">
-                                                                               <button id="new-pull-request" class="ui compact basic button gt-mr-0">{{if $.CanPull}}{{ctx.Locale.Tr "repo.pulls.compare_changes"}}{{else}}{{ctx.Locale.Tr "action.compare_branch"}}{{end}}</button>
+                                                                               <button id="new-pull-request" class="ui compact basic button tw-mr-0">{{if $.CanPull}}{{ctx.Locale.Tr "repo.pulls.compare_changes"}}{{else}}{{ctx.Locale.Tr "action.compare_branch"}}{{end}}</button>
                                                                        </a>
                                                                        {{end}}
                                                                {{else}}
                                                                        <a href="{{.LatestPullRequest.Issue.Link}}" class="tw-align-middle ref-issue">{{if not .LatestPullRequest.IsSameRepo}}{{.LatestPullRequest.BaseRepo.FullName}}{{end}}#{{.LatestPullRequest.Issue.Index}}</a>
                                                                        {{if .LatestPullRequest.HasMerged}}
-                                                                               <a href="{{.LatestPullRequest.Issue.Link}}" class="ui purple large label">{{svg "octicon-git-merge" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.pulls.merged"}}</a>
+                                                                               <a href="{{.LatestPullRequest.Issue.Link}}" class="ui purple large label">{{svg "octicon-git-merge" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.pulls.merged"}}</a>
                                                                        {{else if .LatestPullRequest.Issue.IsClosed}}
-                                                                               <a href="{{.LatestPullRequest.Issue.Link}}" class="ui red large label">{{svg "octicon-git-pull-request" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.issues.closed_title"}}</a>
+                                                                               <a href="{{.LatestPullRequest.Issue.Link}}" class="ui red large label">{{svg "octicon-git-pull-request" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.issues.closed_title"}}</a>
                                                                        {{else}}
-                                                                               <a href="{{.LatestPullRequest.Issue.Link}}" class="ui green large label">{{svg "octicon-git-pull-request" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.issues.open_title"}}</a>
+                                                                               <a href="{{.LatestPullRequest.Issue.Link}}" class="ui green large label">{{svg "octicon-git-pull-request" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.issues.open_title"}}</a>
                                                                        {{end}}
                                                                {{end}}
                                                        </td>
                                                        <td class="three wide right aligned overflow-visible">
                                                                {{if and $.IsWriter (not $.Repository.IsArchived) (not .DBBranch.IsDeleted)}}
-                                                                       <button class="btn interact-bg gt-p-3 show-modal show-create-branch-modal"
+                                                                       <button class="btn interact-bg tw-p-2 show-modal show-create-branch-modal"
                                                                                data-branch-from="{{.DBBranch.Name}}"
                                                                                data-branch-from-urlcomponent="{{PathEscapeSegments .DBBranch.Name}}"
                                                                                data-tooltip-content="{{ctx.Locale.Tr "repo.branch.new_branch_from" .DBBranch.Name}}"
                                                                        </button>
                                                                {{end}}
                                                                {{if $.EnableFeed}}
-                                                                       <a role="button" class="btn interact-bg gt-p-3" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .DBBranch.Name}}">{{svg "octicon-rss"}}</a>
+                                                                       <a role="button" class="btn interact-bg tw-p-2" href="{{$.FeedURL}}/rss/branch/{{PathEscapeSegments .DBBranch.Name}}">{{svg "octicon-rss"}}</a>
                                                                {{end}}
                                                                {{if and (not .DBBranch.IsDeleted) (not $.DisableDownloadSourceArchives)}}
-                                                                       <div class="ui dropdown btn interact-bg gt-p-3" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.download" (.DBBranch.Name)}}">
+                                                                       <div class="ui dropdown btn interact-bg tw-p-2" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.download" (.DBBranch.Name)}}">
                                                                                {{svg "octicon-download"}}
                                                                                <div class="menu">
                                                                                        <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments .DBBranch.Name}}.zip" rel="nofollow">{{svg "octicon-file-zip"}}&nbsp;ZIP</a>
                                                                        </div>
                                                                {{end}}
                                                                {{if and $.IsWriter (not $.Repository.IsArchived) (not .DBBranch.IsDeleted) (not $.IsMirror)}}
-                                                                       <button class="btn interact-bg gt-p-3 show-modal show-rename-branch-modal"
+                                                                       <button class="btn interact-bg tw-p-2 show-modal show-rename-branch-modal"
                                                                                data-is-default-branch="false"
                                                                                data-old-branch-name="{{.DBBranch.Name}}"
                                                                                data-modal="#rename-branch-modal"
                                                                {{end}}
                                                                {{if and $.IsWriter (not $.IsMirror) (not $.Repository.IsArchived) (not .IsProtected)}}
                                                                        {{if .DBBranch.IsDeleted}}
-                                                                               <button class="btn interact-bg gt-p-3 link-action restore-branch-button" data-url="{{$.Link}}/restore?branch_id={{.DBBranch.ID}}&name={{.DBBranch.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.restore" (.DBBranch.Name)}}">
+                                                                               <button class="btn interact-bg tw-p-2 link-action restore-branch-button" data-url="{{$.Link}}/restore?branch_id={{.DBBranch.ID}}&name={{.DBBranch.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.restore" (.DBBranch.Name)}}">
                                                                                        <span class="text blue">
                                                                                                {{svg "octicon-reply"}}
                                                                                        </span>
                                                                                </button>
                                                                        {{else}}
-                                                                               <button class="btn interact-bg gt-p-3 delete-button delete-branch-button" data-url="{{$.Link}}/delete?name={{.DBBranch.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.delete" (.DBBranch.Name)}}" data-name="{{.DBBranch.Name}}">
+                                                                               <button class="btn interact-bg tw-p-2 delete-button delete-branch-button" data-url="{{$.Link}}/delete?name={{.DBBranch.Name}}&page={{$.Page.Paginater.Current}}" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.delete" (.DBBranch.Name)}}" data-name="{{.DBBranch.Name}}">
                                                                                        {{svg "octicon-trash"}}
                                                                                </button>
                                                                        {{end}}
index 418006a0f60edf8fc020d74319a76729b55c9bf1..6c2e08a9857908e32ec3d297883ba1b5bbc45d59 100644 (file)
@@ -70,8 +70,8 @@
 <div class="js-branch-tag-selector {{if .ContainerClasses}}{{.ContainerClasses}}{{end}}">
        {{/* show dummy elements before Vue componment is mounted, this code must match the code in BranchTagSelector.vue */}}
        <div class="ui dropdown custom">
-               <button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex gt-m-0">
-                       <span class="text tw-flex tw-items-center gt-mr-2">
+               <button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex tw-m-0">
+                       <span class="text tw-flex tw-items-center tw-mr-1">
                                {{if .release}}
                                        {{ctx.Locale.Tr "repo.release.compare"}}
                                {{else}}
@@ -80,7 +80,7 @@
                                        {{else}}
                                                {{svg "octicon-git-branch"}}
                                        {{end}}
-                                       <strong ref="dropdownRefName" class="gt-ml-3">{{if and .root.IsViewTag (not .noTag)}}{{.root.TagName}}{{else if .root.IsViewBranch}}{{.root.BranchName}}{{else}}{{ShortSha .root.CommitID}}{{end}}</strong>
+                                       <strong ref="dropdownRefName" class="tw-ml-2">{{if and .root.IsViewTag (not .noTag)}}{{.root.TagName}}{{else if .root.IsViewBranch}}{{.root.BranchName}}{{else}}{{ShortSha .root.CommitID}}{{end}}</strong>
                                {{end}}
                        </span>
                        {{svg "octicon-triangle-down" 14 "dropdown icon"}}
index 840a0e32ec0c589f512399b0660256641a32d051..17ae7d119d187ae118a43faff02253f594267404 100644 (file)
@@ -5,7 +5,7 @@
                        {{$branchLink := HTMLFormat `<a href="%s/src/branch/%s">%s</a>` $.RepoLink (PathEscapeSegments .Name) .Name}}
                        {{ctx.Locale.Tr "repo.pulls.recently_pushed_new_branches" $branchLink $timeSince}}
                </div>
-               <a role="button" class="ui compact positive button gt-m-0" href="{{$.Repository.ComposeBranchCompareURL $.Repository.BaseRepo .Name}}">
+               <a role="button" class="ui compact positive button tw-m-0" href="{{$.Repository.ComposeBranchCompareURL $.Repository.BaseRepo .Name}}">
                        {{ctx.Locale.Tr "repo.pulls.compare_changes"}}
                </a>
        </div>
index 49f73238455233b3b07287d62157fc558d750115..9ab1e2fe05df850b4bbea74ffaf4fd41c38c6849 100644 (file)
@@ -1,18 +1,18 @@
 {{if not .PageIsWiki}}
 <div class="branch-and-tag-area" data-text-default-branch-tooltip="{{ctx.Locale.Tr "repo.commit.contained_in_default_branch"}}">
-       <button class="ui button ellipsis-button load-branches-and-tags gt-mt-3" aria-expanded="false"
+       <button class="ui button ellipsis-button load-branches-and-tags tw-mt-2" aria-expanded="false"
                data-fetch-url="{{.RepoLink}}/commit/{{.CommitID}}/load-branches-and-tags"
                data-tooltip-content="{{ctx.Locale.Tr "repo.commit.load_referencing_branches_and_tags"}}"
        >...</button>
        <div class="branch-and-tag-detail gt-hidden">
                <div class="divider"></div>
                <div>{{ctx.Locale.Tr "repo.commit.contained_in"}}</div>
-               <div class="tw-flex gt-mt-3">
-                       <div class="gt-p-2">{{svg "octicon-git-branch"}}</div>
+               <div class="tw-flex tw-mt-2">
+                       <div class="tw-p-1">{{svg "octicon-git-branch"}}</div>
                        <div class="branch-area flex-text-block tw-flex-wrap tw-flex-1"></div>
                </div>
-               <div class="tw-flex gt-mt-3">
-                       <div class="gt-p-2">{{svg "octicon-tag"}}</div>
+               <div class="tw-flex tw-mt-2">
+                       <div class="tw-p-1">{{svg "octicon-tag"}}</div>
                        <div class="tag-area flex-text-block tw-flex-wrap tw-flex-1"></div>
                </div>
        </div>
index 345c28f475632c3ea36b4300c12ed25b31a48ae8..3ae7fffa1cc94f1ff2a89fe4e02dc6fd41537dd9 100644 (file)
@@ -18,8 +18,8 @@
                        {{end}}
                {{end}}
                <div class="ui top attached header clearing segment tw-relative commit-header {{$class}}">
-                       <div class="tw-flex gt-mb-4 tw-flex-wrap">
-                               <h3 class="gt-mb-0 tw-flex-1"><span class="commit-summary" title="{{.Commit.Summary}}">{{RenderCommitMessage $.Context .Commit.Message ($.Repository.ComposeMetas ctx)}}</span>{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses}}</h3>
+                       <div class="tw-flex tw-mb-4 tw-flex-wrap">
+                               <h3 class="tw-mb-0 tw-flex-1"><span class="commit-summary" title="{{.Commit.Summary}}">{{RenderCommitMessage $.Context .Commit.Message ($.Repository.ComposeMetas ctx)}}</span>{{template "repo/commit_statuses" dict "Status" .CommitStatus "Statuses" .CommitStatuses}}</h3>
                                {{if not $.PageIsWiki}}
                                        <div>
                                                <a class="ui primary tiny button" href="{{.SourcePath}}">
                        {{end}}
                        {{template "repo/commit_load_branches_and_tags" .}}
                </div>
-               <div class="ui attached segment tw-flex tw-items-center tw-justify-between gt-py-2 commit-header-row tw-flex-wrap {{$class}}">
+               <div class="ui attached segment tw-flex tw-items-center tw-justify-between tw-py-1 commit-header-row tw-flex-wrap {{$class}}">
                                <div class="tw-flex tw-items-center author">
                                        {{if .Author}}
-                                               {{ctx.AvatarUtils.Avatar .Author 28 "gt-mr-3"}}
+                                               {{ctx.AvatarUtils.Avatar .Author 28 "tw-mr-2"}}
                                                {{if .Author.FullName}}
                                                        <a href="{{.Author.HomeLink}}"><strong>{{.Author.FullName}}</strong></a>
                                                {{else}}
                                                        <a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a>
                                                {{end}}
                                        {{else}}
-                                               {{ctx.AvatarUtils.AvatarByEmail .Commit.Author.Email .Commit.Author.Email 28 "gt-mr-3"}}
+                                               {{ctx.AvatarUtils.AvatarByEmail .Commit.Author.Email .Commit.Author.Email 28 "tw-mr-2"}}
                                                <strong>{{.Commit.Author.Name}}</strong>
                                        {{end}}
-                                       <span class="text grey gt-ml-3" id="authored-time">{{TimeSince .Commit.Author.When ctx.Locale}}</span>
+                                       <span class="text grey tw-ml-2" id="authored-time">{{TimeSince .Commit.Author.When ctx.Locale}}</span>
                                        {{if or (ne .Commit.Committer.Name .Commit.Author.Name) (ne .Commit.Committer.Email .Commit.Author.Email)}}
-                                               <span class="text grey gt-mx-3">{{ctx.Locale.Tr "repo.diff.committed_by"}}</span>
+                                               <span class="text grey tw-mx-2">{{ctx.Locale.Tr "repo.diff.committed_by"}}</span>
                                                {{if ne .Verification.CommittingUser.ID 0}}
-                                                       {{ctx.AvatarUtils.Avatar .Verification.CommittingUser 28 "gt-mx-3"}}
+                                                       {{ctx.AvatarUtils.Avatar .Verification.CommittingUser 28 "tw-mx-2"}}
                                                        <a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a>
                                                {{else}}
-                                                       {{ctx.AvatarUtils.AvatarByEmail .Commit.Committer.Email .Commit.Committer.Name 28 "gt-mr-3"}}
+                                                       {{ctx.AvatarUtils.AvatarByEmail .Commit.Committer.Email .Commit.Committer.Name 28 "tw-mr-2"}}
                                                        <strong>{{.Commit.Committer.Name}}</strong>
                                                {{end}}
                                        {{end}}
                                </div>
                </div>
                {{if .Commit.Signature}}
-                       <div class="ui bottom attached message tw-text-left tw-flex tw-items-center tw-justify-between commit-header-row tw-flex-wrap gt-mb-0 {{$class}}">
+                       <div class="ui bottom attached message tw-text-left tw-flex tw-items-center tw-justify-between commit-header-row tw-flex-wrap tw-mb-0 {{$class}}">
                                <div class="tw-flex tw-items-center">
                                        {{if .Verification.Verified}}
                                                {{if ne .Verification.SigningUser.ID 0}}
-                                                       {{svg "gitea-lock" 16 "gt-mr-3"}}
+                                                       {{svg "gitea-lock" 16 "tw-mr-2"}}
                                                        {{if eq .Verification.TrustStatus "trusted"}}
-                                                               <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.signed_by"}}:</span>
+                                                               <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.signed_by"}}:</span>
                                                        {{else if eq .Verification.TrustStatus "untrusted"}}
-                                                               <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.signed_by_untrusted_user"}}:</span>
+                                                               <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.signed_by_untrusted_user"}}:</span>
                                                        {{else}}
-                                                               <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}:</span>
+                                                               <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}:</span>
                                                        {{end}}
-                                                       {{ctx.AvatarUtils.Avatar .Verification.SigningUser 28 "gt-mr-3"}}
+                                                       {{ctx.AvatarUtils.Avatar .Verification.SigningUser 28 "tw-mr-2"}}
                                                        <a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Verification.SigningUser.GetDisplayName}}</strong></a>
                                                {{else}}
-                                                       <span title="{{ctx.Locale.Tr "gpg.default_key"}}">{{svg "gitea-lock-cog" 16 "gt-mr-3"}}</span>
-                                                       <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.signed_by"}}:</span>
-                                                       {{ctx.AvatarUtils.AvatarByEmail .Verification.SigningEmail "" 28 "gt-mr-3"}}
+                                                       <span title="{{ctx.Locale.Tr "gpg.default_key"}}">{{svg "gitea-lock-cog" 16 "tw-mr-2"}}</span>
+                                                       <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.signed_by"}}:</span>
+                                                       {{ctx.AvatarUtils.AvatarByEmail .Verification.SigningEmail "" 28 "tw-mr-2"}}
                                                        <strong>{{.Verification.SigningUser.GetDisplayName}}</strong>
                                                {{end}}
                                        {{else}}
-                                               {{svg "gitea-unlock" 16 "gt-mr-3"}}
+                                               {{svg "gitea-unlock" 16 "tw-mr-2"}}
                                                <span class="ui text">{{ctx.Locale.Tr .Verification.Reason}}</span>
                                        {{end}}
                                </div>
                                <div class="tw-flex tw-items-center">
                                        {{if .Verification.Verified}}
                                                {{if ne .Verification.SigningUser.ID 0}}
-                                                       {{svg "octicon-verified" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-verified" 16 "tw-mr-2"}}
                                                        {{if .Verification.SigningSSHKey}}
-                                                               <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
+                                                               <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
                                                                {{.Verification.SigningSSHKey.Fingerprint}}
                                                        {{else}}
-                                                               <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
+                                                               <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
                                                                {{.Verification.SigningKey.PaddedKeyID}}
                                                        {{end}}
                                                {{else}}
-                                                       {{svg "octicon-unverified" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-unverified" 16 "tw-mr-2"}}
                                                        {{if .Verification.SigningSSHKey}}
-                                                               <span class="ui text gt-mr-3" data-tooltip-content="{{ctx.Locale.Tr "gpg.default_key"}}">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
+                                                               <span class="ui text tw-mr-2" data-tooltip-content="{{ctx.Locale.Tr "gpg.default_key"}}">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
                                                                {{.Verification.SigningSSHKey.Fingerprint}}
                                                        {{else}}
-                                                               <span class="ui text gt-mr-3" data-tooltip-content="{{ctx.Locale.Tr "gpg.default_key"}}">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
+                                                               <span class="ui text tw-mr-2" data-tooltip-content="{{ctx.Locale.Tr "gpg.default_key"}}">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
                                                                {{.Verification.SigningKey.PaddedKeyID}}
                                                        {{end}}
                                                {{end}}
                                        {{else if .Verification.Warning}}
-                                               {{svg "octicon-unverified" 16 "gt-mr-3"}}
+                                               {{svg "octicon-unverified" 16 "tw-mr-2"}}
                                                {{if .Verification.SigningSSHKey}}
-                                                       <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
+                                                       <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
                                                        {{.Verification.SigningSSHKey.Fingerprint}}
                                                {{else}}
-                                                       <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
+                                                       <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
                                                        {{.Verification.SigningKey.PaddedKeyID}}
                                                {{end}}
                                        {{else}}
                                                {{if .Verification.SigningKey}}
                                                        {{if ne .Verification.SigningKey.KeyID ""}}
-                                                               {{svg "octicon-verified" 16 "gt-mr-3"}}
-                                                               <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
+                                                               {{svg "octicon-verified" 16 "tw-mr-2"}}
+                                                               <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.gpg_key_id"}}:</span>
                                                                {{.Verification.SigningKey.PaddedKeyID}}
                                                        {{end}}
                                                {{end}}
                                                {{if .Verification.SigningSSHKey}}
                                                        {{if ne .Verification.SigningSSHKey.Fingerprint ""}}
-                                                               {{svg "octicon-verified" 16 "gt-mr-3"}}
-                                                               <span class="ui text gt-mr-3">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
+                                                               {{svg "octicon-verified" 16 "tw-mr-2"}}
+                                                               <span class="ui text tw-mr-2">{{ctx.Locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span>
                                                                {{.Verification.SigningSSHKey.Fingerprint}}
                                                        {{end}}
                                                {{end}}
                {{end}}
                {{if .NoteRendered}}
                        <div class="ui top attached header segment git-notes">
-                               {{svg "octicon-note" 16 "gt-mr-3"}}
+                               {{svg "octicon-note" 16 "tw-mr-2"}}
                                {{ctx.Locale.Tr "repo.diff.git-notes"}}:
                                {{if .NoteAuthor}}
                                        <a href="{{.NoteAuthor.HomeLink}}">
index ea173da7a500657b058beeb014840e0b7f64dc55..e6efe1ff5426cf5907bdc59efc3a39238c9adff4 100644 (file)
@@ -5,7 +5,7 @@
                {{template "repo/sub_menu" .}}
                <div class="repo-button-row">
                        <div class="tw-flex tw-items-center">
-                               {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "gt-mr-2"}}
+                               {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "tw-mr-1"}}
                                <a href="{{.RepoLink}}/graph" class="ui basic small compact button">
                                        {{svg "octicon-git-branch"}}
                                        {{ctx.Locale.Tr "repo.commit_graph"}}
index 4eb31e0e8e6971999cfdf13816bae1a1d595d722..99787f715f59e6dfed5cdee5c9efa0b013e9159b 100644 (file)
@@ -19,9 +19,9 @@
                                                                {{if .User.FullName}}
                                                                        {{$userName = .User.FullName}}
                                                                {{end}}
-                                                               {{ctx.AvatarUtils.Avatar .User 28 "gt-mr-2"}}<a href="{{.User.HomeLink}}">{{$userName}}</a>
+                                                               {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-1"}}<a href="{{.User.HomeLink}}">{{$userName}}</a>
                                                        {{else}}
-                                                               {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "gt-mr-2"}}
+                                                               {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "tw-mr-1"}}
                                                                {{$userName}}
                                                        {{end}}
                                                </td>
                                                {{else}}
                                                        <td class="text right aligned">{{TimeSince .Author.When ctx.Locale}}</td>
                                                {{end}}
-                                               <td class="text right aligned gt-py-0">
-                                                       <button class="btn interact-bg gt-p-3" data-tooltip-content="{{ctx.Locale.Tr "copy_hash"}}" data-clipboard-text="{{.ID}}">{{svg "octicon-copy"}}</button>
+                                               <td class="text right aligned tw-py-0">
+                                                       <button class="btn interact-bg tw-p-2" data-tooltip-content="{{ctx.Locale.Tr "copy_hash"}}" data-clipboard-text="{{.ID}}">{{svg "octicon-copy"}}</button>
                                                        <a
-                                                               class="btn interact-bg gt-p-3"
+                                                               class="btn interact-bg tw-p-2"
                                                                data-tooltip-content="{{ctx.Locale.Tr "repo.commits.view_path"}}"
                                                                href="{{if $.FileName}}{{printf "%s/src/commit/%s/%s" $commitRepoLink (PathEscape .ID.String) (PathEscapeSegments $.FileName)}}{{else}}{{printf "%s/src/commit/%s" $commitRepoLink (PathEscape .ID.String)}}{{end}}">
                                                                {{svg "octicon-file-code"}}
index b195f0648375ce9cf2011e073e97bc6808394b8f..cb867df65af8e0509f26c5f3a6dcc6ff805fa494 100644 (file)
@@ -30,7 +30,7 @@
                                        {{$class = (print $class " isWarning")}}
                                {{end}}
                        {{end}}
-                       <a href="{{$commitLink}}" rel="nofollow" class="gt-ml-3 {{$class}}">
+                       <a href="{{$commitLink}}" rel="nofollow" class="tw-ml-2 {{$class}}">
                                <span class="shortsha">{{ShortSha .ID.String}}</span>
                                {{if .Signature}}
                                        {{template "repo/shabox_badge" dict "root" $.root "verification" .Verification}}
index 48e9368c654ed833cee9228273fecb7cddd3718a..91fc1c2faede28990fd4968525c03781ccaccd8c 100644 (file)
@@ -10,9 +10,9 @@
        </div>
        {{if .IsDiffCompare}}
                <div class="commits-table-right tw-whitespace-nowrap">
-                       <a href="{{$.CommitRepoLink}}/commit/{{.BeforeCommitID | PathEscape}}" class="ui green sha label gt-mx-0">{{if not .BaseIsCommit}}{{if .BaseIsBranch}}{{svg "octicon-git-branch"}}{{else if .BaseIsTag}}{{svg "octicon-tag"}}{{end}}{{.BaseBranch}}{{else}}{{ShortSha .BaseBranch}}{{end}}</a>
+                       <a href="{{$.CommitRepoLink}}/commit/{{.BeforeCommitID | PathEscape}}" class="ui green sha label tw-mx-0">{{if not .BaseIsCommit}}{{if .BaseIsBranch}}{{svg "octicon-git-branch"}}{{else if .BaseIsTag}}{{svg "octicon-tag"}}{{end}}{{.BaseBranch}}{{else}}{{ShortSha .BaseBranch}}{{end}}</a>
                        ...
-                       <a href="{{$.CommitRepoLink}}/commit/{{.AfterCommitID | PathEscape}}" class="ui green sha label gt-mx-0">{{if not .HeadIsCommit}}{{if .HeadIsBranch}}{{svg "octicon-git-branch"}}{{else if .HeadIsTag}}{{svg "octicon-tag"}}{{end}}{{.HeadBranch}}{{else}}{{ShortSha .HeadBranch}}{{end}}</a>
+                       <a href="{{$.CommitRepoLink}}/commit/{{.AfterCommitID | PathEscape}}" class="ui green sha label tw-mx-0">{{if not .HeadIsCommit}}{{if .HeadIsBranch}}{{svg "octicon-git-branch"}}{{else if .HeadIsTag}}{{svg "octicon-tag"}}{{end}}{{.HeadBranch}}{{else}}{{ShortSha .HeadBranch}}{{end}}</a>
                </div>
        {{end}}
 </h4>
index 9fd8593c53bfe2da3d3222b219edca8e9fa88cf6..a6ca314b3a4e59f65914bf5c3e26a4132abe5619 100644 (file)
@@ -1,7 +1,7 @@
 {{$showFileTree := (and (not .DiffNotAvailable) (gt .Diff.NumFiles 1))}}
 <div>
        <div class="diff-detail-box diff-box">
-               <div class="tw-flex tw-items-center tw-flex-wrap tw-gap-2 gt-ml-1">
+               <div class="tw-flex tw-items-center tw-flex-wrap tw-gap-2 tw-ml-0.5">
                        {{if $showFileTree}}
                                <button class="diff-toggle-file-tree-button not-mobile btn interact-fg" data-show-text="{{ctx.Locale.Tr "repo.diff.show_file_tree"}}" data-hide-text="{{ctx.Locale.Tr "repo.diff.hide_file_tree"}}">
                                        {{/* the icon meaning is reversed here, "octicon-sidebar-collapse" means show the file tree */}}
                        {{end}}
                        {{if not .DiffNotAvailable}}
                                <div class="diff-detail-stats tw-flex tw-items-center tw-flex-wrap">
-                                       {{svg "octicon-diff" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion}}
+                                       {{svg "octicon-diff" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion}}
                                </div>
                        {{end}}
                </div>
                <div class="diff-detail-actions">
                        {{if and .PageIsPullFiles $.SignedUserID (not .IsArchived) (not .DiffNotAvailable)}}
-                               <div class="not-mobile tw-flex tw-items-center tw-flex-col tw-whitespace-nowrap gt-mr-2">
+                               <div class="not-mobile tw-flex tw-items-center tw-flex-col tw-whitespace-nowrap tw-mr-1">
                                        <label for="viewed-files-summary" id="viewed-files-summary-label" data-text-changed-template="{{ctx.Locale.Tr "repo.pulls.viewed_files_label"}}">
                                                {{ctx.Locale.Tr "repo.pulls.viewed_files_label" .Diff.NumViewedFiles .Diff.NumFiles}}
                                        </label>
                                        {{$showFileViewToggle := or $isImage (and (not $file.IsIncomplete) $isCsv)}}
                                        {{$isExpandable := or (gt $file.Addition 0) (gt $file.Deletion 0) $file.IsBin}}
                                        {{$isReviewFile := and $.IsSigned $.PageIsPullFiles (not $.IsArchived) $.IsShowingAllCommits}}
-                                       <div class="diff-file-box diff-box file-content {{TabSizeClass $.Editorconfig $file.Name}} gt-mt-0" id="diff-{{$file.NameHash}}" data-old-filename="{{$file.OldName}}" data-new-filename="{{$file.Name}}" {{if or ($file.ShouldBeHidden) (not $isExpandable)}}data-folded="true"{{end}}>
+                                       <div class="diff-file-box diff-box file-content {{TabSizeClass $.Editorconfig $file.Name}} tw-mt-0" id="diff-{{$file.NameHash}}" data-old-filename="{{$file.OldName}}" data-new-filename="{{$file.Name}}" {{if or ($file.ShouldBeHidden) (not $isExpandable)}}data-folded="true"{{end}}>
                                                <h4 class="diff-file-header sticky-2nd-row ui top attached header tw-font-normal tw-flex tw-items-center tw-justify-between tw-flex-wrap">
                                                        <div class="diff-file-name tw-flex tw-items-center tw-gap-1 tw-flex-wrap">
-                                                               <button class="fold-file btn interact-bg gt-p-2{{if not $isExpandable}} tw-invisible{{end}}">
+                                                               <button class="fold-file btn interact-bg tw-p-1{{if not $isExpandable}} tw-invisible{{end}}">
                                                                        {{if $file.ShouldBeHidden}}
                                                                                {{svg "octicon-chevron-right" 18}}
                                                                        {{else}}
                                                                </button>
                                                                <div class="tw-font-semibold tw-flex tw-items-center gt-mono">
                                                                        {{if $file.IsBin}}
-                                                                               <span class="gt-ml-1 gt-mr-3">
+                                                                               <span class="tw-ml-0.5 tw-mr-2">
                                                                                        {{ctx.Locale.Tr "repo.diff.bin"}}
                                                                                </span>
                                                                        {{else}}
                                                                        {{end}}
                                                                </div>
                                                                <span class="file gt-mono"><a class="muted file-link" title="{{if $file.IsRenamed}}{{$file.OldName}} â†’ {{end}}{{$file.Name}}" href="#diff-{{$file.NameHash}}">{{if $file.IsRenamed}}{{$file.OldName}} â†’ {{end}}{{$file.Name}}</a>{{if .IsLFSFile}} ({{ctx.Locale.Tr "repo.stored_lfs"}}){{end}}</span>
-                                                               <button class="btn interact-fg gt-p-3" data-clipboard-text="{{$file.Name}}">{{svg "octicon-copy" 14}}</button>
+                                                               <button class="btn interact-fg tw-p-2" data-clipboard-text="{{$file.Name}}">{{svg "octicon-copy" 14}}</button>
                                                                {{if $file.IsGenerated}}
                                                                        <span class="ui label">{{ctx.Locale.Tr "repo.diff.generated"}}</span>
                                                                {{end}}
                                                                {{if and $file.Mode $file.OldMode}}
                                                                        {{$old := ctx.Locale.Tr ($file.ModeTranslationKey $file.OldMode)}}
                                                                        {{$new := ctx.Locale.Tr ($file.ModeTranslationKey $file.Mode)}}
-                                                                       <span class="gt-ml-4 gt-mono">{{ctx.Locale.Tr "git.filemode.changed_filemode" $old $new}}</span>
+                                                                       <span class="tw-ml-4 gt-mono">{{ctx.Locale.Tr "git.filemode.changed_filemode" $old $new}}</span>
                                                                {{else if $file.Mode}}
-                                                                       <span class="gt-ml-4 gt-mono">{{ctx.Locale.Tr ($file.ModeTranslationKey $file.Mode)}}</span>
+                                                                       <span class="tw-ml-4 gt-mono">{{ctx.Locale.Tr ($file.ModeTranslationKey $file.Mode)}}</span>
                                                                {{end}}
                                                        </div>
                                                        <div class="diff-file-header-actions tw-flex tw-items-center tw-gap-1 tw-flex-wrap">
                                {{end}}
 
                                {{if .Diff.IsIncomplete}}
-                                       <div class="diff-file-box diff-box file-content gt-mt-3" id="diff-incomplete">
+                                       <div class="diff-file-box diff-box file-content tw-mt-2" id="diff-incomplete">
                                                <h4 class="ui top attached header tw-font-normal tw-flex tw-items-center tw-justify-between">
                                                        {{ctx.Locale.Tr "repo.diff.too_many_files"}}
                                                        <a class="ui basic tiny button" id="diff-show-more-files" data-href="?skip-to={{.Diff.End}}&file-only=true">{{ctx.Locale.Tr "repo.diff.show_more"}}</a>
index 6005ea28ef54f161e26f4d9a4e9c6cdb00e2be43..d797e89444313657b9e458ce66fb0d59799301d2 100644 (file)
@@ -25,7 +25,7 @@
                        </div>
                {{end}}
 
-               <div class="field footer gt-mx-3">
+               <div class="field footer tw-mx-2">
                        <span class="markup-info">{{svg "octicon-markup"}} {{ctx.Locale.Tr "repo.diff.comment.markdown_info"}}</span>
                        <div class="tw-text-right">
                                {{if $.reply}}
index 070fe92317df24469e3239fdd786eefe76c1e90c..b03a9291c5b7b76db0a9aa413d77567c7c67f162 100644 (file)
@@ -11,7 +11,7 @@
                <div class="ui top attached header comment-header tw-flex tw-items-center tw-justify-between">
                        <div class="comment-header-left tw-flex tw-items-center">
                                {{if .OriginalAuthor}}
-                                       <span class="text black tw-font-semibold gt-mr-2">
+                                       <span class="text black tw-font-semibold tw-mr-1">
                                                {{svg (MigrationIcon $.root.Repository.GetOriginalURLHostname)}}
                                                {{.OriginalAuthor}}
                                        </span>
index 773db40e186a7cebf01708ebbc3efd6b38a6be7f..ea9c0d471a2aad971b3539c82af1db3a637b8e38 100644 (file)
@@ -28,7 +28,7 @@
                {{- end -}}
        {{- end -}}
        <div class="ui segment choose branch">
-               <a class="gt-mr-3" href="{{$.HeadRepo.Link}}/compare/{{PathEscapeSegments $.HeadBranch}}{{$.CompareSeparator}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.BaseName}}/{{PathEscape $.Repository.Name}}:{{end}}{{PathEscapeSegments $.BaseBranch}}" title="{{ctx.Locale.Tr "repo.pulls.switch_head_and_base"}}">{{svg "octicon-git-compare"}}</a>
+               <a class="tw-mr-2" href="{{$.HeadRepo.Link}}/compare/{{PathEscapeSegments $.HeadBranch}}{{$.CompareSeparator}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.BaseName}}/{{PathEscape $.Repository.Name}}:{{end}}{{PathEscapeSegments $.BaseBranch}}" title="{{ctx.Locale.Tr "repo.pulls.switch_head_and_base"}}">{{svg "octicon-git-compare"}}</a>
                <div class="ui floating filter dropdown" data-no-results="{{ctx.Locale.Tr "no_results_found"}}">
                        <div class="ui basic small button">
                                <span class="text">{{if $.PageIsComparePull}}{{ctx.Locale.Tr "repo.pulls.compare_base"}}{{else}}{{ctx.Locale.Tr "repo.compare.compare_base"}}{{end}}: {{$BaseCompareName}}:{{$.BaseBranch}}</span>
                                                <div class="two column row">
                                                        <a class="reference column" href="#" data-target=".base-branch-list">
                                                                <span class="text black">
-                                                                       {{svg "octicon-git-branch" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.branches"}}
+                                                                       {{svg "octicon-git-branch" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.branches"}}
                                                                </span>
                                                        </a>
                                                        <a class="reference column" href="#" data-target=".base-tag-list">
                                                                <span class="text black">
-                                                                       {{svg "octicon-tag" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.tags"}}
+                                                                       {{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.tags"}}
                                                                </span>
                                                        </a>
                                                </div>
                                                <div class="two column row">
                                                        <a class="reference column" href="#" data-target=".head-branch-list">
                                                                <span class="text black">
-                                                                       {{svg "octicon-git-branch" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.branches"}}
+                                                                       {{svg "octicon-git-branch" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.branches"}}
                                                                </span>
                                                        </a>
                                                        <a class="reference column" href="#" data-target=".head-tag-list">
                                                                <span class="text black">
-                                                                       {{svg "octicon-tag" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.tags"}}
+                                                                       {{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.tags"}}
                                                                </span>
                                                        </a>
                                                </div>
index e689deb1bffd325303f611e54b2062ad0bed8697..872cbee78b7b95a689110a7b254645283cbc5ace 100644 (file)
                {{if $resolved}}
                        <div class="ui attached header resolved-placeholder tw-flex tw-items-center tw-justify-between">
                                <div class="ui grey text tw-flex tw-items-center tw-flex-wrap tw-gap-1">
-                                       {{svg "octicon-check" 16 "icon gt-mr-2"}}
+                                       {{svg "octicon-check" 16 "icon tw-mr-1"}}
                                        <b>{{$resolveDoer.Name}}</b> {{ctx.Locale.Tr "repo.issues.review.resolved_by"}}
                                        {{if $invalid}}
                                                <!--
                                                We only handle the case $resolved=true and $invalid=true in this template because if the comment is not resolved it has the outdated label in the comments area (not the header above).
                                                The case $resolved=false and $invalid=true is handled in repo/diff/comments.tmpl
                                                -->
-                                               <a href="{{$referenceUrl}}" class="ui label basic small gt-ml-3" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.review.outdated_description"}}">
+                                               <a href="{{$referenceUrl}}" class="ui label basic small tw-ml-2" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.review.outdated_description"}}">
                                                        {{ctx.Locale.Tr "repo.issues.review.outdated"}}
                                                </a>
                                        {{end}}
                                </div>
                                <div class="tw-flex tw-items-center tw-gap-2">
                                        <button id="show-outdated-{{$comment.ID}}" data-comment="{{$comment.ID}}" class="ui tiny labeled button show-outdated tw-flex tw-items-center">
-                                               {{svg "octicon-unfold" 16 "gt-mr-3"}}
+                                               {{svg "octicon-unfold" 16 "tw-mr-2"}}
                                                {{ctx.Locale.Tr "repo.issues.review.show_resolved"}}
                                        </button>
                                        <button id="hide-outdated-{{$comment.ID}}" data-comment="{{$comment.ID}}" class="ui tiny labeled button hide-outdated tw-flex tw-items-center gt-hidden">
-                                               {{svg "octicon-fold" 16 "gt-mr-3"}}
+                                               {{svg "octicon-fold" 16 "tw-mr-2"}}
                                                {{ctx.Locale.Tr "repo.issues.review.hide_resolved"}}
                                        </button>
                                </div>
@@ -40,8 +40,8 @@
                                        {{template "repo/diff/comments" dict "root" $ "comments" .comments}}
                                </ui>
                        </div>
-                       <div class="tw-flex tw-justify-end tw-items-center tw-flex-wrap gt-mt-3">
-                               <div class="ui buttons gt-mr-2">
+                       <div class="tw-flex tw-justify-end tw-items-center tw-flex-wrap tw-mt-2">
+                               <div class="ui buttons tw-mr-1">
                                        <button class="ui icon tiny basic button previous-conversation">
                                                {{svg "octicon-arrow-up" 12 "icon"}} {{ctx.Locale.Tr "repo.issues.previous"}}
                                        </button>
@@ -59,8 +59,8 @@
                                        </button>
                                {{end}}
                                {{if and $.SignedUserID (not $.Repository.IsArchived)}}
-                                       <button class="comment-form-reply ui primary tiny labeled icon button gt-ml-2 gt-mr-0">
-                                               {{svg "octicon-reply" 16 "reply icon gt-mr-2"}}{{ctx.Locale.Tr "repo.diff.comment.reply"}}
+                                       <button class="comment-form-reply ui primary tiny labeled icon button tw-ml-1 tw-mr-0">
+                                               {{svg "octicon-reply" 16 "reply icon tw-mr-1"}}{{ctx.Locale.Tr "repo.diff.comment.reply"}}
                                        </button>
                                {{end}}
                        </div>
index 9c824db0ad111f8e2084f46fa3256b0eb84d839d..a2eae007a56c9e95284d367628180734f82fda77 100644 (file)
@@ -1,5 +1,5 @@
 <div id="review-box">
-       <button class="ui tiny primary button gt-pr-2 tw-flex js-btn-review {{if not $.IsShowingAllCommits}}disabled{{end}}" {{if not $.IsShowingAllCommits}}data-tooltip-content="{{ctx.Locale.Tr "repo.pulls.review_only_possible_for_full_diff"}}"{{end}}>
+       <button class="ui tiny primary button tw-pr-1 tw-flex js-btn-review {{if not $.IsShowingAllCommits}}disabled{{end}}" {{if not $.IsShowingAllCommits}}data-tooltip-content="{{ctx.Locale.Tr "repo.pulls.review_only_possible_for_full_diff"}}"{{end}}>
                {{ctx.Locale.Tr "repo.diff.review"}}
                <span class="ui small label review-comments-counter" data-pending-comment-number="{{.PendingCodeCommentNumber}}">{{.PendingCodeCommentNumber}}</span>
                {{svg "octicon-triangle-down" 14 "dropdown icon"}}
index b7acb3d49b390f38fa7df1d088fce1c63532c7f9..d0dff1bd094d9de46e9fc8e0794ec7bba7e6f626 100644 (file)
@@ -1,5 +1,5 @@
 {{Eval .file.Addition "+" .file.Deletion}}
-<span class="diff-stats-bar gt-mx-3" data-tooltip-content="{{ctx.Locale.Tr "repo.diff.stats_desc_file" (Eval .file.Addition "+" .file.Deletion) .file.Addition .file.Deletion}}">
+<span class="diff-stats-bar tw-mx-2" data-tooltip-content="{{ctx.Locale.Tr "repo.diff.stats_desc_file" (Eval .file.Addition "+" .file.Deletion) .file.Addition .file.Deletion}}">
        {{/* if the denominator is zero, then the float result is "width: NaNpx", as before, it just works */}}
        <div class="diff-stats-add-bar" style="width: {{Eval 100 "*" .file.Addition "/" "(" .file.Addition "+" .file.Deletion "+" 0.0 ")"}}%"></div>
 </span>
index cfabf836d61207e4363b2633bb92c11b377a0a4a..c54de165a4c9a02c69b394a182a1d694cb01a78d 100644 (file)
@@ -3,25 +3,25 @@
        <div class="menu">
                <a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=show-all&show-outdated={{$.ShowOutdatedComments}}">
                        <label class="tw-pointer-events-none">
-                               <input class="gt-mr-3 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "show-all"}} checked{{end}}>
+                               <input class="tw-mr-2 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "show-all"}} checked{{end}}>
                                {{ctx.Locale.Tr "repo.diff.whitespace_show_everything"}}
                        </label>
                </a>
                <a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-all&show-outdated={{$.ShowOutdatedComments}}">
                        <label class="tw-pointer-events-none">
-                               <input class="gt-mr-3 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-all"}} checked{{end}}>
+                               <input class="tw-mr-2 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-all"}} checked{{end}}>
                                {{ctx.Locale.Tr "repo.diff.whitespace_ignore_all_whitespace"}}
                        </label>
                </a>
                <a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-change&show-outdated={{$.ShowOutdatedComments}}">
                        <label class="tw-pointer-events-none">
-                               <input class="gt-mr-3 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-change"}} checked{{end}}>
+                               <input class="tw-mr-2 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-change"}} checked{{end}}>
                                {{ctx.Locale.Tr "repo.diff.whitespace_ignore_amount_changes"}}
                        </label>
                </a>
                <a class="item" href="?style={{if .IsSplitStyle}}split{{else}}unified{{end}}&whitespace=ignore-eol&show-outdated={{$.ShowOutdatedComments}}">
                        <label class="tw-pointer-events-none">
-                               <input class="gt-mr-3 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-eol"}} checked{{end}}>
+                               <input class="tw-mr-2 tw-pointer-events-none" type="radio"{{if eq .WhitespaceBehavior "ignore-eol"}} checked{{end}}>
                                {{ctx.Locale.Tr "repo.diff.whitespace_ignore_at_eol"}}
                        </label>
                </a>
index 94429452dd11635de8de582cfa8f49cded44855d..56d96e0f37796031a7f92d329917711d672ddb4b 100644 (file)
@@ -60,7 +60,7 @@
                        <div class="quick-pull-branch-name {{if not (eq .commit_choice "commit-to-new-branch")}}gt-hidden{{end}}">
                                <div class="new-branch-name-input field {{if .Err_NewBranchName}}error{{end}}">
                                        {{svg "octicon-git-branch"}}
-                                       <input type="text" name="new_branch_name" maxlength="100" value="{{.new_branch_name}}" class="input-contrast gt-mr-2 js-quick-pull-new-branch-name" placeholder="{{ctx.Locale.Tr "repo.editor.new_branch_name_desc"}}" {{if eq .commit_choice "commit-to-new-branch"}}required{{end}} title="{{ctx.Locale.Tr "repo.editor.new_branch_name"}}">
+                                       <input type="text" name="new_branch_name" maxlength="100" value="{{.new_branch_name}}" class="input-contrast tw-mr-1 js-quick-pull-new-branch-name" placeholder="{{ctx.Locale.Tr "repo.editor.new_branch_name_desc"}}" {{if eq .commit_choice "commit-to-new-branch"}}required{{end}} title="{{ctx.Locale.Tr "repo.editor.new_branch_name"}}">
                                        <span class="text-muted js-quick-pull-normalization-info"></span>
                                </div>
                        </div>
index 8df87589889ba1281d2d0f487b2ca4d7aad70a4e..1d919814c9fb9cdb1463ddda008d4465342757f1 100644 (file)
@@ -20,7 +20,7 @@
                        </div>
                        <div class="field">
                                <div class="ui top attached tabular menu" data-write="write">
-                                       <a class="active item" data-tab="write">{{svg "octicon-code" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.editor.new_patch"}}</a>
+                                       <a class="active item" data-tab="write">{{svg "octicon-code" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.editor.new_patch"}}</a>
                                </div>
                                <div class="ui bottom attached active tab segment" data-tab="write">
                                        <textarea id="edit_area" name="content" class="gt-hidden" data-id="repo-{{.Repository.Name}}-patch"
index d3665a9f8b810b0db4a1c043664c240ed7623a5f..cb2a5ba1e98e0c743bda528993c328affef99b49 100644 (file)
@@ -44,7 +44,7 @@
                                                </div>
 
                                                {{if not .Repository.IsArchived}}
-                                                       <div class="divider gt-my-0"></div>
+                                                       <div class="divider tw-my-0"></div>
 
                                                        <div class="item">
                                                                <h3>{{ctx.Locale.Tr "repo.create_new_repo_command"}}</h3>
index 33f0f87d6163f248c1304eec4ad5f51b487cb4da..0fb56a9a19f46da022648994010f11959cfb1a89 100644 (file)
@@ -16,7 +16,7 @@
        {{end}}
        {{if .LFSLock}}
                <div class="file-info-entry ui" data-tooltip-content="{{.LFSLockHint}}">
-                       {{svg "octicon-lock" 16 "gt-mr-2"}}
+                       {{svg "octicon-lock" 16 "tw-mr-1"}}
                        <a href="{{.LFSLockOwnerHomeLink}}">{{.LFSLockOwner}}</a>
                </div>
        {{end}}
index eebdcb2b1b22ded3ae0eefe9840045cd360b0cd3..703f2eee2fcf90001cc3b8c4baaf83301f243558 100644 (file)
@@ -4,7 +4,7 @@
        <div class="ui container">
                <div class="tw-flex tw-items-center">
                        <a href="{{$.RepoLink}}">{{.RepoName}}</a>
-                       <span class="gt-mx-3">/</span>
+                       <span class="tw-mx-2">/</span>
                        <div class="ui input tw-flex-1">
                                <input id="repo-file-find-input" type="text" autofocus data-url-data-link="{{.DataLink}}" data-url-tree-link="{{.TreeLink}}">
                        </div>
@@ -13,7 +13,7 @@
                        <tbody>
                        </tbody>
                </table>
-               <div id="repo-find-file-no-result" class="ui row center gt-mt-5 gt-hidden">
+               <div id="repo-find-file-no-result" class="ui row center tw-mt-8 gt-hidden">
                        <h3>{{ctx.Locale.Tr "repo.find_file.no_matching"}}</h3>
                </div>
        </div>
index 6acb89f367a99a6228a045a361538a8747fa735f..412c59b60e84d291f7fa037a2f593b4ee3f3ae5c 100644 (file)
@@ -6,8 +6,8 @@
                        {{ctx.Locale.Tr "repo.forks"}}
                </h2>
                {{range .Forks}}
-                       <div class="tw-flex tw-items-center gt-py-3">
-                               <span class="gt-mr-2">{{ctx.AvatarUtils.Avatar .Owner}}</span>
+                       <div class="tw-flex tw-items-center tw-py-2">
+                               <span class="tw-mr-1">{{ctx.AvatarUtils.Avatar .Owner}}</span>
                                <a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / <a href="{{.Link}}">{{.Name}}</a>
                        </div>
                {{end}}
index 67804f117d6641f4ae466ff41e8908bd84260197..4b40233ac99737b9ae4988134234f61222234e64 100644 (file)
@@ -12,7 +12,7 @@
                                                <div class="menu">
                                                        <div class="item" data-value="...flow-hide-pr-refs">
                                                                <span class="truncate">
-                                                                       {{svg "octicon-eye-closed" 16 "gt-mr-2"}}<span title="{{ctx.Locale.Tr "repo.commit_graph.hide_pr_refs"}}">{{ctx.Locale.Tr "repo.commit_graph.hide_pr_refs"}}</span>
+                                                                       {{svg "octicon-eye-closed" 16 "tw-mr-1"}}<span title="{{ctx.Locale.Tr "repo.commit_graph.hide_pr_refs"}}">{{ctx.Locale.Tr "repo.commit_graph.hide_pr_refs"}}</span>
                                                                </span>
                                                        </div>
                                                        {{range .AllRefs}}
                                                                {{if eq $refGroup "pull"}}
                                                                        <div class="item" data-value="{{.Name}}">
                                                                                <span class="truncate">
-                                                                                       {{svg "octicon-git-pull-request" 16 "gt-mr-2"}}<span title="{{.ShortName}}">#{{.ShortName}}</span>
+                                                                                       {{svg "octicon-git-pull-request" 16 "tw-mr-1"}}<span title="{{.ShortName}}">#{{.ShortName}}</span>
                                                                                </span>
                                                                        </div>
                                                                {{else if eq $refGroup "tags"}}
                                                                        <div class="item" data-value="{{.Name}}">
                                                                                <span class="truncate">
-                                                                                       {{svg "octicon-tag" 16 "gt-mr-2"}}<span title="{{.ShortName}}">{{.ShortName}}</span>
+                                                                                       {{svg "octicon-tag" 16 "tw-mr-1"}}<span title="{{.ShortName}}">{{.ShortName}}</span>
                                                                                </span>
                                                                        </div>
                                                                {{else if eq $refGroup "remotes"}}
                                                                        <div class="item" data-value="{{.Name}}">
                                                                                <span class="truncate">
-                                                                                       {{svg "octicon-cross-reference" 16 "gt-mr-2"}}<span title="{{.ShortName}}">{{.ShortName}}</span>
+                                                                                       {{svg "octicon-cross-reference" 16 "tw-mr-1"}}<span title="{{.ShortName}}">{{.ShortName}}</span>
                                                                                </span>
                                                                        </div>
                                                                {{else if eq $refGroup "heads"}}
                                                                        <div class="item" data-value="{{.Name}}">
                                                                                <span class="truncate">
-                                                                                       {{svg "octicon-git-branch" 16 "gt-mr-2"}}<span title="{{.ShortName}}">{{.ShortName}}</span>
+                                                                                       {{svg "octicon-git-branch" 16 "tw-mr-1"}}<span title="{{.ShortName}}">{{.ShortName}}</span>
                                                                                </span>
                                                                        </div>
                                                                {{end}}
                                                        {{end}}
                                                </div>
                                        </div>
-                                       <button id="flow-color-monochrome" class="ui labelled icon button{{if eq .Mode "monochrome"}} active{{end}}" title="{{ctx.Locale.Tr "repo.commit_graph.monochrome"}}">{{svg "material-invert-colors" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.commit_graph.monochrome"}}</button>
-                                       <button id="flow-color-colored" class="ui labelled icon button{{if ne .Mode "monochrome"}} active{{end}}" title="{{ctx.Locale.Tr "repo.commit_graph.color"}}">{{svg "material-palette" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.commit_graph.color"}}</button>
+                                       <button id="flow-color-monochrome" class="ui labelled icon button{{if eq .Mode "monochrome"}} active{{end}}" title="{{ctx.Locale.Tr "repo.commit_graph.monochrome"}}">{{svg "material-invert-colors" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.commit_graph.monochrome"}}</button>
+                                       <button id="flow-color-colored" class="ui labelled icon button{{if ne .Mode "monochrome"}} active{{end}}" title="{{ctx.Locale.Tr "repo.commit_graph.color"}}">{{svg "material-palette" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.commit_graph.color"}}</button>
                                </div>
                        </h2>
                        <div class="ui dividing"></div>
index b22527c8ef38ba438635b4cdb4728dee43e21ce3..96d09072da05be32d36959ceeb9bcb17cdd304e5 100644 (file)
                                                        {{- end -}}
                                                </a>
                                        </span>
-                                       <span class="message tw-inline-block gt-ellipsis gt-mr-3">
+                                       <span class="message tw-inline-block gt-ellipsis tw-mr-2">
                                                <span>{{RenderCommitMessage $.Context $commit.Subject ($.Repository.ComposeMetas ctx)}}</span>
                                        </span>
-                                       <span class="commit-refs tw-flex tw-items-center gt-mr-2">
+                                       <span class="commit-refs tw-flex tw-items-center tw-mr-1">
                                                {{range $commit.Refs}}
                                                        {{$refGroup := .RefGroup}}
                                                        {{if eq $refGroup "pull"}}
                                                        {{end}}
                                                {{end}}
                                        </span>
-                                       <span class="author tw-flex tw-items-center gt-mr-3">
+                                       <span class="author tw-flex tw-items-center tw-mr-2">
                                                {{$userName := $commit.Commit.Author.Name}}
                                                {{if $commit.User}}
                                                        {{if $commit.User.FullName}}
                                                                {{$userName = $commit.User.FullName}}
                                                        {{end}}
-                                                       <span class="gt-mr-2">{{ctx.AvatarUtils.Avatar $commit.User}}</span>
+                                                       <span class="tw-mr-1">{{ctx.AvatarUtils.Avatar $commit.User}}</span>
                                                        <a href="{{$commit.User.HomeLink}}">{{$userName}}</a>
                                                {{else}}
-                                                       <span class="gt-mr-2">{{ctx.AvatarUtils.AvatarByEmail $commit.Commit.Author.Email $userName}}</span>
+                                                       <span class="tw-mr-1">{{ctx.AvatarUtils.AvatarByEmail $commit.Commit.Author.Email $userName}}</span>
                                                        {{$userName}}
                                                {{end}}
                                        </span>
index 002d06c23a3c82c3d14e0e9e0e0c212cba170770..5e2774dfa1ad5c4c71eb04ad46e2caab1fec454d 100644 (file)
@@ -98,8 +98,8 @@
                                                                <div class="content tw-text-left">
                                                                        <div class="ui list">
                                                                                {{range $.UserAndOrgForks}}
-                                                                                       <div class="ui item gt-py-3">
-                                                                                               <a href="{{.Link}}">{{svg "octicon-repo-forked" 16 "gt-mr-3"}}{{.FullName}}</a>
+                                                                                       <div class="ui item tw-py-2">
+                                                                                               <a href="{{.Link}}">{{svg "octicon-repo-forked" 16 "tw-mr-2"}}{{.FullName}}</a>
                                                                                        </div>
                                                                                {{end}}
                                                                        </div>
index 2463c768fdf160c7fcf520d4ef05ab12da470a8d..2418b21b69e97958ad4e34a2d587298363ba2507 100644 (file)
                        </form>
                </div>
                <div class="tw-flex tw-items-center tw-flex-wrap tw-gap-1" id="repo-topics">
-                       {{range .Topics}}<a class="ui repo-topic large label topic gt-m-0" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
+                       {{range .Topics}}<a class="ui repo-topic large label topic tw-m-0" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
                        {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}<button id="manage_topic" class="btn interact-fg tw-text-12">{{ctx.Locale.Tr "repo.topic.manage_topics"}}</button>{{end}}
                </div>
                {{end}}
                {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
-               <div class="ui form gt-hidden tw-flex tw-flex-col gt-mt-4" id="topic_edit">
-                       <div class="field tw-flex-1 gt-mb-2">
+               <div class="ui form gt-hidden tw-flex tw-flex-col tw-mt-4" id="topic_edit">
+                       <div class="field tw-flex-1 tw-mb-1">
                                <div class="ui fluid multiple search selection dropdown tw-flex-wrap" data-text-count-prompt="{{ctx.Locale.Tr "repo.topic.count_prompt"}}" data-text-format-prompt="{{ctx.Locale.Tr "repo.topic.format_prompt"}}">
                                        <input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if Eval $i "+" 1 "<" (len $.Topics)}},{{end}}{{end}}">
                                        {{range .Topics}}
@@ -53,7 +53,7 @@
                {{template "repo/sub_menu" .}}
                <div class="repo-button-row">
                        <div class="tw-flex tw-items-center tw-flex-wrap tw-gap-y-2">
-                               {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "gt-mr-2"}}
+                               {{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "tw-mr-1"}}
                                {{if and .CanCompareOrPull .IsViewBranch (not .Repository.IsArchived)}}
                                        {{$cmpBranch := ""}}
                                        {{if ne .Repository.ID .BaseRepo.ID}}
@@ -74,7 +74,7 @@
                                {{end}}
 
                                {{if and .CanWriteCode .IsViewBranch (not .Repository.IsMirror) (not .Repository.IsArchived) (not .IsViewFile)}}
-                                       <button class="ui dropdown basic compact jump button gt-mr-2"{{if not .Repository.CanEnableEditor}} disabled{{end}}>
+                                       <button class="ui dropdown basic compact jump button tw-mr-1"{{if not .Repository.CanEnableEditor}} disabled{{end}}>
                                                {{ctx.Locale.Tr "repo.editor.add_file"}}
                                                {{svg "octicon-triangle-down" 14 "dropdown icon"}}
                                                <div class="menu">
@@ -99,7 +99,7 @@
                                        </a>
                                {{end}}
                                {{if ne $n 0}}
-                                       <span class="breadcrumb repo-path gt-ml-2">
+                                       <span class="breadcrumb repo-path tw-ml-1">
                                                <a class="section" href="{{.RepoLink}}/src/{{.BranchNameSubURL}}" title="{{.Repository.Name}}">{{StringUtils.EllipsisString .Repository.Name 30}}</a>
                                                {{- range $i, $v := .TreeNames -}}
                                                        <span class="breadcrumb-divider">/</span>
                                                        {{svg "octicon-kebab-horizontal"}}
                                                        <div class="menu">
                                                                {{if not $.DisableDownloadSourceArchives}}
-                                                                       <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.RefName}}.zip" rel="nofollow">{{svg "octicon-file-zip" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.download_zip"}}</a>
-                                                                       <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.RefName}}.tar.gz" rel="nofollow">{{svg "octicon-file-zip" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.download_tar"}}</a>
-                                                                       <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.RefName}}.bundle" rel="nofollow">{{svg "octicon-package" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.download_bundle"}}</a>
+                                                                       <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.RefName}}.zip" rel="nofollow">{{svg "octicon-file-zip" 16 "tw-mr-2"}}{{ctx.Locale.Tr "repo.download_zip"}}</a>
+                                                                       <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.RefName}}.tar.gz" rel="nofollow">{{svg "octicon-file-zip" 16 "tw-mr-2"}}{{ctx.Locale.Tr "repo.download_tar"}}</a>
+                                                                       <a class="item archive-link" href="{{$.RepoLink}}/archive/{{PathEscapeSegments $.RefName}}.bundle" rel="nofollow">{{svg "octicon-package" 16 "tw-mr-2"}}{{ctx.Locale.Tr "repo.download_bundle"}}</a>
                                                                {{end}}
                                                                {{if .CitiationExist}}
-                                                                       <a class="item" id="cite-repo-button">{{svg "octicon-cross-reference" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.cite_this_repo"}}</a>
+                                                                       <a class="item" id="cite-repo-button">{{svg "octicon-cross-reference" 16 "tw-mr-2"}}{{ctx.Locale.Tr "repo.cite_this_repo"}}</a>
                                                                {{end}}
                                                                {{range .OpenWithEditorApps}}
                                                                        <a class="item js-clone-url-editor" data-href-template="{{.OpenURL}}">{{.IconHTML}}{{ctx.Locale.Tr "repo.open_with_editor" .DisplayName}}</a>
                                {{end}}
                                {{if and (ne $n 0) (not .IsViewFile) (not .IsBlame)}}
                                        <a class="ui button" href="{{.RepoLink}}/commits/{{.BranchNameSubURL}}/{{.TreePath | PathEscapeSegments}}">
-                                               {{svg "octicon-history" 16 "gt-mr-3"}}{{ctx.Locale.Tr "repo.file_history"}}
+                                               {{svg "octicon-history" 16 "tw-mr-2"}}{{ctx.Locale.Tr "repo.file_history"}}
                                        </a>
                                {{end}}
                        </div>
index 4160e47465457769f9851a93961d98dddfef0e45..f182b909d679037ad844c52e5510324a7bf2f372 100644 (file)
                                <div class="two column row">
                                        <a class="reference column muted" href="#" data-target="#branch-list">
                                                <span class="text black">
-                                                       {{svg "octicon-git-branch" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.branches"}}
+                                                       {{svg "octicon-git-branch" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.branches"}}
                                                </span>
                                        </a>
                                        <a class="reference column muted" href="#" data-target="#tag-list">
                                                <span class="text">
-                                                       {{svg "octicon-tag" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.tags"}}
+                                                       {{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.tags"}}
                                                </span>
                                        </a>
                                </div>
index d25a36c45606b5e7cd84da6c038c85689716d688..bb9340bb2e4cb9f273f7117748eebc0a64675406 100644 (file)
@@ -6,7 +6,7 @@
                        {{end}}
                </div>
        {{end}}
-       <div class="content gt-p-0 tw-w-full">
+       <div class="content tw-p-0 tw-w-full">
                <div class="tw-flex tw-items-start">
                        <div class="issue-card-icon">
                                {{template "shared/issueicon" .}}
@@ -18,7 +18,7 @@
                                </a>
                        {{end}}
                </div>
-               <div class="meta gt-my-2">
+               <div class="meta tw-my-1">
                        <span class="text light grey muted-links">
                                {{if not $.Page.Repository}}{{.Repo.FullName}}{{end}}#{{.Index}}
                                {{$timeStr := TimeSinceUnix .GetLastEventTimestamp ctx.Locale}}
                        </span>
                </div>
                {{if .MilestoneID}}
-               <div class="meta gt-my-2">
+               <div class="meta tw-my-1">
                        <a class="milestone" href="{{.Repo.Link}}/milestone/{{.MilestoneID}}">
-                               {{svg "octicon-milestone" 16 "gt-mr-2 tw-align-middle"}}
+                               {{svg "octicon-milestone" 16 "tw-mr-1 tw-align-middle"}}
                                <span class="tw-align-middle">{{.Milestone.Name}}</span>
                        </a>
                </div>
                {{end}}
                {{if $.Page.LinkedPRs}}
                {{range index $.Page.LinkedPRs .ID}}
-               <div class="meta gt-my-2">
+               <div class="meta tw-my-1">
                        <a href="{{$.Issue.Repo.Link}}/pulls/{{.Index}}">
-                               <span class="gt-m-0 text {{if .PullRequest.HasMerged}}purple{{else if .IsClosed}}red{{else}}green{{end}}">{{svg "octicon-git-merge" 16 "gt-mr-2 tw-align-middle"}}</span>
+                               <span class="tw-m-0 text {{if .PullRequest.HasMerged}}purple{{else if .IsClosed}}red{{else}}green{{end}}">{{svg "octicon-git-merge" 16 "tw-mr-1 tw-align-middle"}}</span>
                                <span class="tw-align-middle">{{.Title}} <span class="text light grey">#{{.Index}}</span></span>
                        </a>
                </div>
                {{end}}
                {{$tasks := .GetTasks}}
                {{if gt $tasks 0}}
-                       <div class="meta gt-my-2">
-                               {{svg "octicon-checklist" 16 "gt-mr-2 tw-align-middle"}}
+                       <div class="meta tw-my-1">
+                               {{svg "octicon-checklist" 16 "tw-mr-1 tw-align-middle"}}
                                <span class="tw-align-middle">{{.GetTasksDone}} / {{$tasks}}</span>
                        </div>
                {{end}}
        </div>
 
        {{if or .Labels .Assignees}}
-       <div class="extra content labels-list gt-p-0 gt-pt-2">
+       <div class="extra content labels-list tw-p-0 tw-pt-1">
                {{range .Labels}}
                        <a target="_blank" href="{{$.Issue.Repo.Link}}/issues?labels={{.ID}}">{{RenderLabel ctx ctx.Locale .}}</a>
                {{end}}
                <div class="right floated">
                        {{range .Assignees}}
-                               <a target="_blank" href="{{.HomeLink}}" data-tooltip-content="{{ctx.Locale.Tr "repo.projects.column.assigned_to"}} {{.Name}}">{{ctx.AvatarUtils.Avatar . 28 "mini gt-mr-3"}}</a>
+                               <a target="_blank" href="{{.HomeLink}}" data-tooltip-content="{{ctx.Locale.Tr "repo.projects.column.assigned_to"}} {{.Name}}">{{ctx.AvatarUtils.Avatar . 28 "mini tw-mr-2"}}</a>
                        {{end}}
                </div>
        </div>
index b928b2be58cf0c6990b70e15baed7e6486f57de5..5d98605983d60ec8b6fb4996982c4999a3dbc09e 100644 (file)
@@ -2,7 +2,7 @@
        {{template "repo/issue/fields/header" .}}
        {{range $i, $opt := .item.Attributes.options}}
                <div class="field inline">
-                       <div class="ui checkbox gt-mr-0 {{if and ($opt.visible) (not (SliceUtils.Contains $opt.visible "form"))}}gt-hidden{{end}}">
+                       <div class="ui checkbox tw-mr-0 {{if and ($opt.visible) (not (SliceUtils.Contains $opt.visible "form"))}}gt-hidden{{end}}">
                                <input type="checkbox" name="form-field-{{$.item.ID}}-{{$i}}" {{if $opt.required}}required{{end}}>
                                <label>{{RenderMarkdownToHtml $.context $opt.label}}</label>
                        </div>
index 4f68b4038b6dd3324b1486dca6a11106d246add4..831cea01d576cff10b542861627b2a87d65fb14c 100644 (file)
@@ -16,7 +16,7 @@
                )}}
 
                {{if .root.IsAttachmentEnabled}}
-               <div class="gt-mt-4 form-field-dropzone gt-hidden">
+               <div class="tw-mt-4 form-field-dropzone gt-hidden">
                        {{template "repo/upload" .root}}
                </div>
                {{end}}
index 9c259fe0e105de81ca8819aca4cdcc45388b54e8..f23ca36d78c8b8a31089ad427898fdafe6944a3b 100644 (file)
@@ -85,7 +85,7 @@
                                        </div>
                                        {{range .OpenProjects}}
                                                <div class="item issue-action" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/projects">
-                                                       {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
+                                                       {{svg .IconName 18 "tw-mr-2"}}{{.Title}}
                                                </div>
                                        {{end}}
                                {{end}}
@@ -96,7 +96,7 @@
                                        </div>
                                        {{range .ClosedProjects}}
                                                <div class="item issue-action" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/projects">
-                                                       {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
+                                                       {{svg .IconName 18 "tw-mr-2"}}{{.Title}}
                                                </div>
                                        {{end}}
                                {{end}}
index f1fc61bccb2cb3fcadbe4e8b51b9af2e284d007b..c6de4977dc5ddadbf1ffdb99bad8f4b65908fbab 100644 (file)
@@ -16,7 +16,7 @@
                        >
                        <label for="archived-filter-checkbox">
                                {{ctx.Locale.Tr "repo.issues.label_archived_filter"}}
-                               <i class="gt-ml-2" data-tooltip-content={{ctx.Locale.Tr "repo.issues.label_archive_tooltip"}}>
+                               <i class="tw-ml-1" data-tooltip-content={{ctx.Locale.Tr "repo.issues.label_archive_tooltip"}}>
                                        {{svg "octicon-info"}}
                                </i>
                        </label>
                        </div>
                        {{range .OpenProjects}}
                                <a class="{{if $.ProjectID}}{{if eq $.ProjectID .ID}}active selected{{end}}{{end}} item tw-flex" href="?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{.ID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}{{if $.ShowArchivedLabels}}&archived=true{{end}}">
-                                       {{svg .IconName 18 "gt-mr-3 tw-shrink-0"}}<span class="gt-ellipsis">{{.Title}}</span>
+                                       {{svg .IconName 18 "tw-mr-2 tw-shrink-0"}}<span class="gt-ellipsis">{{.Title}}</span>
                                </a>
                        {{end}}
                {{end}}
                        </div>
                        {{range .ClosedProjects}}
                                <a class="{{if $.ProjectID}}{{if eq $.ProjectID .ID}}active selected{{end}}{{end}} item" href="?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{.ID}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}{{if $.ShowArchivedLabels}}&archived=true{{end}}">
-                                       {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
+                                       {{svg .IconName 18 "tw-mr-2"}}{{.Title}}
                                </a>
                        {{end}}
                {{end}}
index 56c65e240143390580b97397dc0bea22060be31c..06e7c1aa6c10190775150c9d5c4948b8a7095bd1 100644 (file)
@@ -1,7 +1,7 @@
 <div id="issue-filters" class="issue-list-toolbar">
        <div class="issue-list-toolbar-left">
                {{if and $.CanWriteIssuesOrPulls .Issues}}
-                       <input type="checkbox" autocomplete="off" class="issue-checkbox-all gt-mr-4" title="{{ctx.Locale.Tr "repo.issues.action_check_all"}}">
+                       <input type="checkbox" autocomplete="off" class="issue-checkbox-all tw-mr-4" title="{{ctx.Locale.Tr "repo.issues.action_check_all"}}">
                {{end}}
                {{template "repo/issue/openclose" .}}
                <!-- Total Tracked Time -->
index 86e4bae0f7166b480d737bd663c2281046ab066d..6dc7e4ef64ec87248eec0d8835547d2326c7b5ab 100644 (file)
@@ -2,7 +2,7 @@
 <div role="main" aria-label="{{.Title}}" class="page-content repository labels">
        {{template "repo/header" .}}
        <div class="ui container">
-               <div class="navbar gt-mb-4">
+               <div class="navbar tw-mb-4">
                        {{template "repo/issue/navbar" .}}
                        {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
                                <button class="ui small primary new-label button">{{ctx.Locale.Tr "repo.issues.new_label"}}</button>
index 7ddc38a3873135bf10b3f53739eb243287be004f..526bc760a272f79ace87a4d9da7afff99a766ec3 100644 (file)
@@ -30,7 +30,7 @@
                                </div>
                                <br>
                                <small class="desc">{{ctx.Locale.Tr "repo.issues.label_exclusive_desc"}}</small>
-                               <div class="desc gt-ml-2 gt-mt-3 gt-hidden label-exclusive-warning">
+                               <div class="desc tw-ml-1 tw-mt-2 gt-hidden label-exclusive-warning">
                                        {{svg "octicon-alert"}} {{ctx.Locale.Tr "repo.issues.label_exclusive_warning"}}
                                </div>
                                <br>
@@ -40,7 +40,7 @@
                                        <input class="label-is-archived-input" name="is_archived" type="checkbox">
                                        <label>{{ctx.Locale.Tr "repo.issues.label_archive"}}</label>
                                </div>
-                               <i class="gt-ml-2" data-tooltip-content={{ctx.Locale.Tr "repo.issues.label_archive_tooltip"}}>
+                               <i class="tw-ml-1" data-tooltip-content={{ctx.Locale.Tr "repo.issues.label_archive_tooltip"}}>
                                        {{svg "octicon-info"}}
                                </i>
                        </div>
index 86d08e5f757f5e812368885e207e902e6a9322d7..d84f14242a14713aafeaff4ce8c0f1424750b8dc 100644 (file)
@@ -3,7 +3,7 @@
        <div class="ui right">
                <div class="ui secondary menu">
                        <!-- Sort -->
-                       <div class="item ui jump dropdown gt-py-3">
+                       <div class="item ui jump dropdown tw-py-2">
                                <span class="text">
                                        {{ctx.Locale.Tr "repo.issues.filter_sort"}}
                                </span>
index a9c33bc4eb71580e1edb92ac96226ffd05341d84..e5f15caca5a6f5dc1ae5bada7942e89b9c3a24b4 100644 (file)
@@ -2,7 +2,7 @@
        <span class="text muted flex-text-block">
                <strong>{{ctx.Locale.Tr "repo.issues.new.labels"}}</strong>
                {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
-                       {{svg "octicon-gear" 16 "gt-ml-2"}}
+                       {{svg "octicon-gear" 16 "tw-ml-1"}}
                {{end}}
        </span>
        <div class="filter menu" {{if .Issue}}data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/labels"{{else}}data-id="#label_ids"{{end}}>
index 6f8c6c85c2d58df10098d990f66105f6091e1bd0..9b0492ce524805fe8dd7fb64a6dbb120a09ed933 100644 (file)
@@ -18,7 +18,7 @@
                </div>
                {{range .OpenMilestones}}
                        <a class="item" data-id="{{.ID}}" data-href="{{$.RepoLink}}/issues?milestone={{.ID}}">
-                               {{svg "octicon-milestone" 16 "gt-mr-2"}}
+                               {{svg "octicon-milestone" 16 "tw-mr-1"}}
                                {{.Name}}
                        </a>
                {{end}}
@@ -30,7 +30,7 @@
                </div>
                {{range .ClosedMilestones}}
                        <a class="item" data-id="{{.ID}}" data-href="{{$.RepoLink}}/issues?milestone={{.ID}}">
-                               {{svg "octicon-milestone" 16 "gt-mr-2"}}
+                               {{svg "octicon-milestone" 16 "tw-mr-1"}}
                                {{.Name}}
                        </a>
                {{end}}
index 8ba7eecf4d08d2511b9744b283a944bb2b4164c2..5bae6fc6d585ed2b88b1373c11534c6707a5434e 100644 (file)
@@ -4,7 +4,7 @@
        <div class="ui container">
                {{template "base/alert" .}}
                <div class="tw-flex">
-                       <h1 class="gt-mb-3">{{.Milestone.Name}}</h1>
+                       <h1 class="tw-mb-2">{{.Milestone.Name}}</h1>
                        {{if not .Repository.IsArchived}}
                                <div class="text right tw-flex-1">
                                        {{if or .CanWriteIssues .CanWritePulls}}
@@ -22,7 +22,7 @@
                        {{end}}
                </div>
                {{if .Milestone.RenderedContent}}
-               <div class="markup content gt-mb-4">
+               <div class="markup content tw-mb-4">
                                {{.Milestone.RenderedContent}}
                </div>
                {{end}}
@@ -46,7 +46,7 @@
                                                {{end}}
                                        {{end}}
                                </div>
-                               <div class="gt-mr-3">{{ctx.Locale.Tr "repo.milestones.completeness" .Milestone.Completeness}}</div>
+                               <div class="tw-mr-2">{{ctx.Locale.Tr "repo.milestones.completeness" .Milestone.Completeness}}</div>
                                {{if .TotalTrackedTime}}
                                        <div data-tooltip-content='{{ctx.Locale.Tr "tracked_time_summary"}}'>
                                                {{svg "octicon-clock"}}
index 57b697d8fd85f5285dace585304bbdfde549ccda..bce7ad871719a7e83d7ecbe98d9ff34f61839a48 100644 (file)
                        {{range .Milestones}}
                                <li class="milestone-card">
                                        <div class="milestone-header">
-                                               <h3 class="flex-text-block gt-m-0">
+                                               <h3 class="flex-text-block tw-m-0">
                                                        {{svg "octicon-milestone" 16}}
                                                        <a class="muted" href="{{$.RepoLink}}/milestone/{{.ID}}">{{.Name}}</a>
                                                </h3>
                                                <div class="tw-flex tw-items-center">
-                                                       <span class="gt-mr-3">{{.Completeness}}%</span>
+                                                       <span class="tw-mr-2">{{.Completeness}}%</span>
                                                        <progress value="{{.Completeness}}" max="100"></progress>
                                                </div>
                                        </div>
index ba1e19bf075b61981feaf3807ecc5ecd32079885..7c73bd182b22c4f8afd8e867d549cdbbebbec6aa 100644 (file)
@@ -7,7 +7,7 @@
                <div class="ui comments">
                        <div class="comment">
                                {{ctx.AvatarUtils.Avatar .SignedUser 40}}
-                               <div class="ui segment content gt-my-0">
+                               <div class="ui segment content tw-my-0">
                                        <div class="field">
                                                <input name="title" id="issue_title" placeholder="{{ctx.Locale.Tr "repo.milestones.title"}}" value="{{if .TitleQuery}}{{.TitleQuery}}{{else if .IssueTemplateTitle}}{{.IssueTemplateTitle}}{{else}}{{.title}}{{end}}" autofocus required maxlength="255" autocomplete="off">
                                                {{if .PageIsComparePull}}
@@ -60,7 +60,7 @@
                        <span class="text flex-text-block">
                                <strong>{{ctx.Locale.Tr "repo.issues.new.milestone"}}</strong>
                                {{if .HasIssuesOrPullsWritePermission}}
-                                       {{svg "octicon-gear" 16 "gt-ml-2"}}
+                                       {{svg "octicon-gear" 16 "tw-ml-1"}}
                                {{end}}
                        </span>
                        <div class="menu">
@@ -72,7 +72,7 @@
                        <div class="selected">
                                {{if .Milestone}}
                                        <a class="item muted sidebar-item-link" href="{{.RepoLink}}/issues?milestone={{.Milestone.ID}}">
-                                               {{svg "octicon-milestone" 18 "gt-mr-3"}}
+                                               {{svg "octicon-milestone" 18 "tw-mr-2"}}
                                                {{.Milestone.Name}}
                                        </a>
                                {{end}}
@@ -87,7 +87,7 @@
                        <span class="text flex-text-block">
                                <strong>{{ctx.Locale.Tr "repo.issues.new.projects"}}</strong>
                                {{if .HasIssuesOrPullsWritePermission}}
-                                       {{svg "octicon-gear" 16 "gt-ml-2"}}
+                                       {{svg "octicon-gear" 16 "tw-ml-1"}}
                                {{end}}
                        </span>
                        <div class="menu">
                                                </div>
                                                {{range .OpenProjects}}
                                                        <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}">
-                                                               {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
+                                                               {{svg .IconName 18 "tw-mr-2"}}{{.Title}}
                                                        </a>
                                                {{end}}
                                        {{end}}
                                                </div>
                                                {{range .ClosedProjects}}
                                                        <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}">
-                                                               {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
+                                                               {{svg .IconName 18 "tw-mr-2"}}{{.Title}}
                                                        </a>
                                                {{end}}
                                        {{end}}
                        <div class="selected">
                                {{if .Project}}
                                        <a class="item muted sidebar-item-link" href="{{.Project.Link ctx}}">
-                                               {{svg .Project.IconName 18 "gt-mr-3"}}{{.Project.Title}}
+                                               {{svg .Project.IconName 18 "tw-mr-2"}}{{.Project.Title}}
                                        </a>
                                {{end}}
                        </div>
                                <span class="text flex-text-block">
                                        <strong>{{ctx.Locale.Tr "repo.issues.new.assignees"}}</strong>
                                        {{if .HasIssuesOrPullsWritePermission}}
-                                               {{svg "octicon-gear" 16 "gt-ml-2"}}
+                                               {{svg "octicon-gear" 16 "tw-ml-1"}}
                                        {{end}}
                                </span>
                                <div class="filter menu" data-id="#assignee_ids">
                                                <a class="item muted" href="#" data-id="{{.ID}}" data-id-selector="#assignee_{{.ID}}">
                                                        <span class="octicon-check tw-invisible">{{svg "octicon-check"}}</span>
                                                        <span class="text">
-                                                               {{ctx.AvatarUtils.Avatar . 28 "gt-mr-3"}}{{template "repo/search_name" .}}
+                                                               {{ctx.AvatarUtils.Avatar . 28 "tw-mr-2"}}{{template "repo/search_name" .}}
                                                        </span>
                                                </a>
                                        {{end}}
                                </span>
                                <div class="selected">
                                {{range .Assignees}}
-                                       <a class="item gt-p-2 muted gt-hidden" id="assignee_{{.ID}}" href="{{$.RepoLink}}/issues?assignee={{.ID}}">
-                                               {{ctx.AvatarUtils.Avatar . 28 "gt-mr-3 tw-align-middle"}}{{.GetDisplayName}}
+                                       <a class="item tw-p-1 muted gt-hidden" id="assignee_{{.ID}}" href="{{$.RepoLink}}/issues?assignee={{.ID}}">
+                                               {{ctx.AvatarUtils.Avatar . 28 "tw-mr-2 tw-align-middle"}}{{.GetDisplayName}}
                                        </a>
                                {{end}}
                                </div>
index 38848c51ac301c63654811c770808f8f2f32f632..eb2d6e09ee5d333966260f04b07a742d6a9f1b13 100644 (file)
@@ -1,16 +1,16 @@
 <div class="small-menu-items ui compact tiny menu">
        <a class="{{if eq .State "open"}}active {{end}}item" href="{{if eq .State "open"}}{{.AllStatesLink}}{{else}}{{.OpenLink}}{{end}}">
                {{if .PageIsMilestones}}
-                       {{svg "octicon-milestone" 16 "gt-mr-3"}}
+                       {{svg "octicon-milestone" 16 "tw-mr-2"}}
                {{else if .PageIsPullList}}
-                       {{svg "octicon-git-pull-request" 16 "gt-mr-3"}}
+                       {{svg "octicon-git-pull-request" 16 "tw-mr-2"}}
                {{else}}
-                       {{svg "octicon-issue-opened" 16 "gt-mr-3"}}
+                       {{svg "octicon-issue-opened" 16 "tw-mr-2"}}
                {{end}}
                {{ctx.Locale.PrettyNumber .OpenCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.open_title"}}
        </a>
        <a class="{{if eq .State "closed"}}active {{end}}item" href="{{if eq .State "closed"}}{{.AllStatesLink}}{{else}}{{.ClosedLink}}{{end}}">
-               {{svg "octicon-check" 16 "gt-mr-3"}}
+               {{svg "octicon-check" 16 "tw-mr-2"}}
                {{ctx.Locale.PrettyNumber .ClosedCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.closed_title"}}
        </a>
 </div>
index 0635a201bebed8baef22ae3cbcd66f809924f6a6..2155f786566aec5de061a0cdbf0820dba83ecf74 100644 (file)
@@ -5,7 +5,7 @@
        {{$hasThumbnails := false}}
        {{- range .Attachments -}}
                <div class="tw-flex">
-                       <div class="tw-flex-1 gt-p-3">
+                       <div class="tw-flex-1 tw-p-2">
                                <a target="_blank" rel="noopener noreferrer" href="{{.DownloadURL}}" title="{{ctx.Locale.Tr "repo.issues.attachment.open_tab" .Name}}">
                                        {{if FilenameIsImage .Name}}
                                                {{if not (StringUtils.Contains (StringUtils.ToString $.RenderedContent) .UUID)}}
@@ -18,7 +18,7 @@
                                        <span><strong>{{.Name}}</strong></span>
                                </a>
                        </div>
-                       <div class="gt-p-3 tw-flex tw-items-center">
+                       <div class="tw-p-2 tw-flex tw-items-center">
                                <span class="ui text grey">{{.Size | FileSize}}</span>
                        </div>
                </div>
index b137dd0a9cba8d5d92108c1564bbc04518cd8df1..dbfe016e89a3b8aa20942d94bfb857c9ababbdb2 100644 (file)
@@ -28,7 +28,7 @@
                                        <div class="ui top attached header comment-header tw-flex tw-items-center tw-justify-between" role="heading" aria-level="3">
                                                <div class="comment-header-left tw-flex tw-items-center">
                                                        {{if .OriginalAuthor}}
-                                                               <span class="text black tw-font-semibold gt-mr-2">
+                                                               <span class="text black tw-font-semibold tw-mr-1">
                                                                        {{svg (MigrationIcon $.Repository.GetOriginalURLHostname)}}
                                                                        {{.OriginalAuthor}}
                                                                </span>
index c0ffec36c3b5a45b03da2456a8f719a6a0566fab..1a282968d7b407b5bf5d4465bdc6661aa2470514 100644 (file)
@@ -6,11 +6,11 @@
        {{$hasReview := and $comment.Review}}
        {{$isReviewPending := and $hasReview (eq $comment.Review.Type 0)}}
        <div class="ui segments conversation-holder">
-               <div class="ui segment collapsible-comment-box gt-py-3 tw-flex tw-items-center tw-justify-between">
+               <div class="ui segment collapsible-comment-box tw-py-2 tw-flex tw-items-center tw-justify-between">
                        <div class="tw-flex tw-items-center">
-                               <a href="{{$comment.CodeCommentLink ctx}}" class="file-comment gt-ml-3 gt-word-break">{{$comment.TreePath}}</a>
+                               <a href="{{$comment.CodeCommentLink ctx}}" class="file-comment tw-ml-2 gt-word-break">{{$comment.TreePath}}</a>
                                {{if $invalid}}
-                                       <span class="ui label basic small gt-ml-3" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.review.outdated_description"}}">
+                                       <span class="ui label basic small tw-ml-2" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.review.outdated_description"}}">
                                                {{ctx.Locale.Tr "repo.issues.review.outdated"}}
                                        </span>
                                {{end}}
@@ -18,7 +18,7 @@
                        <div>
                                {{if or $invalid $resolved}}
                                        <button id="show-outdated-{{$comment.ID}}" data-comment="{{$comment.ID}}" class="{{if not $resolved}}gt-hidden {{end}}ui compact labeled button show-outdated tw-flex tw-items-center">
-                                               {{svg "octicon-unfold" 16 "gt-mr-3"}}
+                                               {{svg "octicon-unfold" 16 "tw-mr-2"}}
                                                {{if $resolved}}
                                                        {{ctx.Locale.Tr "repo.issues.review.show_resolved"}}
                                                {{else}}
@@ -26,7 +26,7 @@
                                                {{end}}
                                        </button>
                                        <button id="hide-outdated-{{$comment.ID}}" data-comment="{{$comment.ID}}" class="{{if $resolved}}gt-hidden {{end}}ui compact labeled button hide-outdated tw-flex tw-items-center">
-                                               {{svg "octicon-fold" 16 "gt-mr-3"}}
+                                               {{svg "octicon-fold" 16 "tw-mr-2"}}
                                                {{if $resolved}}
                                                        {{ctx.Locale.Tr "repo.issues.review.hide_resolved"}}
                                                {{else}}
                        </div>
                {{end}}
                <div id="code-comments-{{$comment.ID}}" class="comment-code-cloud ui segment{{if $resolved}} gt-hidden{{end}}">
-                       <div class="ui comments gt-mb-0">
+                       <div class="ui comments tw-mb-0">
                                {{range .comments}}
                                        {{$createdSubStr:= TimeSinceUnix .CreatedUnix ctx.Locale}}
-                                       <div class="comment code-comment gt-pb-4" id="{{.HashTag}}">
+                                       <div class="comment code-comment tw-pb-4" id="{{.HashTag}}">
                                                <div class="content">
                                                        <div class="header comment-header">
                                                                <div class="comment-header-left tw-flex tw-items-center">
                                        </div>
                                {{end}}
                        </div>
-                       <div class="code-comment-buttons tw-flex tw-items-center tw-flex-wrap gt-mt-3 gt-mb-2 gt-mx-3">
+                       <div class="code-comment-buttons tw-flex tw-items-center tw-flex-wrap tw-mt-2 tw-mb-1 tw-mx-2">
                                <div class="tw-flex-1">
                                        {{if $resolved}}
                                                <div class="ui grey text">
-                                                       {{svg "octicon-check" 16 "gt-mr-2"}}
+                                                       {{svg "octicon-check" 16 "tw-mr-1"}}
                                                        <b>{{$resolveDoer.Name}}</b> {{ctx.Locale.Tr "repo.issues.review.resolved_by"}}
                                                </div>
                                        {{end}}
                                                </button>
                                        {{end}}
                                        {{if and $.SignedUserID (not $.Repository.IsArchived)}}
-                                               <button class="comment-form-reply ui primary tiny labeled icon button gt-ml-2 gt-mr-0">
-                                                       {{svg "octicon-reply" 16 "reply icon gt-mr-2"}}{{ctx.Locale.Tr "repo.diff.comment.reply"}}
+                                               <button class="comment-form-reply ui primary tiny labeled icon button tw-ml-1 tw-mr-0">
+                                                       {{svg "octicon-reply" 16 "reply icon tw-mr-1"}}{{ctx.Locale.Tr "repo.diff.comment.reply"}}
                                                </button>
                                        {{end}}
                                </div>
index 9fafeb5ee311705373869894ded6d537bdd083f1..25e9bbcfc2aa8a9ddff32e522908776af5599bd3 100644 (file)
@@ -35,7 +35,7 @@
                                {{if .IsPullBranchDeletable}}
                                        <div class="item item-section text tw-flex-1">
                                                <div class="item-section-left">
-                                                       <h3 class="gt-mb-3">
+                                                       <h3 class="tw-mb-2">
                                                                {{ctx.Locale.Tr "repo.pulls.merged_success"}}
                                                        </h3>
                                                        <div class="merge-section-info">
@@ -50,7 +50,7 @@
                        {{else if .Issue.IsClosed}}
                                <div class="item item-section text tw-flex-1">
                                        <div class="item-section-left">
-                                               <h3 class="gt-mb-3">{{ctx.Locale.Tr "repo.pulls.closed"}}</h3>
+                                               <h3 class="tw-mb-2">{{ctx.Locale.Tr "repo.pulls.closed"}}</h3>
                                                <div class="merge-section-info">
                                                        {{if .IsPullRequestBroken}}
                                                                {{ctx.Locale.Tr "repo.pulls.cant_reopen_deleted_branch"}}
index 12b0c4b4e0fd3f804ac292afa127cfe66faf98da..4ff38950cd9cce80884ba1f281836bac27db71e0 100644 (file)
@@ -1,6 +1,6 @@
 <div class="divider"></div>
 <div class="instruct-toggle"> {{ctx.Locale.Tr "repo.pulls.cmd_instruction_hint"}} </div>
-<div class="instruct-content gt-mt-3 gt-hidden">
+<div class="instruct-content tw-mt-2 gt-hidden">
        <div><h3>{{ctx.Locale.Tr "repo.pulls.cmd_instruction_checkout_title"}}</h3>{{ctx.Locale.Tr "repo.pulls.cmd_instruction_checkout_desc"}}</div>
        {{$localBranch := .PullRequest.HeadBranch}}
        {{if ne .PullRequest.HeadRepo.ID .PullRequest.BaseRepo.ID}}
index 99ea699f4a97db24d03be46c8828fb6528e20f40..324175e6cf86520a0d045f07d16f62936a9061e8 100644 (file)
@@ -6,7 +6,7 @@
                        <a class="text tw-flex tw-items-center muted">
                                <strong>{{ctx.Locale.Tr "repo.issues.review.reviewers"}}</strong>
                                {{if and .CanChooseReviewer (not .Repository.IsArchived)}}
-                                       {{svg "octicon-gear" 16 "gt-ml-2"}}
+                                       {{svg "octicon-gear" 16 "tw-ml-1"}}
                                {{end}}
                        </a>
                        <div class="filter menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/request_review">
@@ -22,7 +22,7 @@
                                                        <a class="{{if not .CanChange}}ui{{end}} item {{if .Checked}}checked{{end}} {{if not .CanChange}}ban-change{{end}}" href="#" data-id="{{.ItemID}}" data-id-selector="#review_request_{{.ItemID}}" {{if not .CanChange}} data-tooltip-content="{{ctx.Locale.Tr "repo.issues.remove_request_review_block"}}"{{end}}>
                                                                <span class="octicon-check {{if not .Checked}}tw-invisible{{end}}">{{svg "octicon-check"}}</span>
                                                                <span class="text">
-                                                                       {{ctx.AvatarUtils.Avatar .User 28 "gt-mr-3"}}{{template "repo/search_name" .User}}
+                                                                       {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-2"}}{{template "repo/search_name" .User}}
                                                                </span>
                                                        </a>
                                                {{end}}
@@ -37,7 +37,7 @@
                                                        <a class="{{if not .CanChange}}ui{{end}} item {{if .Checked}}checked{{end}} {{if not .CanChange}}ban-change{{end}}" href="#" data-id="{{.ItemID}}" data-id-selector="#review_request_team_{{.Team.ID}}" {{if not .CanChange}} data-tooltip-content="{{ctx.Locale.Tr "repo.issues.remove_request_review_block"}}"{{end}}>
                                                                <span class="octicon-check {{if not .Checked}}tw-invisible{{end}}">{{svg "octicon-check" 16}}</span>
                                                                <span class="text">
-                                                                       {{svg "octicon-people" 16 "gt-ml-4 gt-mr-2"}}{{$.Issue.Repo.OwnerName}}/{{.Team.Name}}
+                                                                       {{svg "octicon-people" 16 "tw-ml-4 tw-mr-1"}}{{$.Issue.Repo.OwnerName}}/{{.Team.Name}}
                                                                </span>
                                                        </a>
                                                {{end}}
                        <span class="no-select item {{if or .OriginalReviews .PullReviewers}}gt-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_reviewers"}}</span>
                        <div class="selected">
                                {{range .PullReviewers}}
-                                       <div class="item tw-flex tw-items-center gt-py-3">
+                                       <div class="item tw-flex tw-items-center tw-py-2">
                                                <div class="tw-flex tw-items-center tw-flex-1">
                                                        {{if .User}}
-                                                               <a class="muted sidebar-item-link" href="{{.User.HomeLink}}">{{ctx.AvatarUtils.Avatar .User 20 "gt-mr-3"}}{{.User.GetDisplayName}}</a>
+                                                               <a class="muted sidebar-item-link" href="{{.User.HomeLink}}">{{ctx.AvatarUtils.Avatar .User 20 "tw-mr-2"}}{{.User.GetDisplayName}}</a>
                                                        {{else if .Team}}
-                                                               <span class="text">{{svg "octicon-people" 20 "gt-mr-3"}}{{$.Issue.Repo.OwnerName}}/{{.Team.Name}}</span>
+                                                               <span class="text">{{svg "octicon-people" 20 "tw-mr-2"}}{{$.Issue.Repo.OwnerName}}/{{.Team.Name}}</span>
                                                        {{end}}
                                                </div>
                                                <div class="tw-flex tw-items-center tw-gap-2">
                                        </div>
                                {{end}}
                                {{range .OriginalReviews}}
-                                       <div class="item tw-flex tw-items-center gt-py-3">
+                                       <div class="item tw-flex tw-items-center tw-py-2">
                                                <div class="tw-flex tw-items-center tw-flex-1">
                                                        <a class="muted" href="{{$.Repository.OriginalURL}}" data-tooltip-content="{{ctx.Locale.Tr "repo.migrated_from_fake" $.Repository.GetOriginalURLHostname}}">
-                                                               {{svg (MigrationIcon $.Repository.GetOriginalURLHostname) 20 "gt-mr-3"}}
+                                                               {{svg (MigrationIcon $.Repository.GetOriginalURLHostname) 20 "tw-mr-2"}}
                                                                {{.OriginalAuthor}}
                                                        </a>
                                                </div>
                <a class="text muted flex-text-block">
                        <strong>{{ctx.Locale.Tr "repo.issues.new.milestone"}}</strong>
                        {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
-                               {{svg "octicon-gear" 16 "gt-ml-2"}}
+                               {{svg "octicon-gear" 16 "tw-ml-1"}}
                        {{end}}
                </a>
                <div class="menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/milestone">
                <div class="selected">
                        {{if .Issue.Milestone}}
                                <a class="item muted sidebar-item-link" href="{{.RepoLink}}/milestone/{{.Issue.Milestone.ID}}">
-                                       {{svg "octicon-milestone" 18 "gt-mr-3"}}
+                                       {{svg "octicon-milestone" 18 "tw-mr-2"}}
                                        {{.Issue.Milestone.Name}}
                                </a>
                        {{end}}
                        <a class="text muted flex-text-block">
                                <strong>{{ctx.Locale.Tr "repo.issues.new.projects"}}</strong>
                                {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
-                                       {{svg "octicon-gear" 16 "gt-ml-2"}}
+                                       {{svg "octicon-gear" 16 "tw-ml-1"}}
                                {{end}}
                        </a>
                        <div class="menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/projects">
                                        </div>
                                        {{range .OpenProjects}}
                                                <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}">
-                                                       {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
+                                                       {{svg .IconName 18 "tw-mr-2"}}{{.Title}}
                                                </a>
                                        {{end}}
                                {{end}}
                                        </div>
                                        {{range .ClosedProjects}}
                                                <a class="item muted sidebar-item-link" data-id="{{.ID}}" data-href="{{.Link ctx}}">
-                                                       {{svg .IconName 18 "gt-mr-3"}}{{.Title}}
+                                                       {{svg .IconName 18 "tw-mr-2"}}{{.Title}}
                                                </a>
                                        {{end}}
                                {{end}}
                        <div class="selected">
                                {{if .Issue.Project}}
                                        <a class="item muted sidebar-item-link" href="{{.Issue.Project.Link ctx}}">
-                                               {{svg .Issue.Project.IconName 18 "gt-mr-3"}}{{.Issue.Project.Title}}
+                                               {{svg .Issue.Project.IconName 18 "tw-mr-2"}}{{.Issue.Project.Title}}
                                        </a>
                                {{end}}
                        </div>
                <a class="text muted flex-text-block">
                        <strong>{{ctx.Locale.Tr "repo.issues.new.assignees"}}</strong>
                        {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
-                               {{svg "octicon-gear" 16 "gt-ml-2"}}
+                               {{svg "octicon-gear" 16 "tw-ml-1"}}
                        {{end}}
                </a>
                <div class="filter menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/assignee">
                                        {{end}}
                                        <span class="octicon-check {{if not $checked}}tw-invisible{{end}}">{{svg "octicon-check"}}</span>
                                        <span class="text">
-                                               {{ctx.AvatarUtils.Avatar . 20 "gt-mr-3"}}{{template "repo/search_name" .}}
+                                               {{ctx.AvatarUtils.Avatar . 20 "tw-mr-2"}}{{template "repo/search_name" .}}
                                        </span>
                                </a>
                        {{end}}
                        {{range .Issue.Assignees}}
                                <div class="item">
                                        <a class="muted sidebar-item-link" href="{{$.RepoLink}}/{{if $.Issue.IsPull}}pulls{{else}}issues{{end}}?assignee={{.ID}}">
-                                               {{ctx.AvatarUtils.Avatar . 28 "gt-mr-3"}}
+                                               {{ctx.AvatarUtils.Avatar . 28 "tw-mr-2"}}
                                                {{.GetDisplayName}}
                                        </a>
                                </div>
                <div class="ui list tw-flex tw-flex-wrap">
                        {{range .Participants}}
                                <a {{if gt .ID 0}}href="{{.HomeLink}}"{{end}} data-tooltip-content="{{.GetDisplayName}}">
-                                       {{ctx.AvatarUtils.Avatar . 28 "gt-my-1 gt-mr-2"}}
+                                       {{ctx.AvatarUtils.Avatar . 28 "tw-my-0.5 tw-mr-1"}}
                                </a>
                        {{end}}
                </div>
 
                <div class="ui watching">
                        <span class="text"><strong>{{ctx.Locale.Tr "notification.notifications"}}</strong></span>
-                       <div class="gt-mt-3">
+                       <div class="tw-mt-2">
                                {{template "repo/issue/view_content/watching" .}}
                        </div>
                </div>
                        <div class="divider"></div>
                        <div class="ui timetrack">
                                <span class="text"><strong>{{ctx.Locale.Tr "repo.issues.tracker"}}</strong></span>
-                               <div class="gt-mt-3">
+                               <div class="tw-mt-2">
                                        <form method="post" action="{{.Issue.Link}}/times/stopwatch/toggle" id="toggle_stopwatch_form">
                                                {{$.CsrfTokenHtml}}
                                        </form>
                                        </form>
                                        {{if $.IsStopwatchRunning}}
                                                <button class="ui fluid button issue-stop-time">
-                                                       {{svg "octicon-stopwatch" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-stopwatch" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.Tr "repo.issues.stop_tracking"}}
                                                </button>
-                                               <button class="ui fluid button issue-cancel-time gt-mt-3">
-                                                       {{svg "octicon-trash" 16 "gt-mr-3"}}
+                                               <button class="ui fluid button issue-cancel-time tw-mt-2">
+                                                       {{svg "octicon-trash" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.Tr "repo.issues.cancel_tracking"}}
                                                </button>
                                        {{else}}
                                                        </div>
                                                {{end}}
                                                <button class="ui fluid button issue-start-time" data-tooltip-content='{{ctx.Locale.Tr "repo.issues.start_tracking"}}'>
-                                                       {{svg "octicon-stopwatch" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-stopwatch" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.Tr "repo.issues.start_tracking_short"}}
                                                </button>
                                                <div class="ui mini modal issue-start-time-modal">
                                                                <button class="ui cancel button">{{ctx.Locale.Tr "repo.issues.add_time_cancel"}}</button>
                                                        </div>
                                                </div>
-                                               <button class="ui fluid button issue-add-time gt-mt-3" data-tooltip-content='{{ctx.Locale.Tr "repo.issues.add_time"}}'>
-                                                       {{svg "octicon-plus" 16 "gt-mr-3"}}
+                                               <button class="ui fluid button issue-add-time tw-mt-2" data-tooltip-content='{{ctx.Locale.Tr "repo.issues.add_time"}}'>
+                                                       {{svg "octicon-plus" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.Tr "repo.issues.add_time_short"}}
                                                </button>
                                        {{end}}
                                <span class="text"><strong>{{ctx.Locale.Tr "repo.issues.time_spent_from_all_authors" ($.Issue.TotalTrackedTime | Sec2Time)}}</strong></span>
                                <div>
                                        {{range $user, $trackedtime := .WorkingUsers}}
-                                               <div class="comment gt-mt-3">
+                                               <div class="comment tw-mt-2">
                                                        <a class="avatar">
                                                                {{ctx.AvatarUtils.Avatar $user}}
                                                        </a>
                        <p>
                                <div class="tw-flex tw-justify-between tw-items-center">
                                        <div class="due-date {{if .Issue.IsOverdue}}text red{{end}}" {{if .Issue.IsOverdue}}data-tooltip-content="{{ctx.Locale.Tr "repo.issues.due_date_overdue"}}"{{end}}>
-                                               {{svg "octicon-calendar" 16 "gt-mr-3"}}
+                                               {{svg "octicon-calendar" 16 "tw-mr-2"}}
                                                {{DateTime "long" .Issue.DeadlineUnix.FormatDate}}
                                        </div>
                                        <div>
                                                {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
-                                                       <a class="issue-due-edit muted" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.due_date_form_edit"}}">{{svg "octicon-pencil" 16 "gt-mr-2"}}</a>
+                                                       <a class="issue-due-edit muted" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.due_date_form_edit"}}">{{svg "octicon-pencil" 16 "tw-mr-1"}}</a>
                                                        <a class="issue-due-remove muted" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.due_date_form_remove"}}">{{svg "octicon-trash"}}</a>
                                                {{end}}
                                        </div>
                                                                        {{.Repository.OwnerName}}/{{.Repository.Name}}
                                                                </div>
                                                        </div>
-                                                       <div class="item-right tw-flex tw-items-center gt-m-2">
+                                                       <div class="item-right tw-flex tw-items-center tw-m-1">
                                                                {{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}}
                                                                        <a class="delete-dependency-button ci muted" data-id="{{.Issue.ID}}" data-type="blocking" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.dependency.remove_info"}}">
                                                                                {{svg "octicon-trash" 16}}
                                                                        {{.Repository.OwnerName}}/{{.Repository.Name}}
                                                                </div>
                                                        </div>
-                                                       <div class="item-right tw-flex tw-items-center gt-m-2">
+                                                       <div class="item-right tw-flex tw-items-center tw-m-1">
                                                                {{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}}
                                                                        <a class="delete-dependency-button ci muted" data-id="{{.Issue.ID}}" data-type="blockedBy" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.dependency.remove_info"}}">
                                                                                {{svg "octicon-trash" 16}}
                                                                                {{.Repository.OwnerName}}/{{.Repository.Name}}
                                                                        </div>
                                                                </div>
-                                                               <div class="item-right tw-flex tw-items-center gt-m-2">
+                                                               <div class="item-right tw-flex tw-items-center tw-m-1">
                                                                        {{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}}
                                                                                <a class="delete-dependency-button ci muted" data-id="{{.Issue.ID}}" data-type="blocking" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.dependency.remove_info"}}">
                                                                                        {{svg "octicon-trash" 16}}
                {{$issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index}}
                <div class="row tw-items-center" data-tooltip-content="{{$issueReferenceLink}}">
                        <span class="text column truncate">{{ctx.Locale.Tr "repo.issues.reference_link" $issueReferenceLink}}</span>
-                       <button class="ui two wide button column gt-p-3" data-clipboard-text="{{$issueReferenceLink}}">{{svg "octicon-copy" 14}}</button>
+                       <button class="ui two wide button column tw-p-2" data-clipboard-text="{{$issueReferenceLink}}">{{svg "octicon-copy" 14}}</button>
                </div>
        </div>
 
                <div class="divider"></div>
 
                {{if or .PinEnabled .Issue.IsPinned}}
-                       <form class="gt-mt-2 form-fetch-action single-button-form" method="post" {{if $.NewPinAllowed}}action="{{.Issue.Link}}/pin"{{else}}data-tooltip-content="{{ctx.Locale.Tr "repo.issues.max_pinned"}}"{{end}}>
+                       <form class="tw-mt-1 form-fetch-action single-button-form" method="post" {{if $.NewPinAllowed}}action="{{.Issue.Link}}/pin"{{else}}data-tooltip-content="{{ctx.Locale.Tr "repo.issues.max_pinned"}}"{{end}}>
                                {{$.CsrfTokenHtml}}
                                <button class="fluid ui button {{if not $.NewPinAllowed}}disabled{{end}}">
                                        {{if not .Issue.IsPinned}}
-                                               {{svg "octicon-pin" 16 "gt-mr-3"}}
+                                               {{svg "octicon-pin" 16 "tw-mr-2"}}
                                                {{ctx.Locale.Tr "pin"}}
                                        {{else}}
-                                               {{svg "octicon-pin-slash" 16 "gt-mr-3"}}
+                                               {{svg "octicon-pin-slash" 16 "tw-mr-2"}}
                                                {{ctx.Locale.Tr "unpin"}}
                                        {{end}}
                                </button>
                        </form>
                {{end}}
 
-               <button class="gt-mt-2 fluid ui show-modal button {{if .Issue.IsLocked}} negative {{end}}" data-modal="#lock">
+               <button class="tw-mt-1 fluid ui show-modal button {{if .Issue.IsLocked}} negative {{end}}" data-modal="#lock">
                        {{if .Issue.IsLocked}}
                                {{svg "octicon-key"}}
                                {{ctx.Locale.Tr "repo.issues.unlock"}}
                                </form>
                        </div>
                </div>
-               <button class="gt-mt-2 fluid ui show-modal button" data-modal="#sidebar-delete-issue">
+               <button class="tw-mt-1 fluid ui show-modal button" data-modal="#sidebar-delete-issue">
                        {{svg "octicon-trash"}}
                        {{ctx.Locale.Tr "repo.issues.delete"}}
                </button>
index 0e8562fed27220cf8c19cf4cd815ecff47270223..05936d090b7e2788e55913aca2c388c0603e4e77 100644 (file)
@@ -2,10 +2,10 @@
        <input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}">
        <button class="fluid ui button">
                {{if $.IssueWatch.IsWatching}}
-                       {{svg "octicon-mute" 16 "gt-mr-3"}}
+                       {{svg "octicon-mute" 16 "tw-mr-2"}}
                        {{ctx.Locale.Tr "repo.issues.unsubscribe"}}
                {{else}}
-                       {{svg "octicon-unmute" 16 "gt-mr-3"}}
+                       {{svg "octicon-unmute" 16 "tw-mr-2"}}
                        {{ctx.Locale.Tr "repo.issues.subscribe"}}
                {{end}}
        </button>
index 4b5bf2ec0a0574262cf9026f70baad4e88cbeda5..5b846f6b21b18272b75bdf858f6751fdcccbc76e 100644 (file)
@@ -1,5 +1,5 @@
 {{if .Flash}}
-       <div class="sixteen wide column gt-mb-3">
+       <div class="sixteen wide column tw-mb-2">
                {{template "base/alert" .}}
        </div>
 {{end}}
                </h1>
                <div class="issue-title-buttons">
                        {{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .Repository.IsArchived)}}
-                               <button id="edit-title" class="ui small basic button edit-button not-in-edit{{if .Issue.IsPull}} gt-mr-0{{end}}">{{ctx.Locale.Tr "repo.issues.edit"}}</button>
+                               <button id="edit-title" class="ui small basic button edit-button not-in-edit{{if .Issue.IsPull}} tw-mr-0{{end}}">{{ctx.Locale.Tr "repo.issues.edit"}}</button>
                        {{end}}
                        {{if not .Issue.IsPull}}
-                               <a role="button" class="ui small primary button new-issue-button gt-mr-0" href="{{.RepoLink}}/issues/new{{if .NewIssueChooseTemplate}}/choose{{end}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>
+                               <a role="button" class="ui small primary button new-issue-button tw-mr-0" href="{{.RepoLink}}/issues/new{{if .NewIssueChooseTemplate}}/choose{{end}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>
                        {{end}}
                </div>
                {{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .Repository.IsArchived)}}
                        <div class="edit-buttons">
                                <button id="cancel-edit-title" class="ui small basic button in-edit gt-hidden">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
-                               <button id="save-edit-title" class="ui small primary button in-edit gt-hidden gt-mr-0" data-update-url="{{$.RepoLink}}/issues/{{.Issue.Index}}/title" {{if .Issue.IsPull}}data-target-update-url="{{$.RepoLink}}/pull/{{.Issue.Index}}/target_branch"{{end}}>{{ctx.Locale.Tr "repo.issues.save"}}</button>
+                               <button id="save-edit-title" class="ui small primary button in-edit gt-hidden tw-mr-0" data-update-url="{{$.RepoLink}}/issues/{{.Issue.Index}}/title" {{if .Issue.IsPull}}data-target-update-url="{{$.RepoLink}}/pull/{{.Issue.Index}}/target_branch"{{end}}>{{ctx.Locale.Tr "repo.issues.save"}}</button>
                        </div>
                {{end}}
        </div>
        <div class="issue-title-meta">
                {{if .HasMerged}}
-                       <div class="ui purple label issue-state-label">{{svg "octicon-git-merge" 16 "gt-mr-2"}} {{if eq .Issue.PullRequest.Status 3}}{{ctx.Locale.Tr "repo.pulls.manually_merged"}}{{else}}{{ctx.Locale.Tr "repo.pulls.merged"}}{{end}}</div>
+                       <div class="ui purple label issue-state-label">{{svg "octicon-git-merge" 16 "tw-mr-1"}} {{if eq .Issue.PullRequest.Status 3}}{{ctx.Locale.Tr "repo.pulls.manually_merged"}}{{else}}{{ctx.Locale.Tr "repo.pulls.merged"}}{{end}}</div>
                {{else if .Issue.IsClosed}}
                        <div class="ui red label issue-state-label">{{if .Issue.IsPull}}{{svg "octicon-git-pull-request"}}{{else}}{{svg "octicon-issue-closed"}}{{end}} {{ctx.Locale.Tr "repo.issues.closed_title"}}</div>
                {{else if .Issue.IsPull}}
@@ -41,7 +41,7 @@
                {{else}}
                        <div class="ui green label issue-state-label">{{svg "octicon-issue-opened"}} {{ctx.Locale.Tr "repo.issues.open_title"}}</div>
                {{end}}
-               <div class="gt-ml-3">
+               <div class="tw-ml-2">
                        {{if .Issue.IsPull}}
                                {{$headHref := .HeadTarget}}
                                {{if .HeadBranchLink}}
@@ -72,7 +72,7 @@
                                        {{end}}
                                        <span id="pull-desc-edit" class="gt-hidden flex-text-block">
                                                <div class="ui floating filter dropdown">
-                                                       <div class="ui basic small button gt-mr-0">
+                                                       <div class="ui basic small button tw-mr-0">
                                                                <span class="text">{{ctx.Locale.Tr "repo.pulls.compare_compare"}}: {{$.HeadTarget}}</span>
                                                        </div>
                                                </div>
index b2f079891770e4a33408709fd061342024ea4ee3..ad31c95ad4cc7ca84811eb63e368e9fe4a2dc22d 100644 (file)
@@ -2,7 +2,7 @@
        <div class="ui active tiny slow centered inline">…</div>
 {{else}}
        {{if .LatestCommitUser}}
-               {{ctx.AvatarUtils.Avatar .LatestCommitUser 24 "gt-mr-2"}}
+               {{ctx.AvatarUtils.Avatar .LatestCommitUser 24 "tw-mr-1"}}
                {{if .LatestCommitUser.FullName}}
                        <a class="muted author-wrapper" title="{{.LatestCommitUser.FullName}}" href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
                {{else}}
@@ -10,7 +10,7 @@
                {{end}}
        {{else}}
                {{if .LatestCommit.Author}}
-                       {{ctx.AvatarUtils.AvatarByEmail .LatestCommit.Author.Email .LatestCommit.Author.Name 24 "gt-mr-2"}}
+                       {{ctx.AvatarUtils.AvatarByEmail .LatestCommit.Author.Email .LatestCommit.Author.Name 24 "tw-mr-1"}}
                        <span class="author-wrapper" title="{{.LatestCommit.Author.Name}}"><strong>{{.LatestCommit.Author.Name}}</strong></span>
                {{end}}
        {{end}}
index 32465bc3940c4d09938b2dbeabe943acfe4ff00e..c5c697edffe9f54a0a79c02d96dbaa0cca323e2f 100644 (file)
@@ -7,11 +7,11 @@
                                {{range .Services}}
                                        <a class="ui card migrate-entry tw-flex tw-items-center" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
                                                {{if eq .Name "github"}}
-                                                       {{svg "octicon-mark-github" 184 "gt-p-4"}}
+                                                       {{svg "octicon-mark-github" 184 "tw-p-4"}}
                                                {{else if eq .Name "gitlab"}}
-                                                       {{svg "gitea-gitlab" 184 "gt-p-4"}}
+                                                       {{svg "gitea-gitlab" 184 "tw-p-4"}}
                                                {{else if eq .Name "gitbucket"}}
-                                                       {{svg "gitea-gitbucket" 184 "gt-p-4"}}
+                                                       {{svg "gitea-gitbucket" 184 "tw-p-4"}}
                                                {{else}}
                                                        {{svg (printf "gitea-%s" .Name) 184}}
                                                {{end}}
index eea1057a506d1415638c0e48100680bf8e11dbcc..05ad7264bf8fa47b29e821ddffa3e662f5e31945 100644 (file)
@@ -2,7 +2,7 @@
 <div role="main" aria-label="{{.Title}}" class="page-content repository projects view-project">
        {{template "repo/header" .}}
        <div class="ui container padded">
-               <div class="tw-flex tw-justify-between tw-items-center gt-mb-4">
+               <div class="tw-flex tw-justify-between tw-items-center tw-mb-4">
                        {{template "repo/issue/navbar" .}}
                        <a class="ui small primary button" href="{{.RepoLink}}/issues/new/choose?project={{.Project.ID}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>
                </div>
index 0ddb17a9347abb722fdd5c4667a6923425749776..c0e48928f911870f1a5372bbee27663cf17e5a93 100644 (file)
@@ -15,7 +15,7 @@
                        {{ctx.Locale.Tr "repo.pulls.tab_files"}}
                        <span class="ui small label">{{if .NumFiles}}{{.NumFiles}}{{else}}-{{end}}</span>
                </a>
-               <span class="item tw-ml-auto gt-pr-0 tw-font-bold tw-flex tw-items-center tw-gap-2">
+               <span class="item tw-ml-auto tw-pr-0 tw-font-bold tw-flex tw-items-center tw-gap-2">
                        <span><span class="text green">{{if .Diff.TotalAddition}}+{{.Diff.TotalAddition}}{{end}}</span> <span class="text red">{{if .Diff.TotalDeletion}}-{{.Diff.TotalDeletion}}{{end}}</span></span>
                        <span class="diff-stats-bar">
                                <div class="diff-stats-add-bar" style="width: {{Eval 100 "*" .Diff.TotalAddition "/" "(" .Diff.TotalAddition "+" .Diff.TotalDeletion "+" 0.0 ")"}}%"></div>
index 5943ae0434378928c71c36c02491157256e82124..cfb3ec1d3d1e3fc8ba48d5244c1ee32d7f89dd85 100644 (file)
 
 {{if gt .Activity.PublishedReleaseCount 0}}
        <h4 class="divider divider-text tw-normal-case" id="published-releases">
-               {{svg "octicon-tag" 16 "gt-mr-3"}}
+               {{svg "octicon-tag" 16 "tw-mr-2"}}
                {{ctx.Locale.Tr "repo.activity.title.releases_published_by"
                        (ctx.Locale.TrN .Activity.PublishedReleaseCount "repo.activity.title.releases_1" "repo.activity.title.releases_n" .Activity.PublishedReleaseCount)
                        (ctx.Locale.TrN .Activity.PublishedReleaseAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.PublishedReleaseAuthorCount)
 
 {{if gt .Activity.MergedPRCount 0}}
        <h4 class="divider divider-text tw-normal-case" id="merged-pull-requests">
-               {{svg "octicon-git-pull-request" 16 "gt-mr-3"}}
+               {{svg "octicon-git-pull-request" 16 "tw-mr-2"}}
                {{ctx.Locale.Tr "repo.activity.title.prs_merged_by"
                        (ctx.Locale.TrN .Activity.MergedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n" .Activity.MergedPRCount)
                        (ctx.Locale.TrN .Activity.MergedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.MergedPRAuthorCount)
 
 {{if gt .Activity.OpenedPRCount 0}}
        <h4 class="divider divider-text tw-normal-case" id="proposed-pull-requests">
-               {{svg "octicon-git-branch" 16 "gt-mr-3"}}
+               {{svg "octicon-git-branch" 16 "tw-mr-2"}}
                {{ctx.Locale.Tr "repo.activity.title.prs_opened_by"
                        (ctx.Locale.TrN .Activity.OpenedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n" .Activity.OpenedPRCount)
                        (ctx.Locale.TrN .Activity.OpenedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.OpenedPRAuthorCount)
 
 {{if gt .Activity.ClosedIssueCount 0}}
        <h4 class="divider divider-text tw-normal-case" id="closed-issues">
-               {{svg "octicon-issue-closed" 16 "gt-mr-3"}}
+               {{svg "octicon-issue-closed" 16 "tw-mr-2"}}
                {{ctx.Locale.Tr "repo.activity.title.issues_closed_from"
                        (ctx.Locale.TrN .Activity.ClosedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n" .Activity.ClosedIssueCount)
                        (ctx.Locale.TrN .Activity.ClosedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.ClosedIssueAuthorCount)
 
 {{if gt .Activity.OpenedIssueCount 0}}
        <h4 class="divider divider-text tw-normal-case" id="new-issues">
-               {{svg "octicon-issue-opened" 16 "gt-mr-3"}}
+               {{svg "octicon-issue-opened" 16 "tw-mr-2"}}
                {{ctx.Locale.Tr "repo.activity.title.issues_created_by"
                        (ctx.Locale.TrN .Activity.OpenedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n" .Activity.OpenedIssueCount)
                        (ctx.Locale.TrN .Activity.OpenedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.OpenedIssueAuthorCount)
 
 {{if gt .Activity.UnresolvedIssueCount 0}}
        <h4 class="divider divider-text tw-normal-case" id="unresolved-conversations" data-tooltip-content="{{ctx.Locale.Tr "repo.activity.unresolved_conv_desc"}}">
-               {{svg "octicon-comment-discussion" 16 "gt-mr-3"}}
+               {{svg "octicon-comment-discussion" 16 "tw-mr-2"}}
                {{ctx.Locale.TrN .Activity.UnresolvedIssueCount "repo.activity.title.unresolved_conv_1" "repo.activity.title.unresolved_conv_n" .Activity.UnresolvedIssueCount}}
        </h4>
        <div class="list">
index 6c77ee12f7cfd6201cc9aaaa2c0f76202c38d04d..9da6c48c8e08373d65ee95da9c79b5cafa028f33 100644 (file)
@@ -9,14 +9,14 @@
                                {{$release := $info.Release}}
                                <li class="ui grid">
                                        <div class="ui four wide column meta">
-                                               <a class="muted" href="{{if not (and $release.Sha1 ($.Permission.CanRead $.UnitTypeCode))}}#{{else}}{{$.RepoLink}}/src/tag/{{$release.TagName | PathEscapeSegments}}{{end}}" rel="nofollow">{{svg "octicon-tag" 16 "gt-mr-2"}}{{$release.TagName}}</a>
+                                               <a class="muted" href="{{if not (and $release.Sha1 ($.Permission.CanRead $.UnitTypeCode))}}#{{else}}{{$.RepoLink}}/src/tag/{{$release.TagName | PathEscapeSegments}}{{end}}" rel="nofollow">{{svg "octicon-tag" 16 "tw-mr-1"}}{{$release.TagName}}</a>
                                                {{if and $release.Sha1 ($.Permission.CanRead $.UnitTypeCode)}}
-                                                       <a class="muted gt-mono" href="{{$.RepoLink}}/src/commit/{{$release.Sha1}}" rel="nofollow">{{svg "octicon-git-commit" 16 "gt-mr-2"}}{{ShortSha $release.Sha1}}</a>
+                                                       <a class="muted gt-mono" href="{{$.RepoLink}}/src/commit/{{$release.Sha1}}" rel="nofollow">{{svg "octicon-git-commit" 16 "tw-mr-1"}}{{ShortSha $release.Sha1}}</a>
                                                        {{template "repo/branch_dropdown" dict "root" $ "release" $release}}
                                                {{end}}
                                        </div>
                                        <div class="ui twelve wide column detail">
-                                               <div class="tw-flex tw-items-center tw-justify-between tw-flex-wrap gt-mb-3">
+                                               <div class="tw-flex tw-items-center tw-justify-between tw-flex-wrap tw-mb-2">
                                                        <h4 class="release-list-title gt-word-break">
                                                                {{if $.PageIsSingleTag}}{{$release.Title}}{{else}}<a href="{{$.RepoLink}}/releases/tag/{{$release.TagName | PathEscapeSegments}}">{{$release.Title}}</a>{{end}}
                                                                {{template "repo/commit_statuses" dict "Status" $info.CommitStatus "Statuses" $info.CommitStatuses "AdditionalClasses" "tw-flex"}}
@@ -39,9 +39,9 @@
                                                <p class="text grey">
                                                        <span class="author">
                                                        {{if $release.OriginalAuthor}}
-                                                               {{svg (MigrationIcon $release.Repo.GetOriginalURLHostname) 20 "gt-mr-2"}}{{$release.OriginalAuthor}}
+                                                               {{svg (MigrationIcon $release.Repo.GetOriginalURLHostname) 20 "tw-mr-1"}}{{$release.OriginalAuthor}}
                                                        {{else if $release.Publisher}}
-                                                               {{ctx.AvatarUtils.Avatar $release.Publisher 20 "gt-mr-2"}}
+                                                               {{ctx.AvatarUtils.Avatar $release.Publisher 20 "tw-mr-1"}}
                                                                <a href="{{$release.Publisher.HomeLink}}">{{$release.Publisher.GetDisplayName}}</a>
                                                        {{else}}
                                                                Ghost
                                                </div>
                                                <div class="divider"></div>
                                                <details class="download" {{if eq $idx 0}}open{{end}}>
-                                                       <summary class="gt-my-4">
+                                                       <summary class="tw-my-4">
                                                                {{ctx.Locale.Tr "repo.release.downloads"}}
                                                        </summary>
                                                        <ul class="list">
                                                                {{if and (not $.DisableDownloadSourceArchives) (not $release.IsDraft) ($.Permission.CanRead $.UnitTypeCode)}}
                                                                        <li>
-                                                                               <a class="archive-link" href="{{$.RepoLink}}/archive/{{$release.TagName | PathEscapeSegments}}.zip" rel="nofollow"><strong>{{svg "octicon-file-zip" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.release.source_code"}} (ZIP)</strong></a>
+                                                                               <a class="archive-link" href="{{$.RepoLink}}/archive/{{$release.TagName | PathEscapeSegments}}.zip" rel="nofollow"><strong>{{svg "octicon-file-zip" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.release.source_code"}} (ZIP)</strong></a>
                                                                        </li>
                                                                        <li>
-                                                                               <a class="archive-link" href="{{$.RepoLink}}/archive/{{$release.TagName | PathEscapeSegments}}.tar.gz" rel="nofollow"><strong>{{svg "octicon-file-zip" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.release.source_code"}} (TAR.GZ)</strong></a>
+                                                                               <a class="archive-link" href="{{$.RepoLink}}/archive/{{$release.TagName | PathEscapeSegments}}.tar.gz" rel="nofollow"><strong>{{svg "octicon-file-zip" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.release.source_code"}} (TAR.GZ)</strong></a>
                                                                        </li>
                                                                {{end}}
                                                                {{range $release.Attachments}}
                                                                        <li>
                                                                                <a target="_blank" rel="nofollow" href="{{.DownloadURL}}" download>
-                                                                                       <strong>{{svg "octicon-package" 16 "gt-mr-2"}}{{.Name}}</strong>
+                                                                                       <strong>{{svg "octicon-package" 16 "tw-mr-1"}}{{.Name}}</strong>
                                                                                </a>
                                                                                <div>
                                                                                        <span class="text grey">{{.Size | FileSize}}</span>
index fd6338a7012e8a71d5c0b0a6a6aefc1f648a75f5..c01f9a421b982f6e7e73247fca4ec478b9cd2289 100644 (file)
                                                        </div>
                                                </div>
                                                <div>
-                                                       <span id="tag-helper" class="help gt-mt-3 gt-pb-0">{{ctx.Locale.Tr "repo.release.tag_helper"}}</span>
+                                                       <span id="tag-helper" class="help tw-mt-2 tw-pb-0">{{ctx.Locale.Tr "repo.release.tag_helper"}}</span>
                                                </div>
                                        {{end}}
                                </div>
                        </div>
-                       <div class="eleven wide gt-pt-0">
+                       <div class="eleven wide tw-pt-0">
                                <div class="field {{if .Err_Title}}error{{end}}">
                                        <input name="title" aria-label="{{ctx.Locale.Tr "repo.release.title"}}" placeholder="{{ctx.Locale.Tr "repo.release.title"}}" value="{{.title}}" autofocus maxlength="255">
                                </div>
                                                </div>
                                        </div>
                                        <span class="help">{{ctx.Locale.Tr "repo.release.prerelease_helper"}}</span>
-                                       <div class="divider gt-mt-0"></div>
+                                       <div class="divider tw-mt-0"></div>
                                        <div class="tw-flex tw-justify-end">
                                                {{if .PageIsEditRelease}}
                                                        <a class="ui small button" href="{{.RepoLink}}/releases">
index ee6bdfbf2f64063dbaf5a3d4ce36f36ca1023105..52c0c2c800b688d76951d65913d91c43fb2db8e6 100644 (file)
@@ -16,7 +16,7 @@
                                        {{.CsrfTokenHtml}}
                                        <input type="hidden" name="action" value="default_branch">
                                        {{if not .Repository.IsEmpty}}
-                                               <div class="ui dropdown selection search tw-flex-1 gt-mr-3 tw-max-w-96">
+                                               <div class="ui dropdown selection search tw-flex-1 tw-mr-2 tw-max-w-96">
                                                        {{svg "octicon-triangle-down" 14 "dropdown icon"}}
                                                        <input type="hidden" name="branch" value="{{.Repository.DefaultBranch}}">
                                                        <div class="default text">{{.Repository.DefaultBranch}}</div>
index f66b94c332ae048cb3260db36154b60ad0bb0639..cc77e79e8cadc2aaa13874fe9fe09e82953fe107 100644 (file)
@@ -11,7 +11,7 @@
                        </div>
                </h4>
                <div class="ui attached segment">
-                       <div class="{{if not .HasError}}gt-hidden{{end}} gt-mb-4" id="add-deploy-key-panel">
+                       <div class="{{if not .HasError}}gt-hidden{{end}} tw-mb-4" id="add-deploy-key-panel">
                                <form class="ui form" action="{{.Link}}" method="post">
                                        {{.CsrfTokenHtml}}
                                        <div class="field">
index 3d15d097cc495979a67b2e321a9d05c8e8b8be0e..1a603f9fe8790a18ff18511d4bc9a31073025d95 100644 (file)
@@ -10,9 +10,9 @@
                                </div>
                                {{range .Hooks}}
                                        <div class="item truncated-item-container">
-                                               <span class="text {{if .IsActive}}green{{else}}grey{{end}} gt-mr-3">{{svg "octicon-dot-fill" 22}}</span>
-                                               <span class="text truncate tw-flex-1 gt-mr-3">{{.Name}}</span>
-                                               <a class="muted tw-float-right gt-p-3" href="{{$.RepoLink}}/settings/hooks/git/{{.Name|PathEscape}}">
+                                               <span class="text {{if .IsActive}}green{{else}}grey{{end}} tw-mr-2">{{svg "octicon-dot-fill" 22}}</span>
+                                               <span class="text truncate tw-flex-1 tw-mr-2">{{.Name}}</span>
+                                               <a class="muted tw-float-right tw-p-2" href="{{$.RepoLink}}/settings/hooks/git/{{.Name|PathEscape}}">
                                                        {{svg "octicon-pencil"}}
                                                </a>
                                        </div>
index 1e32853d8164271de9fd8ee33d94198fb0e06afb..b8fa4759b1326d0a33bc9af77b658b6e4d09e4c7 100644 (file)
                                                        <tbody>
                                                                <tr>
                                                                        <td colspan="4">
-                                                                               <div class="text red gt-py-4">{{ctx.Locale.Tr "repo.settings.mirror_settings.direction.pull"}}: {{ctx.Locale.Tr "error.occurred"}}</div>
+                                                                               <div class="text red tw-py-4">{{ctx.Locale.Tr "repo.settings.mirror_settings.direction.pull"}}: {{ctx.Locale.Tr "error.occurred"}}</div>
                                                                        </td>
                                                                </tr>
                                                        </tbody>
                                                                                        <p class="help">{{ctx.Locale.Tr "repo.mirror_address_desc"}}</p>
                                                                                </div>
                                                                                <details class="ui optional field" {{if or .Err_Auth $address.Username}}open{{end}}>
-                                                                                       <summary class="gt-p-2">
+                                                                                       <summary class="tw-p-1">
                                                                                                {{ctx.Locale.Tr "repo.need_auth"}}
                                                                                        </summary>
-                                                                                       <div class="gt-p-2">
+                                                                                       <div class="tw-p-1">
                                                                                                <div class="inline field {{if .Err_Auth}}error{{end}}">
                                                                                                        <label for="mirror_username">{{ctx.Locale.Tr "username"}}</label>
                                                                                                        <input id="mirror_username" name="mirror_username" value="{{$address.Username}}" {{if not .mirror_username}}data-need-clear="true"{{end}}>
                                                                                                <p class="help">{{ctx.Locale.Tr "repo.mirror_address_desc"}}</p>
                                                                                        </div>
                                                                                        <details class="ui optional field" {{if or .Err_PushMirrorAuth .push_mirror_username}}open{{end}}>
-                                                                                               <summary class="gt-p-2">
+                                                                                               <summary class="tw-p-1">
                                                                                                        {{ctx.Locale.Tr "repo.need_auth"}}
                                                                                                </summary>
-                                                                                               <div class="gt-p-2">
+                                                                                               <div class="tw-p-1">
                                                                                                        <div class="inline field {{if .Err_PushMirrorAuth}}error{{end}}">
                                                                                                                <label for="push_mirror_username">{{ctx.Locale.Tr "username"}}</label>
                                                                                                                <input id="push_mirror_username" name="push_mirror_username" value="{{.push_mirror_username}}">
                                                        <label>{{ctx.Locale.Tr "repo.settings.use_internal_wiki"}}</label>
                                                </div>
                                        </div>
-                                       <div class="inline field gt-pl-4">
+                                       <div class="inline field tw-pl-4">
                                                <label>{{ctx.Locale.Tr "repo.settings.default_wiki_branch_name"}}</label>
                                                <input name="default_wiki_branch" value="{{.Repository.DefaultWikiBranch}}">
                                        </div>
                                                        <label>{{ctx.Locale.Tr "repo.settings.use_external_wiki"}}</label>
                                                </div>
                                        </div>
-                                       <div class="field gt-pl-4 {{if not (.Repository.UnitEnabled $.Context $.UnitTypeExternalWiki)}}disabled{{end}}" id="external_wiki_box">
+                                       <div class="field tw-pl-4 {{if not (.Repository.UnitEnabled $.Context $.UnitTypeExternalWiki)}}disabled{{end}}" id="external_wiki_box">
                                                <label for="external_wiki_url">{{ctx.Locale.Tr "repo.settings.external_wiki_url"}}</label>
                                                <input id="external_wiki_url" name="external_wiki_url" type="url" value="{{(.Repository.MustGetUnit $.Context $.UnitTypeExternalWiki).ExternalWikiConfig.ExternalWikiURL}}">
                                                <p class="help">{{ctx.Locale.Tr "repo.settings.external_wiki_url_desc"}}</p>
                                                        <label>{{ctx.Locale.Tr "repo.settings.use_internal_issue_tracker"}}</label>
                                                </div>
                                        </div>
-                                       <div class="field gt-pl-4 {{if (.Repository.UnitEnabled $.Context $.UnitTypeExternalTracker)}}disabled{{end}}" id="internal_issue_box">
+                                       <div class="field tw-pl-4 {{if (.Repository.UnitEnabled $.Context $.UnitTypeExternalTracker)}}disabled{{end}}" id="internal_issue_box">
                                                {{if .Repository.CanEnableTimetracker}}
                                                        <div class="field">
                                                                <div class="ui checkbox">
                                                        <label>{{ctx.Locale.Tr "repo.settings.use_external_issue_tracker"}}</label>
                                                </div>
                                        </div>
-                                       <div class="field gt-pl-4 {{if not (.Repository.UnitEnabled $.Context $.UnitTypeExternalTracker)}}disabled{{end}}" id="external_issue_box">
+                                       <div class="field tw-pl-4 {{if not (.Repository.UnitEnabled $.Context $.UnitTypeExternalTracker)}}disabled{{end}}" id="external_issue_box">
                                                <div class="field">
                                                        <label for="external_tracker_url">{{ctx.Locale.Tr "repo.settings.external_tracker_url"}}</label>
                                                        <input id="external_tracker_url" name="external_tracker_url" type="url" value="{{(.Repository.MustGetUnit $.Context $.UnitTypeExternalTracker).ExternalTrackerConfig.ExternalTrackerURL}}">
                                                <label>{{ctx.Locale.Tr "repo.settings.projects_desc"}}</label>
                                        </div>
                                </div>
-                               <div class="field {{if not $isProjectsEnabled}} disabled{{end}} gt-pl-4" id="projects_box">
+                               <div class="field {{if not $isProjectsEnabled}} disabled{{end}} tw-pl-4" id="projects_box">
                                        <p>
                                                {{ctx.Locale.Tr "repo.settings.projects_mode_desc"}}
                                        </p>
index e95dd831c945b1d0dca3e732cc3b01723c68d17c..6d8578a2f71ea632685631657424581a6ab0452f 100644 (file)
                                        <label>{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern"}}</label>
                                        <input name="rule_name" type="text" value="{{.Rule.RuleName}}">
                                        <input name="rule_id" type="hidden" value="{{.Rule.ID}}">
-                                       <p class="help gt-ml-0">{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern_desc"}}</p>
+                                       <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern_desc"}}</p>
                                </div>
                                <div class="field">
                                        <label>{{ctx.Locale.Tr "repo.settings.protect_protected_file_patterns"}}</label>
                                        <input name="protected_file_patterns" type="text" value="{{.Rule.ProtectedFilePatterns}}">
-                                       <p class="help gt-ml-0">{{ctx.Locale.Tr "repo.settings.protect_protected_file_patterns_desc"}}</p>
+                                       <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_protected_file_patterns_desc"}}</p>
                                </div>
                                <div class="field">
                                        <label>{{ctx.Locale.Tr "repo.settings.protect_unprotected_file_patterns"}}</label>
                                        <input name="unprotected_file_patterns" type="text" value="{{.Rule.UnprotectedFilePatterns}}">
-                                       <p class="help gt-ml-0">{{ctx.Locale.Tr "repo.settings.protect_unprotected_file_patterns_desc"}}</p>
+                                       <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_unprotected_file_patterns_desc"}}</p>
                                </div>
 
                                {{.CsrfTokenHtml}}
@@ -98,7 +98,7 @@
                                <div class="field">
                                        <label>{{ctx.Locale.Tr "repo.settings.protect_required_approvals"}}</label>
                                        <input name="required_approvals" type="number" value="{{.Rule.RequiredApprovals}}">
-                                       <p class="help gt-ml-0">{{ctx.Locale.Tr "repo.settings.protect_required_approvals_desc"}}</p>
+                                       <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_required_approvals_desc"}}</p>
                                </div>
                                <div class="grouped fields">
                                        <div class="field">
index 9abc03e40e5636ce817965917060626a5b348201..36e75a7eb5533d45943ad87ed6c4f909b52b95dd 100644 (file)
                </div>
                {{range .Webhooks}}
                        <div class="item truncated-item-container">
-                               <span class="text {{if eq .LastStatus 1}}green{{else if eq .LastStatus 2}}red{{else}}grey{{end}} gt-mr-3">{{svg "octicon-dot-fill" 22}}</span>
-                               <div class="text truncate tw-flex-1 gt-mr-3">
+                               <span class="text {{if eq .LastStatus 1}}green{{else if eq .LastStatus 2}}red{{else}}grey{{end}} tw-mr-2">{{svg "octicon-dot-fill" 22}}</span>
+                               <div class="text truncate tw-flex-1 tw-mr-2">
                                        <a title="{{.URL}}" href="{{$.BaseLink}}/{{.ID}}">{{.URL}}</a>
                                </div>
-                               <a class="muted gt-p-3" href="{{$.BaseLink}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
-                               <a class="delete-button gt-p-3" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}}</a>
+                               <a class="muted tw-p-2" href="{{$.BaseLink}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
+                               <a class="delete-button tw-p-2" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}}</a>
                        </div>
                {{end}}
        </div>
index 654a65fa5ce300a705cb2daa2c049114aaa63ca6..a0dbe7e10cd26789baec639240a8194f14f145a5 100644 (file)
@@ -1,5 +1,5 @@
 {{if and (not .HideRepoInfo) (not .IsBlame)}}
-<div class="ui segments repository-summary gt-mt-2 gt-mb-0">
+<div class="ui segments repository-summary tw-mt-1 tw-mb-0">
        <div class="ui segment sub-menu repository-menu">
                {{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo)}}
                        <a class="item muted {{if .PageIsCommits}}active{{end}}" href="{{.RepoLink}}/commits/{{.BranchNameSubURL}}">
index 06c02c5f75a750a4807f329ed8800dea455844f2..a107bd1ad3429415daeed57b64332605bdb9d42f 100644 (file)
@@ -6,7 +6,7 @@
                {{template "repo/release_tag_header" .}}
                <h4 class="ui top attached header">
                        <div class="five wide column tw-flex tw-items-center">
-                               {{svg "octicon-tag" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.release.tags"}}
+                               {{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.release.tags"}}
                        </div>
                </h4>
                {{$canReadReleases := $.Permission.CanRead $.UnitTypeReleases}}
@@ -16,7 +16,7 @@
                                        {{range $idx, $release := .Releases}}
                                                <tr>
                                                        <td class="tag">
-                                                               <h3 class="release-tag-name gt-mb-3">
+                                                               <h3 class="release-tag-name tw-mb-2">
                                                                        {{if $canReadReleases}}
                                                                                <a class="tw-flex tw-items-center" href="{{$.RepoLink}}/releases/tag/{{.TagName | PathEscapeSegments}}" rel="nofollow">{{.TagName}}</a>
                                                                        {{else}}
                                                                <div class="download tw-flex tw-items-center">
                                                                        {{if $.Permission.CanRead $.UnitTypeCode}}
                                                                                {{if .CreatedUnix}}
-                                                                                       <span class="gt-mr-3">{{svg "octicon-clock" 16 "gt-mr-2"}}{{TimeSinceUnix .CreatedUnix ctx.Locale}}</span>
+                                                                                       <span class="tw-mr-2">{{svg "octicon-clock" 16 "tw-mr-1"}}{{TimeSinceUnix .CreatedUnix ctx.Locale}}</span>
                                                                                {{end}}
 
-                                                                               <a class="gt-mr-3 gt-mono muted" href="{{$.RepoLink}}/src/commit/{{.Sha1}}" rel="nofollow">{{svg "octicon-git-commit" 16 "gt-mr-2"}}{{ShortSha .Sha1}}</a>
+                                                                               <a class="tw-mr-2 gt-mono muted" href="{{$.RepoLink}}/src/commit/{{.Sha1}}" rel="nofollow">{{svg "octicon-git-commit" 16 "tw-mr-1"}}{{ShortSha .Sha1}}</a>
 
                                                                                {{if not $.DisableDownloadSourceArchives}}
-                                                                                       <a class="archive-link gt-mr-3 muted" href="{{$.RepoLink}}/archive/{{.TagName | PathEscapeSegments}}.zip" rel="nofollow">{{svg "octicon-file-zip" 16 "gt-mr-2"}}ZIP</a>
-                                                                                       <a class="archive-link gt-mr-3 muted" href="{{$.RepoLink}}/archive/{{.TagName | PathEscapeSegments}}.tar.gz" rel="nofollow">{{svg "octicon-file-zip" 16 "gt-mr-2"}}TAR.GZ</a>
+                                                                                       <a class="archive-link tw-mr-2 muted" href="{{$.RepoLink}}/archive/{{.TagName | PathEscapeSegments}}.zip" rel="nofollow">{{svg "octicon-file-zip" 16 "tw-mr-1"}}ZIP</a>
+                                                                                       <a class="archive-link tw-mr-2 muted" href="{{$.RepoLink}}/archive/{{.TagName | PathEscapeSegments}}.tar.gz" rel="nofollow">{{svg "octicon-file-zip" 16 "tw-mr-1"}}TAR.GZ</a>
                                                                                {{end}}
 
                                                                                {{if (and $canReadReleases $.CanCreateRelease $release.IsTag)}}
-                                                                                       <a class="gt-mr-3 muted" href="{{$.RepoLink}}/releases/new?tag={{.TagName}}">{{svg "octicon-tag" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.release.new_release"}}</a>
+                                                                                       <a class="tw-mr-2 muted" href="{{$.RepoLink}}/releases/new?tag={{.TagName}}">{{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.release.new_release"}}</a>
                                                                                {{end}}
 
                                                                                {{if (and ($.Permission.CanWrite $.UnitTypeCode) $release.IsTag)}}
-                                                                                       <a class="ui delete-button gt-mr-3 muted" data-url="{{$.RepoLink}}/tags/delete" data-id="{{.ID}}">
-                                                                                               {{svg "octicon-trash" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.release.delete_tag"}}
+                                                                                       <a class="ui delete-button tw-mr-2 muted" data-url="{{$.RepoLink}}/tags/delete" data-id="{{.ID}}">
+                                                                                               {{svg "octicon-trash" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.release.delete_tag"}}
                                                                                        </a>
                                                                                {{end}}
 
                                                                                {{if and $canReadReleases (not $release.IsTag)}}
-                                                                                       <a class="gt-mr-3 muted" href="{{$.RepoLink}}/releases/tag/{{.TagName | PathEscapeSegments}}">{{svg "octicon-tag" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.release.detail"}}</a>
+                                                                                       <a class="tw-mr-2 muted" href="{{$.RepoLink}}/releases/tag/{{.TagName | PathEscapeSegments}}">{{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.release.detail"}}</a>
                                                                                {{end}}
                                                                        {{end}}
                                                                </div>
index ebe82ff1615c5090dc8b4e2430d2d9d588ebc1e5..a5b6fa7a52a917f8296d2f88d4fbd3798ad5f9d8 100644 (file)
@@ -11,7 +11,7 @@
        {{end}}
 
        {{if not .ReadmeInList}}
-               <div id="repo-file-commit-box" class="ui top attached header list-header gt-mb-4">
+               <div id="repo-file-commit-box" class="ui top attached header list-header tw-mb-4">
                        <div>
                                {{template "repo/latest_commit" .}}
                        </div>
@@ -26,9 +26,9 @@
        {{end}}
 
        <h4 class="file-header ui top attached header tw-flex tw-items-center tw-justify-between tw-flex-wrap">
-               <div class="file-header-left tw-flex tw-items-center gt-py-3 gt-pr-4">
+               <div class="file-header-left tw-flex tw-items-center tw-py-2 tw-pr-4">
                        {{if .ReadmeInList}}
-                               {{svg "octicon-book" 16 "gt-mr-3"}}
+                               {{svg "octicon-book" 16 "tw-mr-2"}}
                                <strong><a class="default-link muted" href="#readme">{{.FileName}}</a></strong>
                        {{else}}
                                {{template "repo/file_info" .}}
@@ -42,7 +42,7 @@
                                </div>
                        {{end}}
                        {{if not .ReadmeInList}}
-                               <div class="ui buttons gt-mr-2">
+                               <div class="ui buttons tw-mr-1">
                                        <a class="ui mini basic button" href="{{$.RawFileLink}}">{{ctx.Locale.Tr "repo.file_raw"}}</a>
                                        {{if not .IsViewCommit}}
                                                <a class="ui mini basic button" href="{{.RepoLink}}/src/commit/{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{ctx.Locale.Tr "repo.file_permalink"}}</a>
@@ -76,8 +76,8 @@
                                        {{end}}
                                {{end}}
                        {{else if .EscapeStatus.Escaped}}
-                               <button class="ui mini basic button unescape-button gt-mr-2 gt-hidden">{{ctx.Locale.Tr "repo.unescape_control_characters"}}</button>
-                               <button class="ui mini basic button escape-button gt-mr-2">{{ctx.Locale.Tr "repo.escape_control_characters"}}</button>
+                               <button class="ui mini basic button unescape-button tw-mr-1 gt-hidden">{{ctx.Locale.Tr "repo.unescape_control_characters"}}</button>
+                               <button class="ui mini basic button escape-button tw-mr-1">{{ctx.Locale.Tr "repo.escape_control_characters"}}</button>
                        {{end}}
                        {{if and .ReadmeInList .CanEditReadmeFile}}
                                <a class="btn-octicon" data-tooltip-content="{{ctx.Locale.Tr "repo.editor.edit_this_file"}}" href="{{.RepoLink}}/_edit/{{PathEscapeSegments .BranchName}}/{{PathEscapeSegments .TreePath}}/{{PathEscapeSegments .FileName}}">{{svg "octicon-pencil"}}</a>
index 988a5ddd50e8ed5ddee7f5740616ad555a99af1b..7c463c50a6c16f90cd9670527699d1ae52fde050 100644 (file)
@@ -1,4 +1,4 @@
-<table id="repo-files-table" class="ui single line table gt-mt-0" {{if .HasFilesWithoutLatestCommit}}hx-indicator="tr.notready td.message span" hx-trigger="load" hx-swap="morph" hx-post="{{.LastCommitLoaderURL}}"{{end}}>
+<table id="repo-files-table" class="ui single line table tw-mt-0" {{if .HasFilesWithoutLatestCommit}}hx-indicator="tr.notready td.message span" hx-trigger="load" hx-swap="morph" hx-post="{{.LastCommitLoaderURL}}"{{end}}>
        <thead>
                <tr class="commit-list">
                        <th colspan="2">
index d1abd273424127d76d9a937049c53c7d535ffd06..0f10e60c4f8fc544f5237317885116ffc572f57f 100644 (file)
@@ -31,7 +31,7 @@
                                "TextareaContent" $content
                        )}}
 
-                       <div class="field gt-mt-4">
+                       <div class="field tw-mt-4">
                                <input name="message" aria-label="{{ctx.Locale.Tr "repo.wiki.default_commit_message"}}" placeholder="{{ctx.Locale.Tr "repo.wiki.default_commit_message"}}">
                        </div>
                        <div class="divider"></div>
index 182635e01103d66afb661ed8875d0ddf25b383f1..8e0060d4b3adb3209f19d13c5fb58fab2fc7b25a 100644 (file)
@@ -22,7 +22,7 @@
                        </div>
                </div>
                <h2 class="ui top header">{{ctx.Locale.Tr "repo.wiki.wiki_page_revisions"}}</h2>
-               <div class="gt-mt-4">
+               <div class="tw-mt-4">
                        <h4 class="ui top attached header">
                                <div class="ui stackable grid">
                                        <div class="sixteen wide column">
index dca7a074aa8dacb3778d9582dd306764cea44968..1b3c3d538a8e7d634dcec0d1ec082084b77f1b8c 100644 (file)
@@ -2,7 +2,7 @@
 <div role="main" aria-label="{{.Title}}" class="page-content repository wiki start">
        {{template "repo/header" .}}
        <div class="ui container">
-               <div class="ui center segment gt-py-5">
+               <div class="ui center segment tw-py-8">
                        {{svg "octicon-book" 48}}
                        <h2>{{ctx.Locale.Tr "repo.wiki.welcome"}}</h2>
                        <p>{{ctx.Locale.Tr "repo.wiki.welcome_desc"}}</p>
index f8bbf23b62b664005aab08159b58b5dbdd4d2ac9..d60f10b71f0c3ad628487e50275f1253fbc679d4 100644 (file)
@@ -7,15 +7,15 @@
                        {{template "base/disable_form_autofill"}}
                        {{.CsrfTokenHtml}}
                        <div class="runner-basic-info">
-                               <div class="field tw-inline-block gt-mr-4">
+                               <div class="field tw-inline-block tw-mr-4">
                                        <label>{{ctx.Locale.Tr "actions.runners.status"}}</label>
                                        <span class="ui {{if .Runner.IsOnline}}green{{else}}basic{{end}} label">{{.Runner.StatusLocaleName ctx.Locale}}</span>
                                </div>
-                               <div class="field tw-inline-block gt-mr-4">
+                               <div class="field tw-inline-block tw-mr-4">
                                        <label>{{ctx.Locale.Tr "actions.runners.last_online"}}</label>
                                        <span>{{if .Runner.LastOnline}}{{TimeSinceUnix .Runner.LastOnline ctx.Locale}}{{else}}{{ctx.Locale.Tr "never"}}{{end}}</span>
                                </div>
-                               <div class="field tw-inline-block gt-mr-4">
+                               <div class="field tw-inline-block tw-mr-4">
                                        <label>{{ctx.Locale.Tr "actions.runners.labels"}}</label>
                                        <span>
                                                {{range .Runner.AgentLabels}}
@@ -23,7 +23,7 @@
                                                {{end}}
                                        </span>
                                </div>
-                               <div class="field tw-inline-block gt-mr-4">
+                               <div class="field tw-inline-block tw-mr-4">
                                        <label>{{ctx.Locale.Tr "actions.runners.owner_type"}}</label>
                                        <span data-tooltip-content="{{.Runner.BelongsToOwnerName}}">{{.Runner.BelongsToOwnerType.LocaleString ctx.Locale}}</span>
                                </div>
index adb2f61c54a112eac594e5d37ab0e67e2e0fa53c..1c0dfcc5511e264377b0c47c3fb66e15bf32949b 100644 (file)
@@ -5,7 +5,7 @@
 
                        <div class="flex-item-icon">
                                {{if $.CanWriteIssuesOrPulls}}
-                               <input type="checkbox" autocomplete="off" class="issue-checkbox gt-mr-4" data-issue-id={{.ID}} aria-label="{{ctx.Locale.Tr "repo.issues.action_check"}} &quot;{{.Title}}&quot;">
+                               <input type="checkbox" autocomplete="off" class="issue-checkbox tw-mr-4" data-issue-id={{.ID}} aria-label="{{ctx.Locale.Tr "repo.issues.action_check"}} &quot;{{.Title}}&quot;">
                                {{end}}
                                {{template "shared/issueicon" .}}
                        </div>
@@ -19,7 +19,7 @@
                                                                {{template "repo/commit_statuses" dict "Status" (index $.CommitLastStatus .PullRequest.ID) "Statuses" (index $.CommitStatuses .PullRequest.ID)}}
                                                        {{end}}
                                                {{end}}
-                                               <span class="labels-list gt-ml-2">
+                                               <span class="labels-list tw-ml-1">
                                                        {{range .Labels}}
                                                                <a href="?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}{{if ne $.listType "milestone"}}&milestone={{$.MilestoneID}}{{end}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}{{if $.ShowArchivedLabels}}&archived=true{{end}}">{{RenderLabel $.Context ctx.Locale .}}</a>
                                                        {{end}}
index 42e029da820d4cb33a49736189eccab5084af471..a98a662654d29b8d811b3fbc8ca82cf488ac571c 100644 (file)
@@ -1,8 +1,8 @@
 <div class="flex-text-block tw-flex-wrap">
        {{range $term := .SearchResultLanguages}}
-       <a class="ui {{if eq $.Language $term.Language}}primary{{end}} basic label gt-m-0"
+       <a class="ui {{if eq $.Language $term.Language}}primary{{end}} basic label tw-m-0"
                href="?q={{$.Keyword}}{{if ne $.Language $term.Language}}&l={{$term.Language}}{{end}}&fuzzy={{$.IsFuzzy}}">
-               <i class="color-icon gt-mr-3" style="background-color: {{$term.Color}}"></i>
+               <i class="color-icon tw-mr-2" style="background-color: {{$term.Color}}"></i>
                {{$term.Language}}
                <div class="detail">{{$term.Count}}</div>
        </a>
index b22324585c5aa9d3a3dda7c915f8efb423e43b99..bee03972597e0d8a190929184a5c29614fdcce4a 100644 (file)
@@ -1,11 +1,11 @@
 {{if or .result.Language (not .result.UpdatedUnix.IsZero)}}
 <div class="ui bottom attached table segment tw-flex tw-items-center tw-justify-between">
-               <div class="tw-flex tw-items-center gt-ml-4">
+               <div class="tw-flex tw-items-center tw-ml-4">
                        {{if .result.Language}}
-                                       <i class="color-icon gt-mr-3" style="background-color: {{.result.Color}}"></i>{{.result.Language}}
+                                       <i class="color-icon tw-mr-2" style="background-color: {{.result.Color}}"></i>{{.result.Language}}
                        {{end}}
                </div>
-               <div class="gt-mr-4">
+               <div class="tw-mr-4">
                        {{if not .result.UpdatedUnix.IsZero}}
                                        <span class="ui grey text">{{ctx.Locale.Tr "explore.code_last_indexed_at" (TimeSinceUnix .result.UpdatedUnix ctx.Locale)}}</span>
                        {{end}}
index c943a1944d1b3e8d7f637f960ecc83c8533ba394..ea59459083e6e36b35090ca0ca9a5d5c8746bab3 100644 (file)
@@ -30,7 +30,7 @@
                                <span class="color-text-light-2">
                                        {{ctx.Locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix)}}
                                </span>
-                               <button class="ui btn interact-bg link-action gt-p-3"
+                               <button class="ui btn interact-bg link-action tw-p-2"
                                        data-url="{{$.Link}}/delete?id={{.ID}}"
                                        data-modal-confirm="{{ctx.Locale.Tr "secrets.deletion.description"}}"
                                        data-tooltip-content="{{ctx.Locale.Tr "secrets.deletion"}}"
index 4d8ad736be929c0af55dfd96be96c50366770f2a..d57a635b4bf290bbb7cf850d2173504c5066bea5 100644 (file)
@@ -1 +1 @@
-<a class="author text black tw-font-semibold muted"{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>{{.GetDisplayName}}</a>{{if .IsBot}}<span class="ui basic label gt-p-2">bot</span>{{end}}
+<a class="author text black tw-font-semibold muted"{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>{{.GetDisplayName}}</a>{{if .IsBot}}<span class="ui basic label tw-p-1">bot</span>{{end}}
index 071c7da11c84d94c58c800e45ae672a99d48fb85..e83a039ef57db4454b774603f92045969214b463 100644 (file)
@@ -17,7 +17,7 @@
                {{.CsrfTokenHtml}}
                <input type="hidden" name="action" value="block" />
                <div id="search-user-box" class="field ui fluid search input">
-                       <input class="prompt gt-mr-3" name="blockee" placeholder="{{ctx.Locale.Tr "search.user_kind"}}" autocomplete="off" required>
+                       <input class="prompt tw-mr-2" name="blockee" placeholder="{{ctx.Locale.Tr "search.user_kind"}}" autocomplete="off" required>
                        <button class="ui red button">{{ctx.Locale.Tr "user.block.block"}}</button>
                </div>
                <div class="field">
index 3e1cacd9bab5ed7dd146299efb3ceeee5b1a5ae0..868f8d5a1305f0883d5be8cb9894c975b0671c28 100644 (file)
                                                {{svg "octicon-gear" 18}}
                                        </a>
                                {{end}}</span>
-               <div class="gt-mt-3">
-                       <a class="muted" href="{{.ContextUser.HomeLink}}?tab=followers">{{svg "octicon-person" 18 "gt-mr-2"}}{{.NumFollowers}} {{ctx.Locale.Tr "user.followers"}}</a> Â· <a class="muted" href="{{.ContextUser.HomeLink}}?tab=following">{{.NumFollowing}} {{ctx.Locale.Tr "user.following"}}</a>
+               <div class="tw-mt-2">
+                       <a class="muted" href="{{.ContextUser.HomeLink}}?tab=followers">{{svg "octicon-person" 18 "tw-mr-1"}}{{.NumFollowers}} {{ctx.Locale.Tr "user.followers"}}</a> Â· <a class="muted" href="{{.ContextUser.HomeLink}}?tab=following">{{.NumFollowing}} {{ctx.Locale.Tr "user.following"}}</a>
                        {{if .EnableFeed}}
-                               <a href="{{.ContextUser.HomeLink}}.rss"><i class="ui text grey gt-ml-3" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">{{svg "octicon-rss" 18}}</i></a>
+                               <a href="{{.ContextUser.HomeLink}}.rss"><i class="ui text grey tw-ml-2" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">{{svg "octicon-rss" 18}}</i></a>
                        {{end}}
                </div>
        </div>
index fc2ac98e29b314a01175a05fe0fee861762df030..06c71c0610473712385b7f92b17a3df0921886d6 100644 (file)
@@ -32,7 +32,7 @@
                                <span class="color-text-light-2">
                                        {{ctx.Locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix)}}
                                </span>
-                               <button class="btn interact-bg gt-p-3 show-modal"
+                               <button class="btn interact-bg tw-p-2 show-modal"
                                        data-tooltip-content="{{ctx.Locale.Tr "actions.variables.edit"}}"
                                        data-modal="#edit-variable-modal"
                                        data-modal-form.action="{{$.Link}}/{{.ID}}/edit"
@@ -42,7 +42,7 @@
                                >
                                        {{svg "octicon-pencil"}}
                                </button>
-                               <button class="btn interact-bg gt-p-3 link-action"
+                               <button class="btn interact-bg tw-p-2 link-action"
                                        data-tooltip-content="{{ctx.Locale.Tr "actions.variables.deletion"}}"
                                        data-url="{{$.Link}}/{{.ID}}/delete"
                                        data-modal-confirm="{{ctx.Locale.Tr "actions.variables.deletion.description"}}"
index 106529ca7270b037ebcbf83e9a4f0ad51849782d..576b6eebbb8c06132f73403a311119b85215fbdc 100644 (file)
                                </div>
                        </div>
                </nav>
-               <div class="divider gt-my-0"></div>
+               <div class="divider tw-my-0"></div>
                <div role="main" class="page-content status-page-500">
                        <div class="ui container" >
                                <style> .ui.message.flash-message { text-align: left; } </style>
                                {{template "base/alert" .}}
                        </div>
-                       <p class="gt-mt-5 center"><img src="{{AssetUrlPrefix}}/img/500.png" alt="Internal Server Error"></p>
+                       <p class="tw-mt-8 center"><img src="{{AssetUrlPrefix}}/img/500.png" alt="Internal Server Error"></p>
                        <div class="divider"></div>
-                       <div class="ui container gt-my-5">
+                       <div class="ui container tw-my-8">
                                {{if .ErrorMsg}}
                                        <p>{{ctx.Locale.Tr "error.occurred"}}:</p>
                                        <pre class="tw-whitespace-pre-wrap tw-break-all">{{.ErrorMsg}}</pre>
                                {{end}}
-                               <div class="center gt-mt-5">
+                               <div class="center tw-mt-8">
                                        {{if or .SignedUser.IsAdmin .ShowFooterVersion}}<p>{{ctx.Locale.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}
                                        {{if .SignedUser.IsAdmin}}<p>{{ctx.Locale.Tr "error.report_message"}}</p>{{end}}
                                </div>
index ad86b0b88160166194659deeb5052af9f3e45fb5..9872096fbc6affeb0cc426c1939c7fd2aa474bfc 100644 (file)
        <div class="divider divider-text">
                {{ctx.Locale.Tr "sign_in_or"}}
        </div>
-       <div id="oauth2-login-navigator" class="gt-py-2">
+       <div id="oauth2-login-navigator" class="tw-py-1">
                <div class="tw-flex tw-flex-col tw-justify-center">
                        <div id="oauth2-login-navigator-inner" class="tw-flex tw-flex-col tw-flex-wrap tw-items-center tw-gap-2">
                                {{range $provider := .OAuth2Providers}}
-                                       <a class="{{$provider.Name}} ui button tw-flex tw-items-center tw-justify-center gt-py-3 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}">
+                                       <a class="{{$provider.Name}} ui button tw-flex tw-items-center tw-justify-center tw-py-2 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}">
                                                {{$provider.IconHTML 28}}
                                                {{ctx.Locale.Tr "sign_in_with_provider" $provider.DisplayName}}
                                        </a>
index 26d9091b68e308b32f347c98917bbfbc3dee1e14..bdb691d8335893965a2a62defcb7ec01d7a26be9 100644 (file)
                        <div class="divider divider-text">
                                {{ctx.Locale.Tr "sign_in_or"}}
                        </div>
-                       <div id="oauth2-login-navigator" class="gt-py-2">
+                       <div id="oauth2-login-navigator" class="tw-py-1">
                                <div class="tw-flex tw-flex-col tw-justify-center">
                                        <div id="oauth2-login-navigator-inner" class="tw-flex tw-flex-col tw-flex-wrap tw-items-center tw-gap-2">
                                                {{range $provider := .OAuth2Providers}}
-                                                       <a class="{{$provider.Name}} ui button tw-flex tw-items-center tw-justify-center gt-py-3 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}">
+                                                       <a class="{{$provider.Name}} ui button tw-flex tw-items-center tw-justify-center tw-py-2 tw-w-full oauth-login-link" href="{{AppSubUrl}}/user/oauth2/{{$provider.DisplayName}}">
                                                                {{$provider.IconHTML 28}}
                                                                {{ctx.Locale.Tr "sign_in_with_provider" $provider.DisplayName}}
                                                        </a>
index 24dd75eed53b36011a7d726247d8129d3dabbd09..1b8476532351ed2cb521c13ddfab850647d608bb 100644 (file)
@@ -10,7 +10,7 @@
                                {{template "base/alert" .}}
                                <p>{{ctx.Locale.Tr "webauthn_sign_in"}}</p>
                        </div>
-                       <div class="ui attached segment tw-flex tw-items-center tw-justify-center tw-gap-1 gt-py-3">
+                       <div class="ui attached segment tw-flex tw-items-center tw-justify-center tw-gap-1 tw-py-2">
                                <div class="is-loading tw-w-[40px] tw-h-[40px]"></div>
                                {{ctx.Locale.Tr "webauthn_press_button"}}
                        </div>
index fc6064db76cdca54761de64f9e6a985cf18658f7..13659affd50fbd2004e5134c0042b526242972d8 100644 (file)
@@ -1,6 +1,6 @@
 <div id="webauthn-error" class="ui negative message gt-hidden">
        <div class="header">{{ctx.Locale.Tr "webauthn_error"}}</div>
-       <div id="webauthn-error-msg" class="gt-pt-3"></div>
+       <div id="webauthn-error-msg" class="tw-pt-2"></div>
        <div class="gt-hidden">
                <div data-webauthn-error-msg="browser">{{ctx.Locale.Tr "webauthn_unsupported_browser"}}</div>
                <div data-webauthn-error-msg="unknown">{{ctx.Locale.Tr "webauthn_error_unknown"}}</div>
index fbe151607cc3099e789cc358c18aab2d53c75f06..60aa1945349f40bfa759cb1fabb642ce82b51ed2 100644 (file)
                                {{end}}
                        </div>
                        <div class="flex-item-trailing">
-                               {{svg (printf "octicon-%s" (ActionIcon .GetOpType)) 32 "text grey gt-mr-2"}}
+                               {{svg (printf "octicon-%s" (ActionIcon .GetOpType)) 32 "text grey tw-mr-1"}}
                        </div>
                </div>
        {{end}}
index 5080821dd123063ecb3a4ec70de2264dffb62b81..ea75267de12f08dcb6110efdf208a62f351f9e61 100644 (file)
                                <div class="list-header">
                                        <div class="small-menu-items ui compact tiny menu list-header-toggle">
                                                <a class="item{{if not .IsShowClosed}} active{{end}}" href="?type={{$.ViewType}}&sort={{$.SortType}}&state=open&q={{$.Keyword}}">
-                                                       {{svg "octicon-issue-opened" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-issue-opened" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.PrettyNumber .IssueStats.OpenCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.open_title"}}
                                                </a>
                                                <a class="item{{if .IsShowClosed}} active{{end}}" href="?type={{$.ViewType}}&sort={{$.SortType}}&state=closed&q={{$.Keyword}}">
-                                                       {{svg "octicon-issue-closed" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-issue-closed" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.PrettyNumber .IssueStats.ClosedCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.closed_title"}}
                                                </a>
                                        </div>
index 3a260c3d103137335f5a23a519f4f37d8267eea7..0f1e866a21f2f509d0b7777f56f775d271cec96f 100644 (file)
                                <div class="list-header">
                                        <div class="small-menu-items ui compact tiny menu list-header-toggle">
                                                <a class="item{{if not .IsShowClosed}} active{{end}}" href="?repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state=open&q={{$.Keyword}}">
-                                                       {{svg "octicon-milestone" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-milestone" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.PrettyNumber .MilestoneStats.OpenCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.open_title"}}
                                                </a>
                                                <a class="item{{if .IsShowClosed}} active{{end}}" href="?repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]&sort={{$.SortType}}&state=closed&q={{$.Keyword}}">
-                                                       {{svg "octicon-check" 16 "gt-mr-3"}}
+                                                       {{svg "octicon-check" 16 "tw-mr-2"}}
                                                        {{ctx.Locale.PrettyNumber .MilestoneStats.ClosedCount}}&nbsp;{{ctx.Locale.Tr "repo.issues.closed_title"}}
                                                </a>
                                        </div>
@@ -72,7 +72,7 @@
                                        {{range .Milestones}}
                                                <li class="milestone-card">
                                                        <div class="milestone-header">
-                                                               <h3 class="flex-text-block gt-m-0">
+                                                               <h3 class="flex-text-block tw-m-0">
                                                                        <span class="ui large label">
                                                                                {{.Repo.FullName}}
                                                                        </span>
@@ -80,7 +80,7 @@
                                                                        <a class="muted" href="{{.Repo.Link}}/milestone/{{.ID}}">{{.Name}}</a>
                                                                </h3>
                                                                <div class="tw-flex tw-items-center">
-                                                                       <span class="gt-mr-3">{{.Completeness}}%</span>
+                                                                       <span class="tw-mr-2">{{.Completeness}}%</span>
                                                                        <progress value="{{.Completeness}}" max="100"></progress>
                                                                </div>
                                                        </div>
index f0fe6ac6f497fad8c19831ed95cea82eb0220948..44edd6e107168101a52a1c27371e641e02182316 100644 (file)
@@ -1,7 +1,7 @@
 <div role="main" aria-label="{{.Title}}" class="page-content user notification" id="notification_div" data-sequence-number="{{.SequenceNumber}}">
        <div class="ui container">
                {{$notificationUnreadCount := call .NotificationUnreadCount}}
-               <div class="tw-flex tw-items-center tw-justify-between gt-mb-4">
+               <div class="tw-flex tw-items-center tw-justify-between tw-mb-4">
                        <div class="small-menu-items ui compact tiny menu">
                                <a class="{{if eq .Status 1}}active {{end}}item" href="{{AppSubUrl}}/notifications?q=unread">
                                        {{ctx.Locale.Tr "notification.unread"}}
                                <form action="{{AppSubUrl}}/notifications/purge" method="post">
                                        {{$.CsrfTokenHtml}}
                                        <div class="{{if not $notificationUnreadCount}}gt-hidden{{end}}">
-                                               <button class="ui mini button primary gt-mr-0" title="{{ctx.Locale.Tr "notification.mark_all_as_read"}}">
+                                               <button class="ui mini button primary tw-mr-0" title="{{ctx.Locale.Tr "notification.mark_all_as_read"}}">
                                                        {{svg "octicon-checklist"}}
                                                </button>
                                        </div>
                                </form>
                        {{end}}
                </div>
-               <div class="gt-p-0">
+               <div class="tw-p-0">
                        <div id="notification_table">
                                {{if not .Notifications}}
-                                       <div class="tw-flex tw-items-center tw-flex-col gt-p-4">
-                                               {{svg "octicon-inbox" 56 "gt-mb-4"}}
+                                       <div class="tw-flex tw-items-center tw-flex-col tw-p-4">
+                                               {{svg "octicon-inbox" 56 "tw-mb-4"}}
                                                {{if eq .Status 1}}
                                                        {{ctx.Locale.Tr "notification.no_unread"}}
                                                {{else}}
@@ -35,8 +35,8 @@
                                        </div>
                                {{else}}
                                        {{range $notification := .Notifications}}
-                                               <div class="notifications-item tw-flex tw-items-center tw-flex-wrap tw-gap-2 gt-p-3" id="notification_{{.ID}}" data-status="{{.Status}}">
-                                                       <div class="notifications-icon gt-ml-3 gt-mr-2 tw-self-start gt-mt-2">
+                                               <div class="notifications-item tw-flex tw-items-center tw-flex-wrap tw-gap-2 tw-p-2" id="notification_{{.ID}}" data-status="{{.Status}}">
+                                                       <div class="notifications-icon tw-ml-2 tw-mr-1 tw-self-start tw-mt-1">
                                                                {{if .Issue}}
                                                                        {{template "shared/issueicon" .Issue}}
                                                                {{else}}
                                                                <div class="notifications-top-row tw-text-13">
                                                                        {{.Repository.FullName}} {{if .Issue}}<span class="text light-3">#{{.Issue.Index}}</span>{{end}}
                                                                        {{if eq .Status 3}}
-                                                                               {{svg "octicon-pin" 13 "text blue gt-mt-1 gt-ml-2"}}
+                                                                               {{svg "octicon-pin" 13 "text blue tw-mt-0.5 tw-ml-1"}}
                                                                        {{end}}
                                                                </div>
-                                                               <div class="notifications-bottom-row tw-text-16 gt-py-1">
+                                                               <div class="notifications-bottom-row tw-text-16 tw-py-0.5">
                                                                        <span class="issue-title">
                                                                                {{if .Issue}}
                                                                                        {{.Issue.Title | RenderEmoji $.Context | RenderCodeBlock}}
                                                                        </span>
                                                                </div>
                                                        </a>
-                                                       <div class="notifications-updated tw-items-center gt-mr-3">
+                                                       <div class="notifications-updated tw-items-center tw-mr-2">
                                                                {{if .Issue}}
                                                                        {{TimeSinceUnix .Issue.UpdatedUnix ctx.Locale}}
                                                                {{else}}
                                                                        {{TimeSinceUnix .UpdatedUnix ctx.Locale}}
                                                                {{end}}
                                                        </div>
-                                                       <div class="notifications-buttons tw-items-center tw-justify-end tw-gap-1 gt-px-2">
+                                                       <div class="notifications-buttons tw-items-center tw-justify-end tw-gap-1 tw-px-1">
                                                                {{if ne .Status 3}}
                                                                        <form action="{{AppSubUrl}}/notifications/status" method="post">
                                                                                {{$.CsrfTokenHtml}}
                                                                                <input type="hidden" name="notification_id" value="{{.ID}}">
                                                                                <input type="hidden" name="status" value="pinned">
-                                                                               <button class="btn interact-bg gt-p-3" title="{{ctx.Locale.Tr "notification.pin"}}"
+                                                                               <button class="btn interact-bg tw-p-2" title="{{ctx.Locale.Tr "notification.pin"}}"
                                                                                        data-url="{{AppSubUrl}}/notifications/status"
                                                                                        data-status="pinned"
                                                                                        data-page="{{$.Page.Paginater.Current}}"
@@ -89,7 +89,7 @@
                                                                                <input type="hidden" name="notification_id" value="{{.ID}}">
                                                                                <input type="hidden" name="status" value="read">
                                                                                <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}">
-                                                                               <button class="btn interact-bg gt-p-3" title="{{ctx.Locale.Tr "notification.mark_as_read"}}"
+                                                                               <button class="btn interact-bg tw-p-2" title="{{ctx.Locale.Tr "notification.mark_as_read"}}"
                                                                                        data-url="{{AppSubUrl}}/notifications/status"
                                                                                        data-status="read"
                                                                                        data-page="{{$.Page.Paginater.Current}}"
                                                                                <input type="hidden" name="notification_id" value="{{.ID}}">
                                                                                <input type="hidden" name="status" value="unread">
                                                                                <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}">
-                                                                               <button class="btn interact-bg gt-p-3" title="{{ctx.Locale.Tr "notification.mark_as_unread"}}"
+                                                                               <button class="btn interact-bg tw-p-2" title="{{ctx.Locale.Tr "notification.mark_as_unread"}}"
                                                                                        data-url="{{AppSubUrl}}/notifications/status"
                                                                                        data-status="unread"
                                                                                        data-page="{{$.Page.Paginater.Current}}"
index eb71621d92cf276df87f7903fe855fdc51221802..a5a965ca5251f95a56d4202855800abd26570d00 100644 (file)
                                                                {{ctx.Locale.Tr "all"}}
                                                        </a>
                                                        <a class="{{if eq .State "open"}}active {{end}}item" href="?sort={{$.SortType}}&state=open&issueType={{$.IssueType}}&labels={{$.Labels}}">
-                                                               {{svg "octicon-issue-opened" 16 "gt-mr-3"}}
+                                                               {{svg "octicon-issue-opened" 16 "tw-mr-2"}}
                                                                {{ctx.Locale.Tr "repo.issues.open_title"}}
                                                        </a>
                                                        <a class="{{if eq .State "closed"}}active {{end}}item" href="?sort={{$.SortType}}&state=closed&issueType={{$.IssueType}}&labels={{$.Labels}}">
-                                                               {{svg "octicon-issue-closed" 16 "gt-mr-3"}}
+                                                               {{svg "octicon-issue-closed" 16 "tw-mr-2"}}
                                                                {{ctx.Locale.Tr "repo.issues.closed_title"}}
                                                        </a>
                                                </div>
index f6f963aecb11147f76aea86ac3ddb63354591010..b2cc814e13f8f63366575286a05890c86cabd9fc 100644 (file)
@@ -14,7 +14,7 @@
                                        {{template "shared/user/profile_big_avatar" .}}
                                </div>
                                <div class="ui twelve wide column">
-                                       <div class="gt-mb-4">
+                                       <div class="tw-mb-4">
                                                {{template "user/overview/header" .}}
                                        </div>
                                        {{template "package/shared/versionlist" .}}
index 30ff871cb2262ca0f41ad00584b7a6deaa9aa91b..95cb506e578f0964439db02ef95188069bddd66d 100644 (file)
@@ -14,7 +14,7 @@
                                        {{template "shared/user/profile_big_avatar" .}}
                                </div>
                                <div class="ui twelve wide column">
-                                       <div class="gt-mb-4">
+                                       <div class="tw-mb-4">
                                                {{template "user/overview/header" .}}
                                        </div>
                                        {{template "package/shared/list" .}}
index 1495d58dd3fe77b882fe4c24478a67cacea065f9..e68f79fae686ca45bd2329c64b8354adab1f8ee6 100644 (file)
@@ -6,7 +6,7 @@
                                {{template "shared/user/profile_big_avatar" .}}
                        </div>
                        <div class="ui twelve wide column">
-                               <div class="gt-mb-4">
+                               <div class="tw-mb-4">
                                        {{template "user/overview/header" .}}
                                </div>
 
index 664596398468849998f74f234b1829ef3b3e309c..040f46e48b24b52280c854d41117bddcbf6b4f07 100644 (file)
@@ -42,7 +42,7 @@
                        <div class="ui list">
                                {{if $.EnableNotifyMail}}
                                <div class="item">
-                                       <div class="gt-mb-3">{{ctx.Locale.Tr "settings.email_desc"}}</div>
+                                       <div class="tw-mb-2">{{ctx.Locale.Tr "settings.email_desc"}}</div>
                                        <form action="{{AppSubUrl}}/user/settings/account/email" class="ui form" method="post">
                                                {{$.CsrfTokenHtml}}
                                                <input name="_method" type="hidden" value="NOTIFICATION">
@@ -96,7 +96,7 @@
                                                                </form>
                                                        </div>
                                                {{end}}
-                                               <div class="content gt-py-3">
+                                               <div class="content tw-py-2">
                                                        <strong>{{.Email}}</strong>
                                                        {{if .IsPrimary}}
                                                                <div class="ui primary label">{{ctx.Locale.Tr "settings.primary"}}</div>
index e43cf2ebbe5669ed33e63255b4384d3ff951e3cc..57f4c361613e364f563c3445b4897a1481f6d5e9 100644 (file)
@@ -18,7 +18,7 @@
                                                <div class="flex-item-main">
                                                        <details>
                                                                <summary><span class="flex-item-title">{{.Name}}</span></summary>
-                                                               <p class="gt-my-2">
+                                                               <p class="tw-my-1">
                                                                        {{ctx.Locale.Tr "settings.repo_and_org_access"}}:
                                                                        {{if .DisplayPublicOnly}}
                                                                                {{ctx.Locale.Tr "settings.permissions_public_only"}}
@@ -26,8 +26,8 @@
                                                                                {{ctx.Locale.Tr "settings.permissions_access_all"}}
                                                                        {{end}}
                                                                </p>
-                                                               <p class="gt-my-2">{{ctx.Locale.Tr "settings.permissions_list"}}</p>
-                                                               <ul class="gt-my-2">
+                                                               <p class="tw-my-1">{{ctx.Locale.Tr "settings.permissions_list"}}</p>
+                                                               <ul class="tw-my-1">
                                                                {{range .Scope.StringSlice}}
                                                                        {{if (ne . $.AccessTokenScopePublicOnly)}}
                                                                                <li>{{.}}</li>
@@ -41,7 +41,7 @@
                                                </div>
                                                <div class="flex-item-trailing">
                                                                <button class="ui red tiny button delete-button" data-modal-id="delete-token" data-url="{{$.Link}}/delete" data-id="{{.ID}}">
-                                                                       {{svg "octicon-trash" 16 "gt-mr-2"}}
+                                                                       {{svg "octicon-trash" 16 "tw-mr-1"}}
                                                                        {{ctx.Locale.Tr "settings.delete_token"}}
                                                                </button>
                                                </div>
                                <div class="field">
                                        <label>{{ctx.Locale.Tr "settings.repo_and_org_access"}}</label>
                                        <label class="tw-cursor-pointer">
-                                               <input class="enable-system gt-mt-2 gt-mr-2" type="radio" name="scope" value="{{$.AccessTokenScopePublicOnly}}">
+                                               <input class="enable-system tw-mt-1 tw-mr-1" type="radio" name="scope" value="{{$.AccessTokenScopePublicOnly}}">
                                                {{ctx.Locale.Tr "settings.permissions_public_only"}}
                                        </label>
                                        <label class="tw-cursor-pointer">
-                                               <input class="enable-system gt-mt-2 gt-mr-2" type="radio" name="scope" value="" checked>
+                                               <input class="enable-system tw-mt-1 tw-mr-1" type="radio" name="scope" value="" checked>
                                                {{ctx.Locale.Tr "settings.permissions_access_all"}}
                                        </label>
                                </div>
                                <details class="ui optional field">
-                                       <summary class="gt-pb-4 gt-pl-2">
+                                       <summary class="tw-pb-4 tw-pl-1">
                                                {{ctx.Locale.Tr "settings.select_permissions"}}
                                        </summary>
                                        <p class="activity meta">
index c0bddd55b3d981dd7c1d1fd72f74488bed3174dd..f7ef115693a06533315e192293acfac5a0ba8c14 100644 (file)
@@ -26,7 +26,7 @@
                <form class="ui form ignore-dirty" action="{{.FormActionPath}}/regenerate_secret" method="post">
                        {{.CsrfTokenHtml}}
                        {{ctx.Locale.Tr "settings.oauth2_regenerate_secret_hint"}}
-                       <button class="ui mini button gt-ml-3" type="submit">{{ctx.Locale.Tr "settings.oauth2_regenerate_secret"}}</button>
+                       <button class="ui mini button tw-ml-2" type="submit">{{ctx.Locale.Tr "settings.oauth2_regenerate_secret"}}</button>
                </form>
        </div>
 </div>
index bfbebb104ddd5e5d549fe8d89261a617bf57f7b4..cfcb6d053d91abb56ae704e2656bda7f3a6bb815 100644 (file)
                                                <span class="ui basic label" data-tooltip-content="{{ctx.Locale.Tr "settings.oauth2_application_locked"}}">{{ctx.Locale.Tr "locked"}}</span>
                                        {{else}}
                                                <a href="{{$.Link}}/oauth2/{{.ID}}" class="ui primary tiny button">
-                                                       {{svg "octicon-pencil" 16 "gt-mr-2"}}
+                                                       {{svg "octicon-pencil" 16 "tw-mr-1"}}
                                                        {{ctx.Locale.Tr "settings.oauth2_application_edit"}}
                                                </a>
                                                <button class="ui red tiny button delete-button" data-modal-id="remove-gitea-oauth2-application"
                                                                data-url="{{$.Link}}/oauth2/{{.ID}}/delete">
-                                                       {{svg "octicon-trash" 16 "gt-mr-2"}}
+                                                       {{svg "octicon-trash" 16 "tw-mr-1"}}
                                                        {{ctx.Locale.Tr "settings.delete_key"}}
                                                </button>
                                        {{end}}
index 92fea1306fdcd316a93f4e5b3a326ae1d104102a..b5ae3e03371b193eba1f3383d136280b08150fca 100644 (file)
@@ -29,7 +29,7 @@
 
        <div class="ui g-modal-confirm delete modal" id="revoke-gitea-oauth2-grant">
                <div class="header">
-                       {{svg "octicon-shield" 16 "gt-mr-2"}}
+                       {{svg "octicon-shield" 16 "tw-mr-1"}}
                        {{ctx.Locale.Tr "settings.revoke_oauth2_grant"}}
                </div>
                <div class="content">
index 2f90d0bdad8c4001e91818524ca5a834fea8f49a..8ee8ff0ee0157a71c115bacfadfd8400eb608aba 100644 (file)
@@ -5,7 +5,7 @@
        </div>
 </h4>
 <div class="ui attached segment">
-       <div class="{{if not .HasGPGError}}gt-hidden{{end}} gt-mb-4" id="add-gpg-key-panel">
+       <div class="{{if not .HasGPGError}}gt-hidden{{end}} tw-mb-4" id="add-gpg-key-panel">
                <form class="ui form{{if .HasGPGError}} error{{end}}" action="{{.Link}}" method="post">
                        {{.CsrfTokenHtml}}
                        <input type="hidden" name="title" value="none">
index 5577cd0ffd1cccfa20fb6705cdeb82ea2d560a67..f075a519832f145387aec4e03157256092c85b98 100644 (file)
@@ -7,7 +7,7 @@
        </div>
 </h4>
 <div class="ui attached segment">
-       <div class="{{if not .HasSSHError}}gt-hidden{{end}} gt-mb-4" id="add-ssh-key-panel">
+       <div class="{{if not .HasSSHError}}gt-hidden{{end}} tw-mb-4" id="add-ssh-key-panel">
                <form class="ui form" action="{{.Link}}" method="post">
                        {{.CsrfTokenHtml}}
                        <div class="field {{if .Err_Title}}error{{end}}">
index d1c68656b6d8fe878ec8b1e18326224d7d566dcf..1beb8a3dfdd471e4281084043b148fde89cd25bc 100644 (file)
                                                <label>{{ctx.Locale.Tr "settings.lookup_avatar_by_mail"}}</label>
                                        </div>
                                </div>
-                               <div class="field gt-pl-4 {{if .Err_Gravatar}}error{{end}}">
+                               <div class="field tw-pl-4 {{if .Err_Gravatar}}error{{end}}">
                                        <label for="gravatar">Avatar {{ctx.Locale.Tr "email"}}</label>
                                        <input id="gravatar" name="gravatar" value="{{.SignedUser.AvatarEmail}}">
                                </div>
                                        </div>
                                </div>
 
-                               <div class="inline field gt-pl-4">
+                               <div class="inline field tw-pl-4">
                                        <label for="new-avatar">{{ctx.Locale.Tr "settings.choose_new_avatar"}}</label>
                                        <input id="new-avatar" name="avatar" type="file" accept="image/png,image/jpeg,image/gif,image/webp">
                                </div>
index 41cdae2968a5daab9844104c7e60cc93de9b7131..c874ccd8789c998eaab39449c323d506d5f8d173 100644 (file)
@@ -9,7 +9,7 @@
                                        <div class="ui middle aligned divided list">
                                                {{range $dirI, $dir := .Dirs}}
                                                        {{$repo := index $.ReposMap $dir}}
-                                                       <div class="item {{if not $repo}}gt-py-2{{end}}">{{/* if not repo, then there are "adapt" buttons, so the padding shouldn't be that default large*/}}
+                                                       <div class="item {{if not $repo}}tw-py-1{{end}}">{{/* if not repo, then there are "adapt" buttons, so the padding shouldn't be that default large*/}}
                                                                <div class="content">
                                                                        {{if $repo}}
                                                                                {{if $repo.IsPrivate}}
                                                                                        <span><a href="{{$repo.BaseRepo.Link}}">{{$repo.BaseRepo.OwnerName}}/{{$repo.BaseRepo.Name}}</a></span>
                                                                                {{end}}
                                                                        {{else}}
-                                                                               <span class="icon tw-inline-block gt-pt-3">{{svg "octicon-file-directory-fill"}}</span>
-                                                                               <span class="name tw-inline-block gt-pt-3">{{$.ContextUser.Name}}/{{$dir}}</span>
+                                                                               <span class="icon tw-inline-block tw-pt-2">{{svg "octicon-file-directory-fill"}}</span>
+                                                                               <span class="name tw-inline-block tw-pt-2">{{$.ContextUser.Name}}/{{$dir}}</span>
                                                                                <div class="tw-float-right">
                                                                                        {{if $.allowAdopt}}
-                                                                                               <button class="ui button primary show-modal gt-p-3" data-modal="#adopt-unadopted-modal-{{$dirI}}"><span class="icon">{{svg "octicon-plus"}}</span><span class="label">{{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</span></button>
+                                                                                               <button class="ui button primary show-modal tw-p-2" data-modal="#adopt-unadopted-modal-{{$dirI}}"><span class="icon">{{svg "octicon-plus"}}</span><span class="label">{{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</span></button>
                                                                                                <div class="ui g-modal-confirm modal" id="adopt-unadopted-modal-{{$dirI}}">
                                                                                                        <div class="header">
                                                                                                                <span class="label">{{ctx.Locale.Tr "repo.adopt_preexisting"}}</span>
@@ -51,7 +51,7 @@
                                                                                                </div>
                                                                                        {{end}}
                                                                                        {{if $.allowDelete}}
-                                                                                               <button class="ui button red show-modal gt-p-3" data-modal="#delete-unadopted-modal-{{$dirI}}"><span class="icon">{{svg "octicon-x"}}</span><span class="label">{{ctx.Locale.Tr "repo.delete_preexisting_label"}}</span></button>
+                                                                                               <button class="ui button red show-modal tw-p-2" data-modal="#delete-unadopted-modal-{{$dirI}}"><span class="icon">{{svg "octicon-x"}}</span><span class="label">{{ctx.Locale.Tr "repo.delete_preexisting_label"}}</span></button>
                                                                                                <div class="ui g-modal-confirm modal" id="delete-unadopted-modal-{{$dirI}}">
                                                                                                        <div class="header">
                                                                                                                <span class="label">{{ctx.Locale.Tr "repo.delete_preexisting"}}</span>
                                                        <div class="item">
                                                                <div class="content">
                                                                        {{if .IsPrivate}}
-                                                                               {{svg "octicon-lock" 16 "gt-mr-2 iconFloat text gold"}}
+                                                                               {{svg "octicon-lock" 16 "tw-mr-1 iconFloat text gold"}}
                                                                        {{else if .IsFork}}
-                                                                               {{svg "octicon-repo-forked" 16 "gt-mr-2 iconFloat"}}
+                                                                               {{svg "octicon-repo-forked" 16 "tw-mr-1 iconFloat"}}
                                                                        {{else if .IsMirror}}
-                                                                               {{svg "octicon-mirror" 16 "gt-mr-2 iconFloat"}}
+                                                                               {{svg "octicon-mirror" 16 "tw-mr-1 iconFloat"}}
                                                                        {{else if .IsTemplate}}
-                                                                               {{svg "octicon-repo-template" 16 "gt-mr-2 iconFloat"}}
+                                                                               {{svg "octicon-repo-template" 16 "tw-mr-1 iconFloat"}}
                                                                        {{else}}
-                                                                               {{svg "octicon-repo" 16 "gt-mr-2 iconFloat"}}
+                                                                               {{svg "octicon-repo" 16 "tw-mr-1 iconFloat"}}
                                                                        {{end}}
                                                                        <a class="name" href="{{.Link}}">{{.OwnerName}}/{{.Name}}</a>
                                                                        <span>{{FileSize .Size}}</span>
index c9c051faf4391bd499cb69773c5eb1b0c685b13b..b29e897215842da090c6af3f2035a22621830cd7 100644 (file)
@@ -44,104 +44,6 @@ Gitea's private styles use `g-` prefix.
 .interact-bg:hover { background: var(--color-hover) !important; }
 .interact-bg:active { background: var(--color-active) !important; }
 
-.gt-m-0 { margin: 0 !important; }
-.gt-m-1 { margin: .125rem !important; }
-.gt-m-2 { margin: .25rem !important; }
-.gt-m-3 { margin: .5rem !important; }
-.gt-m-4 { margin: 1rem !important; }
-.gt-m-5 { margin: 2rem !important; }
-
-.gt-ml-0 { margin-left: 0 !important; }
-.gt-ml-1 { margin-left: .125rem !important; }
-.gt-ml-2 { margin-left: .25rem !important; }
-.gt-ml-3 { margin-left: .5rem !important; }
-.gt-ml-4 { margin-left: 1rem !important; }
-.gt-ml-5 { margin-left: 2rem !important; }
-
-.gt-mr-0 { margin-right: 0 !important; }
-.gt-mr-1 { margin-right: .125rem !important; }
-.gt-mr-2 { margin-right: .25rem !important; }
-.gt-mr-3 { margin-right: .5rem !important; }
-.gt-mr-4 { margin-right: 1rem !important; }
-.gt-mr-5 { margin-right: 2rem !important; }
-
-.gt-mt-0 { margin-top: 0 !important; }
-.gt-mt-1 { margin-top: .125rem !important; }
-.gt-mt-2 { margin-top: .25rem !important; }
-.gt-mt-3 { margin-top: .5rem !important; }
-.gt-mt-4 { margin-top: 1rem !important; }
-.gt-mt-5 { margin-top: 2rem !important; }
-
-.gt-mb-0 { margin-bottom: 0 !important; }
-.gt-mb-1 { margin-bottom: .125rem !important; }
-.gt-mb-2 { margin-bottom: .25rem !important; }
-.gt-mb-3 { margin-bottom: .5rem !important; }
-.gt-mb-4 { margin-bottom: 1rem !important; }
-.gt-mb-5 { margin-bottom: 2rem !important; }
-
-.gt-mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
-.gt-mx-1 { margin-left: .125rem !important; margin-right: .125rem !important; }
-.gt-mx-2 { margin-left: .25rem !important; margin-right: .25rem !important; }
-.gt-mx-3 { margin-left: .5rem !important; margin-right: .5rem !important; }
-.gt-mx-4 { margin-left: 1rem !important; margin-right: 1rem !important; }
-.gt-mx-5 { margin-left: 2rem !important; margin-right: 2rem !important; }
-
-.gt-my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
-.gt-my-1 { margin-top: .125rem !important; margin-bottom: .125rem !important; }
-.gt-my-2 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
-.gt-my-3 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
-.gt-my-4 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
-.gt-my-5 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
-
-.gt-p-0 { padding: 0 !important; }
-.gt-p-1 { padding: .125rem !important; }
-.gt-p-2 { padding: .25rem !important; }
-.gt-p-3 { padding: .5rem !important; }
-.gt-p-4 { padding: 1rem !important; }
-.gt-p-5 { padding: 2rem !important; }
-
-.gt-pl-0 { padding-left: 0 !important; }
-.gt-pl-1 { padding-left: .125rem !important; }
-.gt-pl-2 { padding-left: .25rem !important; }
-.gt-pl-3 { padding-left: .5rem !important; }
-.gt-pl-4 { padding-left: 1rem !important; }
-.gt-pl-5 { padding-left: 2rem !important; }
-
-.gt-pr-0 { padding-right: 0 !important; }
-.gt-pr-1 { padding-right: .125rem !important; }
-.gt-pr-2 { padding-right: .25rem !important; }
-.gt-pr-3 { padding-right: .5rem !important; }
-.gt-pr-4 { padding-right: 1rem !important; }
-.gt-pr-5 { padding-right: 2rem !important; }
-
-.gt-pt-0 { padding-top: 0 !important; }
-.gt-pt-1 { padding-top: .125rem !important; }
-.gt-pt-2 { padding-top: .25rem !important; }
-.gt-pt-3 { padding-top: .5rem !important; }
-.gt-pt-4 { padding-top: 1rem !important; }
-.gt-pt-5 { padding-top: 2rem !important; }
-
-.gt-pb-0 { padding-bottom: 0 !important; }
-.gt-pb-1 { padding-bottom: .125rem !important; }
-.gt-pb-2 { padding-bottom: .25rem !important; }
-.gt-pb-3 { padding-bottom: .5rem !important; }
-.gt-pb-4 { padding-bottom: 1rem !important; }
-.gt-pb-5 { padding-bottom: 2rem !important; }
-
-.gt-px-0 { padding-left: 0 !important; padding-right: 0 !important; }
-.gt-px-1 { padding-left: .125rem !important; padding-right: .125rem !important; }
-.gt-px-2 { padding-left: .25rem !important; padding-right: .25rem !important; }
-.gt-px-3 { padding-left: .5rem !important; padding-right: .5rem !important; }
-.gt-px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
-.gt-px-5 { padding-left: 2rem !important; padding-right: 2rem !important; }
-
-.gt-py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
-.gt-py-1 { padding-top: .125rem !important; padding-bottom: .125rem !important; }
-.gt-py-2 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
-.gt-py-3 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
-.gt-py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
-.gt-py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
-
 /*
 gt-hidden must win all other "display: xxx !important" classes to get the chance to "hide" an element.
 do not use:
index 0f8b43b395d4e57af6fe00b3b1d864300ee21625..ffdcef2bc852a5878cfb6ed23ee588253ab19bf5 100644 (file)
@@ -348,7 +348,7 @@ export default sfc; // activate the IDE's Vue plugin
       <h4 class="ui top attached header tw-flex tw-items-center">
         <div class="tw-flex-1 tw-flex tw-items-center">
           {{ textMyRepos }}
-          <span class="ui grey label gt-ml-3">{{ reposTotalCount }}</span>
+          <span class="ui grey label tw-ml-2">{{ reposTotalCount }}</span>
         </div>
         <a class="tw-flex tw-items-center muted" :href="subUrl + '/repo/create' + (isOrganization ? '?org=' + organizationId : '')" :data-tooltip-content="textNewRepo">
           <svg-icon name="octicon-plus"/>
@@ -367,7 +367,7 @@ export default sfc; // activate the IDE's Vue plugin
                       otherwise if the "input" handles click event for intermediate status, it breaks the internal state-->
                   <input type="checkbox" class="hidden" v-bind.prop="checkboxArchivedFilterProps">
                   <label>
-                    <svg-icon name="octicon-archive" :size="16" class-name="gt-mr-2"/>
+                    <svg-icon name="octicon-archive" :size="16" class-name="tw-mr-1"/>
                     {{ textShowArchived }}
                   </label>
                 </div>
@@ -376,7 +376,7 @@ export default sfc; // activate the IDE's Vue plugin
                 <div class="ui checkbox" ref="checkboxPrivateFilter" :title="checkboxPrivateFilterTitle">
                   <input type="checkbox" class="hidden" v-bind.prop="checkboxPrivateFilterProps">
                   <label>
-                    <svg-icon name="octicon-lock" :size="16" class-name="gt-mr-2"/>
+                    <svg-icon name="octicon-lock" :size="16" class-name="tw-mr-1"/>
                     {{ textShowPrivate }}
                   </label>
                 </div>
@@ -411,7 +411,7 @@ export default sfc; // activate the IDE's Vue plugin
       </div>
       <div v-if="repos.length" class="ui attached table segment tw-rounded-b">
         <ul class="repo-owner-name-list">
-          <li class="tw-flex tw-items-center gt-py-3" v-for="repo, index in repos" :class="{'active': index === activeIndex}" :key="repo.id">
+          <li class="tw-flex tw-items-center tw-py-2" v-for="repo, index in repos" :class="{'active': index === activeIndex}" :key="repo.id">
             <a class="repo-list-link muted" :href="repo.link">
               <svg-icon :name="repoIcon(repo)" :size="16" class-name="repo-list-icon"/>
               <div class="text truncate">{{ repo.full_name }}</div>
@@ -421,37 +421,37 @@ export default sfc; // activate the IDE's Vue plugin
             </a>
             <a class="tw-flex tw-items-center" v-if="repo.latest_commit_status_state" :href="repo.latest_commit_status_state_link" :data-tooltip-content="repo.locale_latest_commit_status_state">
               <!-- the commit status icon logic is taken from templates/repo/commit_status.tmpl -->
-              <svg-icon :name="statusIcon(repo.latest_commit_status_state)" :class-name="'gt-ml-3 commit-status icon text ' + statusColor(repo.latest_commit_status_state)" :size="16"/>
+              <svg-icon :name="statusIcon(repo.latest_commit_status_state)" :class-name="'tw-ml-2 commit-status icon text ' + statusColor(repo.latest_commit_status_state)" :size="16"/>
             </a>
           </li>
         </ul>
         <div v-if="showMoreReposLink" class="tw-text-center">
-          <div class="divider gt-my-0"/>
-          <div class="ui borderless pagination menu narrow gt-my-3">
+          <div class="divider tw-my-0"/>
+          <div class="ui borderless pagination menu narrow tw-my-2">
             <a
-              class="item navigation gt-py-2" :class="{'disabled': page === 1}"
+              class="item navigation tw-py-1" :class="{'disabled': page === 1}"
               @click="changePage(1)" :title="textFirstPage"
             >
-              <svg-icon name="gitea-double-chevron-left" :size="16" class-name="gt-mr-2"/>
+              <svg-icon name="gitea-double-chevron-left" :size="16" class-name="tw-mr-1"/>
             </a>
             <a
-              class="item navigation gt-py-2" :class="{'disabled': page === 1}"
+              class="item navigation tw-py-1" :class="{'disabled': page === 1}"
               @click="changePage(page - 1)" :title="textPreviousPage"
             >
-              <svg-icon name="octicon-chevron-left" :size="16" clsas-name="gt-mr-2"/>
+              <svg-icon name="octicon-chevron-left" :size="16" clsas-name="tw-mr-1"/>
             </a>
-            <a class="active item gt-py-2">{{ page }}</a>
+            <a class="active item tw-py-1">{{ page }}</a>
             <a
               class="item navigation" :class="{'disabled': page === finalPage}"
               @click="changePage(page + 1)" :title="textNextPage"
             >
-              <svg-icon name="octicon-chevron-right" :size="16" class-name="gt-ml-2"/>
+              <svg-icon name="octicon-chevron-right" :size="16" class-name="tw-ml-1"/>
             </a>
             <a
-              class="item navigation gt-py-2" :class="{'disabled': page === finalPage}"
+              class="item navigation tw-py-1" :class="{'disabled': page === finalPage}"
               @click="changePage(finalPage)" :title="textLastPage"
             >
-              <svg-icon name="gitea-double-chevron-right" :size="16" class-name="gt-ml-2"/>
+              <svg-icon name="gitea-double-chevron-right" :size="16" class-name="tw-ml-1"/>
             </a>
           </div>
         </div>
@@ -461,7 +461,7 @@ export default sfc; // activate the IDE's Vue plugin
       <h4 class="ui top attached header tw-flex tw-items-center">
         <div class="tw-flex-1 tw-flex tw-items-center">
           {{ textMyOrgs }}
-          <span class="ui grey label gt-ml-3">{{ organizationsTotalCount }}</span>
+          <span class="ui grey label tw-ml-2">{{ organizationsTotalCount }}</span>
         </div>
         <a class="tw-flex tw-items-center muted" v-if="canCreateOrganization" :href="subUrl + '/org/create'" :data-tooltip-content="textNewOrg">
           <svg-icon name="octicon-plus"/>
@@ -469,7 +469,7 @@ export default sfc; // activate the IDE's Vue plugin
       </h4>
       <div v-if="organizations.length" class="ui attached table segment tw-rounded-b">
         <ul class="repo-owner-name-list">
-          <li class="tw-flex tw-items-center gt-py-3" v-for="org in organizations" :key="org.name">
+          <li class="tw-flex tw-items-center tw-py-2" v-for="org in organizations" :key="org.name">
             <a class="repo-list-link muted" :href="subUrl + '/' + encodeURIComponent(org.name)">
               <svg-icon name="octicon-organization" :size="16" class-name="repo-list-icon"/>
               <div class="text truncate">{{ org.name }}</div>
@@ -479,9 +479,9 @@ export default sfc; // activate the IDE's Vue plugin
                 </span>
               </div>
             </a>
-            <div class="text light grey tw-flex tw-items-center gt-ml-3">
+            <div class="text light grey tw-flex tw-items-center tw-ml-2">
               {{ org.num_repos }}
-              <svg-icon name="octicon-repo" :size="16" class-name="gt-ml-2 gt-mt-1"/>
+              <svg-icon name="octicon-repo" :size="16" class-name="tw-ml-1 tw-mt-0.5"/>
             </div>
           </li>
         </ul>
index 35245f2190580136c949835a35454bc183dd7217..d58337e09371e0da3078d408d73053371f3835dc 100644 (file)
@@ -208,7 +208,7 @@ export default {
         <div class="gt-ellipsis">
           {{ locale.show_all_commits }}
         </div>
-        <div class="gt-ellipsis text light-2 gt-mb-0">
+        <div class="gt-ellipsis text light-2 tw-mb-0">
           {{ locale.stats_num_commits }}
         </div>
       </div>
index 66fe49c50bd2b7a1c6fa1141f9f8f6de50a6a1e7..bc6f1bee7d3864a8b64a437083f383d2128631a5 100644 (file)
@@ -36,12 +36,12 @@ export default {
 };
 </script>
 <template>
-  <ol class="diff-stats gt-m-0" ref="root" v-if="store.fileListIsVisible">
+  <ol class="diff-stats tw-m-0" ref="root" v-if="store.fileListIsVisible">
     <li v-for="file in store.files" :key="file.NameHash">
       <div class="tw-font-semibold tw-flex tw-items-center pull-right">
-        <span v-if="file.IsBin" class="gt-ml-1 gt-mr-3">{{ store.binaryFileMessage }}</span>
+        <span v-if="file.IsBin" class="tw-ml-0.5 tw-mr-2">{{ store.binaryFileMessage }}</span>
         {{ file.IsBin ? '' : file.Addition + file.Deletion }}
-        <span v-if="!file.IsBin" class="diff-stats-bar gt-mx-3" :data-tooltip-content="store.statisticsMessage.replace('%d', (file.Addition + file.Deletion)).replace('%d', file.Addition).replace('%d', file.Deletion)">
+        <span v-if="!file.IsBin" class="diff-stats-bar tw-mx-2" :data-tooltip-content="store.statisticsMessage.replace('%d', (file.Addition + file.Deletion)).replace('%d', file.Addition).replace('%d', file.Deletion)">
           <div class="diff-stats-add-bar" :style="{ 'width': diffStatsWidth(file.Addition, file.Deletion) }"/>
         </span>
       </div>
@@ -49,7 +49,7 @@ export default {
       <span :class="['status', diffTypeToString(file.Type)]" :data-tooltip-content="diffTypeToString(file.Type)">&nbsp;</span>
       <a class="file gt-mono" :href="'#diff-' + file.NameHash">{{ file.Name }}</a>
     </li>
-    <li v-if="store.isIncomplete" class="gt-pt-2">
+    <li v-if="store.isIncomplete" class="tw-pt-1">
       <span class="file tw-flex tw-items-center tw-justify-between">{{ store.tooManyFilesMessage }}
         <a :class="['ui', 'basic', 'tiny', 'button', store.isLoadingNewData ? 'disabled' : '']" @click.stop="loadMoreData">{{ store.showMoreMessage }}</a>
       </span>
index 83d57b00d1ba0f7113fa404f7c1251ff1a457bed..cddfee1e04d05e528bf9bbaf4f1c6adfb42c037d 100644 (file)
@@ -129,7 +129,7 @@ export default {
   <div v-if="store.fileTreeIsVisible" class="diff-file-tree-items">
     <!-- only render the tree if we're visible. in many cases this is something that doesn't change very often -->
     <DiffFileTreeItem v-for="item in fileTree" :key="item.name" :item="item"/>
-    <div v-if="store.isIncomplete" class="gt-pt-2">
+    <div v-if="store.isIncomplete" class="tw-pt-1">
       <a :class="['ui', 'basic', 'tiny', 'button', store.isLoadingNewData ? 'disabled' : '']" @click.stop="loadMoreData">{{ store.showMoreMessage }}</a>
     </div>
   </div>
index 35acbdf74f02f05b74e72210b54a04aaf692efac..bd0901a7b5953ba6d1fe4c90f12efbb3b40c9d5c 100644 (file)
@@ -108,7 +108,7 @@ export default {
         <div class="field">
           <textarea name="merge_message_field" rows="5" :placeholder="mergeForm.mergeMessageFieldPlaceHolder" v-model="mergeMessageFieldValue"/>
           <template v-if="mergeMessageFieldValue !== mergeForm.defaultMergeMessage">
-            <button @click.prevent="clearMergeMessage" class="btn gt-mt-2 gt-p-2 interact-fg" :data-tooltip-content="mergeForm.textClearMergeMessageHint">
+            <button @click.prevent="clearMergeMessage" class="btn tw-mt-1 tw-p-1 interact-fg" :data-tooltip-content="mergeForm.textClearMergeMessageHint">
               {{ mergeForm.textClearMergeMessage }}
             </button>
           </template>
@@ -130,7 +130,7 @@ export default {
         {{ mergeForm.textCancel }}
       </button>
 
-      <div class="ui checkbox gt-ml-2" v-if="mergeForm.isPullBranchDeletable && !autoMergeWhenSucceed">
+      <div class="ui checkbox tw-ml-1" v-if="mergeForm.isPullBranchDeletable && !autoMergeWhenSucceed">
         <input name="delete_branch_after_merge" type="checkbox" v-model="deleteBranchAfterMerge" id="delete-branch-after-merge">
         <label for="delete-branch-after-merge">{{ mergeForm.textDeleteBranch }}</label>
       </div>
@@ -177,7 +177,7 @@ export default {
       </div>
 
       <!-- the cancel auto merge button -->
-      <form v-if="mergeForm.hasPendingPullRequestMerge" :action="mergeForm.baseLink+'/cancel_auto_merge'" method="post" class="gt-ml-4">
+      <form v-if="mergeForm.hasPendingPullRequestMerge" :action="mergeForm.baseLink+'/cancel_auto_merge'" method="post" class="tw-ml-4">
         <input type="hidden" name="_csrf" :value="csrfToken">
         <button class="ui button">
           {{ mergeForm.textAutoMergeCancelSchedule }}
index 83933ef24dd0167bb6b31c6914cae5aac8ca0d69..26dffcda9e2839005f5a130f8a1b00be32be965c 100644 (file)
@@ -377,7 +377,7 @@ export function initRepositoryActionView() {
         <button class="ui basic small compact button red" @click="cancelRun()" v-else-if="run.canCancel">
           {{ locale.cancel }}
         </button>
-        <button class="ui basic small compact button gt-mr-0 link-action" :data-url="`${run.link}/rerun`" v-else-if="run.canRerun">
+        <button class="ui basic small compact button tw-mr-0 link-action" :data-url="`${run.link}/rerun`" v-else-if="run.canRerun">
           {{ locale.rerun_all }}
         </button>
       </div>
@@ -398,10 +398,10 @@ export function initRepositoryActionView() {
             <a class="job-brief-item" :href="run.link+'/jobs/'+index" :class="parseInt(jobIndex) === index ? 'selected' : ''" v-for="(job, index) in run.jobs" :key="job.id" @mouseenter="onHoverRerunIndex = job.id" @mouseleave="onHoverRerunIndex = -1">
               <div class="job-brief-item-left">
                 <ActionRunStatus :locale-status="locale.status[job.status]" :status="job.status"/>
-                <span class="job-brief-name gt-mx-3 gt-ellipsis">{{ job.name }}</span>
+                <span class="job-brief-name tw-mx-2 gt-ellipsis">{{ job.name }}</span>
               </div>
               <span class="job-brief-item-right">
-                <SvgIcon name="octicon-sync" role="button" :data-tooltip-content="locale.rerun" class="job-brief-rerun gt-mx-3 link-action" :data-url="`${run.link}/jobs/${index}/rerun`" v-if="job.canRerun && onHoverRerunIndex === job.id"/>
+                <SvgIcon name="octicon-sync" role="button" :data-tooltip-content="locale.rerun" class="job-brief-rerun tw-mx-2 link-action" :data-url="`${run.link}/jobs/${index}/rerun`" v-if="job.canRerun && onHoverRerunIndex === job.id"/>
                 <span class="step-summary-duration">{{ job.duration }}</span>
               </span>
             </a>
@@ -436,7 +436,7 @@ export function initRepositoryActionView() {
           </div>
           <div class="job-info-header-right">
             <div class="ui top right pointing dropdown custom jump item" @click.stop="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible">
-              <button class="btn gt-interact-bg gt-p-3">
+              <button class="btn gt-interact-bg tw-p-2">
                 <SvgIcon name="octicon-gear" :size="18"/>
               </button>
               <div class="menu transition action-job-menu" :class="{visible: menuVisible}" v-if="menuVisible" v-cloak>
@@ -467,9 +467,9 @@ export function initRepositoryActionView() {
               <!-- If the job is done and the job step log is loaded for the first time, show the loading icon
                 currentJobStepsStates[i].cursor === null means the log is loaded for the first time
               -->
-              <SvgIcon v-if="isDone(run.status) && currentJobStepsStates[i].expanded && currentJobStepsStates[i].cursor === null" name="octicon-sync" class="gt-mr-3 job-status-rotate"/>
-              <SvgIcon v-else :name="currentJobStepsStates[i].expanded ? 'octicon-chevron-down': 'octicon-chevron-right'" :class="['gt-mr-3', !isExpandable(jobStep.status) && 'tw-invisible']"/>
-              <ActionRunStatus :status="jobStep.status" class="gt-mr-3"/>
+              <SvgIcon v-if="isDone(run.status) && currentJobStepsStates[i].expanded && currentJobStepsStates[i].cursor === null" name="octicon-sync" class="tw-mr-2 job-status-rotate"/>
+              <SvgIcon v-else :name="currentJobStepsStates[i].expanded ? 'octicon-chevron-down': 'octicon-chevron-right'" :class="['tw-mr-2', !isExpandable(jobStep.status) && 'tw-invisible']"/>
+              <ActionRunStatus :status="jobStep.status" class="tw-mr-2"/>
 
               <span class="step-summary-msg gt-ellipsis">{{ jobStep.summary }}</span>
               <span class="step-summary-duration">{{ jobStep.duration }}</span>
index 34e88596090ae9dfba42a942ec30cbc103613ceb..d297503b2eb8e854643e8d168ac270ed420060dc 100644 (file)
@@ -245,13 +245,13 @@ export default sfc; // activate IDE's Vue plugin
 </script>
 <template>
   <div class="ui dropdown custom">
-    <button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex gt-m-0" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible">
-      <span class="text tw-flex tw-items-center gt-mr-2">
+    <button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex tw-m-0" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible">
+      <span class="text tw-flex tw-items-center tw-mr-1">
         <template v-if="release">{{ textReleaseCompare }}</template>
         <template v-else>
           <svg-icon v-if="isViewTag" name="octicon-tag"/>
           <svg-icon v-else name="octicon-git-branch"/>
-          <strong ref="dropdownRefName" class="gt-ml-3">{{ refNameText }}</strong>
+          <strong ref="dropdownRefName" class="tw-ml-2">{{ refNameText }}</strong>
         </template>
       </span>
       <svg-icon name="octicon-triangle-down" :size="14" class-name="dropdown icon"/>
@@ -263,10 +263,10 @@ export default sfc; // activate IDE's Vue plugin
       </div>
       <div v-if="showBranchesInDropdown" class="branch-tag-tab">
         <a class="branch-tag-item muted" :class="{active: mode === 'branches'}" href="#" @click="handleTabSwitch('branches')">
-          <svg-icon name="octicon-git-branch" :size="16" class-name="gt-mr-2"/>{{ textBranches }}
+          <svg-icon name="octicon-git-branch" :size="16" class-name="tw-mr-1"/>{{ textBranches }}
         </a>
         <a v-if="!noTag" class="branch-tag-item muted" :class="{active: mode === 'tags'}" href="#" @click="handleTabSwitch('tags')">
-          <svg-icon name="octicon-tag" :size="16" class-name="gt-mr-2"/>{{ textTags }}
+          <svg-icon name="octicon-tag" :size="16" class-name="tw-mr-1"/>{{ textTags }}
         </a>
       </div>
       <div class="branch-tag-divider"/>
index f51dac0a6d9deee083834fea66b0aa4151e483df..adce431264513dcf88f2dc587cfc6e642f5097b0 100644 (file)
@@ -150,7 +150,7 @@ export default {
     <div class="tw-flex ui segment main-graph">
       <div v-if="isLoading || errorText !== ''" class="gt-tc tw-m-auto">
         <div v-if="isLoading">
-          <SvgIcon name="octicon-sync" class="gt-mr-3 job-status-rotate"/>
+          <SvgIcon name="octicon-sync" class="tw-mr-2 job-status-rotate"/>
           {{ locale.loadingInfo }}
         </div>
         <div v-else class="text red">
index 02db9e3e3e02476c2b451c310e5258b53d403939..2347c41ae47add3e76857b7520497847053e7474 100644 (file)
@@ -355,7 +355,7 @@ export default {
     <div class="tw-flex ui segment main-graph">
       <div v-if="isLoading || errorText !== ''" class="gt-tc tw-m-auto">
         <div v-if="isLoading">
-          <SvgIcon name="octicon-sync" class="gt-mr-3 job-status-rotate"/>
+          <SvgIcon name="octicon-sync" class="tw-mr-2 job-status-rotate"/>
           {{ locale.loadingInfo }}
         </div>
         <div v-else class="text red">
@@ -379,7 +379,7 @@ export default {
           <a :href="contributor.home_link">
             <img class="ui avatar tw-align-middle" height="40" width="40" :src="contributor.avatar_link">
           </a>
-          <div class="gt-ml-3">
+          <div class="tw-ml-2">
             <a v-if="contributor.home_link !== ''" :href="contributor.home_link"><h4>{{ contributor.name }}</h4></a>
             <h4 v-else class="contributor-name">
               {{ contributor.name }}
index 601252419ae1140923505f938f1a041f0cdf3cc2..502af533da5da3c7a28b99506cc0404262eaaa39 100644 (file)
@@ -127,7 +127,7 @@ export default {
     <div class="tw-flex ui segment main-graph">
       <div v-if="isLoading || errorText !== ''" class="gt-tc tw-m-auto">
         <div v-if="isLoading">
-          <SvgIcon name="octicon-sync" class="gt-mr-3 job-status-rotate"/>
+          <SvgIcon name="octicon-sync" class="tw-mr-2 job-status-rotate"/>
           {{ locale.loadingInfo }}
         </div>
         <div v-else class="text red">
index ae4e8299f2af473ac807162ee0e76c5eb0a741ae..103cc525ad0213575c3e110ac466d8d6dee8436e 100644 (file)
@@ -87,7 +87,7 @@ export function initScopedAccessTokenCategories() {
 
 </script>
 <template>
-  <div v-for="category in categories" :key="category" class="field gt-pl-2 gt-pb-2 access-token-category">
+  <div v-for="category in categories" :key="category" class="field tw-pl-1 tw-pb-1 access-token-category">
     <label class="category-label" :for="'access-token-scope-' + category">
       {{ category }}
     </label>
index f0466f9320f86ac5707fb32073b4860987f3c77e..aa7fc38360933da5669daeaf0435aed7398444c3 100644 (file)
@@ -35,7 +35,7 @@ function addBranches(area, branches, defaultBranch) {
 
 function addLink(parent, href, text, tooltip) {
   const link = document.createElement('a');
-  link.classList.add('muted', 'gt-px-2');
+  link.classList.add('muted', 'tw-px-1');
   link.href = href;
   link.textContent = text;
   if (tooltip) {
index cb03d9e8037b5f70e1b8e62f3081cd59ce7a813c..0411b51f9c2e59998f87fd234782b316cbf9625c 100644 (file)
@@ -83,7 +83,7 @@ function filterRepoFiles(filter) {
     const cell = document.createElement('td');
     const a = document.createElement('a');
     a.setAttribute('href', `${treeLink}/${pathEscapeSegments(r.matchResult.join(''))}`);
-    a.innerHTML = svg('octicon-file', 16, 'gt-mr-3');
+    a.innerHTML = svg('octicon-file', 16, 'tw-mr-2');
     row.append(cell);
     cell.append(a);
     for (const [index, part] of r.matchResult.entries()) {
index 6ac7b96b9e427ec613f18a74283b9351fee4f108..74304d7f4afb4b0ec81fff82fd2dc16da9f04bbc 100644 (file)
@@ -47,7 +47,7 @@ export function initRepoTopicBar() {
           const topicArray = topics.split(',');
           topicArray.sort();
           for (const topic of topicArray) {
-            const $link = $('<a class="ui repo-topic large label topic gt-m-0"></a>');
+            const $link = $('<a class="ui repo-topic large label topic tw-m-0"></a>');
             $link.attr('href', `${appSubUrl}/explore/repos?q=${encodeURIComponent(topic)}&topic=1`);
             $link.text(topic);
             $link.insertBefore($mgrBtn); // insert all new topics before manage button
index e7768b066e022d30190bd1a791b25937834f7f33..9d51ab6b8da4354775286b2837ab2fa33297967f 100644 (file)
@@ -18,7 +18,7 @@ function showContentHistoryDetail(issueBaseUrl, commentId, historyId, itemTitleH
   ${svg('octicon-x', 16, 'close icon inside')}
   <div class="header tw-flex tw-items-center tw-justify-between">
     <div>${itemTitleHtml}</div>
-    <div class="ui dropdown dialog-header-options gt-mr-5 gt-hidden">
+    <div class="ui dropdown dialog-header-options tw-mr-8 gt-hidden">
       ${i18nTextOptions}
       ${svg('octicon-triangle-down', 14, 'dropdown icon')}
       <div class="menu">
index 4bdd5e5a8e587f0f5b9867870e9e3913b2e91c0e..9681e648d55bdd36665586ac5b7ac0b3253ff08b 100644 (file)
@@ -109,7 +109,7 @@ function initRepoIssueListAuthorDropdown() {
         const processedResults = []; // to be used by dropdown to generate menu items
         for (const item of resp.results) {
           let html = `<img class="ui avatar tw-align-middle" src="${htmlEscape(item.avatar_link)}" aria-hidden="true" alt="" width="20" height="20"><span class="gt-ellipsis">${htmlEscape(item.username)}</span>`;
-          if (item.full_name) html += `<span class="search-fullname gt-ml-3">${htmlEscape(item.full_name)}</span>`;
+          if (item.full_name) html += `<span class="search-fullname tw-ml-2">${htmlEscape(item.full_name)}</span>`;
           processedResults.push({value: item.user_id, name: html});
         }
         resp.results = processedResults;
index 18978e9e29edd15d7518f23e3c1648fea0e9e58e..43567f43933221460c8708cbb1cdef9e94fdc9f9 100644 (file)
@@ -272,11 +272,11 @@ export function initRepoCommentForm() {
 
       let icon = '';
       if (input_id === '#milestone_id') {
-        icon = svg('octicon-milestone', 18, 'gt-mr-3');
+        icon = svg('octicon-milestone', 18, 'tw-mr-2');
       } else if (input_id === '#project_id') {
-        icon = svg('octicon-project', 18, 'gt-mr-3');
+        icon = svg('octicon-project', 18, 'tw-mr-2');
       } else if (input_id === '#assignee_id') {
-        icon = `<img class="ui avatar image gt-mr-3" alt="avatar" src=${$(this).data('avatar')}>`;
+        icon = `<img class="ui avatar image tw-mr-2" alt="avatar" src=${$(this).data('avatar')}>`;
       }
 
       $list.find('.selected').html(`
index 70a5de691340f04185c249f452dcd7b0b41992ec..02cd4843745e467cbc02414c4dfb5f5d2939dd52 100644 (file)
@@ -36,7 +36,7 @@ function makeCollections({mentions, emoji}) {
       menuItemTemplate: (item) => {
         return `
           <div class="tribute-item">
-            <img src="${htmlEscape(item.original.avatar)}" class="gt-mr-3"/>
+            <img src="${htmlEscape(item.original.avatar)}" class="tw-mr-2"/>
             <span class="name">${htmlEscape(item.original.name)}</span>
             ${item.original.fullname && item.original.fullname !== '' ? `<span class="fullname">${htmlEscape(item.original.fullname)}</span>` : ''}
           </div>