aboutsummaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-20 20:18:49 +0800
committerUnknwon <u@gogs.io>2015-08-20 20:18:49 +0800
commitaa65761d81d3f33bdfee578c14bb2b0c7a6ca639 (patch)
tree8c86e0e58758bc10a737b503f8d92e62406adf06 /public/less
parentd7c3c79c00425e89a71e6178076bc5828421244d (diff)
downloadgitea-aa65761d81d3f33bdfee578c14bb2b0c7a6ca639.tar.gz
gitea-aa65761d81d3f33bdfee578c14bb2b0c7a6ca639.zip
new commits table
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_admin.less2
-rw-r--r--public/less/_base.less7
-rw-r--r--public/less/_form.less6
-rw-r--r--public/less/_home.less2
-rw-r--r--public/less/_install.less2
-rw-r--r--public/less/_repository.less48
-rw-r--r--public/less/_user.less2
7 files changed, 63 insertions, 6 deletions
diff --git a/public/less/_admin.less b/public/less/_admin.less
index 93115a7f8f..3c119a9504 100644
--- a/public/less/_admin.less
+++ b/public/less/_admin.less
@@ -1,6 +1,6 @@
.admin {
padding-top: 15px;
- padding-bottom: @footer-margin * 3;
+ padding-bottom: @footer-margin * 2;
.table.segment {
padding: 0;
diff --git a/public/less/_base.less b/public/less/_base.less
index 4bbb098ea4..d8543483bd 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -92,6 +92,13 @@ img {
&.small {
font-size: 0.75em;
}
+
+ &.truncate {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ display: inline-block;
+ }
}
.message {
diff --git a/public/less/_form.less b/public/less/_form.less
index 03c0144d98..85a0b21787 100644
--- a/public/less/_form.less
+++ b/public/less/_form.less
@@ -9,7 +9,11 @@
.ui.attached.header {
background: #f0f0f0;
.right {
- margin-top: -6px;
+ margin-top: -5px;
+ .button {
+ padding: 8px 10px;
+ font-weight: normal;
+ }
}
}
.repository {
diff --git a/public/less/_home.less b/public/less/_home.less
index 93df7b1902..14517fa9e8 100644
--- a/public/less/_home.less
+++ b/public/less/_home.less
@@ -1,5 +1,5 @@
.home {
- padding-bottom: @footer-margin * 3;
+ padding-bottom: @footer-margin * 2;
.logo {
max-width: 250px;
}
diff --git a/public/less/_install.less b/public/less/_install.less
index 7bd6265f14..33c927fb10 100644
--- a/public/less/_install.less
+++ b/public/less/_install.less
@@ -1,6 +1,6 @@
.install {
padding-top: 45px;
- padding-bottom: @footer-margin * 3;
+ padding-bottom: @footer-margin * 2;
form {
@input-padding: 320px !important;
label {
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 5c8d68f414..485bb3c152 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -2,7 +2,7 @@
@mega-octicon-width: 30px;
padding-top: 15px;
- padding-bottom: @footer-margin * 3;
+ padding-bottom: @footer-margin * 2;
.head {
.column {
@@ -424,6 +424,52 @@
}
}
}
+
+ &.commits {
+ .header {
+ .ui.right {
+ .search {
+ input {
+ font-weight: normal;
+ padding: 5px 10px;
+ }
+ }
+ .button {
+ float: right;
+ margin-left: 5px;
+ margin-top: 1px;
+ }
+ }
+ }
+ }
+ .commits.table {
+ font-size: 13px;
+ th, td {
+ &:first-child {
+ padding-left: 15px;
+ }
+ }
+ td {
+ line-height: 15px;
+ }
+ .author {
+ min-width: 180px;
+ }
+ .sha {
+ a {
+ font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
+ font-size: 14px;
+ padding: 6px 10px 4px 10px;
+ font-weight: normal;
+ }
+ }
+ .message span {
+ max-width: 500px;
+ }
+ .date {
+ width: 120px;
+ }
+ }
}
.ui.comments {
diff --git a/public/less/_user.less b/public/less/_user.less
index ac2b4032ba..b07e30fe31 100644
--- a/public/less/_user.less
+++ b/public/less/_user.less
@@ -1,6 +1,6 @@
.user {
padding-top: 15px;
- padding-bottom: @footer-margin * 3;
+ padding-bottom: @footer-margin * 2;
&.settings {
.key.list {