mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-11 08:25:15 +01:00
67db6b6976
Fix regression from https://github.com/go-gitea/gitea/pull/24471 where CSS rules for `.icon.grey` were removed which were in use by the RSS icons. Gave them their own class instead, removed a wrapper and also fixed vertical alignment on them. Additionally, did a few related fixes on the org header for alignment. Fixes: https://github.com/go-gitea/gitea/issues/24584 <img width="196" alt="Screenshot 2023-05-01 at 22 39 40" src="https://user-images.githubusercontent.com/115237/235528228-959e2385-c1d2-4d5c-baec-e3784d459653.png"> <img width="216" alt="Screenshot 2023-05-01 at 22 44 20" src="https://user-images.githubusercontent.com/115237/235528231-95cbff86-5672-48eb-b214-8bdcefa1612c.png"> <img width="120" alt="Screenshot 2023-05-01 at 22 56 36" src="https://user-images.githubusercontent.com/115237/235529844-b94ab554-3259-4d0c-b040-82aed7d1a111.png"> <img width="372" alt="Screenshot 2023-05-01 at 22 54 25" src="https://user-images.githubusercontent.com/115237/235529744-1a9c201b-5692-4122-9765-2f201a322a9e.png"> <img width="477" alt="Screenshot 2023-05-01 at 22 55 28" src="https://user-images.githubusercontent.com/115237/235529748-62188554-9927-42ef-bc94-7052bce266e2.png"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
234 lines
4.7 KiB
CSS
234 lines
4.7 KiB
CSS
#create-page-form form {
|
|
margin: auto;
|
|
}
|
|
|
|
#create-page-form form .ui.message {
|
|
text-align: center;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
#create-page-form form {
|
|
width: 800px !important;
|
|
}
|
|
#create-page-form form .header {
|
|
padding-left: 280px !important;
|
|
}
|
|
#create-page-form form .inline.field > label,
|
|
#create-page-form form .inline.field.captcha-field > span {
|
|
text-align: right;
|
|
width: 250px !important;
|
|
word-wrap: break-word;
|
|
}
|
|
#create-page-form form .help {
|
|
margin-left: 265px !important;
|
|
}
|
|
#create-page-form form .optional .title {
|
|
margin-left: 250px !important;
|
|
}
|
|
#create-page-form form .inline.field > input,
|
|
#create-page-form form .inline.field > textarea {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
#create-page-form form .optional .title {
|
|
margin-left: 15px;
|
|
}
|
|
#create-page-form form .inline.field > label {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.organization .head .ui.header .ui.right {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.organization.new.org form {
|
|
margin: auto;
|
|
}
|
|
|
|
.organization.new.org form .ui.message {
|
|
text-align: center;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.organization.new.org form {
|
|
width: 800px !important;
|
|
}
|
|
.organization.new.org form .header {
|
|
padding-left: 280px !important;
|
|
}
|
|
.organization.new.org form .inline.field > label,
|
|
.organization.new.org form .inline.field.captcha-field > span {
|
|
text-align: right;
|
|
width: 250px !important;
|
|
word-wrap: break-word;
|
|
}
|
|
.organization.new.org form .help {
|
|
margin-left: 265px !important;
|
|
}
|
|
.organization.new.org form .optional .title {
|
|
margin-left: 250px !important;
|
|
}
|
|
.organization.new.org form .inline.field > input,
|
|
.organization.new.org form .inline.field > textarea {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.organization.new.org form .optional .title {
|
|
margin-left: 15px;
|
|
}
|
|
.organization.new.org form .inline.field > label {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.organization.new.org form .header {
|
|
padding-left: 0 !important;
|
|
text-align: center;
|
|
}
|
|
|
|
.organization.options input {
|
|
min-width: 300px;
|
|
}
|
|
|
|
.organization.profile .org-avatar {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.organization.profile #org-info {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.organization.profile #org-info .ui.header {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 36px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.organization.profile #org-info .desc {
|
|
font-size: 16px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.organization.profile #org-info .meta .item {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.organization.profile #org-info .meta .item .icon {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.organization.profile .ui.top.header .ui.right {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.organization.profile .teams .item {
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
.organization.teams .members .ui.avatar,
|
|
.organization.profile .members .ui.avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.organization.invite #invite-box {
|
|
margin: 50px auto auto;
|
|
width: 500px !important;
|
|
}
|
|
|
|
.organization.invite #invite-box #search-user-box input {
|
|
margin-left: 0;
|
|
width: 300px;
|
|
}
|
|
|
|
.organization.invite #invite-box .ui.button {
|
|
margin-left: 5px;
|
|
margin-top: -3px;
|
|
}
|
|
|
|
.organization.invite .ui.avatar {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.organization.members .list .item {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.organization.members .list .item .ui.avatar {
|
|
width: 48px;
|
|
height: auto;
|
|
margin-right: 1rem;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.organization.members .list .item .meta {
|
|
line-height: 24px;
|
|
word-break: break-word;
|
|
min-width: 2em;
|
|
}
|
|
|
|
.organization.teams .detail .item {
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
.organization.teams .detail .item:not(:last-child) {
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.organization.teams .repositories .item,
|
|
.organization.teams .members .item {
|
|
padding: 10px 19px;
|
|
}
|
|
|
|
.organization.teams .repositories .item:not(:last-child),
|
|
.organization.teams .members .item:not(:last-child) {
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.organization.teams .repositories .item .button,
|
|
.organization.teams .members .item .button {
|
|
padding: 9px 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
.organization.teams #add-repo-form input,
|
|
.organization.teams #repo-multiple-form input,
|
|
.organization.teams #add-member-form input {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.organization.teams #add-repo-form .ui.button,
|
|
.organization.teams #repo-multiple-form .ui.button,
|
|
.organization.teams #add-member-form .ui.button {
|
|
margin-left: 5px;
|
|
margin-top: -3px;
|
|
}
|
|
|
|
.organization.teams #repo-top-segment {
|
|
height: 60px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.organization.teams #repo-top-segment {
|
|
height: 100px;
|
|
}
|
|
}
|
|
|
|
.org-team-navbar .active.item {
|
|
background: var(--color-box-body) !important;
|
|
}
|