diff options
| author | vosjedev <vosje+git@vosjedev.net> | 2025-10-10 22:59:25 +0200 |
|---|---|---|
| committer | vosjedev <vosje+git@vosjedev.net> | 2025-10-10 22:59:25 +0200 |
| commit | 0f7ee3faab4387b0a90874e165489212347b01e5 (patch) | |
| tree | d5ed7857388a3b0ca3420561cea5a64394808129 | |
| parent | 3282cac73c24901b8bd1cb6cdbd104e735a93585 (diff) | |
| download | gitolite-cgit-docker-0f7ee3faab4387b0a90874e165489212347b01e5.tar.gz gitolite-cgit-docker-0f7ee3faab4387b0a90874e165489212347b01e5.tar.bz2 gitolite-cgit-docker-0f7ee3faab4387b0a90874e165489212347b01e5.tar.xz | |
Add tooltips to css
cgit commit de86fd7a69b888220d80e47d49aaec063a1b12f4 introduced tooltips
in log. this adds the required css to make them work.
| -rw-r--r-- | gitolite-cgit/cgit.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gitolite-cgit/cgit.css b/gitolite-cgit/cgit.css index 190ca9f..f87127e 100644 --- a/gitolite-cgit/cgit.css +++ b/gitolite-cgit/cgit.css @@ -845,3 +845,24 @@ div.embedded-readme { margin-top: 2em; } + +/* tooltips introduced in cgit de86fd7a69b888220d80e47d49aaec063a1b12f4 */ +div#cgit span.msg-avail span.msg-tooltip { + color: --text-secondary; + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: var(--bg-strong); + border: solid 1px var(--brand-color); + border-radius: 5px; + box-shadow: 2px 2px 7px rgba(255,128,0,0.75); + visibility: hidden; + position: absolute; + white-space: pre; + z-index: 1; +} + +div#cgit span.msg-avail:hover span.msg-tooltip { + visibility: visible; +} + + |
