0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 06:51:29 +01:00
gitea/web_src/less/_dashboard.less

196 lines
3.1 KiB
Text
Raw Normal View History

2015-08-25 16:58:34 +02:00
.dashboard {
&.feeds,
&.issues {
.context.user.menu {
z-index: 101;
min-width: 200px;
.ui.header {
font-size: 1rem;
text-transform: none;
}
}
2015-08-25 16:58:34 +02:00
.filter.menu {
width: initial;
2019-05-13 08:26:32 +02:00
.item {
text-align: left;
display: flex;
align-items: center;
justify-content: space-between;
2019-05-13 08:26:32 +02:00
.text {
height: 16px;
vertical-align: middle;
2015-11-04 18:50:02 +01:00
&.truncate {
width: 75%;
}
}
2019-05-13 08:26:32 +02:00
.floating.label {
top: 7px;
left: 90%;
width: 15%;
2019-05-13 08:26:32 +02:00
@media @mediaSm {
top: 10px;
left: auto;
width: auto;
right: 13px;
}
2019-05-13 08:26:32 +02:00
}
}
2019-05-13 08:26:32 +02:00
// Sort
.jump.item {
margin: 1px;
padding-right: 0;
}
.menu {
max-height: 300px;
overflow-x: auto;
right: 0 !important;
left: auto !important;
}
2019-05-13 08:26:32 +02:00
@media @mediaSm {
width: 100%;
}
}
.right.stackable.menu > .item.active {
color: var(--color-red);
}
}
.dashboard-repos,
.dashboard-orgs {
margin: 0 1px; /* Accommodate for Semantic's 1px hacks on .attached elements */
}
.dashboard-navbar {
width: 100vw;
padding-left: .5rem;
padding-right: .5rem;
.org-visibility .label {
margin-left: 5px;
}
.ui.dropdown {
max-width: 100%;
@media @mediaSm {
> .menu {
position: static;
}
}
}
}
2015-11-13 18:05:48 +01:00
}
&.feeds {
.news {
li {
display: flex;
align-items: baseline;
margin-top: .5rem;
margin-bottom: .5rem;
img {
align-self: flex-start;
}
}
li > * + * {
margin-left: .35rem;
}
> .ui.grid {
margin-left: auto;
margin-right: auto;
}
2019-05-13 08:26:32 +02:00
.left .ui.avatar {
margin-top: 13px;
}
2019-05-13 08:26:32 +02:00
.time-since {
font-size: 13px;
}
2019-05-13 08:26:32 +02:00
.issue.title {
width: 80%;
margin: 0 0 1em;
}
2019-05-13 08:26:32 +02:00
.push.news .content ul {
line-height: 18px;
font-size: 13px;
list-style: none;
padding-left: 10px;
2015-11-13 18:05:48 +01:00
.text.truncate {
width: 80%;
}
}
2019-05-13 08:26:32 +02:00
.commit-id {
font-family: var(--fonts-monospace);
}
2019-05-13 08:26:32 +02:00
code {
padding: 1px;
font-size: 85%;
background-color: rgba(0, 0, 0, .04);
border-radius: 3px;
word-break: break-all;
}
&:last-of-type .divider {
display: none !important;
}
}
.list {
ul {
list-style: none;
margin: 0;
padding-left: 0;
2015-12-12 22:53:16 +01:00
li {
&:not(:last-child) {
border-bottom: 1px solid var(--color-secondary);
}
2019-05-13 08:26:32 +02:00
&.private {
background-color: #fcf8e9;
}
.repo-list-link {
padding: 6px 1em;
display: block;
2016-07-16 06:45:13 +02:00
.svg {
color: var(--color-text-light-2);
}
.star-num {
font-size: 12px;
}
}
}
}
#privateFilterCheckbox .svg {
color: #888888;
margin-right: .25rem;
}
.repo-owner-name-list .item-name {
max-width: 70%;
}
}
}