diff options
author | modmew8 <modmew8@gmail.com> | 2018-02-03 09:09:35 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-02-03 10:09:35 +0200 |
commit | e08b3a592e80baeab1a6d7d5f87bed343ff14e1e (patch) | |
tree | feb7f19d723c3400398e2d5a19fccb81e13470cb /public/less | |
parent | b62ce2e24655e2d9316770d4eb342b823111fe0e (diff) | |
download | gitea-e08b3a592e80baeab1a6d7d5f87bed343ff14e1e.tar.gz gitea-e08b3a592e80baeab1a6d7d5f87bed343ff14e1e.zip |
Emoji Autocomplete (#3433)
* Implemented emoji autocomplete.
* Changed emoji access url.
* Reverted vendor css to default, moved all style changes to _tribute.less
* Made no-results overwriteable, added missing autocomplete to edit issue field.
Signed-off-by: modmew8 <modmew8@gmail.com>
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_tribute.less | 26 | ||||
-rw-r--r-- | public/less/index.less | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/public/less/_tribute.less b/public/less/_tribute.less new file mode 100644 index 0000000000..06e57d238d --- /dev/null +++ b/public/less/_tribute.less @@ -0,0 +1,26 @@ +.tribute-container { + box-shadow: 0px 1px 3px 1px #c7c7c7; + ul { + background: #ffffff; + } + li { + padding: 8px 12px; + border-bottom: 1px solid #dcdcdc; + img { + display: inline-block; + vertical-align: middle; + width: 28px; + height: 28px; + margin-right: 5px; + } + span.fullname { + font-weight: normal; + font-size: 0.8rem; + margin-left: 3px; + } + } + li.highlight, li:hover { + background: #2185D0; + color: #ffffff; + } +} diff --git a/public/less/index.less b/public/less/index.less index d885195f5f..9bca53c44c 100644 --- a/public/less/index.less +++ b/public/less/index.less @@ -1,3 +1,4 @@ +@import "_tribute"; @import "_emojify"; @import "_base"; @import "_markdown"; |