mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 09:44:26 +00:00
c3b2e44392
Allows to add (not registered) team members by email. related #5353 Invite by mail: ![grafik](https://user-images.githubusercontent.com/1666336/178154779-adcc547f-c0b7-4a2a-a131-4e41a3d9d3ad.png) Pending invitations: ![grafik](https://user-images.githubusercontent.com/1666336/178154882-9d739bb8-2b04-46c1-a025-c1f4be26af98.png) Email: ![grafik](https://user-images.githubusercontent.com/1666336/178164716-f2f90893-7ba6-4a5e-a3db-42538a660258.png) Join form: ![grafik](https://user-images.githubusercontent.com/1666336/178154840-aaab983a-d922-4414-b01a-9b1a19c5cef7.png) Co-authored-by: Jack Hay <jjphay@gmail.com>
197 lines
3.0 KiB
Plaintext
197 lines
3.0 KiB
Plaintext
.organization {
|
|
.head {
|
|
.ui.header {
|
|
.text {
|
|
vertical-align: middle;
|
|
font-size: 1.6rem;
|
|
margin-left: 15px;
|
|
}
|
|
.org-visibility .label {
|
|
margin-left: 5px;
|
|
margin-top: 5px;
|
|
}
|
|
.ui.right {
|
|
margin-top: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui.secondary.stackable.pointing.menu {
|
|
flex-wrap: wrap;
|
|
margin-top: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
&.new.org {
|
|
#create-page-form();
|
|
|
|
form {
|
|
.header {
|
|
padding-left: 0 !important;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.options {
|
|
input {
|
|
min-width: 300px;
|
|
}
|
|
}
|
|
|
|
&.profile {
|
|
.org-avatar {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
#org-info {
|
|
overflow-wrap: anywhere;
|
|
|
|
.ui.header {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 36px;
|
|
margin-bottom: 0;
|
|
.org-visibility .label {
|
|
margin-left: 5px;
|
|
margin-top: 2px;
|
|
}
|
|
}
|
|
|
|
.desc {
|
|
font-size: 16px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.meta {
|
|
.item {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
|
|
.icon {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui.top.header {
|
|
.ui.right {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.teams {
|
|
.item {
|
|
padding: 10px 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.teams,
|
|
&.profile {
|
|
.members {
|
|
.ui.avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.invite {
|
|
#invite-box {
|
|
margin: 50px auto auto;
|
|
width: 500px !important;
|
|
|
|
#search-user-box {
|
|
input {
|
|
margin-left: 0;
|
|
width: 300px;
|
|
}
|
|
}
|
|
|
|
.ui.button {
|
|
margin-left: 5px;
|
|
margin-top: -3px;
|
|
}
|
|
}
|
|
|
|
.ui.avatar {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
&.members {
|
|
.list {
|
|
.item {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
|
|
.ui.avatar {
|
|
width: 48px;
|
|
height: auto;
|
|
margin-right: 1rem;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.meta {
|
|
line-height: 24px;
|
|
word-break: break-word;
|
|
min-width: 2em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.teams {
|
|
.detail {
|
|
.item {
|
|
padding: 10px 15px;
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
}
|
|
}
|
|
}
|
|
|
|
.repositories,
|
|
.members {
|
|
.item {
|
|
padding: 10px 20px;
|
|
line-height: 32px;
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.button {
|
|
padding: 9px 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#add-repo-form,
|
|
#repo-multiple-form,
|
|
#add-member-form {
|
|
input {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.ui.button {
|
|
margin-left: 5px;
|
|
margin-top: -3px;
|
|
}
|
|
}
|
|
|
|
#repo-top-segment {
|
|
height: 60px;
|
|
}
|
|
}
|
|
}
|