Code/repo search (#2582)
Indexed search of repository contents (for default branch only)
This commit is contained in:
parent
762f1d7237
commit
5866eb2321
33 changed files with 1214 additions and 31 deletions
File diff suppressed because one or more lines are too long
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue