Repository navigation
Expand file tree
/
Copy pathtutorial.css
More file actions
91 lines (81 loc) · 2.11 KB
/
Copy pathtutorial.css
File metadata and controls
91 lines (81 loc) · 2.11 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#tutorial {
background-color: ghostwhite;
display: grid;
grid-template: var(--grid-template);
--grid-template:
[row1-start] "welcome welcome welcome welcome welcome welcome welcome" min-content [row1-end]
[row2-start] "walkthrough walkthrough walkthrough walkthrough walkthrough walkthrough walkthrough" min-content [row2-end]
[row3-start] "image image image image image image image" auto [row3-end]
[row4-start] ". prev . next . done ." min-content [row4-end]
[row5-start] ". . . . . . ." 20px [row5-end]
/ 5fr 3fr 1fr 3fr 2fr 2fr 1fr;
}
#welcome{ grid-area: welcome; }
#walkthrough{ grid-area: walkthrough; }
#tutorialImage{
grid-area: image;
background-image: url("tutorial/StageDrawing.gif");
background-size: contain;
background-repeat: no-repeat;
background-position: center top;
}
#doneButton {
grid-area: done;
background-color: #1672ce;
color: white;
border-radius: 10px;
border-width: 2px;
border-color: #1672ce;
padding: 15px;
}
#nextButton {
grid-area: next;
font: large var(--sans-font);
/* width:40%; */
background-color: #1672ce;
color: white;
border-radius: 10px;
border-width: 2px;
border-color: #1672ce;
padding: 15px;
animation-name: pulsate;
animation-duration: 1s;
animation-iteration-count: infinite;
}
@keyframes pulsate {
from {
filter: saturate(100%);
box-shadow: none;
}
50% {
filter: saturate(200%);
box-shadow: 0 0 20px dodgerblue;
}
}
#nextButton:hover {
animation: none;
}
#backButton {
grid-area: prev;
font: large var(--sans-font);
/* width:40%; */
background-color: lightgray;
color: white;
border-radius: 10px;
border-width: 2px;
border-color: lightgray;
padding: 15px;
}
#nextButton:hover, #backButton:hover { border-color: white; }
#backButton:disabled, #nextButton:disabled {
color: gray;
border-color: gray;
}
#nextButton:active {
color: #1672ce;
background-color: white;
}
#backButton:active {
color: lightgray;
background-color: white;
}