diff options
author | Unknwon <u@gogs.io> | 2015-08-26 18:03:30 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-26 18:03:30 +0800 |
commit | 1cb03135b745675e614b0b89ab3fde412276fec1 (patch) | |
tree | c376cdf2235e6061af6bb93c0ac1a53b6a80be28 /public/less | |
parent | 2f2bf20aaef444d0167a659c346fb545efbd7921 (diff) | |
download | gitea-1cb03135b745675e614b0b89ab3fde412276fec1.tar.gz gitea-1cb03135b745675e614b0b89ab3fde412276fec1.zip |
new repo git hooks UI
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 8 | ||||
-rw-r--r-- | public/less/_form.less | 22 | ||||
-rw-r--r-- | public/less/_repository.less | 11 |
3 files changed, 40 insertions, 1 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index db893fca8e..fa307c2a87 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -86,8 +86,14 @@ img { } } } + &.green { + color: #6cc644!important; + } + &.left { + text-align: left!important; + } &.right { - text-align: right; + text-align: right!important; } &.small { font-size: 0.75em; diff --git a/public/less/_form.less b/public/less/_form.less index 85a0b21787..7297dd4086 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -16,6 +16,7 @@ } } } + .repository { &.new.migrate, &.new.fork { @@ -57,4 +58,25 @@ } } } +} +.repository.edit.hook { + form { + @input-padding: 25%!important; + .inline.field > label { + text-align: right; + width: @input-padding; + word-wrap: break-word; + } + input, + textarea { + width: 50%!important; + } + } +} +.repository.edit.hook { + form { + textarea { + width: 70%!important; + } + } }
\ No newline at end of file diff --git a/public/less/_repository.less b/public/less/_repository.less index fc6ab6ede9..e989125fac 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -623,6 +623,17 @@ color: #666; } } + .hook.list { + .item:not(:first-child) { + border-top: 1px solid #eaeaea; + } + .item { + padding: 10px 20px; + i { + margin-right: 5px; + } + } + } } .ui.vertical.menu { |