forked from rangle/augury
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
160 lines (131 loc) · 2.97 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
<html>
<head>
<style>
/* Modal Structure */
html,
body {
margin: 0;
min-height: 180px;
padding: 0;
width: 384px;
}
.modal_header {
align-items: center;
border-bottom: 0.5px solid #dadada;
}
.modal_content {
padding: 0 22px;
}
.modal_cta {
border-top: 0.5px solid #dadada;
height: 50px;
width: 100%;
}
/* Header Section */
.logo {
padding: 16px;
}
.logo_icon {
vertical-align: text-bottom;
margin-right: 12px;
}
.version_number {
color: #444;
font-size: 18px;
}
/* CTA Section */
.flex_container {
display: flex;
justify-content: space-between;
padding: 10px 22px;
}
.flex {
opacity: 1;
transition: opacity 0.2s ease-in-out;
width: 120px;
}
.flex:hover {
opacity: 0.4;
}
.icon {
display: inline-block;
position: relative;
}
.icon:before {
content: "";
display: inline-block;
margin-right: 8px;
vertical-align: middle;
background-repeat: no-repeat;
background-size: 33px 33px;
width: 33px;
height: 33px;
}
.github .icon:before{
background-image: url(images/github.svg);
}
.feedback .icon:before{
background-image: url(images/feedback.svg);
}
.website {
position: relative;
top: 4px;
}
.website .icon:before{
background-image: url(images/augury-bw.svg);
background-size: 25px 25px;
width: 25px;
height: 25px;
}
/* Content */
a:link,
a:visited {
color: #000000;
outline: 0;
text-decoration: none;
}
img {
width: 30px;
}
h1 {
font-family: 'Menlo', monospace;
font-size: 22px;
font-weight: 400;
margin: 0;
}
body {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
}
</style>
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="modal_header">
<h1 class="logo"><img class="logo_icon" src="images/augury-logo.svg">Augury <span class="version_number"></span></h1>
</div>
<div class="modal_content">
<p>Augury is a Chrome Dev Tools extension for debugging Angular 2 applications.</p>
</div>
<div class="modal_cta">
<div class="flex_container">
<div class="flex github">
<a href="https://github.com/rangle/augury" target="__augury_github" class="icon">
Github
</a>
</div>
<div class="flex website">
<a href="https://augury.angular.io/" target="__augury_website" class="icon">
Website
</a>
</div>
<div class="flex feedback">
<a href="https://rangleio.typeform.com/to/GrdAGu" target="__augury_feedback" class="icon">
Feedback
</a>
</div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>