diff options
author | Unknwon <u@gogs.io> | 2016-03-05 18:08:42 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-05 18:08:42 -0500 |
commit | 045f14fbd0e3553521f5092cf839be363c74a090 (patch) | |
tree | 9c82f5111c5c5262c97bd7936462fa4170e76b4f /public/less | |
parent | 05d8664f15013b0159b3689bda84e89dd7be22fd (diff) | |
download | gitea-045f14fbd0e3553521f5092cf839be363c74a090.tar.gz gitea-045f14fbd0e3553521f5092cf839be363c74a090.zip |
#1146 finsih UI work for access mode of collaborators
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 13 | ||||
-rw-r--r-- | public/less/_repository.less | 5 |
2 files changed, 15 insertions, 3 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 36591766ba..b934cc2433 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -1,7 +1,7 @@ @footer-margin: 40px; body { - font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑'; + font-family: "Helvetica Neue", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; background-color: #fff; overflow-y: scroll; } @@ -109,6 +109,12 @@ pre, code { } } + &.form { + .ui.button { + font-weight: normal; + } + } + .text { &.red { color: #d95c5c !important; @@ -260,6 +266,11 @@ pre, code { margin-right: 4px; } } + + &.inline.delete-button { + padding: 8px 15px; + font-weight: normal; + } } .overflow.menu { diff --git a/public/less/_repository.less b/public/less/_repository.less index b1c2c8d7a0..88df107e6e 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -1026,8 +1026,9 @@ .collaborator.list { padding: 0; - .item { - padding: 10px 20px; + >.item { + margin: 0; + line-height: 2em; &:not(:last-child) { border-bottom: 1px solid #DDD; |