Fossil SCM

Classic styling for the tooltip (grey shadow, also works with dark backgrounds) and the hyperlink (blue and underlined, to indicate it can be clicked).

florian 2019-05-20 08:21 tooltip-experiments
Commit cdb85ba9c96ab6cbd1309b99110b1386daba91f820c1c90cafda00a317147f25
1 file changed +12 -5
--- src/default_css.txt
+++ src/default_css.txt
@@ -196,22 +196,29 @@
196196
border-left-width: 2px;
197197
border-left-style: dotted;
198198
background: rgba(255,255,255,0);
199199
}
200200
.tl-tooltip {
201
- background-color: #fecd4b;
201
+ font-size: .9em;
202
+ background-color: #ffffe2;
202203
color: black;
203204
text-align: center;
204
- padding: 5px 1em;
205
+ padding: 5px;
205206
border: 1px solid black;
206
- border-radius: 6px;
207
+ box-shadow: 2px 2px 2px 0px rgba(128,128,128,0.67);
207208
position: absolute;
208209
z-index: 100;
209210
}
210211
.tl-tooltip a {
211
- background-color: #fecd4b;
212
- color: black;
212
+ background-color: #ffffe2;
213
+ color: #0000ee;
214
+}
215
+.tl-tooltip a:link, .tl-tooltip a:active, .tl-tooltip a:visited {
216
+ text-decoration: underline;
217
+}
218
+.tl-tooltip a:hover {
219
+ text-decoration: none;
213220
}
214221
215222
span.tagDsp {
216223
font-weight: bold;
217224
}
218225
--- src/default_css.txt
+++ src/default_css.txt
@@ -196,22 +196,29 @@
196 border-left-width: 2px;
197 border-left-style: dotted;
198 background: rgba(255,255,255,0);
199 }
200 .tl-tooltip {
201 background-color: #fecd4b;
 
202 color: black;
203 text-align: center;
204 padding: 5px 1em;
205 border: 1px solid black;
206 border-radius: 6px;
207 position: absolute;
208 z-index: 100;
209 }
210 .tl-tooltip a {
211 background-color: #fecd4b;
212 color: black;
 
 
 
 
 
 
213 }
214
215 span.tagDsp {
216 font-weight: bold;
217 }
218
--- src/default_css.txt
+++ src/default_css.txt
@@ -196,22 +196,29 @@
196 border-left-width: 2px;
197 border-left-style: dotted;
198 background: rgba(255,255,255,0);
199 }
200 .tl-tooltip {
201 font-size: .9em;
202 background-color: #ffffe2;
203 color: black;
204 text-align: center;
205 padding: 5px;
206 border: 1px solid black;
207 box-shadow: 2px 2px 2px 0px rgba(128,128,128,0.67);
208 position: absolute;
209 z-index: 100;
210 }
211 .tl-tooltip a {
212 background-color: #ffffe2;
213 color: #0000ee;
214 }
215 .tl-tooltip a:link, .tl-tooltip a:active, .tl-tooltip a:visited {
216 text-decoration: underline;
217 }
218 .tl-tooltip a:hover {
219 text-decoration: none;
220 }
221
222 span.tagDsp {
223 font-weight: bold;
224 }
225

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button