summaryrefslogtreecommitdiffstats
path: root/panels/wacom/calibrator/calibrator.css
blob: 462c766c8152529d345ea2145b2d48b29753f4ec (plain)
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
#calibrator {
    background-color: #000;
}

#calibrator * {
    color: #fff;
}

#calibrator label {
    font-size: larger;
}

#calibrator #title {
    font-weight: bold;
    color: #888;
}

#calibrator #error {
    font-weight: bold;
}

#calibrator #target {
    background-image: url('target.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

@keyframes target-enabled-animation {
    0%   { background-size: 0px; }
    90%  { background-size: 120px; }
    100% { background-size: 100px; }
}

@keyframes target-disabled-animation {
    0%   { background-size: 100px; }
    100% { background-size: 0px; }
}

#calibrator #target:not(disabled) {
    animation: target-enabled-animation 1 ease 0.5s;
    background-size: 100px;
}

#calibrator #target:disabled {
    animation: target-disabled-animation 1 ease 0.2s;
    background-size: 0px;
}