mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
pull request ui review, change sidebar
This commit is contained in:
parent
60c65415dd
commit
8d5a4cc9eb
5 changed files with 92 additions and 68 deletions
|
@ -1,40 +1,23 @@
|
|||
@import "../ui/var";
|
||||
.repo-issue-wrapper {
|
||||
padding: 18px 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// pull request main content
|
||||
.pr-main {
|
||||
padding-right: 40px;
|
||||
box-sizing: border-box;
|
||||
margin-right: 100px;
|
||||
}
|
||||
|
||||
// right bar in pull request page
|
||||
.pr-sidebar {
|
||||
border-left: 1px solid #DDD;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
right:0;
|
||||
top:12px;
|
||||
}
|
||||
#pr-sidebar-nav {
|
||||
margin-top: 6px;
|
||||
li {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
li > a {
|
||||
border: 1px solid transparent;
|
||||
border-left: none;
|
||||
&:hover {
|
||||
background-color: #FFF;
|
||||
border-color: #DDD;
|
||||
}
|
||||
}
|
||||
.label {
|
||||
font-size: 12px;
|
||||
line-height: 1.4em;
|
||||
margin-top: 1px;
|
||||
}
|
||||
li.current {
|
||||
a {
|
||||
background-color: #FFF;
|
||||
border-color: #DDD;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pr-title {
|
||||
.pr-num {
|
||||
font-weight: normal;
|
||||
|
|
|
@ -126,6 +126,35 @@
|
|||
margin-right: 6px;
|
||||
}
|
||||
}
|
||||
#repo-sidebar-mini {
|
||||
margin-top: 6px;
|
||||
width: 60px;
|
||||
li {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
li > a {
|
||||
position: relative;
|
||||
> i.octicon{
|
||||
font-size: 21px;
|
||||
}
|
||||
}
|
||||
.num{
|
||||
position: absolute;
|
||||
font-size: 12px;
|
||||
top:0;
|
||||
left: 40px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
border-radius: 4px;
|
||||
opacity: 0.7;
|
||||
-webkit-transform: scale(0.85);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
#repo-file-nav {
|
||||
padding: .6em 0 1em 0;
|
||||
> li > a {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue