mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-27 04:06:10 +01:00
9dfdfe2389
Backport #23565 by @silverwind Dropdowns on `/notifications/subscriptions` before and after: <img width="157" alt="Screenshot 2023-03-18 at 20 37 12" src="https://user-images.githubusercontent.com/115237/226133906-e4ad6a0a-de24-4324-8e1d-94081d23fe85.png"> <img width="152" alt="Screenshot 2023-03-18 at 20 41 29" src="https://user-images.githubusercontent.com/115237/226134038-c3946c32-a424-4b92-ad15-890e1036cafe.png"> These selectors are meant to target the notification list which I improved: <img width="1145" alt="Screenshot 2023-03-19 at 01 52 11" src="https://user-images.githubusercontent.com/115237/226147907-1c35736a-4bc9-4698-9813-21a20a1d2106.png"> <img width="1148" alt="Screenshot 2023-03-19 at 01 54 17" src="https://user-images.githubusercontent.com/115237/226147920-626dbd84-11d3-48db-a177-6d808e3212c0.png">
162 lines
2.6 KiB
CSS
162 lines
2.6 KiB
CSS
.user.profile .ui.card .header {
|
|
display: block;
|
|
font-weight: 600;
|
|
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 #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.notification .content {
|
|
float: left;
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.user.notification table form {
|
|
display: inline-block;
|
|
}
|
|
|
|
.user.notification table button {
|
|
padding: 3px 3px 3px 5px;
|
|
}
|
|
|
|
.user.notification table tr {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.user .button.adopt,
|
|
.user .button.delete {
|
|
margin-top: -15px;
|
|
margin-bottom: -15px;
|
|
}
|
|
|
|
.user .button.adopt .label,
|
|
.user .button.delete .label {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
#notification_div .tab.segment {
|
|
overflow-x: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
#notification_div .menu .active.item {
|
|
background: var(--color-box-body);
|
|
}
|
|
|
|
#notification_table {
|
|
border: none;
|
|
}
|