-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindow.html
More file actions
79 lines (71 loc) · 1.53 KB
/
window.html
File metadata and controls
79 lines (71 loc) · 1.53 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>CallCodeSA Lookup</title>
<style>
body {
font-family: 'Segoe UI', Roboto, sans-serif;
padding: 20px;
width: 280px;
background-color: #ffffff;
color: #333;
}
.container {
display: flex;
flex-direction: column;
gap: 12px;
}
h2 {
font-size: 18px;
margin-bottom: 10px;
text-align: center;
color: #2c3e50;
}
input {
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 14px;
transition: border-color 0.3s;
}
input:focus {
border-color: #4CAF50;
outline: none;
}
button {
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #43a047;
}
#result {
margin-top: 10px;
padding: 8px;
background-color: #f1f8e9;
border-radius: 6px;
text-align: center;
font-size: 14px;
color: #2e7d32;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
</style>
</head>
<body>
<h2>South Africa Dial Code Lookup</h2>
<form id="lookupForm">
<input type="text" id="phoneInput" placeholder="Enter phone number" required/>
<button type="submit">Lookup</button>
</form>
<div id="result"></div>
<script src="popup.js"></script>
</body>
</html>