mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 15:44:25 +00:00
83022013c8
Ref: https://github.com/go-gitea/gitea/pull/24315#pullrequestreview-1403034993 And fix the incorrect layout for "dasbboard", the "form" shouldn't follow `<h4 class="ui top attached header">`, so move it to inner. Diff with ignoring spaces: https://github.com/go-gitea/gitea/pull/24370/files?diff=unified&w=1 A known bug: the adapt/delete button doesn't work due to a historical messy logic, will fix it in next PR (#24374) ![image](https://user-images.githubusercontent.com/2114189/234754656-d160b098-b8d4-4783-962a-27d5c764863c.png) ![image](https://user-images.githubusercontent.com/2114189/234762327-3e77e2e4-a156-4498-8a8b-092e14cf9204.png) ![image](https://user-images.githubusercontent.com/2114189/234767811-74b7272c-e40c-4850-8e3c-499e3b53b827.png) ![image](https://user-images.githubusercontent.com/2114189/234761247-e6aad889-dcad-443c-948f-2d44df68725b.png)
151 lines
2.4 KiB
CSS
151 lines
2.4 KiB
CSS
.user.profile .ui.card .header {
|
|
display: block;
|
|
font-weight: var(--font-weight-bold);
|
|
font-size: 1.3rem;
|
|
margin-top: -0.2rem;
|
|
line-height: 1.3rem;
|
|
}
|
|
|
|
.user.profile .ui.card .profile-avatar-name {
|
|
border-top: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.user.profile .ui.card .extra.content {
|
|
padding: 0;
|
|
}
|
|
|
|
.user.profile .ui.card .extra.content > ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.user.profile .ui.card .extra.content > ul > li {
|
|
padding: 10px;
|
|
list-style: none;
|
|
}
|
|
|
|
.user.profile .ui.card .extra.content > ul > li:not(:last-child) {
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.user.profile .ui.card .extra.content > ul > li .svg {
|
|
margin-left: 1px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.user.profile .ui.card .extra.content > ul > li.follow .ui.button {
|
|
width: 100%;
|
|
}
|
|
|
|
.user.profile .ui.card #profile-avatar {
|
|
background: none;
|
|
padding: 1rem 1rem 0.25rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.user.profile .ui.card #profile-avatar img {
|
|
width: 100%;
|
|
height: auto;
|
|
object-fit: contain;
|
|
margin: 0;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.user.profile .ui.card #profile-avatar img {
|
|
width: 30vw;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.user.profile .ui.card {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.user.profile .ui.repository.list {
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.user.profile .ui.repository.list .repo-title .labels {
|
|
word-break: normal;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.user.profile #loading-heatmap {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.user.profile .ui.secondary.stackable.pointing.menu {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.user.followers .header.name {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.user.followers .follow .ui.button {
|
|
padding: 8px 15px;
|
|
}
|
|
|
|
.user.link-account:not(.icon) {
|
|
padding-top: 15px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.user.settings .iconFloat {
|
|
float: left;
|
|
}
|
|
|
|
.user-orgs {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
padding: 0;
|
|
margin: -3px !important;
|
|
}
|
|
|
|
.user-orgs > li {
|
|
display: flex;
|
|
border-bottom: 0 !important;
|
|
padding: 3px !important;
|
|
width: 20%;
|
|
max-width: 60px;
|
|
}
|
|
|
|
.user-badges {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, 64px);
|
|
gap: 2px;
|
|
}
|
|
|
|
.user-badges img {
|
|
object-fit: contain;
|
|
}
|
|
|
|
.user.notification table button {
|
|
padding: 3px 3px 3px 5px;
|
|
}
|
|
|
|
#notification_div .tab.segment {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
#notification_div .tabular.menu .active.item {
|
|
background: var(--color-box-body);
|
|
}
|
|
|
|
#notification_table {
|
|
border: none;
|
|
}
|
|
|
|
#notification_table tr {
|
|
cursor: default;
|
|
}
|
|
|
|
#notification_table td a {
|
|
width: 100%;
|
|
display: inline-block;
|
|
}
|