-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtutorial.html
More file actions
172 lines (151 loc) · 4.88 KB
/
tutorial.html
File metadata and controls
172 lines (151 loc) · 4.88 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tutorial - Canvas Modulebar</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-blue: #273540;
--uva-blue: #002855;
--bg-light: #f8f9fa;
--text-dark: #333;
--text-muted: #666;
--border-color: #e8eaec;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-light);
color: var(--text-dark);
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.container {
background: white;
max-width: 850px; /* Increased width to make the GIF larger */
width: 100%;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
overflow: hidden;
border: 1px solid var(--border-color);
}
.header {
background-color: var(--primary-blue);
color: white;
padding: 30px;
text-align: center;
}
.header h1 {
margin: 0;
font-size: 24px;
font-weight: 700;
}
.header p {
margin: 10px 0 0;
opacity: 0.8;
font-size: 14px;
}
.content {
padding: 30px;
}
.step {
display: flex;
gap: 15px;
margin-bottom: 25px;
}
.step-number {
background: var(--primary-blue);
color: white;
width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
flex-shrink: 0;
font-size: 14px;
}
.step-text h3 {
margin: 0 0 5px;
font-size: 16px;
color: var(--uva-blue);
}
.step-text p {
margin: 0;
font-size: 14px;
line-height: 1.5;
color: var(--text-muted);
}
.media-container {
background: #eee;
border-radius: 8px;
margin: 20px 0 0 0; /* Adjusted margin since button is gone */
width: 100%;
min-height: 400px; /* Increased min-height for a larger look */
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border: 1px solid var(--border-color);
}
.media-container img, .media-container video {
width: 100%; /* Ensure it fills the wider container */
height: auto;
display: block;
}
.placeholder-text {
color: #999;
font-style: italic;
}
.footer {
padding: 20px;
text-align: center;
border-top: 1px solid var(--border-color);
font-size: 12px;
color: var(--text-muted);
}
.highlight {
color: #d11;
font-weight: 600;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>Canvas Modulebar</h1>
<p>Tutorial: Favouriting Courses for Top-Bar</p>
</div>
<div class="content">
<div class="step">
<div class="step-number">1</div>
<div class="step-text">
<h3>Go to 'All Courses'</h3>
<p>Navigate to your courses list in Canvas to manage your dashboard.</p>
</div>
</div>
<div class="step">
<div class="step-number">2</div>
<div class="step-text">
<h3>Click the stars</h3>
<p>Click the <span class="highlight">star icon (☆)</span> next to the courses you want to add to the top bar. Once the star turns yellow, it is a favourite.</p>
</div>
</div>
<div class="media-container">
<!-- Replace 'tutorial.gif' with the actual filename of your gif -->
<img src="tutorial.gif" alt="Tutorial on how to select favourites" onerror="this.style.display='none'; this.nextElementSibling.style.display='block';">
<div class="placeholder-text" style="display:none;">[Place your tutorial.gif in the extension folder]</div>
</div>
</div>
<div class="footer">
Developed by Kasper Rook
</div>
</div>
</body>
</html>