Index: gc_lang/fr/xpi/data/gc_panel.css ================================================================== --- gc_lang/fr/xpi/data/gc_panel.css +++ gc_lang/fr/xpi/data/gc_panel.css @@ -258,12 +258,11 @@ /* Action buttons */ .actions { - margin-top: -20px; - margin-bottom: 10px; + margin: 0 0 5px 10px; } .actions .button { background-color: hsl(0, 0%, 50%); text-align: center; @@ -272,11 +271,10 @@ padding: 1px 4px 3px 4px; /*width: 18px; height: 18px;*/ cursor: pointer; font-size: 14px; - font-weight: bold; color: hsl(0, 0%, 96%); border-radius: 2px; } .actions .button:hover { background-color: hsl(0, 0%, 40%); @@ -305,10 +303,13 @@ } .actions .orange:hover { background-color: hsl(30, 70%, 40%); color: hsl(30, 0%, 100%); } +.actions .bold { + font-weight: bold; +} /* ERRORS */ Index: gc_lang/fr/xpi/data/gc_panel.js ================================================================== --- gc_lang/fr/xpi/data/gc_panel.js +++ gc_lang/fr/xpi/data/gc_panel.js @@ -141,22 +141,23 @@ // actions let xDivActions = document.createElement("div"); xDivActions.className = "actions"; let xDivClose = document.createElement("div"); xDivClose.id = "end" + iParagraph.toString(); - xDivClose.className = "button red"; + xDivClose.className = "button red bold"; xDivClose.textContent = "×"; + xDivActions.appendChild(xDivClose); /*let xDivEdit = document.createElement("div"); xDivEdit.id = "edit" + iParagraph.toString(); xDivEdit.className = "button"; - xDivEdit.textContent = "Éditer";*/ + xDivEdit.textContent = "Éditer"; + xDivActions.appendChild(xDivEdit);*/ let xDivCheck = document.createElement("div"); xDivCheck.id = "check" + iParagraph.toString(); xDivCheck.className = "button green"; xDivCheck.textContent = "Réanalyser"; - xDivActions.appendChild(xDivClose); - //xDivActions.appendChild(xDivEdit); + xDivCheck.setAttribute("title", "Réanalyser le texte"); xDivActions.appendChild(xDivCheck); xNodeDiv.appendChild(xDivActions); // paragraph let xParagraph = document.createElement("p"); xParagraph.id = "paragr" + iParagraph.toString();