-
Notifications
You must be signed in to change notification settings - Fork 4
/
popup.html
103 lines (95 loc) · 3.28 KB
/
popup.html
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
<!DOCTYPE html>
<html>
<head>
<style>
#getData {
-webkit-box-shadow:inset 0px 1px 0px 0px #97c4fe;
box-shadow:inset 0px 1px 0px 0px #97c4fe;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0));
background:-webkit-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
background:linear-gradient(to bottom, #3d94f6 5%, #1e62d0 100%);
background-color:#3d94f6;
-webkit-border-radius:4px;
border-radius:4px;
border:1px solid #337fed;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:15px;
font-weight:bold;
padding:6px 23px;
text-decoration:none;
text-shadow:0px 1px 0px #1570cd;
position: relative;
left:50%;
transform: translateX(-50%);
}
#getData:hover{
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6));
background:-webkit-linear-gradient(top, #1e62d0 5%, #3d94f6 100%);
background:linear-gradient(to bottom, #1e62d0 5%, #3d94f6 100%);
background-color:#1e62d0;
}
#getData:disabled, #getData:disabled:hover{
color:#CCC;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #999), color-stop(1, #333));
background:-webkit-linear-gradient(top, #999 5%, #333 100%);
background:linear-gradient(to bottom, #999 5%, #333 100%);
background-color:#999;
border:1px solid #333;
-webkit-box-shadow:inset 0px 1px 0px 0px #999;
box-shadow:inset 0px 1px 0px 0px #999;
cursor: default;
}
.icon{
float: right;
}
.notify{
border: 1px solid;
padding: 6px 15px;
border-radius: 4px;
margin: 4px 0;
text-align: center;
font-weight: bold;
transition-duration: 0.5s;
position: absolute;
right:10px;
bottom: 10px;
}
.notify.success{
color: darkgreen;
background-color: lightgreen;
border-color: darkgreen;
}
.notify.fail{
color: darkred;
background-color: pink;
border-color: darkred;
}
.hide{
transform: translateY(-50%);
opacity: 0;
}
body{
width:280px;
padding: 10px;
}
</style>
</head>
<body>
<img class="icon" src="img/48.png" alt="">
<h2>Instructions</h2>
<ul>
<li>Log Into Student Portal</li>
<li>Click on <strong>Student Center</strong></li>
<li>Cliick on <strong>Weekly Schedule</strong></li>
<li>Near Select Display Option, select <strong>List View</strong></li>
<li>If applicable, select term and click <strong>Continue</strong></li>
<li>In this view, you can now gather class data</li>
</ul>
<button id="getData">Get Data</button>
<div class="notify success hide">○</div>
<div class="notify fail hide">✖</div>
<script src="scripts/popup.js"></script>
</body>
</html>