-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
125 lines (117 loc) · 2.88 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!doctype html>
<html>
<head>
<title>MoodiModo - Rate your mood!</title>
<style>
body{
width: 371px;
height: 56px;
margin: 0px;
}
#sectionRateMood{
opacity: 1;
height: 56px;
padding-top: 4px;
padding-bottom: 4px;
overflow: hidden;
}
#sectionRateMood img
{
height: 100%;
display: inline-block;
padding-left: 6px;
padding-right: 6px;
background-color: #FFFFFF;
transition: all 200ms linear;
}
#sectionRateMood img:hover
{
-webkit-filter: blur(1px) brightness(110%) saturate(150%);
}
#sectionRateMood div
{
width: 1px;
position: relative;
display: inline-block;
background: lightgray;
bottom: 32%;
}
#sectionSendingMood{
display: none;
opacity: 0;
width: 380px;
height: 70px;
transition: opacity 400ms linear;
font-family: news-gothic-std, sans-serif;
font-size: 40px;
font-weight: 800;
top: 2px;
text-align: center;
font-style: italic;
color: #bc2e1e;
text-shadow: 0 1px 0px #378ab4, 1px 0 0px #5dabcd, 1px 2px 1px #378ab4, 2px 1px 1px #5dabcd, 2px 3px 2px #378ab4, 3px 2px 2px #5dabcd, 3px 4px 2px #378ab4, 4px 3px 3px #5dabcd, 4px 5px 3px #378ab4, 5px 4px 2px #5dabcd, 5px 6px 2px #378ab4, 6px 5px 2px #5dabcd, 6px 7px 1px #378ab4, 7px 6px 1px #5dabcd, 7px 8px 0px #378ab4, 8px 7px 0px #5dabcd;
}
.invisible {
-webkit-animation-name: fadeOut;
-webkit-animation-duration:0.4s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease;
-webkit-animation-fill-mode: forwards;
}
@-webkit-keyframes fadeOut {
from {
-webkit-transform: rotate(0deg) scale(1) skew(0deg);
opacity: 1;
}
to {
-webkit-transform: rotate(0deg) scale(0.98) skew(0deg);
opacity: 0;
}
}
.visible {
-webkit-animation-name: fadeIn;
-webkit-animation-duration:0.3s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: ease;
-webkit-animation-fill-mode: forwards;
}
@-webkit-keyframes fadeIn {
from {
-webkit-transform: rotate(0deg) scale(1.02) skew(0deg);
opacity: 0;
}
to {
-webkit-transform: rotate(0deg) scale(1) skew(0deg);
opacity: 1;
}
}
</style>
<section id="sectionRateMood">
<img src="/images/ic_mood_depressed.png" id="buttonMoodDepressed">
</img>
<div> </div>
<img src="/images/ic_mood_sad.png" id="buttonMoodSad">
</img>
<div> </div>
<img src="/images/ic_mood_ok.png" id="buttonMoodOk">
</img>
<div> </div>
<img src="/images/ic_mood_happy.png" id="buttonMoodHappy">
</img>
<div> </div>
<img src="/images/ic_mood_ecstatic.png" id="buttonMoodEcstatic">
</img>
</section>
<section id="sectionSendingMood">
</section>
<!--
- JavaScript and HTML must be in separate files: see our Content Security
- Policy documentation[1] for details and explanation.
-
- [1]: http://developer.chrome.com/extensions/contentSecurityPolicy.html
-->
<script src="js/popup.js"></script>
</head>
<body>
</body>
</html>