forked from hngi/newLancerApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.html
216 lines (191 loc) · 7.21 KB
/
navbar.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<title>Lancer</title>
<link rel="shortcut icon" href="https://res.cloudinary.com/ddu0ww15f/image/upload/v1571417665/icons8-estimates-16_adktgw.png" type="image/x-icon">
<style>
.navbar-brand {
background: #091429;
height: 10vh;
}
.nav-1 {
min-height: 10vh;
font-family: 'Ubuntu', sans-serif;
border-bottom: 1px solid lightgrey;
box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.2);
}
.nav-2 {
min-height: 10vh;
font-family: 'Ubuntu', sans-serif;
border-bottom: 1px solid lightgrey;
box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.2);
}
.navbar-brand img {
height: 4.5vh;
}
.nav-page-header {
height: 10vh;
}
.nav-page-header p {
font-weight: bold;
font-size: 14px;
}
.support-link img {
height: 20px;
}
.support-link span {
font-size: 14px;
}
.notif-link img {
height: 20px;
}
.user-nav img {
height: 30px;
width: 30px;
border-radius: 50%;
}
.user-nav .user-name {
font-size: 14px;
}
.nav-item .nav-link {
color: black !important;
}
.nav-item .nav-link:hover {
color: #091429 !important;
}
.nav-search {
height: 10vh;
}
.user-initials {
height: 40px;
width: 40px;
border: 1px solid black;
border-radius: 50%;
}
.user-initials span {
font-size: 20px;
font-weight: bold;
}
@media only screen and (max-width: 992px) {
.navbar-collapse {
flex-direction: row;
}
.nav-search input{
margin-left: 20px !important;
}
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<nav class="navbar navbar-expand-lg navbar-light nav-1 col-12 row mx-0 p-0">
<a class="navbar-brand col-12 col-lg-2 mx-0 border-right text-center" href="#">
<img class="mt-2" src="images/Lancers.png" alt="">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="col-12 col-lg-5 nav-page-header">
<p class="mb-0 mt-3 ml-4">Page name here</p>
</div>
<div class="collapse navbar-collapse col-12 col-lg-5" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto mr-5">
<li class="nav-item">
<a class="nav-link support-link" href="#">
<img src="images/help.png" alt="">
<span>Support</span>
</a>
</li>
<li class="nav-item ml-2">
<a class="nav-link notif-link" href="#">
<img src="images/notification.png" alt="">
</a>
</li>
<li class="nav-item ml-2 user-nav dropdown">
<a class="nav-link" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
<img src="images/0.jpg" alt="">
<span class="user-name">Juliet</span>
<i class="fa fa-angle-down"></i>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Settings</a>
<a class="dropdown-item" href="#">Profile</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Logout</a>
</div>
</li>
</ul>
</div>
</nav>
<!-- Remove mt-5 class from this second nav to remove the margin-top -->
<nav class="navbar navbar-expand-lg navbar-light border-top nav-2 mt-5 col-12 row mx-0 p-0">
<a class="navbar-brand col-12 col-lg-2 mx-0 border-right text-center" href="#">
<img class="mt-2" src="images/Lancers.png" alt="">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="col-12 col-lg-5 nav-search">
<div class="form-group mb-0">
<input type="email" class="form-control col-10 mx-auto mt-2" id="" aria-describedby="" placeholder="
Search
">
</div>
</div>
<div class="collapse navbar-collapse col-12 col-lg-5" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto mr-5">
<li class="nav-item mx-2">
<a class="nav-link border-right mt-2 support-link" href="#">
<img src="images/help.png" alt="">
</a>
</li>
<li class="nav-item mx-2">
<a class="nav-link border-right mt-2 notif-link" href="#">
<img src="images/alarm-clock.png" alt="">
</a>
</li>
<li class="nav-item mx-2">
<a class="nav-link border-right mt-2 notif-link" href="#">
<img src="images/notification.png" alt="">
</a>
</li>
<li class="nav-item mx-2 user-nav dropdown">
<a class="nav-link" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
<div class="user-initials pt-1">
<span class="ml-1">AU</span>
</div>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Settings</a>
<a class="dropdown-item" href="#">Profile</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Logout</a>
</div>
</li>
</ul>
</div>
</nav>
</div>
</div>
</body>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous">
</script>
</html>