diff options
author | tdro <tdro@noreply.example.com> | 2023-08-25 17:45:42 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-08-25 17:47:05 -0400 |
commit | e34429e3b6b06c1109140a7175444e278ebafe15 (patch) | |
tree | 2f97dba9cd59d091e8411b21295ebf2f79de7b68 /assets/css | |
parent | b2e9212cc791e38b7b4bc291d533a662c7429d45 (diff) | |
download | canory-e34429e3b6b06c1109140a7175444e278ebafe15.tar.gz canory-e34429e3b6b06c1109140a7175444e278ebafe15.tar.bz2 canory-e34429e3b6b06c1109140a7175444e278ebafe15.zip |
assets/css/default: Generalize to <tool-tip>
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/default.css | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 9608167..80df489 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -2070,7 +2070,7 @@ diagram-container svg { background-color: var(--background); } -reaction-tip { +tool-tip[reaction] { text-decoration: underline; -webkit-text-decoration-style: wavy; text-decoration-style: wavy; @@ -2080,17 +2080,17 @@ reaction-tip { display: inline-block; } -reaction-tip:hover { +tool-tip[reaction]:hover { text-decoration-thickness: 0.1rem; } -reaction-tip:hover img { +tool-tip[reaction]:hover img { opacity: 1; visibility: visible; width: 100%; } -reaction-tip img { +tool-tip[reaction] img { position: absolute; z-index: 99; visibility: hidden; @@ -2104,7 +2104,7 @@ reaction-tip img { border: none; } -main micro-card:first-of-type reaction-tip img { +main micro-card:first-of-type tool-tip[reaction] img { bottom: 0; top: 100%; } |