<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<body>
<!-- Navigation-->
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
<button class="navbar-toggler navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav navbar-sidenav">
<a class="nav-link navlogo text-center" href="index.php">
<img src="https://vignette.wikia.nocookie.net/nationstates/images/2/29/WS_Logo.png/revision/latest?cb=20080507063620">
</a>
<li class="nav-item">
<a class="nav-link sidefrst" href="index.php">
<span class="textside"> Dashboard</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link sidesecnd" href="employee.php">
<span class="textside"> Employee</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link sidesthrd" href="clients.php">
<span class="textside"> Clients</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link sidesforth" href="job.php">
<span class="textside"> Jobs</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link sidesfifth" href="quotation.php">
<span class="textside"> Quotation</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link sidesix" href="service.php">
<span class="textside"> Services</span>
</a>
</li>
</ul>
<ul class="navbar-nav2 ml-auto">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Welcome WaLia</a>
<ul class="dropdown-menu">
<li class="resflset"><a href="profile.php"><i class="fa fa-fw fa-cog"></i> Edit profile</a></li>
<li class="divider"></li>
<li class="resflset"><a href="#"><i class="fa fa-fw fa-power-off"></i> Logout</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<div class="content-wrapper">
<div class="container-fluid">
<div class="row">
<!-- Icon Cards-->
<div class="col-lg-4 col-md-4 col-sm-6 col-12 mb-2 mt-4">
<div class="inforide">
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-4 col-4 rideone">
<img src="https://vignette.wikia.nocookie.net/nationstates/images/2/29/WS_Logo.png/revision/latest?cb=20080507063620">
</div>
<div class="col-lg-9 col-md-8 col-sm-8 col-8 fontsty">
<h4>Employee</h4>
<h2>20</h2>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-6 col-12 mb-2 mt-4">
<div class="inforide">
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-4 col-4 ridetwo">
<img src="https://vignette.wikia.nocookie.net/nationstates/images/2/29/WS_Logo.png/revision/latest?cb=20080507063620">
</div>
<div class="col-lg-9 col-md-8 col-sm-8 col-8 fontsty">
<h4>Clients</h4>
<h2>120</h2>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-6 col-12 mb-2 mt-4">
<div class="inforide">
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-4 col-4 ridethree">
<img src="https://vignette.wikia.nocookie.net/nationstates/images/2/29/WS_Logo.png/revision/latest?cb=20080507063620">
</div>
<div class="col-lg-9 col-md-8 col-sm-8 col-8 fontsty">
<h4>Jobs</h4>
<h2>50</h2>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
html {
position: relative;
min-height: 100%;
}
body {
overflow-x: hidden;
font-family: lato;
background-color: #EEEEEE;
}
.textside {
margin-left: 25px;
}
.navlogo img {
margin-bottom: 10px;
margin-top: 10px;
width: 60%;
}
.fixed-top {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1030;
background: #FFFFFF;
height: 60px;
color: white;
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 10rem;
padding: 6px 10px;
margin: 5px 0px 0;
font-size: 1rem;
color: #212529;
text-align: left;
list-style: none;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.15);
border-radius: .25rem;
}
a {
color: #7D7D7D;
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
a:hover {
color: #7D7D7D;
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
.inforide {
box-shadow: 1px 2px 8px 0px #f1f1f1;
background-color: white;
border-radius: 8px;
height: 125px;
}
.rideone img {
width: 70%;
}
.ridetwo img {
width: 60%;
}
.ridethree img {
width: 50%;
}
.rideone {
background-color: #6CC785;
padding-top: 25px;
border-radius: 8px 0px 0px 8px;
text-align: center;
height: 125px;
margin-left: 15px;
}
.ridetwo {
background-color: #9A75FE;
padding-top: 30px;
border-radius: 8px 0px 0px 8px;
text-align: center;
height: 125px;
margin-left: 15px;
}
.ridethree {
background-color: #4EBCE5;
padding-top: 35px;
border-radius: 8px 0px 0px 8px;
text-align: center;
height: 125px;
margin-left: 15px;
}
.fontsty {
margin-right: -15px;
}
.fontsty h2{
color: #6E6E6E;
font-size: 35px;
margin-top: 15px;
text-align: right;
margin-right: 30px;
}
.fontsty h4{
color: #6E6E6E;
font-size: 25px;
margin-top: 20px;
text-align: right;
margin-right: 30px;
}
.content-wrapper {
min-height: calc(100vh - 56px);
padding-top: 4rem;
overflow-x: hidden;
background: transparent;
}
#mainNav .navbar-collapse {
overflow: auto;
max-height: 75vh;
}
#mainNav .navbar-collapse .navbar-sidenav li:hover{
}
#mainNav .navbar-collapse .navbar-nav .nav-item .nav-link {
cursor: pointer;
}
#mainNav .navbar-collapse .navbar-sidenav .nav-link-collapse:after {
float: right;
content: '\f107';
font-family: 'FontAwesome';
}
#mainNav .navbar-collapse .navbar-sidenav .nav-link-collapse.collapsed:after {
content: '\f105';
}
#mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link{
position: relative;
min-width: 45px;
}
#mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
float: right;
width: auto;
content: '\f105';
border: none;
font-family: 'FontAwesome';
}
#mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown.show > .nav-link:after {
content: '\f107';
}
#mainNav.navbar-dark .navbar-collapse .navbar-sidenav .nav-link-collapse:after {
color: #868e96;
}
#mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
color: white;
}
#mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item > .nav-link:hover {
color: #D04153;
border-radius: 30px;
background-color: white;
}
#mainNav.navbar-dark .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
color: #D04153;
}
#mainNav.navbar-light .navbar-collapse .navbar-sidenav .nav-link-collapse:after {
color: rgba(0, 0, 0, 0.5);
}
#mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
color: rgba(0, 0, 0, 0.5);
}
#mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item > .nav-link:hover {
color: rgba(0, 0, 0, 0.7);
}
#mainNav.navbar-light .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
color: rgba(0, 0, 0, 0.5);
}
body.sidenav-toggled .navbar-sidenav {
width: 55px;
}
body.sidenav-toggled .navbar-sidenav .nav-link-text {
display: none;
}
body.sidenav-toggled .navbar-sidenav .nav-item,
body.sidenav-toggled .navbar-sidenav .nav-link {
width: 55px !important;
}
body.sidenav-toggled .navbar-sidenav .nav-item:after,
body.sidenav-toggled .navbar-sidenav .nav-link:after {
display: none;
}
body.sidenav-toggled .navbar-sidenav .nav-item {
white-space: nowrap;
}
@media (min-width: 992px) {
#mainNav .navbar-brand {
width: 220px;
}
#mainNav .navbar-collapse {
overflow: visible;
max-height: none;
}
#mainNav .navbar-collapse .navbar-sidenav {
position: absolute;
top: 0;
left: 0;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
margin-top: 0px;
}
#mainNav .navbar-collapse .navbar-sidenav > .nav-item {
width: 230px;
padding: 5px 15px;
border-bottom: none;
}
#mainNav .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
padding: 1em;
}
#mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link {
min-width: 0;
}
#mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
width: 24px;
text-align: center;
}
#mainNav.fixed-top .navbar-sidenav {
height: calc(120vh - 150px);
width: 230px;
}
#mainNav.navbar-dark .navbar-collapse .navbar-sidenav {
background: #262625;
}
#mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a {
color: white !important;
background-color: #495057;
}
#mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a:focus, #mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a:hover {
color: white;
}
#mainNav.navbar-light .navbar-collapse .navbar-sidenav {
background: #f8f9fa;
}
#mainNav.navbar-light .navbar-collapse .navbar-sidenav li.active a {
color: #000 !important;
background-color: #e9ecef;
}
#mainNav.navbar-light .navbar-collapse .navbar-sidenav li.active a:focus, #mainNav.navbar-light .navbar-collapse .navbar-sidenav li.active a:hover {
color: #000;
}
.content-wrapper {
margin-left: 250px;
margin-right: 20px;
}
}
@media screen and (max-device-width: 640px) {
.navbar-dark .navbar-toggler {
color: rgba(255,255,255,.5);
border-color: #E84A5F;
background: #E84A5F;
}
.navbar-nav {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
padding-left: 0;
margin-bottom: 0;
list-style: none;
background: #262625;
height: 80vh;
}
.navbar-nav2 {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
padding-left: 0;
margin-bottom: 0;
list-style: none;
background: #262625;
height: 18vh;
}
}