diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFines.html b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFines.html
new file mode 100644
index 0000000..566549b
--- /dev/null
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFines.html
@@ -0,0 +1,10 @@
+
+
+
+
+ Title
+
+
+
+
+
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/changePassword.html b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/changePassword.html
new file mode 100644
index 0000000..1604cbc
--- /dev/null
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/changePassword.html
@@ -0,0 +1,10 @@
+
+
+
+
+ Change Password
+
+
+
+
+
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/login.css b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/login.css
index ebd801a..135323f 100644
--- a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/login.css
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/login.css
@@ -1,4 +1,3 @@
-@import "normalize.css";
@import "template.css";
body, html {
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/main.css b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/main.css
deleted file mode 100644
index e69de29..0000000
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/nav.css b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/nav.css
new file mode 100644
index 0000000..8e15178
--- /dev/null
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/nav.css
@@ -0,0 +1,39 @@
+@import "template.css";
+
+nav {
+ background-color: var(--primary);
+}
+
+nav ul {
+ list-style-type: none;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ margin: 0;
+ padding: 1.5em 1em;
+}
+
+nav ul li {
+ padding: 0 1em;
+}
+
+nav ul li a {
+ color: #FFFFFF;
+ text-decoration: none;
+}
+
+nav ul li a.active, nav ul li a:hover {
+ padding: 1.4em 1.75em;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
+}
+
+nav ul li a:hover {
+ background: var(--mutedBlack);
+}
+
+nav ul li a.active {
+ background-color: var(--hover);
+}
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/search.css b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/search.css
new file mode 100644
index 0000000..4368ac1
--- /dev/null
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/search.css
@@ -0,0 +1,130 @@
+@import "nav.css";
+
+main {
+ padding-top: 2.5em;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+
+div.searchContainer {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ width: 100%;
+}
+
+main form {
+ width: 100%;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ gap: 1em;
+}
+
+main#search form input:not([type="submit"]) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ width: auto;
+}
+
+main#search form button {
+ border-top-right-radius: 0.5em;
+ border-bottom-right-radius: 0.5em;
+ width: 20%;
+ height: 3em;
+ background-color: var(--primary);
+ border: none;
+ outline: none;
+ color: #FFFFFF;
+ cursor: pointer;
+}
+
+div.searchBtnContainer {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+}
+
+div.searchBtnContainer:hover input {
+ border: 4px solid var(--hover);
+}
+
+main#search div.searchBtnContainer:hover button {
+ background-color: var(--hover);
+}
+
+.selectDiv {
+ position: relative;
+ min-width: 300px;
+ cursor: pointer;
+}
+
+.selectDiv:before {
+ content: '';
+ -webkit-transform: rotate(90deg);
+ -moz-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+ right: -5px;
+ top: 13px;
+ padding: 0 0 2px;
+ position: absolute;
+ width: 46px;
+ background-color: var(--primary);
+ height: 30px;
+ border-top-right-radius: 0.5em;
+ border-top-left-radius: 0.5em;
+}
+
+.selectDiv:after {
+ content: '<>';
+ font: 18px "Consolas", monospace;
+ color: #FFFFFF;
+ -webkit-transform: rotate(90deg);
+ -moz-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+ right: 6px;
+ top: 18px;
+ padding: 0 0 2px;
+ position: absolute;
+}
+
+.selectDiv select {
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ appearance: none;
+ cursor: pointer;
+ display: block;
+ outline: none;
+ width: 100%;
+ max-width: 30em;
+ height: 3em;
+ float: right;
+ margin: 6px 0;
+ padding: 0 24px;
+ background-color: #ffffff;
+ background-image: none;
+ border: 4px solid var(--primary);
+ -webkit-border-radius: 0.5em;
+ -moz-border-radius: 0.5em;
+ border-radius: 0.5em;
+ word-break: normal;
+}
+
+.selectDiv:hover select, .selectDiv select:hover {
+ border: 4px solid var(--hover);
+}
+
+.selectDiv:hover:before {
+ background-color: var(--hover);
+}
+
+.content {
+ margin-top: 3em;
+}
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/template.css b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/template.css
index 421b535..a33e69b 100644
--- a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/template.css
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/css/template.css
@@ -1,9 +1,10 @@
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,600;1,700;1,800;1,900&family=Yeseva+One&display=swap');
+@import "normalize.css";
:root {
--primary: hsla(220, 60%, 50%, 1);
--hover: hsl(240, 50%, 22%);
- --secondary: hsla(194, 52%, 67%, 1);
+ --secondary: hsl(210, 100%, 95%, 1);
--accent: hsla(15, 99%, 57%, 1);
--light: hsla(90, 8%, 85%, 1);
--mutedBlack: hsla(0, 0%, 0%, 0.25)
@@ -13,6 +14,11 @@
box-sizing: border-box;
}
+html, body {
+ padding: 0;
+ margin: 0;
+}
+
body {
font-size: 1em;
font-weight: 400;
@@ -27,7 +33,7 @@ h1, h2 {
.btn {
outline: none;
border: none;
- padding: 14px 28px;
+ padding: 0.875em 1.75em;
cursor: pointer;
-webkit-border-radius: 1em;
-moz-border-radius: 1em;
@@ -39,6 +45,9 @@ h1, h2 {
color: #FFFFFF;
}
+.btnPrimary:hover {
+ background-color: var(--primary);
+}
div.formControl {
display: flex;
@@ -49,7 +58,7 @@ div.formControl {
width: 100%;
}
-form .formControl input:not([type="submit"]), form .formControl textarea {
+input:not([type="submit"]), form .formControl textarea {
width: 100%;
border: 4px solid var(--primary);
background: 0 0;
@@ -61,3 +70,31 @@ form .formControl input:not([type="submit"]), form .formControl textarea {
height: 3em;
}
+input:not([type="submit"]):hover, form .formControl textarea:hover {
+ border: 4px solid var(--hover);
+}
+
+table {
+ border-collapse: collapse;
+}
+
+table td, table th {
+ border: 1px solid #DDDDDD;
+ padding: 0.5em;
+ min-width: 7.5em;
+}
+
+table tr:nth-child(even) {
+ background-color: var(--secondary);
+}
+
+table tr:hover {
+ background-color: #ddd;
+}
+
+table th {
+ padding: 0.75em 0;
+ text-align: left;
+ background-color: var(--primary);
+ color: #FFFFFF;
+}
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/index.html b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/index.html
index 1c2bde7..79b7f3d 100644
--- a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/index.html
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/index.html
@@ -12,7 +12,7 @@
Login To Traffic Reporter
-