mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
48bfea6705
Before: <details> ![image](https://github.com/go-gitea/gitea/assets/2114189/b67b3a83-ebe4-4dac-b4b2-de93401d7ab2) </details> After: <details> ![image](https://github.com/go-gitea/gitea/assets/2114189/fbf34418-2ddf-4d47-82da-155823501d31) ![image](https://github.com/go-gitea/gitea/assets/2114189/1b275de3-8c16-4873-b056-0df430c882f0) </details>
157 lines
2.9 KiB
CSS
157 lines
2.9 KiB
CSS
.dashboard.feeds .context.user.menu,
|
|
.dashboard.issues .context.user.menu {
|
|
z-index: 101;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.dashboard.feeds .context.user.menu .ui.header,
|
|
.dashboard.issues .context.user.menu .ui.header {
|
|
font-size: 1rem;
|
|
text-transform: none;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu,
|
|
.dashboard.issues .filter.menu {
|
|
width: initial;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu .item,
|
|
.dashboard.issues .filter.menu .item {
|
|
text-align: left;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu .item .text.truncate,
|
|
.dashboard.issues .filter.menu .item .text.truncate {
|
|
width: 75%;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu .item .floating.label,
|
|
.dashboard.issues .filter.menu .item .floating.label {
|
|
top: 7px;
|
|
left: 90%;
|
|
width: 15%;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.dashboard.feeds .filter.menu .item .floating.label,
|
|
.dashboard.issues .filter.menu .item .floating.label {
|
|
top: 10px;
|
|
left: auto;
|
|
width: auto;
|
|
right: 13px;
|
|
}
|
|
}
|
|
|
|
/* Sort */
|
|
.dashboard.feeds .filter.menu .jump.item,
|
|
.dashboard.issues .filter.menu .jump.item {
|
|
margin: 1px;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu .menu,
|
|
.dashboard.issues .filter.menu .menu {
|
|
max-height: 300px;
|
|
overflow-x: auto;
|
|
right: 0 !important;
|
|
left: auto !important;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.dashboard.feeds .filter.menu,
|
|
.dashboard.issues .filter.menu {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.dashboard.feeds .right.stackable.menu > .item.active,
|
|
.dashboard.issues .right.stackable.menu > .item.active {
|
|
color: var(--color-red);
|
|
}
|
|
|
|
.dashboard .dashboard-repos,
|
|
.dashboard .dashboard-orgs {
|
|
margin: 0 1px; /* Accommodate for Semantic's 1px hacks on .attached elements */
|
|
}
|
|
|
|
.dashboard .dashboard-navbar {
|
|
padding-left: 0.5rem;
|
|
padding-right: 0.5rem;
|
|
}
|
|
|
|
.dashboard .dashboard-navbar .org-visibility .label {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.dashboard .dashboard-navbar .ui.dropdown {
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.dashboard .dashboard-navbar .ui.dropdown > .menu {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
.feeds .news li {
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.feeds .news li img {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.feeds .news li > * + * {
|
|
margin-left: 0.35rem;
|
|
}
|
|
|
|
.feeds .news > .ui.grid {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.feeds .news .left .ui.avatar {
|
|
margin-top: 13px;
|
|
}
|
|
|
|
.feeds .news .time-since {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.feeds .news .issue.title {
|
|
width: 80%;
|
|
margin: 0 0 1em;
|
|
}
|
|
|
|
.feeds .news .push.news .content ul {
|
|
line-height: 18px;
|
|
font-size: 13px;
|
|
list-style: none;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.feeds .news .push.news .content ul .text.truncate {
|
|
width: 80%;
|
|
}
|
|
|
|
.feeds .news .commit-id {
|
|
font-family: var(--fonts-monospace);
|
|
}
|
|
|
|
.feeds .news code {
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
background-color: var(--color-markup-code-block);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.feeds .news:last-of-type .divider {
|
|
display: none !important;
|
|
}
|