Overview
Comment: | [fx] gc panel: better ui for button Reanalyze (fixed width + color change) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx |
Files: | files | file ages | folders |
SHA3-256: |
af3b66aa85e3b154775295093455249b |
User & Date: | olr on 2018-04-17 08:27:16 |
Other Links: | manifest | tags |
Context
2018-04-17
| ||
08:40 | [fr] faux positif: avoir peine à check-in: 310f7f6f95 user: olr tags: trunk, fr | |
08:27 | [fx] gc panel: better ui for button Reanalyze (fixed width + color change) check-in: af3b66aa85 user: olr tags: trunk, fx | |
2018-04-16
| ||
21:12 | [fx] CSS: menu spinner update check-in: f7cf79677c user: olr tags: trunk, fx | |
Changes
Modified gc_lang/fr/webext/content_scripts/panel_gc.css from [14123d8dfd] to [efb76471a7].
︙ | ︙ | |||
46 47 48 49 50 51 52 53 54 55 56 57 58 59 | } div.grammalecte_paragraph_button:hover { background-color: hsl(0, 0%, 40%); color: hsl(0, 0%, 100%); } div.grammalecte_paragraph_actions .grammalecte_green { background-color: hsl(120, 30%, 50%); color: hsl(0, 0%, 96%); } div.grammalecte_paragraph_actions .grammalecte_green:hover { background-color: hsl(120, 50%, 40%); color: hsl(0, 0%, 100%); } | > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | } div.grammalecte_paragraph_button:hover { background-color: hsl(0, 0%, 40%); color: hsl(0, 0%, 100%); } div.grammalecte_paragraph_actions .grammalecte_green { width: 90px; background-color: hsl(120, 30%, 50%); color: hsl(0, 0%, 96%); } div.grammalecte_paragraph_actions .grammalecte_green:hover { background-color: hsl(120, 50%, 40%); color: hsl(0, 0%, 100%); } |
︙ | ︙ |
Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [9028379210] to [499bdc1ad7].
︙ | ︙ | |||
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | xNodeErr.className = (this.aIgnoredErrors.has(xNodeErr.dataset.ignored_key)) ? "grammalecte_error_ignored" : "grammalecte_error grammalecte_error_" + oErr['sType']; return xNodeErr; } blockParagraph (xParagraph) { xParagraph.contentEditable = "false"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).textContent = "Analyse…"; } freeParagraph (xParagraph) { xParagraph.contentEditable = "true"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).textContent = "Réanalyser"; } applySuggestion (sNodeSuggId) { // sugg try { let sErrorId = document.getElementById(sNodeSuggId).dataset.error_id; //let sParaNum = sErrorId.slice(0, sErrorId.indexOf("-")); let xNodeErr = document.getElementById("grammalecte_err" + sErrorId); | > > > > | 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | xNodeErr.className = (this.aIgnoredErrors.has(xNodeErr.dataset.ignored_key)) ? "grammalecte_error_ignored" : "grammalecte_error grammalecte_error_" + oErr['sType']; return xNodeErr; } blockParagraph (xParagraph) { xParagraph.contentEditable = "false"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).textContent = "Analyse…"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).style.backgroundColor = "hsl(0, 50%, 50%)"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).style.boxShadow = "0 0 0 3px hsla(0, 100%, 50%, .2)"; } freeParagraph (xParagraph) { xParagraph.contentEditable = "true"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).textContent = "Réanalyser"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).style.backgroundColor = "hsl(120, 30%, 50%)"; document.getElementById("grammalecte_check"+xParagraph.dataset.para_num).style.boxShadow = "none"; } applySuggestion (sNodeSuggId) { // sugg try { let sErrorId = document.getElementById(sNodeSuggId).dataset.error_id; //let sParaNum = sErrorId.slice(0, sErrorId.indexOf("-")); let xNodeErr = document.getElementById("grammalecte_err" + sErrorId); |
︙ | ︙ |