aboutsummaryrefslogtreecommitdiff
path: root/public/less/_base.less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-10 15:13:48 -0500
committerUnknwon <u@gogs.io>2017-03-10 15:13:48 -0500
commitebc0943713196abe939e445f35e0f726f5cbee1e (patch)
treee4f7248ba87586c12129bd36718f27d571ece513 /public/less/_base.less
parent451aef7a1c177b58c4519239a65dbfbab32b4888 (diff)
templates/repo: only show Git stats in repository home page (#3518)
Move 'Commits' and 'Releases' tabs down to body. This patch also reduces page load time for pages that do not need to use commits count anywhere. Get commits count can hurt performance badly for huge repositories that has tens of thousands commits like Linux Kernel.
Diffstat (limited to 'public/less/_base.less')
-rw-r--r--public/less/_base.less6
1 files changed, 6 insertions, 0 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index c061b4b6..1f04f569 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -135,6 +135,12 @@ pre, code {
}
}
+ &.menu,
+ &.vertical.menu,
+ &.segment {
+ box-shadow: none;
+ }
+
.text {
&.red {
color: #d95c5c !important;