1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add missing less files

This commit is contained in:
Unknwon
2014-08-05 21:18:29 -04:00
parent fa0a389dc4
commit 6fc2107529
13 changed files with 1917 additions and 39 deletions

View File

@@ -30,6 +30,16 @@ img.avatar-30 {
height: 30px;
vertical-align: middle;
}
img.avatar-40 {
width: 40px;
height: 40px;
vertical-align: middle;
}
img.avatar-48 {
width: 48px;
height: 48px;
vertical-align: middle;
}
#wrapper {
padding: 0;
margin: 0 0 -55px 0;
@@ -197,6 +207,40 @@ img.avatar-30 {
padding-left: 24px;
padding-right: 16px;
}
.markdown h5,
.markdown h6 {
font-size: 1em;
}
.markdown ul {
padding: 10px 0 0 15px;
}
.markdown ul li {
list-style: inside;
}
.markdown ol li {
list-style: decimal inside;
}
.markdown li {
line-height: 1.6;
margin-top: 6px;
}
.markdown li:first-child {
margin-top: 0;
}
.markdown > pre {
font-size: 14px;
line-height: 1.6;
overflow: auto;
border: 1px solid #ddd;
border-radius: .25em;
margin: 5px 0;
padding: 10px;
background-color: #f8f8f8;
}
.markdown img {
padding: 10px 0;
max-width: 100%;
}
.markdown a {
color: #428BCA;
}
@@ -233,12 +277,6 @@ img.avatar-30 {
.markdown h4 {
font-size: 18px;
}
.markdown h5 {
font-size: 1em;
}
.markdown h6 {
font-size: 1em;
}
.markdown table {
border-collapse: collapse;
border-spacing: 0;
@@ -262,22 +300,6 @@ img.avatar-30 {
.markdown table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown ul {
padding: 10px 0 0 15px;
}
.markdown ul li {
list-style: inside;
}
.markdown ol li {
list-style: decimal inside;
}
.markdown li {
line-height: 1.6;
margin-top: 6px;
}
.markdown li:first-child {
margin-top: 0;
}
.markdown dl dt {
font-style: italic;
margin-top: 9px;
@@ -291,16 +313,6 @@ img.avatar-30 {
font-size: 14px;
background-color: #f5f5f5;
}
.markdown > pre {
font-size: 14px;
line-height: 1.6;
overflow: auto;
border: 1px solid #ddd;
border-radius: .25em;
margin: 5px 0;
padding: 10px;
background-color: #f8f8f8;
}
.markdown > pre.linenums {
padding: 0;
}
@@ -349,10 +361,6 @@ img.avatar-30 {
.markdown p:last-child {
margin-bottom: 0;
}
.markdown img {
padding: 10px 0;
max-width: 100%;
}
.markdown .btn {
color: #fff;
}
@@ -1373,6 +1381,7 @@ The register and sign-in page style
.pr-nav {
border-bottom: 1px solid #DDD;
margin-top: 16px;
margin-bottom: 16px;
}
.pr-nav .octicon {
margin-right: 4px;
@@ -1389,7 +1398,7 @@ The register and sign-in page style
font-size: 12px;
margin-left: 4px;
}
.pr-nav li.current > a {
.pr-nav li.js-tab-nav-show > a {
background-color: #FFF;
border-color: #E6E6E6;
}
@@ -1415,3 +1424,122 @@ The register and sign-in page style
border-top-left-radius: .2em;
border-bottom-left-radius: .2em;
}
#pr-commit,
#pr-file-diff,
#issue-add-comment-preview {
display: none;
}
#pr-conversation-list {
padding-right: 30px;
box-sizing: border-box;
}
.issue-comment,
.issue-commit,
.issue-line,
.issue-merge,
.issue-add-comment {
margin-bottom: 16px;
}
.issue-comment .author-avatar img {
margin-right: 12px;
}
.issue-comment .panel {
margin-left: 60px;
margin-top: -40px;
}
.issue-comment .panel-header {
font-size: 13px;
}
.issue-comment .author-name {
font-weight: bold;
}
.issue-comment .date {
margin-left: 4px;
font-style: italic;
color: #888;
}
.issue-comment .action > * {
margin-left: 4px;
font-size: 12px;
}
.issue-comment .action i {
font-size: 13px;
}
.issue-commit {
line-height: 32px;
}
.issue-commit i,
.issue-commit .author-avatar img {
margin-right: 16px;
}
.issue-commit .sha {
margin-left: 24px;
}
.issue-commit .message {
display: block;
margin-left: 88px;
padding-top: 4px;
line-height: 24px;
}
.issue-merge .ico {
width: 40px;
height: 40px;
text-align: center;
color: #FFF;
margin-right: 12px;
}
.issue-merge .ico i {
margin-top: 8px;
font-size: 24px;
}
.issue-merge .panel {
margin-left: 60px;
margin-top: -40px;
}
.issue-merge .panel-header {
font-size: 13px;
}
.issue-merge-ok .ico {
background-color: #65AD4E;
}
.issue-merge-ok .panel,
.issue-merge-ok .panel-content,
.issue-merge-ok .panel-header {
border-color: #65AD4E;
background-color: #FFF;
}
.issue-merge-ok .panel-header {
color: #508a3e;
}
.issue-line {
height: 4px;
background-color: #E6E6E6;
}
.issue-add-comment .panel {
margin-left: 60px;
margin-top: -40px;
}
.issue-add-comment .panel-header {
font-size: 13px;
padding-bottom: 0;
}
.issue-add-comment .add-nav > li > a {
padding: 4px 12px;
color: #444;
border: 1px solid #CCC;
margin-bottom: -1px;
font-size: 14px;
border-top-left-radius: .3em;
border-top-right-radius: .3em;
}
.issue-add-comment .add-nav > li > a:hover {
background-color: #FFF;
}
.issue-add-comment .add-nav > li.js-tab-nav-show > a {
background-color: #FFF;
}
textarea#issue-add-content {
width: 100%;
box-sizing: border-box;
height: 120px;
}