summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-28 01:44:09 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-28 01:44:09 -0400
commite3b78c47e24c9ef175f355a5868bb6191946cf4e (patch)
treefe793035e3052b8967984de3ea092c943466ddb7 /public
parent49193bebd283322bb997b7aed09fc7818a881af9 (diff)
parent7d48f811f16d3565f161a44e4e98c451cf6c857e (diff)
downloadgitea-e3b78c47e24c9ef175f355a5868bb6191946cf4e.tar.gz
gitea-e3b78c47e24c9ef175f355a5868bb6191946cf4e.zip
Merge branch 'master' of github.com:gogits/gogs
Conflicts: public/ng/less/gogs/repository.less templates/repo/home.tmpl
Diffstat (limited to 'public')
-rw-r--r--public/ng/css/gogs.css24
-rw-r--r--public/ng/less/gogs/dashboard.less4
-rw-r--r--public/ng/less/gogs/issue.less11
-rw-r--r--public/ng/less/gogs/repository.less110
4 files changed, 84 insertions, 65 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index a0be4ee436..aa5d606ec5 100644
--- a/public/ng/css/gogs.css
+++ b/public/ng/css/gogs.css
@@ -709,6 +709,7 @@ ol.linenums {
#dashboard-header {
border-bottom: 1px solid #d6d6d6;
height: 69px;
+ background-color: #FFF;
}
#dashboard-header > .menu-line > li {
padding: 12px 6px;
@@ -824,6 +825,11 @@ ol.linenums {
#dashboard-my-repo .repo-contrib-header {
border-top: 1px solid #d6d6d6;
}
+#dashboard-my-mirror .panel-header,
+#dashboard-my-org .panel-header,
+#dashboard-my-repo .panel-header {
+ font-size: 14px;
+}
#dashboard-my-repo .panel-header .octicon {
margin-right: 6px;
font-size: 12px;
@@ -1053,6 +1059,10 @@ The register and sign-in page style
#repo-content {
padding: 18px 0;
}
+.repo-wide-wrapper {
+ padding: 18px 0;
+ position: relative;
+}
#repo-clone-url {
border-right: none;
width: 190px;
@@ -1077,6 +1087,9 @@ The register and sign-in page style
#repo-desc {
font-size: 1.2em;
}
+#repo-desc .no-description {
+ color: #999;
+}
#repo-sidebar-nav .label {
font-size: 12px;
line-height: 1.4em;
@@ -1244,7 +1257,8 @@ The register and sign-in page style
font-weight: normal;
color: #888;
}
-#repo-readme {
+#repo-readme,
+#repo-read-file {
margin-bottom: 80px;
}
#repo-bare-start {
@@ -1454,6 +1468,10 @@ The register and sign-in page style
#commits-list {
padding-top: 20px;
}
+#commits-list h4 {
+ line-height: 30px;
+ margin-bottom: 0;
+}
.commit-list th {
background-color: #FFF;
line-height: 28px !important;
@@ -1639,10 +1657,6 @@ The register and sign-in page style
#user-ssh-add-form .field {
margin-bottom: 24px;
}
-.repo-issue-wrapper {
- padding: 18px 0;
- position: relative;
-}
.pr-main {
margin-right: 100px;
}
diff --git a/public/ng/less/gogs/dashboard.less b/public/ng/less/gogs/dashboard.less
index 24c433a31a..cf1b87cc6f 100644
--- a/public/ng/less/gogs/dashboard.less
+++ b/public/ng/less/gogs/dashboard.less
@@ -12,6 +12,7 @@
#dashboard-header {
border-bottom: 1px solid @dashboardHeaderBorderColor;
height: 69px;
+ background-color: #FFF;
> .menu-line {
> li {
padding: 12px 6px;
@@ -125,6 +126,9 @@
.repo-contrib-header {
border-top: 1px solid #d6d6d6;
}
+ .panel-header{
+ font-size: 14px;
+ }
}
#dashboard-my-repo {
.panel-header {
diff --git a/public/ng/less/gogs/issue.less b/public/ng/less/gogs/issue.less
index d5ab081764..aaeb1af325 100644
--- a/public/ng/less/gogs/issue.less
+++ b/public/ng/less/gogs/issue.less
@@ -1,23 +1,16 @@
@import "../ui/var";
-.repo-issue-wrapper {
- padding: 18px 0;
- position: relative;
-}
-
// pull request main content
.pr-main {
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;
+ right: 0;
+ top: 12px;
}
-
.pr-title {
.pr-num {
font-weight: normal;
diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less
index be003906e8..daa8983bcb 100644
--- a/public/ng/less/gogs/repository.less
+++ b/public/ng/less/gogs/repository.less
@@ -6,12 +6,12 @@
/* repository main */
#repo-wrapper {
- padding-bottom: 100px;
+ padding-bottom: 100px;
}
#repo-header {
- height: 69px;
- border-bottom: 1px solid@repoHeaderBorderColor;
- background-color: @repoHeaderBgColor;
+ height: 69px;
+ border-bottom: 1px solid@repoHeaderBorderColor;
+ background-color: @repoHeaderBgColor;
}
#repo-header-name {
line-height: 66px;
@@ -91,6 +91,10 @@
#repo-content {
padding: 18px 0;
}
+.repo-wide-wrapper {
+ padding: 18px 0;
+ position: relative;
+}
#repo-clone-url {
border-right: none;
width: 190px;
@@ -114,6 +118,9 @@
}
#repo-desc {
font-size: 1.2em;
+ .no-description{
+ color: #999;
+ }
}
#repo-sidebar-nav {
.label {
@@ -136,14 +143,14 @@
padding-left: 12px;
width: 24px;
text-align: center;
- > i.octicon{
+ > i.octicon {
font-size: 21px;
}
}
- .num{
+ .num {
position: absolute;
font-size: 12px;
- top:0;
+ top: 0;
left: 36px;
padding: 0 2px;
min-width: 16px;
@@ -197,34 +204,34 @@
box-sizing: border-box;
}
#repo-branch-tag {
- .tab-nav {
- border-bottom: 1px solid #EAEAEA;
- a {
- padding: .3em .8em;
- }
- .js-tab-nav-show {
- background-color: #EEE;
- font-weight: bold;
- }
+ .tab-nav {
+ border-bottom: 1px solid #EAEAEA;
+ a {
+ padding: .3em .8em;
}
- .switching-list {
- max-height: 300px;
- overflow-y: auto;
+ .js-tab-nav-show {
+ background-color: #EEE;
+ font-weight: bold;
}
+ }
+ .switching-list {
+ max-height: 300px;
+ overflow-y: auto;
+ }
}
#repo-branch-list,
#repo-tag-list {
- li {
- i {
- margin-right: 12px;
- opacity: 0;
- }
+ li {
+ i {
+ margin-right: 12px;
+ opacity: 0;
}
- li.checked {
- i {
- opacity: 1;
- }
+ }
+ li.checked {
+ i {
+ opacity: 1;
}
+ }
}
#repo-bread {
.bread {
@@ -301,7 +308,8 @@
}
}
}
-#repo-readme {
+#repo-readme,
+#repo-read-file {
margin-bottom: 80px;
}
#repo-bare-start {
@@ -494,29 +502,29 @@
list-style: none;
}
#commits-list {
- padding-top: 20px;
+ padding-top: 20px;
+ h4{
+ line-height: 30px;
+ margin-bottom: 0;
+ }
}
.commit-list {
- th {
- background-color: #FFF;
- line-height: 28px !important;
- }
- .date {
- width: 120px;
- }
- .author {
- padding-left: 20px;
- min-width: 180px;
- img {
- margin-top: -4px;
- }
- }
- .sha a {
- font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
- font-size: 14px;
+ th {
+ background-color: #FFF;
+ line-height: 28px !important;
+ }
+ .date {
+ width: 120px;
+ }
+ .author {
+ padding-left: 20px;
+ min-width: 180px;
+ img {
+ margin-top: -4px;
}
-}
-.no-desc {
- color: #888;
- font-style: italic;
+ }
+ .sha a {
+ font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
+ font-size: 14px;
+ }
} \ No newline at end of file