forked from adam-p/markdown-here
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupgrade-notification.html
97 lines (90 loc) · 2.64 KB
/
upgrade-notification.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
<style>
/* CSS reset. Borrowed from Vimium: https://github.com/philc/vimium/blob/5bd32a511da813d731f73c4d646c14a69c2515ff/content_scripts/vimium.css */
.markdown-here-reset,
a.markdown-here-reset,
a:visited.markdown-here-reset,
a:hover.markdown-here-reset,
a:link.markdown-here-reset {
background: none;
border: none;
bottom: auto;
box-shadow: none;
color: black;
cursor: auto;
display: inline;
float: none;
font-family : "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-size: inherit;
font-style: normal;
font-variant: normal;
font-weight: normal;
height: auto;
left: auto;
letter-spacing: 0;
line-height: 100%;
margin: 0;
max-height: none;
max-width: none;
min-height: 0;
min-width: 0;
opacity: 1;
padding: 0;
position: static;
right: auto;
text-align: left;
text-decoration: none;
text-indent: 0;
text-shadow: none;
text-transform: none;
top: auto;
vertical-align: baseline;
white-space: normal;
width: auto;
z-index: 99999999;
}
#markdown-here-upgrade-notification-content,
#markdown-here-upgrade-notification-link {
font-family: Tahoma, Helvetica, arial, freesans, clean, sans-serif;
font-size: 16px;
color: #3E055F;
}
#markdown-here-upgrade-notification-content {
position: fixed;
display: block;
bottom: 0;
right: 20px;
padding: 4px;
background-color: #DFCCEA;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
box-shadow: 0 -1px 10px 2px #510E79;
opacity: 0.95;
transition: opacity 1000ms;
}
#markdown-here-upgrade-notification-link {
display: block;
padding: 5px;
}
#markdown-here-upgrade-notification-link:hover {
text-decoration: underline;
cursor: pointer;
}
#markdown-here-upgrade-notification-close {
position: absolute;
top: 1px;
right: 2px;
}
#markdown-here-upgrade-notification-close:hover {
cursor: pointer;
}
#markdown-here-upgrade-notification-logo {
vertical-align: bottom;
}
</style>
<div id="markdown-here-upgrade-notification-content" class="markdown-here-reset">
<a id="markdown-here-upgrade-notification-link" class="markdown-here-reset" target="_blank" href="{{optionsURL}}" title="{{upgrade_notification_changes_tooltip}}">
<img id="markdown-here-upgrade-notification-logo" class="markdown-here-reset" style="width:16px" src="data:image/png;base64,{{logoBase64}}"/>
{{upgrade_notification_text}}
</a>
<a id="markdown-here-upgrade-notification-close" class="markdown-here-reset" href="#" title="{{upgrade_notification_dismiss_tooltip}}">×</a>
</div>