ADDED gc_lang/fr/webext/img/Algoo_logo.png Index: gc_lang/fr/webext/img/Algoo_logo.png ================================================================== --- gc_lang/fr/webext/img/Algoo_logo.png +++ gc_lang/fr/webext/img/Algoo_logo.png cannot compute difference between binary files ADDED gc_lang/fr/webext/img/LaMouette.png Index: gc_lang/fr/webext/img/LaMouette.png ================================================================== --- gc_lang/fr/webext/img/LaMouette.png +++ gc_lang/fr/webext/img/LaMouette.png cannot compute difference between binary files ADDED gc_lang/fr/webext/img/logo120_text.png Index: gc_lang/fr/webext/img/logo120_text.png ================================================================== --- gc_lang/fr/webext/img/logo120_text.png +++ gc_lang/fr/webext/img/logo120_text.png cannot compute difference between binary files Index: gc_lang/fr/webext/manifest.json ================================================================== --- gc_lang/fr/webext/manifest.json +++ gc_lang/fr/webext/manifest.json @@ -25,11 +25,11 @@ "browser_action": { "default_icon": "img/logo-32.png", "default_popup": "panel/main.html", "default_title": "Grammalecte [fr]", - "browser_style": true + "browser_style": false }, "background": { "scripts": [ "background.js" ] Index: gc_lang/fr/webext/panel/main.css ================================================================== --- gc_lang/fr/webext/panel/main.css +++ gc_lang/fr/webext/panel/main.css @@ -51,11 +51,11 @@ /* links */ a:link, a:visited { color: hsl(210, 70%, 40%); - /*text-decoration: none;*/ + text-decoration: none; } a:hover, a:active { text-shadow: 0 0 2px hsl(210, 80%, 60%); } @@ -83,22 +83,18 @@ --> vertical scrolling is done with overflow in #page. #page must have the same height than body. */ #main { + display: flex; background-color: hsl(210, 0%, 100%); min-height: 100%; } #menu { - position: fixed; - left: 5px; width: 50px; - border-left: solid 2px hsl(210, 0%, 70%); - border-bottom: solid 2px hsl(210, 0%, 70%); - border-right: solid 2px hsl(210, 0%, 70%); - border-radius: 0 0 5px 5px; + border-right: solid 1px hsl(210, 0%, 70%); background-color: hsl(210, 10%, 96%); color: hsl(210, 10%, 96%); } #logo { padding: 10px; @@ -112,13 +108,13 @@ list-style-type: none; } #menu li:hover { background-color: hsl(210, 10%, 92%); } + #page { - padding-left: 60px; background-color: hsl(210, 0%, 100%); height: 500px; overflow: auto; } #page h1 { @@ -128,55 +124,120 @@ } #page p { margin: 10px 0 5px 0; } + +/* + Home +*/ #home_page { display: block; - padding: 20px; + background-color: hsl(210, 20%, 92%); + min-height: 100%; +} +#home_page p { + margin: 0; +} +#home_page #mainlogo { + padding: 5px 20px 20px 20px; + background-color: hsl(210, 20%, 96%); +} +#home_page .notice { + margin-top: 5px; + font-size: 12px; + font-variant-caps: small-caps; + color: hsl(210, 20%, 50%); +} +#home_page #thanks { + padding: 20px 0 0 0; + border-top: 1px solid hsl(210, 20%, 88%); } + +/* + Help +*/ #help_page { display: none; padding: 20px; + background-color: hsl(0, 50%, 90%); } + + +/* + Grammar checking options +*/ #gc_options_page { display: none; padding: 20px; + background-color: hsl(0, 50%, 90%); } + + +/* + Spell checking options +*/ #sc_options_page { display: none; padding: 20px; +} +#dictionaries_info { + margin: 10px 0; + padding: 10px; + border-radius: 3px; + background-color: hsl(0, 50%, 40%); + color: hsl(0, 10%, 96%); +} +.dict_section { + padding: 5px 5px 5px 10px; + margin-top: 10px; + border-radius: 5px; + background-color: hsl(210, 20%, 96%); +} +.dict_section label { + font-size: 16px; + line-height: 20px; + color: hsl(210, 20%, 50%); + font-weight: bold; +} +.dict_description { + padding: 0 0 0 20px; + color: hsl(0, 0%, 0%); + font-size: 12px; } /* Test page */ - #test_page { - display: none; + display: none; + background-color: hsl(210, 20%, 96%); + min-height: 100%; } #test_cmd { padding: 15px; - border-bottom: 1px solid hsl(0, 0%, 90%); + background-color: hsl(210, 20%, 92%); + border-bottom: 1px solid hsl(210, 20%, 90%); } #test_cmd textarea { - width: 100%; - border: 2px solid hsl(0, 0%, 89%); + width: 95%; + padding: 5px; + border: 2px solid hsl(210, 20%, 80%); + background-color: hsl(210, 20%, 98%); border-radius: 3px; resize: vertical; } #tests_result { padding: 15px; - background-color: hsl(0, 0%, 96%); } #test_page .button { display: inline-block; - padding: 5px 10px; - width: 120px; + padding: 5px; + width: 100px; border-radius: 3px; font-size: 12px; text-align: center; cursor: pointer; } Index: gc_lang/fr/webext/panel/main.html ================================================================== --- gc_lang/fr/webext/panel/main.html +++ gc_lang/fr/webext/panel/main.html @@ -20,46 +20,48 @@
  • OP1
  • OP2
  • TST
  • - +
    -

    Grammalecte

    -

    - Version ${version} -

    -

    - GPL 3 · Site web -

    - - - -
    + + + +
    +

    Grammalecte remercie

    +

    + + La Mouette + +

    +

    + + Algoo + +

    +

    + + et tous ceux qui l’ont soutenu + +

    +
    +

    AIDE

    @@ -67,24 +69,24 @@

    -
    +

    OPTIONS GRAMMATICALES

    ${optionsHTML}

    Options par défaut

    -
    +

    OPTIONS ORTHOGRAPHIQUES

    -

    +

    *** non actif ***

    Ce dictionnaire propose l’orthographe telle qu’elle est écrite aujourd’hui le plus couramment. C’est le dictionnaire recommandé si le français n’est pas votre langue maternelle ou si vous ne désirez qu’une seule graphie correcte par mot.

    @@ -98,21 +100,21 @@

    Ce dictionnaire contient les variantes graphiques, classiques, réformées, ainsi que d’autres plus rares encore. Ce dictionnaire est déconseillé à ceux qui ne connaissent pas très bien la langue française.

    -
    +

    TESTS

    Page for tests
    Tests complets
    Analyser
    
    -        
    +