From a534f9f9b66c63aa08ba61587c3d19a9e952a491 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 10 Mar 2017 15:36:55 -0500 Subject: [PATCH] templates/repo: change some buttons to use 'basic' style --- conf/locale/locale_en-US.ini | 1 - public/css/gogs.css | 4 ++-- public/less/_repository.less | 4 ++-- templates/repo/header.tmpl | 6 +++--- templates/repo/release/list.tmpl | 6 ++---- 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index 77f2df635..1a86e8102 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -812,7 +812,6 @@ release.releases = Releases release.new_release = New Release release.draft = Draft release.prerelease = Pre-Release -release.stable = Stable release.edit = edit release.ahead = %d commits to %s since this release release.source_code = Source Code diff --git a/public/css/gogs.css b/public/css/gogs.css index 16705753f..b0b3d45b6 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2183,11 +2183,11 @@ footer .ui.language .menu { } .repository.release #release-list > li .meta .tag:not(.icon) { display: block; - margin-top: 15px; + margin-top: 6px; } .repository.release #release-list > li .meta .commit { display: block; - margin-top: 10px; + margin-top: 6px; } .repository.release #release-list > li .detail { border-left: 1px solid #DDD; diff --git a/public/less/_repository.less b/public/less/_repository.less index ebe1d609f..4101e0d63 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -1146,11 +1146,11 @@ .tag:not(.icon) { display: block; - margin-top: 15px; + margin-top: 6px; } .commit { display: block; - margin-top: 10px; + margin-top: 6px; } } .detail { diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 5ad5139c2..08197d79a 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -15,7 +15,7 @@
{{if .CanBeForked}}