diff options
-rw-r--r-- | static/style.css | 36 | ||||
-rw-r--r-- | templates/_group_view.tmpl | 4 | ||||
-rw-r--r-- | templates/group.tmpl | 2 | ||||
-rw-r--r-- | templates/index.tmpl | 4 | ||||
-rw-r--r-- | templates/login.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_contrib_index.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_contrib_one.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_index.tmpl | 6 | ||||
-rw-r--r-- | templates/repo_log.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_raw_dir.tmpl | 2 | ||||
-rw-r--r-- | 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 -}} - <table class="wide rounded"> + <table class="wide"> <thead> <tr> <th colspan="2" class="title-row">Subgroups</th> @@ -29,7 +29,7 @@ </table> {{- end -}} {{- if .repos -}} -<table class="wide rounded"> +<table class="wide"> <thead> <tr> <th colspan="2" class="title-row">Repos</th> 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 -}} <div class="padding-wrapper"> <form method="POST" enctype="application/x-www-form-urlencoded"> - <table class="rounded-footed"> + <table> <thead> <tr> <th class="title-row" colspan="2"> 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 @@ <body class="index"> {{- template "header" . -}} <div class="padding-wrapper"> - <table class="wide rounded"> + <table class="wide"> <thead> <tr> <th colspan="2" class="title-row">Groups</th> @@ -36,7 +36,7 @@ </tbody> </table> <div class="padding-wrapper"> - <table class="wide rounded"> + <table class="wide"> <thead> <tr> <th colspan="2" class="title-row"> 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 -}} <div class="padding-wrapper"> <form method="POST" enctype="application/x-www-form-urlencoded"> - <table class="rounded-footed"> + <table> <thead> <tr> <th class="title-row" colspan="2"> 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 @@ <body class="repo-contrib-index"> {{- template "header" . -}} <div class="padding-wrapper"> - <table id="recent-merge_requests" class="wide rounded"> + <table id="recent-merge_requests" class="wide"> <thead> <tr class="title-row"> <th colspan="3">Merge requests</th> 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 @@ <body class="repo-contrib-one"> {{- template "header" . -}} <div class="padding-wrapper"> - <table id="mr-info-table" class="rounded"> + <table id="mr-info-table"> <thead> <tr class="title-row"> <th colspan="2">Merge request info</th> 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 @@ </div> </div> <div class="padding-wrapper"> - <table id="branches" class="rounded"> + <table id="branches"> <thead> <tr class="title-row"> <th colspan="1">Branches</th> @@ -59,7 +59,7 @@ </div> {{- if .commits -}} <div class="padding-wrapper scroll"> - <table id="recent-commits" class="wide rounded"> + <table id="recent-commits" class="wide"> <thead> <tr class="title-row"> <th colspan="3">Recent commits (<a href="log/{{- if .ref_type -}}?{{- .ref_type -}}={{- .ref_name -}}{{- end -}}">see all</a>)</th> @@ -91,7 +91,7 @@ {{- end -}} {{- if .files -}} <div class="padding-wrapper scroll"> - <table id="file-tree" class="wide rounded"> + <table id="file-tree" class="wide"> <thead> <tr class="title-row"> <th colspan="3">/{{- if .ref_name }} on {{ .ref_name -}}{{- end -}}</th> 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 @@ <body class="repo-log"> {{- template "header" . -}} <div class="scroll"> - <table id="commits" class="wide rounded"> + <table id="commits" class="wide"> <thead> <tr class="title-row"> <th colspan="4">Commits {{ if .ref_name }} on {{ .ref_name }}{{ end -}}</th> 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 @@ <body class="repo-raw-dir"> {{- template "header" . -}} <div class="padding-wrapper scroll"> - <table id="file-tree" class="wide rounded"> + <table id="file-tree" class="wide"> <thead> <tr class="title-row"> <th colspan="3"> 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 @@ <body class="repo-tree-dir"> {{- template "header" . -}} <div class="padding-wrapper scroll"> - <table id="file-tree" class="wide rounded"> + <table id="file-tree" class="wide"> <thead> <tr class="title-row"> <th colspan="3"> |