Grammalecte  Check-in [4939f5debd]

Overview
Comment:[fx] WebExt: update tf buttons appearance
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 4939f5debd482f72a1b6036ee98637ee0f388582faea0e11785ddc188823dc0e
User & Date: olr on 2017-09-02 07:46:44
Other Links: manifest | tags
Context
2017-09-02
07:54
[fx] WebExt: main panel adjustments check-in: e0de1b3c40 user: olr tags: trunk, fx
07:46
[fx] WebExt: update tf buttons appearance check-in: 4939f5debd user: olr tags: trunk, fx
07:12
[fx] WebExt: deeper tooltip arrow check-in: 8215213fd7 user: olr tags: trunk, fx
Changes

Modified gc_lang/fr/webext/content_scripts/panel_tf.css from [af14e41ed4] to [d4ccdba870].

79
80
81
82
83
84
85
86

87
88



89
90
91
92
93
94
95
96
97

98
99



100
101
102
103
104
79
80
81
82
83
84
85

86
87
88
89
90
91
92
93
94
95
96
97
98
99

100
101
102
103
104
105
106
107
108
109
110







-
+


+
+
+








-
+


+
+
+





    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

#grammalecte_tf_reset {
    background-color: hsl(210, 100%, 50%);
    background-color: hsl(210, 50%, 50%);
    color: hsl(210, 0%, 100%);
}
#grammalecte_tf_reset:hover {
    background-color: hsl(210, 50%, 40%);
}
#grammalecte_tf_progressbar {
    width: 400px;
}
#grammalecte_tf_time_res {
    width: 60px;
    padding: 5px 10px;
}
#grammalecte_tf_apply {
    background-color: hsl(120, 100%, 50%);
    background-color: hsl(120, 50%, 50%);
    color: hsl(150, 0%, 100%);
}
#grammalecte_tf_apply:hover {
    background-color: hsl(120, 50%, 40%);
}

#grammalecte_progressbarbox {
    display: inline-block;
    padding: 10px 20px;
}

Modified gc_lang/fr/webext/content_scripts/panel_tf.js from [c6dd5827fb] to [8051a1ef4c].

67
68
69
70
71
72
73
74

75
76

77
78
79
80
81
82
83
67
68
69
70
71
72
73

74
75

76
77
78
79
80
81
82
83







-
+

-
+







            xColumn2.appendChild(xTypo);
            xColumn2.appendChild(xMisc);
            xColumn2.appendChild(xStruct);
            xOptions.appendChild(xColumn1);
            xOptions.appendChild(xColumn2);
            // Actions
            let xActions = createNode("div", {id: "grammalecte_tf_actions"});
            let xDefaultButton = createNode("div", {id: "grammalecte_tf_reset", textContent: "Par défaut", className: "grammalecte_button", style: "background-color: hsl(210, 50%, 50%)"});
            let xDefaultButton = createNode("div", {id: "grammalecte_tf_reset", textContent: "Par défaut", className: "grammalecte_button"});
            xDefaultButton.addEventListener("click", () => { this.reset(); });
            let xApplyButton = createNode("div", {id: "grammalecte_tf_apply", textContent: "Appliquer", className: "grammalecte_button", style: "background-color: hsl(180, 50%, 50%)"});
            let xApplyButton = createNode("div", {id: "grammalecte_tf_apply", textContent: "Appliquer", className: "grammalecte_button"});
            xApplyButton.addEventListener("click", () => { this.saveOptions(); this.apply(); });
            xActions.appendChild(xDefaultButton);
            xActions.appendChild(createNode("progress", {id: "grammalecte_tf_progressbar"}));
            xActions.appendChild(createNode("span", {id: "grammalecte_tf_time_res", textContent: "…"}));
            xActions.appendChild(xApplyButton);
            //xActions.appendChild(createNode("div", {id: "grammalecte_infomsg", textContent: "blabla"}));
            // create result