diff options
author | Unknwon <u@gogs.io> | 2016-03-11 15:33:12 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-11 15:33:12 -0500 |
commit | 2bf8494332592b3c57f9a12a26b9abd356fb3f15 (patch) | |
tree | e46c61ba30018ebbafcda6b97b36d3ffece3cfb0 /public | |
parent | df2bdf7ea36ad0729e0326ca799d8896d7f96946 (diff) | |
download | gitea-2bf8494332592b3c57f9a12a26b9abd356fb3f15.tar.gz gitea-2bf8494332592b3c57f9a12a26b9abd356fb3f15.zip |
#13 finish user and repository search
Both are possible on explore and admin panel
Diffstat (limited to 'public')
-rw-r--r-- | public/config.codekit | 14 | ||||
-rw-r--r-- | public/css/gogs.css | 27 | ||||
-rw-r--r-- | public/less/_explore.less | 38 |
3 files changed, 72 insertions, 7 deletions
diff --git a/public/config.codekit b/public/config.codekit index f9dd8d08ed..796f3141f4 100644 --- a/public/config.codekit +++ b/public/config.codekit @@ -441,30 +441,30 @@ "outputStyle": 1, "syntaxCheckerStyle": 1 }, - "\/plugins\/highlight-9.1.0\/default.css": { + "\/plugins\/highlight-9.2.0\/default.css": { "fileType": 16, "ignore": 0, "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/plugins\/highlight-9.1.0\/default.css", + "inputAbbreviatedPath": "\/plugins\/highlight-9.2.0\/default.css", "outputAbbreviatedPath": "No Output Path", "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0 }, - "\/plugins\/highlight-9.1.0\/github.css": { + "\/plugins\/highlight-9.2.0\/github.css": { "fileType": 16, "ignore": 0, "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/plugins\/highlight-9.1.0\/github.css", + "inputAbbreviatedPath": "\/plugins\/highlight-9.2.0\/github.css", "outputAbbreviatedPath": "No Output Path", "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0 }, - "\/plugins\/highlight-9.1.0\/highlight.pack.js": { + "\/plugins\/highlight-9.2.0\/highlight.pack.js": { "fileType": 64, "ignore": 0, "ignoreWasSetByUser": 0, - "inputAbbreviatedPath": "\/plugins\/highlight-9.1.0\/highlight.pack.js", - "outputAbbreviatedPath": "\/plugins\/highlight-9.1.0\/min\/highlight.pack-min.js", + "inputAbbreviatedPath": "\/plugins\/highlight-9.2.0\/highlight.pack.js", + "outputAbbreviatedPath": "\/plugins\/highlight-9.2.0\/min\/highlight.pack-min.js", "outputPathIsOutsideProject": 0, "outputPathIsSetByUser": 0, "outputStyle": 1, diff --git a/public/css/gogs.css b/public/css/gogs.css index 744f6b7b1d..64c0125cd9 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2594,6 +2594,10 @@ footer .container .links > *:first-child { padding-top: 15px; padding-bottom: 80px; } +.explore .navbar .octicon { + width: 16px; + text-align: center; +} .ui.repository.list .item { padding-bottom: 25px; } @@ -2620,3 +2624,26 @@ footer .container .links > *:first-child { font-size: 12px; color: #808080; } +.ui.user.list .item { + padding-bottom: 25px; +} +.ui.user.list .item:not(:first-child) { + border-top: 1px solid #eee; + padding-top: 25px; +} +.ui.user.list .item .ui.avatar.image { + width: 40px; + height: 40px; +} +.ui.user.list .item .description { + margin-top: 5px; +} +.ui.user.list .item .description .octicon:not(:first-child) { + margin-left: 5px; +} +.ui.user.list .item .description a { + color: #333; +} +.ui.user.list .item .description a:hover { + text-decoration: underline; +} diff --git a/public/less/_explore.less b/public/less/_explore.less index 5141d49928..479e7e355d 100644 --- a/public/less/_explore.less +++ b/public/less/_explore.less @@ -1,6 +1,13 @@ .explore { padding-top: 15px; padding-bottom: @footer-margin * 2; + + .navbar { + .octicon { + width: 16px; + text-align: center; + } + } } .ui.repository.list { @@ -35,3 +42,34 @@ } } } + +.ui.user.list { + .item { + padding-bottom: 25px; + + &:not(:first-child) { + border-top: 1px solid #eee; + padding-top: 25px; + } + + .ui.avatar.image { + width: 40px; + height: 40px; + } + + .description { + margin-top: 5px; + + .octicon:not(:first-child) { + margin-left: 5px; + } + + a { + color: #333; + &:hover { + text-decoration: underline; + } + } + } + } +}
\ No newline at end of file |