From 9ff2df78f02fb09106b33beb7e4c644f86c30c6f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 25 Dec 2018 08:58:59 -0500 Subject: [PATCH] public/css: make less (#5317) --- gogs.go | 2 +- public/css/gogs.css | 22 ++++++++++++---------- templates/.VERSION | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/gogs.go b/gogs.go index c115db22d..cd3ee2e88 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogs/gogs/pkg/setting" ) -const APP_VER = "0.11.84.1219" +const APP_VER = "0.11.85.1225" func init() { setting.AppVer = APP_VER diff --git a/public/css/gogs.css b/public/css/gogs.css index 2d56467a6..0b866b85a 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -296,7 +296,7 @@ code.wrap { border-top: none; line-height: 1em; color: rgba(0, 0, 0, 0.8); - padding: .71428571em 1.14285714em !important; + padding: 0.71428571em 1.14285714em !important; font-size: 1rem; text-transform: none; font-weight: 400; @@ -944,8 +944,8 @@ footer .ui.language .menu { } .form .help { color: #999999; - padding-top: .6em; - padding-bottom: .6em; + padding-top: 0.6em; + padding-bottom: 0.6em; display: inline-block; word-break: break-word; } @@ -1246,18 +1246,20 @@ footer .ui.language .menu { .repository #clone-panel { margin-top: -8px; margin-left: 5px; - width: 350px; + width: auto; } .repository #clone-panel input { border-radius: 0; padding: 5px 10px; + max-width: 190px; + width: 190px; } .repository #clone-panel .clone.button { font-size: 13px; padding: 0 5px; } .repository #clone-panel .clone.button:first-child { - border-radius: .28571429rem 0 0 .28571429rem; + border-radius: 0.28571429rem 0 0 0.28571429rem; } .repository #clone-panel .icon.button { padding: 0 10px; @@ -1428,7 +1430,7 @@ footer .ui.language .menu { background-color: #f5f2f0; font-family: Consolas, Monaco, 'Andale Mono', monospace; padding: 1em; - margin: .5em 0; + margin: 0.5em 0; } .repository.file.list #file-content #ipython-notebook .nb-input:before, .repository.file.list #file-content #ipython-notebook .nb-output:before { @@ -2178,7 +2180,7 @@ footer .ui.language .menu { } .repository .diff-file-box .code-diff tbody tr.tag-code td { background-color: #F0F0F0 !important; - border-color: #D2CECE!important; + border-color: #D2CECE !important; padding-top: 4px; padding-bottom: 4px; } @@ -2242,7 +2244,7 @@ footer .ui.language .menu { font-weight: normal; } .repository.quickstart .guide .clone.button:first-child { - border-radius: .28571429rem 0 0 .28571429rem; + border-radius: 0.28571429rem 0 0 0.28571429rem; } .repository.quickstart .guide .ui.action.small.input { width: 100%; @@ -2523,10 +2525,10 @@ footer .ui.language .menu { } .issue.list > .item .desc a.milestone { padding-left: 5px; - color: #999!important; + color: #999 !important; } .issue.list > .item .desc a.milestone:hover { - color: #000!important; + color: #000 !important; } .issue.list > .item .desc .assignee { margin-top: -5px; diff --git a/templates/.VERSION b/templates/.VERSION index 8e5c632d3..55337be1e 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.84.1219 +0.11.85.1225