-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from DasunThathsara/dasun
Update driver dashboard
- Loading branch information
Showing
6 changed files
with
675 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/* ----------------- Driver Dashboard Styles ---------------- */ | ||
.page-container .section .container .map{ | ||
margin-right: 20px; | ||
margin-left: 270px; | ||
margin-top: 30px; | ||
border-radius: 20px; | ||
box-shadow: 0 0 15px 0.1px rgba(0, 0, 0, 0.10); | ||
height: 70vh; | ||
transition: 0.5s; | ||
} | ||
|
||
.page-container .section .container .map:hover{ | ||
box-shadow: 0 0 15px 0.1px rgba(0, 0, 0, 0.2); | ||
transition: 0.5s; | ||
} | ||
|
||
.page-container .section .container .search{ | ||
margin-left: 270px; | ||
margin-right: 20px; | ||
margin-top: 30px; | ||
border-radius: 20px; | ||
} | ||
|
||
.page-container .section .container .search input{ | ||
height: 50px; | ||
border-radius: 20px; | ||
transition: 0.5s; | ||
} | ||
|
||
.page-container .section .container .search input:hover{ | ||
border-radius: 20px; | ||
box-shadow: 0 0 15px 0.1px rgba(0, 0, 0, 0.15); | ||
scale: 1.03; | ||
} | ||
|
||
.page-container .section .container .search input:focus{ | ||
border-radius: 20px; | ||
box-shadow: 0 0 15px 0.1px rgba(0, 0, 0, 0.15); | ||
scale: 1.03; | ||
} | ||
|
||
.page-container .section .container .map iframe{ | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 20px; | ||
} | ||
|
||
.page-container .section .container .map img{ | ||
width: 40px; | ||
top: 348px; | ||
left: 361px; | ||
position: absolute; | ||
} | ||
|
||
@media screen and (max-width: 700px){ | ||
.page-container .section .container .search{ | ||
width: 93%; | ||
margin-left: 20px; | ||
transition: left 0.5s ease-in; | ||
} | ||
|
||
.page-container .section .container .map{ | ||
margin-left: 20px; | ||
transition: left 0.5s ease-in; | ||
} | ||
} | ||
|
||
/* ----------------- Driver Vehicle Styles ---------------- */ | ||
.page-container .section .container .emptyVehicle{ | ||
margin-top: 100px; | ||
margin-left: 50px; | ||
margin-right: 50px; | ||
background-color: rgba(253, 198, 62, 0.07); | ||
border: 2px dotted rgba(253, 198, 62, 0.24); | ||
text-align: center; | ||
border-radius: 20px; | ||
padding-top: 50px; | ||
padding-bottom: 50px; | ||
color: rgba(140, 140, 140, 0.87); | ||
font-size: 20px; | ||
} | ||
|
||
.page-container .section .container .table-container{ | ||
margin-left: 5vw; | ||
margin-right: 5vw; | ||
} | ||
|
||
.page-container .section .container .table{ | ||
margin-top: 50px; | ||
width: 100%; | ||
border-collapse: collapse; | ||
margin-bottom: 20px; | ||
border-radius: 50px; | ||
} | ||
|
||
.page-container .section .container a{ | ||
text-decoration: none; | ||
background-color: #fdc63e; | ||
width: 100%; | ||
color: #000000; | ||
padding: 12px 20px; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
transition: 0.3s; | ||
margin-left: 5vw; | ||
} | ||
|
||
.page-container .section .container .sub-option { | ||
text-decoration: none; | ||
background-color: #fdc63e; | ||
width: 100%; | ||
color: #000000; | ||
padding: 5px 10px; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
transition: 0.3s; | ||
margin-left: 2px; | ||
} | ||
|
||
.page-container .section .container a:hover{ | ||
background-color: #ffc400; | ||
box-shadow: 0 0 10px 0.1px rgba(0, 0, 0, 0.20); | ||
} | ||
|
||
.page-container .section .container th{ | ||
background-color: #fccc04; | ||
text-align: left; | ||
padding: 10px; | ||
border: 1px solid #ffffff; | ||
} | ||
|
||
.page-container .section .container tr{ | ||
background-color: #fff; | ||
} | ||
|
||
.page-container .section .container tr:nth-child(even){ | ||
background-color: rgba(252, 204, 4, 0.16); | ||
} | ||
|
||
.page-container .section .container td{ | ||
padding: 10px; | ||
border: 1px solid #ffffff; | ||
} |
Oops, something went wrong.