From b6db7279b24db90277bc2cef1ce53eb0e8c17498 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 12:37:38 +0800 Subject: [PATCH] Further remove .rounded and .rounded-footed --- static/style.css | 36 ------------------------------------ templates/_group_view.tmpl | 4 ++-- templates/group.tmpl | 2 +- templates/index.tmpl | 4 ++-- templates/login.tmpl | 2 +- templates/repo_contrib_index.tmpl | 2 +- templates/repo_contrib_one.tmpl | 2 +- templates/repo_index.tmpl | 6 +++--- templates/repo_log.tmpl | 2 +- templates/repo_raw_dir.tmpl | 2 +- templates/repo_tree_dir.tmpl | 2 +- diff --git a/static/style.css b/static/style.css index ed0a2a58ddc71e8eb649567dce8b94c35a8dcb8a..a53dc1777cce3c8608033000b50f51c84b74c560 100644 --- a/static/style.css +++ b/static/style.css @@ -75,42 +75,6 @@ .toggle-table-on:checked + table > tbody { display: table-row-group; } -table.rounded, table.rounded-footed { - overflow: hidden; - border-spacing: 0; - border-collapse: separate; - border: var(--lighter-border-color) solid 1px; -} - -table.rounded th, table.rounded td, -table.rounded-footed th, table.rounded-footed td { - border: none; -} - -table.rounded th:not(:last-child), -table.rounded td:not(:last-child), -table.rounded-footed th:not(:last-child), -table.rounded-footed td:not(:last-child) { - border-right: var(--lighter-border-color) solid 1px; -} - -table.rounded>thead>tr>th, -table.rounded>thead>tr>td, -table.rounded>tbody>tr:not(:last-child)>th, -table.rounded>tbody>tr:not(:last-child)>td { - border-bottom: var(--lighter-border-color) solid 1px; -} - -table.rounded-footed>thead>tr>th, -table.rounded-footed>thead>tr>td, -table.rounded-footed>tbody>tr>th, -table.rounded-footed>tbody>tr>td, -table.rounded-footed>tfoot>tr:not(:last-child)>th, -table.rounded-footed>tfoot>tr:not(:last-child)>td { - border-bottom: var(--lighter-border-color) solid 1px; -} - - /* Footer styles */ footer { margin-top: 1rem; diff --git a/templates/_group_view.tmpl b/templates/_group_view.tmpl index 08ed96340ac449dc21bf4e5fa93a9e2540e9418b..dbfbe07139b37a6fd1e432606c8f0f66b10c1087 100644 --- a/templates/_group_view.tmpl +++ b/templates/_group_view.tmpl @@ -4,7 +4,7 @@ SPDX-FileContributor: Runxi Yu */}} {{- define "group_view" -}} {{- if .subgroups -}} - +
@@ -29,7 +29,7 @@
Subgroups
{{- end -}} {{- if .repos -}} - +
diff --git a/templates/group.tmpl b/templates/group.tmpl index 3a4a7d1dcc90edc44db1f3258e7c11e0501509e5..e942cccf563913223461966d8a6923d7e44972a2 100644 --- a/templates/group.tmpl +++ b/templates/group.tmpl @@ -22,7 +22,7 @@ {{- if .direct_access -}}
-
Repos
+
diff --git a/templates/index.tmpl b/templates/index.tmpl index a72fe44961f7a6bb2e8b2de1b72fffae079500db..7c2e8fc65bebf03e0a53bc4a81ab830969d7d40e 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
- +
@@ -36,7 +36,7 @@ {{- end -}}
Groups
- +
diff --git a/templates/login.tmpl b/templates/login.tmpl index 3bac03053bb6396542689409f2393239077ce880..47c4fc403b867eba3bad795c9486c79489f3600c 100644 --- a/templates/login.tmpl +++ b/templates/login.tmpl @@ -13,7 +13,7 @@ {{- .login_error -}}
- +
diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl index 1848576e39d562647dcf327596dc386d79f99361..86ac287a89fb14f5afd87c31a5e58b0e8bf4225c 100644 --- a/templates/repo_contrib_index.tmpl +++ b/templates/repo_contrib_index.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
- +
diff --git a/templates/repo_contrib_one.tmpl b/templates/repo_contrib_one.tmpl index 113584aa3cb3703d8e0d3ed347de205fd677782c..640855abe5f6401e7ceca8b0340e33e6365c04a0 100644 --- a/templates/repo_contrib_one.tmpl +++ b/templates/repo_contrib_one.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
-
Merge requests
+
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index cf5d1cdd228a5a98a6f476921546167570eed656..e248cddf9468d52507505141bf045c4a56dda355 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -35,7 +35,7 @@
-
Merge request info
+
@@ -59,7 +59,7 @@

{{- if .commits -}}
-
Branches
+
@@ -91,7 +91,7 @@ {{- end -}} {{- if .files -}}
-
Recent commits (see all)
+
diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl index 2cb586713efd9fb7841f871e0e98617e64fa431e..bd51f2d633cd9e5dc0a3bc5f00bbfd011cd6fd2e 100644 --- a/templates/repo_log.tmpl +++ b/templates/repo_log.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
-
/{{- if .ref_name }} on {{ .ref_name -}}{{- end -}}
+
diff --git a/templates/repo_raw_dir.tmpl b/templates/repo_raw_dir.tmpl index 26e04b4c07786e882e4247975945d88ec12a6359..eef5b7e5b268fbaf0ae182d04bd21998bebebc6e 100644 --- a/templates/repo_raw_dir.tmpl +++ b/templates/repo_raw_dir.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
-
Commits {{ if .ref_name }} on {{ .ref_name }}{{ end -}}
+
diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl index 1797c80b933a5d75ef5f61ff2a85bbd0102b19fb..f3701d83f67e01b9d834a6f91ec7ab0c13752e4c 100644 --- a/templates/repo_tree_dir.tmpl +++ b/templates/repo_tree_dir.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
- +
-- 2.48.1