182 lines
2.9 KiB
CSS
182 lines
2.9 KiB
CSS
/* Reset styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Basic page styles */
|
|
body {
|
|
background-color: #f5f5f5;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
/* Heading styles */
|
|
.heading {
|
|
color: #333333;
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
font-size: 36px;
|
|
}
|
|
|
|
/* Search form styles */
|
|
.search-form {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.search-form label {
|
|
font-size: 18px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.search-form input[type="text"] {
|
|
background-color: #d8d8d8;
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-size: 16px;
|
|
height: 40px;
|
|
margin-right: 10px;
|
|
padding: 5px;
|
|
width: 300px;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.search-form input[type="button"] {
|
|
background-color: #4CAF50;
|
|
border: none;
|
|
border-radius: 5px;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
height: 40px;
|
|
width: 100px;
|
|
transition: background-color 0.3s ease-in-out;
|
|
}
|
|
|
|
.search-form input[type="button"]:hover {
|
|
background-color: #3e8e41;
|
|
}
|
|
|
|
/* Table styles */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th, td {
|
|
border: 1px solid #dddddd;
|
|
text-align: left;
|
|
padding: 8px;
|
|
}
|
|
|
|
th {
|
|
background-color: #f5f5f5;
|
|
font-size: 18px;
|
|
}
|
|
|
|
|
|
/* NAVBAR */
|
|
|
|
.navbar {
|
|
background-color: #333333;
|
|
height: 80px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.nav-links li {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.nav-links li a {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
transition: color 0.3s ease-in-out;
|
|
}
|
|
|
|
.nav-links li a:hover {
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.subnav {
|
|
background-color: transparent;
|
|
height: 40px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.subnav-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.subnav-links li {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.subnav-links li a {
|
|
color: #363636;
|
|
text-decoration: none;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
transition: color 0.3s ease-in-out;
|
|
}
|
|
|
|
.subnav-links li a.active {
|
|
color: #4CAF50;
|
|
}
|
|
|
|
/* Center the subNavContainer */
|
|
.subNavContainer {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.hover {
|
|
/* background-color: #b9b9b9; */
|
|
/* outline: 2px solid rgb(104, 104, 104); */
|
|
box-shadow: 0 0 10px rgb(77, 77, 77);
|
|
}
|
|
/* I'll get around to this DEFINING THE MAX WIDTH OF THE TABLE SO IT DOESNT GET TO WIDE */
|
|
/* #userTable {
|
|
max-width: 50%;
|
|
display: block;
|
|
margin: auto;
|
|
} */
|
|
|
|
#filter-box {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 185px;
|
|
left: auto;
|
|
right: 0;
|
|
padding: 10px;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
|
|
z-index: 1;
|
|
} |