forgejo-federation/public/less/_dashboard.less

160 lines
2.2 KiB
Text
Raw Normal View History

2015-08-25 20:28:34 +05:30
.dashboard {
padding-top: 15px;
padding-bottom: @footer-margin * 2;
2015-11-13 22:35:48 +05:30
&.feeds,
2015-08-25 20:28:34 +05:30
&.issues {
.context.user.menu {
2015-09-06 05:28:44 +05:30
z-index: 101;
2015-08-25 20:28:34 +05:30
min-width: 200px;
.ui.header {
font-size: 1rem;
text-transform: none;
2015-08-25 20:28:34 +05:30
}
}
.filter.menu {
2015-09-03 13:19:50 +05:30
.item {
text-align: left;
2015-09-08 01:42:58 +05:30
.text {
height: 16px;
vertical-align: middle;
&.truncate {
2015-11-04 23:20:02 +05:30
width: 85%;
}
2015-09-08 01:42:58 +05:30
}
2015-09-03 13:19:50 +05:30
.floating.label {
top: 7px;
2015-09-08 01:42:58 +05:30
left: 90%;
width: 15%;
2015-09-03 13:19:50 +05:30
}
}
2015-11-04 23:20:02 +05:30
// Sort
.jump.item {
margin: 1px;
padding-right: 0;
2015-08-25 20:28:34 +05:30
}
2015-11-04 23:20:02 +05:30
.menu {
max-height: 300px;
overflow-x: auto;
right: 0!important;
left: auto!important;
2015-09-03 13:19:50 +05:30
}
2015-08-25 20:28:34 +05:30
}
2015-08-25 21:31:06 +05:30
.ui.right .head.menu {
margin-top: -5px;
.item.active {
2015-08-25 23:17:05 +05:30
color: #d9453d;
2015-08-25 21:31:06 +05:30
}
}
2015-08-25 20:28:34 +05:30
}
2015-11-13 22:35:48 +05:30
}
&.feeds {
.news {
> .ui.grid {
margin-left: auto;
margin-right: auto;
}
2015-11-13 22:35:48 +05:30
.ui.avatar {
margin-top: 13px;
}
p {
line-height: 1em;
}
.time-since {
font-size: 13px;
}
.issue.title {
2015-11-20 10:22:23 +05:30
line-height: 1.1em;
2015-11-13 22:35:48 +05:30
width: 80%;
}
.push.news .content ul {
font-size: 13px;
list-style: none;
padding-left: 10px;
img {
margin-bottom: -2px;
}
.text.truncate {
width: 80%;
margin-bottom: -5px;
}
}
.commit-id {
font-family: Consolas, monospace;
}
2016-01-15 15:30:39 +05:30
code {
padding: 1px;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
word-break: break-all;
}
2015-11-13 22:35:48 +05:30
}
.list {
.header {
2016-07-24 12:02:46 +05:30
.ui.label {
margin-top: -4px;
padding: 4px 5px;
font-weight: normal;
}
2015-12-13 03:23:16 +05:30
.plus.icon {
margin-top: 5px;
}
2015-11-13 22:35:48 +05:30
}
ul {
list-style: none;
margin: 0;
padding-left: 0;
li {
&:not(:last-child) {
border-bottom: 1px solid #EAEAEA;
}
2015-11-13 22:35:48 +05:30
&.private {
background-color: #fcf8e9;
}
a {
padding: 6px 1.2em;
display: block;
.octicon {
color: #888;
2016-07-16 10:15:13 +05:30
&.rear {
font-size: 15px;
}
}
.star-num {
font-size: 12px;
}
}
2015-11-13 22:35:48 +05:30
}
}
.repo-owner-name-list {
.item-name {
max-width: 70%;
margin-bottom: -4px;
}
}
#collaborative-repo-list {
.owner-and-repo {
max-width: 80%;
margin-bottom: -5px;
}
.owner-name {
max-width: 120px;
margin-bottom: -5px;
}
}
2015-11-13 22:35:48 +05:30
}
}