-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
161 lines (160 loc) · 3 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
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
<!DOCTYPE html>
<html>
<head>
<script src="jquery.min.js"></script>
<script src="popup.js"></script>
<link rel="stylesheet" href="https://inkdit.com/assets/application.css" type="text/css" />
<style>
.close-notification {
display: none
}
h1 {
margin-top: 5px;
margin-bottom: 0;
}
a:link, a:visited {
color: #A2A69F !important;
text-decoration: none;
}
a:hover, a:focus {
color: $color-white;
border-bottom: none;
}
.welcome {
float: left;
margin-top: 5px;
}
.username {
margin-top: 5px;
padding-left: 5px;
float: left;
}
.links {
margin-top: 5px;
}
.spacer {
color: $inkdit-light-green;
}
.position {
text-align: right;
}
.top-padding {
position: relative;
top: 2px;
}
ul, ol {
margin-bottom: 0px;
}
ul.flyout li a, .nav-bar li ul li a {
background: none;
border: none;
border-width: 0;
color: $inkdit-green !important;
display: inline;
font-size: 14px;
height: auto;
line-height: auto;
padding: 0;
-webkit-box-shadow: 0 0 0 rgba(255, 255, 255, 0.5) inset;
-moz-box-shadow: 0 0 0 rgba(255, 255, 255, 0.5) inset;
box-shadow: 0 0 0 rgba(255, 255, 255, 0.5) inset;
}
.nav-bar {
float: right;
margin-top: 0;
margin-right: 10px;
width: auto;
height: 23px;
background: image-url('bg-notifications.png') top center;
border-left: 2px $color-white solid;
border-right: 2px $color-white solid;
}
.nav-bar > li {
color: $inkdit-green;
line-height: 22px;
border-top: none;
border: none;
}
.nav-bar > li a span {
color: $color-white !important;
font-weight: bold;
}
.nav-bar > li > a:first-child {
padding-right: 20px !important;
margin: auto;
font-size: 18px;
}
.nav-bar > li.has-flyout>a:first-child:after {
border: none;
}
.nav-bar > li .has-flyout:hover {
background: image-url('bg-notifications.png') bottom center;
cursor: pointer;
}
.nav-bar > li .has-flyout:hover.grey {
background: image-url('bg-notifications-grey.png') bottom center;
}
.flyout {
top: 21px;
border: 2px solid #78972e;
background: $color-white;
text-align: left;
}
.flyout a:link, a:visited, a:hover {
color: $inkdit-green;
text-decoration: none;
}
.notifications {
font-weight: bold;
padding-top: 5px;
}
ul {
margin-left: 0;
}
li {
// position this element so the close button can be positioned within it. position: relative;
margin-left: 0;
margin-bottom: 10px;
}
.new, .read {
margin-left: 0;
border: 1px solid #ecedeb;
background: image-url('notification-arrow.png') 412px 15px no-repeat;
padding: 6px 10px;
}
.new:hover, .new:focus, .read:hover, .read:focus {
border-color: $inkdit-blue;
cursor: pointer;
background: #eee8d5;
}
img {
float: left;
width: 32px;
padding-top: 5px !important;
padding-right: 10px;
}
p {
padding-top: 8px;
color: $inkdit-green;
margin-bottom: 5px;
}
.close-notification {
font-size: 22px;
color: #AAA;
position: absolute;
top: -2px;
right: 6px;
.close-notification:hover {
color: black;
}
.read {
background-color: #ecedeb;
}
</style>
<base href="https://inkdit.com/" />
</head>
<body style="padding: 10px 20px; width: 420px; background: #fff;">
<h1>Inkdit Notifications</h1>
</body>
</html>