diff options
author | harry <harryzhxu@gmail.com> | 2017-10-02 22:27:48 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-10-03 06:27:48 +0300 |
commit | b3cfa5a77ecca54f873d9c477f052770206b3f55 (patch) | |
tree | d85f7203a5864b359f6694484754107417dafab9 /public/less/_repository.less | |
parent | a04718a2a6c2cfd46be17572b8220ee14b1bd1ac (diff) | |
download | gitea-b3cfa5a77ecca54f873d9c477f052770206b3f55.tar.gz gitea-b3cfa5a77ecca54f873d9c477f052770206b3f55.zip |
Use Semantic UI's Search component for user and repo search (#2636)
* Use search component on org invitation user input.
* Search component for collaboration and members.
* Search component for repo search.
* minCharacters for search input
* Display full_name for user search.
* Fixed missing uid query parameter for repo search.
* Removed unused comment.
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r-- | public/less/_repository.less | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index d161cc65e5..288c0196da 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -1345,20 +1345,15 @@ #search-repo-box, #search-user-box { .results { - padding: 0; - position: absolute; - - .item { - padding: 10px 15px; - border-bottom: 1px solid #DDD; - cursor: pointer; - - &:hover { - background: rgba(0,0,0,.05)!important; - color: rgba(0,0,0,.95)!important; - } - img { + .result { + .image { + float: left; margin-right: 8px; + width: 2em; + height: 2em; + } + .content { + margin: 6px 0; } } } |