Grammalecte  Check-in [0cf08256b7]

Overview
Comment:[fx] WebExt: animated button experiments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 0cf08256b7e1652f81797ab5071a7de57338aec3aafaebcb761abe0d131d9732
User & Date: olr on 2017-09-08 14:22:09
Other Links: manifest | tags
Context
2017-09-11
09:37
[fx] WebExt: list of exceptions for loading content-scripts: wait that the page is fully loaded check-in: 455edca358 user: olr tags: trunk, fx
2017-09-08
14:22
[fx] WebExt: animated button experiments check-in: 0cf08256b7 user: olr tags: trunk, fx
13:24
[fx] WebExt: button and menu adjustments check-in: 9575bcb2eb user: olr tags: trunk, fx
Changes

Modified gc_lang/fr/webext/content_scripts/menu.css from [b1be5e12c5] to [1e94e871c3].

1
2
3
4
5
6
7
8



9


10
11
12
13
14
15
16

17
18
19
20
21



















22
23
24
25
26
27
28
/*
    CSS
    Menu for Grammalecte
*/

.grammalecte_menu_main_button {
    position: absolute;
    margin: -8px 0 0 -8px;



    border: 4px solid hsla(210, 80%, 30%, .5);


    border-radius: 12px;
    background-color: hsla(210, 80%, 50%, .5);
    width: 8px;
    height: 8px;
    text-align: center;
    cursor: pointer;
    z-index: 100000000;

}
.grammalecte_menu_main_button:hover {
    border: 4px solid hsla(210, 80%, 35%, .5);
    background-color: hsla(210, 80%, 55%, .5);
    box-shadow: 0 0 10px hsla(210, 100%, 30%, .5);



















}

.grammalecte_menu {
    display: none;
    position: absolute;
    margin-left: -10px;
    border-radius: 5px;







|
>
>
>
|
>
>
|
<
<
<



>





>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
    CSS
    Menu for Grammalecte
*/

.grammalecte_menu_main_button {
    position: absolute;
    margin: -10px 0 0 -10px;
    width: 12px;
    height: 12px;
    background-color: hsla(210, 80%, 80%, .5);
    border: 4px solid hsla(210, 80%, 60%, .5);
    border-top: 4px solid hsla(210, 100%, 40%, .7);
    border-bottom: 4px solid hsla(210, 100%, 40%, .7);
    border-radius: 50%;



    text-align: center;
    cursor: pointer;
    z-index: 100000000;
    animation: grammalecte-spin 4s ease infinite;
}
.grammalecte_menu_main_button:hover {
    border: 4px solid hsla(210, 80%, 35%, .5);
    background-color: hsla(210, 80%, 55%, .5);
    box-shadow: 0 0 10px hsla(210, 100%, 30%, .5);
    animation: grammalecte-spin 1s linear infinite;
}

@keyframes grammalecte-spin {
    0% {
        transform: rotate(0deg);
        border-top: 4px solid hsla(210, 100%, 40%, .7);
        border-bottom: 4px solid hsla(210, 100%, 40%, .7);
    }
    50% {
        transform: rotate(180deg);
        border-top: 4px solid hsla(0, 100%, 40%, .7);
        border-bottom: 4px solid hsla(0, 100%, 40%, .7);
    }
    100% {
        transform: rotate(360deg);
        border-top: 4px solid hsla(210, 100%, 40%, .7);
        border-bottom: 4px solid hsla(210, 100%, 40%, .7);
    }
}

.grammalecte_menu {
    display: none;
    position: absolute;
    margin-left: -10px;
    border-radius: 5px;