From b6db7279b24db90277bc2cef1ce53eb0e8c17498 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 12:37:38 +0800 Subject: 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 +- 11 files changed, 14 insertions(+), 50 deletions(-) diff --git a/static/style.css b/static/style.css index ed0a2a5..a53dc17 100644 --- a/static/style.css +++ b/static/style.css @@ -75,42 +75,6 @@ html, code, pre { 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 08ed963..dbfbe07 100644 --- a/templates/_group_view.tmpl +++ b/templates/_group_view.tmpl @@ -4,7 +4,7 @@ */}} {{- define "group_view" -}} {{- if .subgroups -}} - +
@@ -29,7 +29,7 @@
Subgroups
{{- end -}} {{- if .repos -}} - +
diff --git a/templates/group.tmpl b/templates/group.tmpl index 3a4a7d1..e942ccc 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 a72fe44..7c2e8fc 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
- +
@@ -36,7 +36,7 @@
Groups
- +
diff --git a/templates/login.tmpl b/templates/login.tmpl index 3bac030..47c4fc4 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 1848576..86ac287 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 113584a..640855a 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 cf5d1cd..e248cdd 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 2cb5867..bd51f2d 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 26e04b4..eef5b7e 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 1797c80..f3701d8 100644 --- a/templates/repo_tree_dir.tmpl +++ b/templates/repo_tree_dir.tmpl @@ -12,7 +12,7 @@ {{- template "header" . -}}
- +
-- cgit v1.2.3