Grammalecte  Check-in [84a87c62b0]

Overview
Comment:[fx] gc_panel: modify buttons
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fx | kill_innerHTML
Files: files | file ages | folders
SHA3-256: 84a87c62b013871751fbf65ad22025c1ae7d500baffed0e95bf7022b2c95a8ea
User & Date: olr on 2017-07-15 08:13:30
Other Links: branch diff | manifest | tags
Context
2017-07-15
08:51
[fx] gc_panel: CSS update check-in: cdf07eecd4 user: olr tags: fx, kill_innerHTML
08:13
[fx] gc_panel: modify buttons check-in: 84a87c62b0 user: olr tags: fx, kill_innerHTML
06:24
[fx] gc_panel: clean text, fix URL opening check-in: 01daed0f9f user: olr tags: fx, kill_innerHTML
Changes

Modified gc_lang/fr/xpi/data/gc_panel.css from [e4215aa3ba] to [d364782947].

256
257
258
259
260
261
262
263

264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
256
257
258
259
260
261
262

263

264
265
266
267
268
269
270
271
272
273
274
275

276
277
278
279
280
281
282







-
+
-












-







}

/*
    Action buttons
*/

.actions {
    margin-top: -20px;
    margin: 0 0 5px 10px;
    margin-bottom: 10px;
}

.actions .button {
    background-color: hsl(0, 0%, 50%);
    text-align: center;
    float: right;
    margin-left: 2px;
    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%);
    color: hsl(0, 0%, 100%);
}
303
304
305
306
307
308
309



310
311
312
313
314
315
316
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317







+
+
+







    background-color: hsl(30, 50%, 50%);
    color: hsl(30, 0%, 96%);
}
.actions .orange:hover {
    background-color: hsl(30, 70%, 40%);
    color: hsl(30, 0%, 100%);
}
.actions .bold {
    font-weight: bold;
}


/*
    ERRORS
*/

.error {

Modified gc_lang/fr/xpi/data/gc_panel.js from [7b61fc3131] to [2e8cdac4ec].

139
140
141
142
143
144
145
146

147

148
149
150
151


152
153
154
155
156

157
158
159
160
161
162
163
164
139
140
141
142
143
144
145

146
147
148
149
150
151

152
153
154
155
156
157

158

159
160
161
162
163
164
165







-
+

+



-
+
+




-
+
-







        let xNodeDiv = document.createElement("div");
        xNodeDiv.className = "paragraph_block";
        // 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);
        xDivCheck.setAttribute("title", "Réanalyser le texte");
        //xDivActions.appendChild(xDivEdit);
        xDivActions.appendChild(xDivCheck);
        xNodeDiv.appendChild(xDivActions);
        // paragraph
        let xParagraph = document.createElement("p");
        xParagraph.id = "paragr" + iParagraph.toString();
        xParagraph.lang = "fr";
        xParagraph.setAttribute("spellcheck", false);