-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathbrowser_action_menu.html
76 lines (71 loc) · 1.81 KB
/
browser_action_menu.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
<html>
<head>
<title>WebPG for Chrome Menu</title>
<script type="text/javascript" src="resources/jquery/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="constants.js"></script>
<script type="text/javascript" src="utils.js"></script>
<script type="text/javascript" src="browser_action_menu.js"></script>
<style>
body {
font:62.5% "Trebuchet MS", sans-serif;
margin:0 25px 4px 15px;
min-width:160px;
text-align:left;
}
.menu-option {
font-size:16px;
font-family:sans-serif;
margin-top:4px;
background:#fff;
width:100%;
cursor:pointer;
border:1px solid #ddd;
padding:4px;
text-shadow:#999 1px 1px 1px;
border-radius:8px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
box-shadow:#eef 1px 1px 10px;
-moz-box-shadow:#eef 1px 1px 10px;
-webkit-box-shadow:#eef 1px 1px 10px;
background:#eee url('skin/images/menumask.png') repeat-x;
display: inline-block;
line-height: 24px;
}
.menu-option img {
display: inline-block;
float: left;
height: 24px;
margin: 0;
padding: 0 10px;
border-radius: 8px 0 0 8px;
top: 1px;
position: relative;
}
.menu-option span {
padding: 2px 0 4px 2px;
width: 100%;
display: inline-table;
border-radius: 8px;
}
.menu-option-over {
box-shadow:#666 2px 2px 2px;
-moz-box-shadow:#666 2px 2px 2px;
-webkit-box-shadow:#666 2px 2px 2px;
}
<!--.menu-option-over img {-->
<!-- background-color: rgba(0, 255, 0, 0.4);-->
<!--}-->
.menu-option-over span {
background-color: rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body>
<div>
<div id="options-button" class="menu-option"><span></span></div>
<div id="key-manager-button" class="menu-option"><span></span></div>
<div id="about-button" class="menu-option"><span></span></div>
</div>
</body>
</html>