summaryrefslogtreecommitdiffstats
path: root/public/less/_repository.less
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-10-26 23:10:54 -0700
committerLauris BH <lauris@nix.lv>2017-10-27 09:10:54 +0300
commit5866eb23217de4d29b181e30c26cee28ebc6aedc (patch)
treef8f67462544c709e8dd6988ca4d55a22cfc3a22c /public/less/_repository.less
parent762f1d7237de5727815ebda9593f7f9a20a5a077 (diff)
downloadgitea-5866eb23217de4d29b181e30c26cee28ebc6aedc.tar.gz
gitea-5866eb23217de4d29b181e30c26cee28ebc6aedc.zip
Code/repo search (#2582)
Indexed search of repository contents (for default branch only)
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r--public/less/_repository.less19
1 files changed, 17 insertions, 2 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index e4ae400018..2e9b35e01e 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -158,6 +158,11 @@
}
&.file.list {
+ .repo-description {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
#repo-desc {
font-size: 1.2em;
}
@@ -226,7 +231,7 @@
}
}
- #file-content {
+ .non-diff-file-content {
.header {
.icon {
font-size: 1em;
@@ -244,7 +249,7 @@
background: transparent;
border: 0;
outline: none;
- }
+ }
.btn-octicon:hover {
color: #4078c0;
}
@@ -323,6 +328,9 @@
}
}
}
+ .active {
+ background: #ffffdd;
+ }
}
}
@@ -1038,6 +1046,13 @@
overflow-x: auto;
overflow-y: hidden;
}
+ .repo-search-result {
+ padding-top: 10px;
+ padding-bottom: 10px;
+ .lines-num a {
+ color: inherit;
+ }
+ }
&.quickstart {
.guide {