summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-23 15:30:04 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-23 15:30:04 -0400
commit5bbeeb0f1b5cecb67e1527410a45fb65df0096d1 (patch)
tree7c135abd7c84f4e1743ad621265fbaee25bf5f99 /public
parent93ee0838eb317ce729391fbfafa0595f561e3f65 (diff)
downloadgitea-5bbeeb0f1b5cecb67e1527410a45fb65df0096d1.tar.gz
gitea-5bbeeb0f1b5cecb67e1527410a45fb65df0096d1.zip
Page: Commits and fix #249
Diffstat (limited to 'public')
-rw-r--r--public/ng/css/gogs.css26
-rw-r--r--public/ng/css/ui.css4
-rw-r--r--public/ng/less/gogs/base.less5
-rw-r--r--public/ng/less/gogs/repository.less33
-rw-r--r--public/ng/less/ui/label.less8
5 files changed, 67 insertions, 9 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index d11ae959dc..662a737f14 100644
--- a/public/ng/css/gogs.css
+++ b/public/ng/css/gogs.css
@@ -20,6 +20,11 @@ img.avatar-16 {
height: 16px;
vertical-align: middle;
}
+img.avatar-20 {
+ width: 20px;
+ height: 20px;
+ vertical-align: middle;
+}
img.avatar-24 {
width: 24px;
height: 24px;
@@ -1446,6 +1451,27 @@ The register and sign-in page style
width: 100%;
list-style: none;
}
+#commits-list {
+ padding-top: 20px;
+}
+.commit-list th {
+ background-color: #FFF;
+ line-height: 28px !important;
+}
+.commit-list .date {
+ width: 120px;
+}
+.commit-list .author {
+ padding-left: 20px;
+ min-width: 180px;
+}
+.commit-list .author img {
+ margin-top: -4px;
+}
+.commit-list .sha a {
+ font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
+ font-size: 14px;
+}
#admin-wrapper,
#setting-wrapper {
padding-bottom: 100px;
diff --git a/public/ng/css/ui.css b/public/ng/css/ui.css
index 5dc3cc0408..bd2eb4c93c 100644
--- a/public/ng/css/ui.css
+++ b/public/ng/css/ui.css
@@ -732,6 +732,10 @@ ul.menu-radius > li:last-child > a {
.label-green {
background-color: #65ad4e;
}
+.label-green:hover {
+ background-color: #71bf57;
+ color: #FFF;
+}
.label-orange {
background-color: #df7514;
}
diff --git a/public/ng/less/gogs/base.less b/public/ng/less/gogs/base.less
index 47d8b1b65c..4319a56ee5 100644
--- a/public/ng/less/gogs/base.less
+++ b/public/ng/less/gogs/base.less
@@ -30,6 +30,11 @@ img.avatar-16 {
height: 16px;
vertical-align: middle;
}
+img.avatar-20 {
+ width: 20px;
+ height: 20px;
+ vertical-align: middle;
+}
img.avatar-24 {
width: 24px;
height: 24px;
diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less
index d982491365..7d6cdd0a5d 100644
--- a/public/ng/less/gogs/repository.less
+++ b/public/ng/less/gogs/repository.less
@@ -6,14 +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;
@@ -494,4 +492,27 @@
.setting-list {
width: 100%;
list-style: none;
+}
+#commits-list {
+ padding-top: 20px;
+}
+.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;
+ }
} \ No newline at end of file
diff --git a/public/ng/less/ui/label.less b/public/ng/less/ui/label.less
index a2a8a67905..21a4c82d3d 100644
--- a/public/ng/less/ui/label.less
+++ b/public/ng/less/ui/label.less
@@ -16,11 +16,13 @@
.label-gray {
background-color: @labelGrayColor;
}
-
.label-green {
- background-color: @labelGreenColor;
+ background-color: @labelGreenColor;
+ &:hover {
+ background-color: @btnHoverGreenColor;
+ color: #FFF;
+ }
}
-
.label-orange {
background-color: @labelOrangeColor;
}