forked from forgejo/forgejo
#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.
This commit is contained in:
parent
05d8664f15
commit
045f14fbd0
16 changed files with 292 additions and 164 deletions
|
@ -5,7 +5,7 @@
|
|||
background-size: contain;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
@ -104,6 +104,9 @@ code.wrap {
|
|||
.ui.container.fluid.padded {
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
.ui.form .ui.button {
|
||||
font-weight: normal;
|
||||
}
|
||||
.ui .text.red {
|
||||
color: #d95c5c !important;
|
||||
}
|
||||
|
@ -234,6 +237,10 @@ code.wrap {
|
|||
.ui.status.buttons .octicon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.ui.inline.delete-button {
|
||||
padding: 8px 15px;
|
||||
font-weight: normal;
|
||||
}
|
||||
.overflow.menu .items {
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
|
@ -1984,10 +1991,11 @@ footer .container .links > *:first-child {
|
|||
.repository.settings.collaboration .collaborator.list {
|
||||
padding: 0;
|
||||
}
|
||||
.repository.settings.collaboration .collaborator.list .item {
|
||||
padding: 10px 20px;
|
||||
.repository.settings.collaboration .collaborator.list > .item {
|
||||
margin: 0;
|
||||
line-height: 2em;
|
||||
}
|
||||
.repository.settings.collaboration .collaborator.list .item:not(:last-child) {
|
||||
.repository.settings.collaboration .collaborator.list > .item:not(:last-child) {
|
||||
border-bottom: 1px solid #DDD;
|
||||
}
|
||||
.repository.settings.collaboration #repo-collab-form #search-user-box .results {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue