Files
17th_Site_Front_End/Users Page/styles.css

196 lines
3.1 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: fit-content;
display: flex;
justify-content: center;
align-items: center;
}
.subnav-Header {
color: #333333;
font-size: 20px;
font-weight: bold;
display: flex;
justify-content: 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;
flex-direction: row;
position: absolute;
top: 185px;
height: auto;
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;
}
#filterButton {
margin-right: 25px;
}