Grammalecte  Check-in [a5675dcdb7]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[fx] gc panel: message panel adjustments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256:a5675dcdb7627f35d8420aeab72ab3118d000ee9116e4a20feaab4e4a9ec4afc
User & Date: olr 2019-05-11 09:33:30
Context
2019-05-11
10:07
[build] darg: code cleaning (pylint) check-in: 36a7c21300 user: olr tags: build, trunk
09:33
[fx] gc panel: message panel adjustments check-in: a5675dcdb7 user: olr tags: fx, trunk
09:24
[fx] gc panel: smaller message check-in: f3cbae4747 user: olr tags: fx, trunk
Changes

Changes to gc_lang/fr/webext/content_scripts/panel.css.

122
123
124
125
126
127
128

129



130
131
132

133
134
135
136
137
138
139
    flex-grow: 1;
    overflow: auto;
}

div#grammalecte_panel_message_block {
    display: none;
    padding: 10px;

    background-color: hsl(0, 50%, 50%);



    color: hsl(0, 10%, 96%);
    font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
    font-size: 14px;

}
div#grammalecte_panel_message_close_button {
    float: right;
    margin: 0 0 10px 10px;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: hsl(0, 50%, 40%);







>

>
>
>



>







122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
    flex-grow: 1;
    overflow: auto;
}

div#grammalecte_panel_message_block {
    display: none;
    padding: 10px;
    margin-bottom: 3px;
    background-color: hsl(0, 50%, 50%);
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-color: hsl(0, 50%, 75%);
    color: hsl(0, 10%, 96%);
    font-family: "Trebuchet MS", "Fira Sans", "Liberation Sans", sans-serif;
    font-size: 14px;
    hyphens: auto;
}
div#grammalecte_panel_message_close_button {
    float: right;
    margin: 0 0 10px 10px;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: hsl(0, 50%, 40%);

Changes to gc_lang/fr/webext/content_scripts/panel_gc.js.

885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
        }
        this.xNode.disabled = true;
        this.loadText((this.bTextArea) ? this.xNode.value : this.xNode.innerText);
    }

    setText (sText) {
        this.clear();
        oGrammalecte.oGCPanel.showMessage("Le texte analysé n’appartient à aucun champ textuel défini. Les changements ne seront pas répercutés sur la zone d’où le texte a été extrait.");
        this.loadText(sText);
    }

    clear () {
        if (this.xNode !== null) {
            this.xNode.disabled = false;
            this.bTextArea = false;







|







885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
        }
        this.xNode.disabled = true;
        this.loadText((this.bTextArea) ? this.xNode.value : this.xNode.innerText);
    }

    setText (sText) {
        this.clear();
        oGrammalecte.oGCPanel.showMessage("Aucun champ textuel défini. Les changements ne seront pas répercutés sur la zone d’où le texte a été extrait.");
        this.loadText(sText);
    }

    clear () {
        if (this.xNode !== null) {
            this.xNode.disabled = false;
            this.bTextArea = false;