-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHeader.html
118 lines (112 loc) · 3.35 KB
/
Header.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>e-ELECTION</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
.example3 .navbar-brand {
height: 80px;
}
.example3 .nav >li >a {
padding-top: 30px;
padding-bottom: 30px;
}
.navbar-default .navbar-nav>li>a:hover {
color: #61CDF5 !important;
border-bottom:1px solid #61CDF5;
}
.example3 .navbar-toggle {
padding: 10px;
margin: 25px 15px 25px 0;
}
.navbar-custom{
background-color:white;
}
.navbar-default .navbar-nav>li>.logout:hover{
color:black !important;
border-bottom:1px solid black;
}
.navbar-default .navbar-nav>li>.contact:hover{
color:gold !important;
border-bottom:1px solid gold;
}
.navbar-default .navbar-nav>li>.about-us:hover{
color:lightgreen !important;
border-bottom:1px solid lightgreen;
}
.navbar-default .navbar-nav>li>.chooseus:hover{
color:red !important;
border-bottom:1px solid red;
}
.dropbtn {
background-color:white;
color: #777;
padding: 30px;
font-size: 14px;
border: none;
cursor: pointer;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: white;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {background-color: #f1f1f1;}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
color:orange !important;
border-bottom:1px solid orange;
}
</style>
</head>
<body>
<div class="example3">
<nav class="navbar navbar-default navbar-custom navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="UserHome.php"class="navbar-brand"><img src="icons\Logo.png" alt="Election">
</a>
</div>
<div id="navbar3" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="UserHome.php" class="home"><span class="glyphicon glyphicon-home"></span> HOME</a></li>
<li>
<div class="dropdown">
<button class="dropbtn"><span class="glyphicon glyphicon-tags"></span> ELECTION</button>
<div class="dropdown-content">
<a href="VotingHome.php">VOTE!</a>
<a href="UserHome.php">REGISTER AS A CANDIDATE</a>
<a href="ResultsHome.php">RESULTS</a>
</div>
</div>
</li>
<li><a href="WhyChooseUs.php" class="chooseus"><span class="glyphicon glyphicon-heart"></span> WHY CHOOSE US?</a></li>
<li><a href="AboutUs.php" class="about-us"><span class="glyphicon glyphicon-user"></span> ABOUT US</a></li>
<li><a href="ContactUs.php" class="contact"><span class="glyphicon glyphicon-phone-alt"></span> CONTACT</a></li>
<li><a href="Logout.php" class="logout"><span class="glyphicon glyphicon-log-in"></span> LOGOUT</a></li>
</ul>
</div>
</div>
</nav>
</div>
</body>
</html>