From 430f300140b18cb394c5e17d2ebc778b34e64127 Mon Sep 17 00:00:00 2001 From: Nazar Kanaev Date: Mon, 29 Mar 2021 11:09:28 +0100 Subject: [PATCH] ditch v-b-tooltip --- src/assets/index.html | 28 ++++++++++++++-------------- src/assets/stylesheets/app.css | 23 +++++++++++++++++++++++ 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/src/assets/index.html b/src/assets/index.html index bb929e9..822304f 100644 --- a/src/assets/index.html +++ b/src/assets/index.html @@ -18,24 +18,24 @@
- + @@ -157,7 +157,7 @@
@@ -168,7 +168,7 @@
@@ -198,17 +198,17 @@
- + @@ -234,14 +234,14 @@ - + {% inline "external-link.svg" %}
-
@@ -322,8 +322,8 @@ {{ feed.title }}
- {% inline "alert-circle.svg" %} diff --git a/src/assets/stylesheets/app.css b/src/assets/stylesheets/app.css index 70b4484..5e858cf 100644 --- a/src/assets/stylesheets/app.css +++ b/src/assets/stylesheets/app.css @@ -140,6 +140,29 @@ select.form-control:not([multiple]):not([size]) { height: .6rem; } +.info { + position: relative; +} + +.info::after { + visibility: hidden; + position: absolute; + right: -0.5rem; + left: auto; + bottom: 1.5rem; + content: attr(data-info); + color: #fff; + background-color: rgba(0, 0, 0, 0.8); + padding: 0.5rem; + border-radius: 3px; + min-width: 16rem; + z-index: 1000; +} + +.info:hover::after { + visibility: visible; +} + .feed-icon { width: 16px; height: 16px;