summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authora1012112796 <1012112796@qq.com>2020-11-03 07:10:22 +0800
committerGitHub <noreply@github.com>2020-11-02 18:10:22 -0500
commitb687707014b31d0f388d1dfb60c09b5dcd48fc4c (patch)
tree7117d987d3da271528540e6f39ad5d1dfbe3a45a /web_src
parentbcb94ed5898ac1b2191ebd5e1ff9c5b53ff323f8 (diff)
downloadgitea-b687707014b31d0f388d1dfb60c09b5dcd48fc4c.tar.gz
gitea-b687707014b31d0f388d1dfb60c09b5dcd48fc4c.zip
Add the tag list page to the release page (#12096)
* Add the tag list page to the release page * Add the tags list view * Add the delete tag way on ui * Not delete tag and clear message when delete a release Signed-off-by: a1012112796 <1012112796@qq.com> * Apply suggestions from code review Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: zeripath <art27@cantab.net> * fix ui * Add to header * ui * permission * ui * Update options/locale/locale_en-US.ini Co-authored-by: Lauris BH <lauris@nix.lv> * tweaks * monospace commit hashes * Add read permission check * fix permission * fix nit * Update web_src/less/_base.less Co-authored-by: silverwind <me@silverwind.io> * ui fixes * title tweaks * fix lint * fix test * fix test and some ui nits * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less17
-rw-r--r--web_src/less/helpers.less2
-rw-r--r--web_src/less/themes/theme-arc-green.less4
3 files changed, 19 insertions, 4 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 9e8df7b37f..45abae9178 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -1901,6 +1901,12 @@
margin-top: 20px;
padding-top: 15px;
+ .release-list-title {
+ font-size: 2rem;
+ font-weight: normal;
+ margin-top: -6px;
+ }
+
> li {
list-style: none;
@@ -1926,7 +1932,7 @@
}
.detail {
- border-left: 1px solid #dddddd;
+ border-left: 2px solid #dddddd;
.author {
img {
@@ -1965,7 +1971,7 @@
.dot {
width: 9px;
height: 9px;
- background-color: #cccccc;
+ background-color: #ddd;
z-index: 999;
position: absolute;
display: block;
@@ -1977,6 +1983,13 @@
}
}
}
+
+ #tags-table {
+ .release-tag-name {
+ font-size: 1.5rem;
+ font-weight: normal;
+ }
+ }
}
&.new.release {
diff --git a/web_src/less/helpers.less b/web_src/less/helpers.less
index c40619410e..fff866c66c 100644
--- a/web_src/less/helpers.less
+++ b/web_src/less/helpers.less
@@ -1,6 +1,8 @@
.df { display: flex; }
.ac { align-items: center; }
.jc { justify-content: center; }
+.js { justify-content: flex-start; }
+.je { justify-content: flex-end; }
.sb { justify-content: space-between; }
.m-0 { margin: 0 !important; }
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 04367e2f66..2a556dd28e 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -1510,7 +1510,7 @@ input {
.ui.radio.checkbox label::after,
.ui.radio.checkbox input:checked ~ label::after,
.ui.radio.checkbox input:focus ~ label::after,
-.ui.radio.checkbox input:focus:checked ~ label::after, {
+.ui.radio.checkbox input:focus:checked ~ label::after {
background: #dbdbdb;
}
@@ -2075,7 +2075,7 @@ footer .container .links > * {
}
.repository.release #release-list > li .detail .dot {
- background-color: #888;
+ background-color: #505667;
border-color: #383c4a;
}