mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 06:04:40 +03:00
65fc2d1b83
Fix #22818. | Before | After | | ---- | ---- | | <img src="https://user-images.githubusercontent.com/15528715/219617504-d86e7a90-d4ac-4a92-bd8a-100dddc693d5.png" width="200px" /> | <img src="https://user-images.githubusercontent.com/15528715/219618645-a4045f65-bda6-49ce-a676-f03a9817bb70.png" width="200px" />| | <img src="https://user-images.githubusercontent.com/15528715/219618013-844ef208-853b-44bd-a67c-36e360f0ffa7.png" width="200px" /> | <img src="https://user-images.githubusercontent.com/15528715/219618361-cb13c369-852e-47bf-ae30-e429d348823d.png" width="200px" /> | --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
93 lines
1.5 KiB
Text
93 lines
1.5 KiB
Text
.explore {
|
|
.navbar {
|
|
justify-content: center;
|
|
margin-bottom: 15px !important;
|
|
background-color: var(--color-navbar) !important;
|
|
border-width: 1px !important;
|
|
|
|
.svg {
|
|
width: 16px;
|
|
text-align: center;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui.repository.list {
|
|
.item {
|
|
padding-bottom: 1.5rem;
|
|
|
|
&:not(:first-child) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
padding-top: 1.5rem;
|
|
}
|
|
|
|
.ui.header {
|
|
font-size: 1.5rem;
|
|
margin-bottom: .5rem;
|
|
|
|
.name {
|
|
word-break: break-all;
|
|
}
|
|
|
|
.metas {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.time {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ui.tags {
|
|
margin-bottom: .5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui.repository.branches {
|
|
.info {
|
|
font-size: 12px;
|
|
color: var(--color-text-light);
|
|
display: flex;
|
|
white-space: pre;
|
|
.commit-message {
|
|
max-width: 72em;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
.overflow-visible {
|
|
overflow: visible;
|
|
}
|
|
/* fix alignment of PR popup in branches table */
|
|
table .ui.popup {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
.ui.user.list {
|
|
.item {
|
|
padding-bottom: 25px;
|
|
display: flex;
|
|
|
|
&:not(:first-child) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
padding-top: 25px;
|
|
}
|
|
|
|
img.ui.avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.description {
|
|
margin-top: 5px;
|
|
|
|
.svg:not(:first-child) {
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|