mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 22:54:24 +00:00
template and ui fix
This commit is contained in:
parent
dccc50e9d4
commit
e3a27aeb25
@ -1059,6 +1059,10 @@ The register and sign-in page style
|
|||||||
#repo-content {
|
#repo-content {
|
||||||
padding: 18px 0;
|
padding: 18px 0;
|
||||||
}
|
}
|
||||||
|
.repo-wide-wrapper {
|
||||||
|
padding: 18px 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
#repo-clone-url {
|
#repo-clone-url {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
width: 190px;
|
width: 190px;
|
||||||
@ -1083,6 +1087,9 @@ The register and sign-in page style
|
|||||||
#repo-desc {
|
#repo-desc {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
#repo-desc .no-description {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
#repo-sidebar-nav .label {
|
#repo-sidebar-nav .label {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
@ -1461,6 +1468,10 @@ The register and sign-in page style
|
|||||||
#commits-list {
|
#commits-list {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
#commits-list h4 {
|
||||||
|
line-height: 30px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
.commit-list th {
|
.commit-list th {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
line-height: 28px !important;
|
line-height: 28px !important;
|
||||||
@ -1642,10 +1653,6 @@ The register and sign-in page style
|
|||||||
#user-ssh-add-form .field {
|
#user-ssh-add-form .field {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
.repo-issue-wrapper {
|
|
||||||
padding: 18px 0;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.pr-main {
|
.pr-main {
|
||||||
margin-right: 100px;
|
margin-right: 100px;
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
@import "../ui/var";
|
@import "../ui/var";
|
||||||
.repo-issue-wrapper {
|
|
||||||
padding: 18px 0;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
// pull request main content
|
// pull request main content
|
||||||
.pr-main {
|
.pr-main {
|
||||||
margin-right: 100px;
|
margin-right: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// right bar in pull request page
|
// right bar in pull request page
|
||||||
.pr-sidebar {
|
.pr-sidebar {
|
||||||
border-left: 1px solid #DDD;
|
border-left: 1px solid #DDD;
|
||||||
@ -17,7 +11,6 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
top: 12px;
|
top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pr-title {
|
.pr-title {
|
||||||
.pr-num {
|
.pr-num {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
@ -91,6 +91,10 @@
|
|||||||
#repo-content {
|
#repo-content {
|
||||||
padding: 18px 0;
|
padding: 18px 0;
|
||||||
}
|
}
|
||||||
|
.repo-wide-wrapper {
|
||||||
|
padding: 18px 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
#repo-clone-url {
|
#repo-clone-url {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
width: 190px;
|
width: 190px;
|
||||||
@ -114,6 +118,9 @@
|
|||||||
}
|
}
|
||||||
#repo-desc {
|
#repo-desc {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
.no-description{
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#repo-sidebar-nav {
|
#repo-sidebar-nav {
|
||||||
.label {
|
.label {
|
||||||
@ -496,6 +503,10 @@
|
|||||||
}
|
}
|
||||||
#commits-list {
|
#commits-list {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
h4{
|
||||||
|
line-height: 30px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.commit-list {
|
.commit-list {
|
||||||
th {
|
th {
|
||||||
|
@ -4,9 +4,11 @@
|
|||||||
{{template "repo/header" .}}
|
{{template "repo/header" .}}
|
||||||
<div id="repo-content" class="clear container">
|
<div id="repo-content" class="clear container">
|
||||||
<div id="repo-main" class="left grid-5-6">
|
<div id="repo-main" class="left grid-5-6">
|
||||||
<p id="repo-desc">
|
<p id="repo-desc">{{if .Repository.DescriptionHtml}}
|
||||||
<span class="description">{{.Repository.DescriptionHtml}}</span>
|
<span class="description">{{.Repository.DescriptionHtml}}</span>
|
||||||
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>
|
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>{{else}}
|
||||||
|
<span class="no-description text-italic"><i>No Description</i></span>
|
||||||
|
{{end}}
|
||||||
</p>
|
</p>
|
||||||
<ul id="repo-file-nav" class="clear menu menu-line">
|
<ul id="repo-file-nav" class="clear menu menu-line">
|
||||||
<!-- <li>
|
<!-- <li>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{template "ng/base/header" .}}
|
{{template "ng/base/header" .}}
|
||||||
<div id="repo-wrapper">
|
<div id="repo-wrapper">
|
||||||
{{template "repo/header" .}}
|
{{template "repo/header" .}}
|
||||||
<div class="clear container repo-issue-wrapper repo-pr">
|
<div class="clear container repo-wide-wrapper repo-pr">
|
||||||
<div class="pr-main">
|
<div class="pr-main">
|
||||||
<div class="pr-title clear">
|
<div class="pr-title clear">
|
||||||
<h2 class="pr-title grid-5-6 left">Fix: Repo Name can not be converted to lower in some cases <span class="pr-num">#256</span></h2>
|
<h2 class="pr-title grid-5-6 left">Fix: Repo Name can not be converted to lower in some cases <span class="pr-num">#256</span></h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user