forked from niranjanrao1509/PopTab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
90 lines (75 loc) · 1.94 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
<!DOCTYPE html>
<html style=''>
<style>
.btn-group button {
font-size: 16px;
background-color: #4CAF50; /* Green background */
border: 1px solid green; /* Green border */
color: white; /* White text */
padding: 8px 50px; /* Some padding */
cursor: pointer; /* Pointer/hand icon */
width: 96%; /* Set a width if needed */
display: block; /* Make the buttons appear below each other */
}
.btn-group button:not(:last-child) {
border-bottom: none; /* Prevent double borders */
}
/* Add a background color on hover */
.btn-group button:hover {
background-color: #3e8e41;
}
#message{
font-size: 35px;
color:green;
}
.btn {
border: 2px solid black;
background-color: white;
color: black;
padding: 12px 18px;
font-size: 16px;
cursor: pointer;
}
.btn:hover {
background-color: green;
color: white;
}
/* Green */
.success {
border-color: #4CAF50;
color: green;
}
input[type=text] {
float: center;
padding: 6px;
border: 2px;
border-color: #3e8e41;
border-style: solid;
margin-top: 8px;
margin-right: 100px;
font-size: 17px;
width:93%;
}
/* #searchbox{
width:100%;
} */
</style>
<head>
<script src='./popup.js'></script>
</head>
<body style="width:400px;">
<div id='message'>PopTab</div>
<input id="searchBox" type="text" placeholder="Search..">
<button type="button" class="btn success" id="search">Search</button>
<button type="button" class="btn success" id="pop">Pop Tabs</button>
<button type="button" class="btn success" id="showLinks">Show All</button>
<button type="button" class="btn success" id="clear">Clear</button>
<div class="btn-group">
<button type="button" id="group" onclick="doGroup()">By Content</button>
<button id="title" onclick="doTitle()">By Title</button>
<button id="url" onclick="doUrl()">By URL</button>
</div>
<div class="btn-group" id="div1">
</div>
</body>
</html>