summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-11-30 23:57:07 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-02 21:42:31 +0100
commit640dce12a892eaf1fa21399f5cac12e8ea83bd9e (patch)
tree182c57e80d969991a2724f1840def27c92177861 /public
parent99b958db4325fd52566dd0d0e81afb8d891bac27 (diff)
downloadgitea-640dce12a892eaf1fa21399f5cac12e8ea83bd9e.tar.gz
gitea-640dce12a892eaf1fa21399f5cac12e8ea83bd9e.zip
CSS: .repository .sha.label -> .ui .sha.label
This is because SHA1 label is used in many other places, not only inside .repository container.
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css13
-rw-r--r--public/less/_base.less8
-rw-r--r--public/less/_repository.less6
3 files changed, 15 insertions, 12 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 19a34b8fe2..d3565b192b 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -913,6 +913,13 @@ pre.raw {
.ui .form .fake {
display: none !important;
}
+.ui .sha.label {
+ font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
+ font-size: 14px;
+ padding: 6px 10px 4px 10px;
+ font-weight: normal;
+ margin: 0 6px;
+}
.ui.status.buttons .octicon {
margin-right: 4px;
}
@@ -2267,12 +2274,6 @@ footer .container .links > *:first-child {
.repository .commits.table .date {
width: 120px;
}
-.repository .sha.label {
- font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
- font-size: 14px;
- padding: 6px 10px 4px 10px;
- font-weight: normal;
-}
.repository .diff-detail-box {
margin: 15px 0;
line-height: 30px;
diff --git a/public/less/_base.less b/public/less/_base.less
index 086c687709..2ae2fea6e7 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -219,6 +219,14 @@ pre {
}
}
+ .sha.label {
+ font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
+ font-size: 14px;
+ padding: 6px 10px 4px 10px;
+ font-weight: normal;
+ margin: 0 6px;
+ }
+
&.status.buttons {
.octicon {
margin-right: 4px;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 928d5cf357..2e0ea17c79 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -630,12 +630,6 @@
width: 120px;
}
}
- .sha.label {
- font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
- font-size: 14px;
- padding: 6px 10px 4px 10px;
- font-weight: normal;
- }
.diff-detail-box {
margin: 15px 0;