Skip to content

Commit

Permalink
color changes for tooltips
Browse files Browse the repository at this point in the history
Signed-off-by: John Krug <[email protected]>
  • Loading branch information
jhkrug committed May 22, 2024
1 parent f8e4a83 commit 990ca80
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,33 @@ html[data-theme='light'] footer {
html[data-theme='light'] .tooltip {
position: relative;
display: inline-block;
background-color: lightyellow;
border: 0px dashed black;
/* background-color: lightyellow; */
background-color: #ffeee6;
border: 0px;
border-radius: 6px;
}

html[data-theme='light'] .tooltip .tooltiptext {
visibility: hidden;
width: 240px;
background-color: #dddddd;
background-color: #eeeeee;
color: #000000;
text-align: center;
padding: 5px 0;
border-radius: 6px;
border: 4px solid magenta;
border: 4px solid #fe7c3f;
position: absolute;
z-index: 1;
bottom: 100%;
left: 50%;
margin-left: -120px;
}

html[data-theme='dark'] .tooltip {
position: relative;
display: inline-block;
background-color: #666666;
border: 0px dashed magenta;
border: 0px;
border-radius: 6px;
}

Expand All @@ -78,9 +82,12 @@ html[data-theme='dark'] .tooltip .tooltiptext {
text-align: center;
padding: 5px 0;
border-radius: 6px;
border: 4px solid orange;
border: 4px solid #fe7c3f;
position: absolute;
z-index: 1;
bottom: 100%;
left: 50%;
margin-left: -120px;
}

html[data-theme='light'] .tooltip:hover .tooltiptext {
Expand Down

0 comments on commit 990ca80

Please sign in to comment.