forked from gitea/gitea
1
0
Fork 0
gitea/public/less/_dashboard.less

119 lines
1.6 KiB
Plaintext
Raw Normal View History

2015-08-25 22:58:34 +08:00
.dashboard {
padding-top: 15px;
padding-bottom: @footer-margin * 2;
2015-11-14 01:05:48 +08:00
&.feeds,
2015-08-25 22:58:34 +08:00
&.issues {
.context.user.menu {
2015-09-06 07:58:44 +08:00
z-index: 101;
2015-08-25 22:58:34 +08:00
min-width: 200px;
.ui.header {
font-size: 1rem;
text-transform: none;
}
}
.filter.menu {
2015-09-03 15:49:50 +08:00
.item {
text-align: left;
2015-09-08 04:12:58 +08:00
.text {
height: 16px;
vertical-align: middle;
2015-11-05 01:50:02 +08:00
&.truncate {
width: 85%;
}
2015-09-08 04:12:58 +08:00
}
2015-09-03 15:49:50 +08:00
.floating.label {
top: 7px;
2015-09-08 04:12:58 +08:00
left: 90%;
width: 15%;
2015-09-03 15:49:50 +08:00
}
}
2015-11-05 01:50:02 +08:00
// Sort
.jump.item {
margin: 1px;
padding-right: 0;
2015-08-25 22:58:34 +08:00
}
2015-11-05 01:50:02 +08:00
.menu {
max-height: 300px;
overflow-x: auto;
right: 0!important;
left: auto!important;
2015-09-03 15:49:50 +08:00
}
2015-08-25 22:58:34 +08:00
}
2015-08-26 00:01:06 +08:00
.ui.right .head.menu {
margin-top: -5px;
.item.active {
2015-08-26 01:47:05 +08:00
color: #d9453d;
2015-08-26 00:01:06 +08:00
}
}
2015-09-08 04:12:58 +08:00
.head.menu {
.octicon {
margin-right: 5px;
}
}
2015-08-25 22:58:34 +08:00
}
2015-11-14 01:05:48 +08:00
}
&.feeds {
.news {
.ui.avatar {
margin-top: 13px;
}
p {
line-height: 1em;
}
.time-since {
font-size: 13px;
}
.issue.title {
2015-11-20 12:52:23 +08:00
line-height: 1.1em;
2015-11-14 01:05:48 +08:00
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;
}
}
}
.list {
.header {
padding-top: 10px;
padding-bottom: 5px;
}
ul {
list-style: none;
margin: 0;
padding-left: 0;
li {
&:not(:last-child) {
border-bottom: 1px solid #EAEAEA;
}
&.private {
background-color: #fcf8e9;
}
a {
padding: 6px 1.2em;
display: block;
.octicon {
margin-right: 6px;
color: #888;
}
}
}
}
}
2015-08-25 22:58:34 +08:00
}