-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpopup.html
55 lines (55 loc) · 1.4 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
<html>
<head>
<style>
body{
font-size: 11px;
font-family: Helvetica, Arial;
min-width:150px;
text-align: center;
}
.btn{
padding:11px 24px 13px;
border-radius:1px;
display:inline-block;
text-align: center;
cursor:pointer;
background: #5887f5;
-webkit-font-smoothing: subpixel-antialiased;
vertical-align: middle;
color:#fff;
-webkit-user-select: none;
user-select: none;
margin-bottom:5px;
min-width:100px;
}
.btn .disable-text{
display:none;
}
.btn.disabled{
background: #cc2725;
}
.btn.disabled .enable-text{
display:none;
}
.btn.disabled .disable-text{
display:inline;
}
.btn.hidden{
display:none;
}
</style>
<script src="jquery.js"></script>
<script src="popup.js"></script>
</head>
<body>
<h3>Sony GWT Helpers</h3>
<div id="failsafe" class="btn">
<span class="enable-text">Enable Failsafe</span>
<span class="disable-text">Disable Failsafe</span>
</div>
<div id="seeImageWidths" class="btn">
<span class="enable-text">See Image Widths</span>
<span class="disable-text">Hide Image Widths</span>
</div>
</body>
</html>