Overview
Comment: | [fx] another kind of underlining for spelling errors beginning with a capital letter |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx |
Files: | files | file ages | folders |
SHA3-256: |
756efcc8260459c2e0db6eb7b7a15bcf |
User & Date: | olr on 2020-03-31 22:09:08 |
Other Links: | manifest | tags |
Context
2020-04-01
| ||
08:48 | [fr] faux positif et ajustements check-in: 23c490546d user: olr tags: trunk, fr | |
2020-03-31
| ||
22:09 | [fx] another kind of underlining for spelling errors beginning with a capital letter check-in: 756efcc826 user: olr tags: trunk, fx | |
20:41 | [tb] rename variable to avoid collision with another extension check-in: 6f5fe30fdc user: olr tags: trunk, tb | |
Changes
Modified gc_lang/fr/webext/content_scripts/panel_gc.css from [0ca145bd2d] to [f973c5a8e8].
︙ | ︙ | |||
206 207 208 209 210 211 212 | } /* ERRORS */ mark.grammalecte_error, | | > | > > > > > > > | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | } /* ERRORS */ mark.grammalecte_error, mark.grammalecte_spellerror, mark.grammalecte_maybe_spellerror { margin: 0; padding: 0; cursor: pointer; border-radius: 2px; background-color: hsl(240, 0%, 80%); /* default color */ color: hsl(240, 0%, 10%); /* default color */ border-bottom: solid 2px hsl(0, 0%, 50%); /* default color */ font-size: 14px; font-style: normal; font-family : "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; text-decoration: none; text-shadow: unset; text-align: left; hyphens: none; } mark.grammalecte_error:hover, mark.grammalecte_spellerror:hover, mark.grammalecte_maybe_spellerror:hover { opacity: .9; box-shadow: 0px 0px 0px 3px hsla(0, 0%, 50%, 0.25); } mark.grammalecte_spellerror { background-color: hsl(0, 100%, 95%); color: hsl(0, 80%, 20%); border-bottom: solid 2px hsl(0, 100%, 50%); } mark.grammalecte_maybe_spellerror { background-color: hsla(0, 100%, 100%, 0); color: hsl(0, 80%, 0%); border-bottom: solid 2px hsl(0, 100%, 50%); } mark.grammalecte_error_corrected, mark.grammalecte_error_ignored { margin: 0; padding: 0; display: inline-block; border-radius: 2px; |
︙ | ︙ |
Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [e6011e0390] to [6fa5e97a98].
︙ | ︙ | |||
367 368 369 370 371 372 373 | let sLum = oErr["aColor"][2].toString(); xNodeErr.style.color = `hsl(${sHue}, ${sSat}%, 15%)`; xNodeErr.style.backgroundColor = `hsl(${sHue}, ${sSat}%, 85%)`; xNodeErr.style.borderBottom = `solid 2px hsl(${sHue}, ${sSat}%, ${sLum}%)`; } } else { | > > > | > | 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 | let sLum = oErr["aColor"][2].toString(); xNodeErr.style.color = `hsl(${sHue}, ${sSat}%, 15%)`; xNodeErr.style.backgroundColor = `hsl(${sHue}, ${sSat}%, 85%)`; xNodeErr.style.borderBottom = `solid 2px hsl(${sHue}, ${sSat}%, ${sLum}%)`; } } else { if (sUnderlined.search(/^[A-ZÀ-ÖØ-ߌ][a-zà-öø-ÿff-st]/) !== -1) { xNodeErr.className = "grammalecte_maybe_spellerror"; } else { xNodeErr.className = "grammalecte_spellerror"; } } return xNodeErr; } _blockParagraph (xParagraph) { xParagraph.contentEditable = "false"; this.xParent.getElementById("grammalecte_check"+xParagraph.dataset.para_num).textContent = "!!"; |
︙ | ︙ |