235 lines
3.8 KiB
CSS
235 lines
3.8 KiB
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f4f4f9;
|
|
color: #333;
|
|
}
|
|
|
|
.top-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #42028b;
|
|
color: white;
|
|
padding: 10px 20px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.logo img {
|
|
height: 40px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.title {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.username {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.username span {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.username img {
|
|
height: 30px;
|
|
width: 30px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.username .dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
top: 40px;
|
|
right: 0;
|
|
background-color: white;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
border-radius: 5px;
|
|
z-index: 10;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease-out;
|
|
}
|
|
|
|
.username .dropdown a {
|
|
display: block;
|
|
padding: 10px 20px;
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.username .dropdown a:hover {
|
|
background-color: #f4f4f9;
|
|
}
|
|
|
|
.username:hover .dropdown {
|
|
display: block;
|
|
opacity: 1;
|
|
}
|
|
|
|
.username .dropdown.hide {
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease-out 0.5s;
|
|
}
|
|
|
|
.settings-button, .logout-button, .black-button {
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
margin: 10px 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.settings-button:hover, .logout-button:hover, .black-button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.black-button {
|
|
background-color: #000;
|
|
}
|
|
|
|
.black-button:hover {
|
|
background-color: #333;
|
|
}
|
|
|
|
.content {
|
|
padding: 20px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 28px;
|
|
}
|
|
|
|
p {
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
button {
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.top-bar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.username .dropdown {
|
|
right: auto;
|
|
left: 0;
|
|
}
|
|
}
|
|
|
|
#popup {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
z-index: 1000;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#popup .popup-content {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
width: 80%;
|
|
max-width: 600px;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
#popup .popup-header {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#popup .popup-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
cursor: pointer;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.bar-container {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
margin-top: 30px;
|
|
height: 300px;
|
|
align-items: flex-end;
|
|
position: relative;
|
|
}
|
|
|
|
.bar {
|
|
width: 30%;
|
|
background-color: #007bff;
|
|
transition: height 2s ease-out;
|
|
position: relative;
|
|
}
|
|
|
|
.bar span {
|
|
position: absolute;
|
|
bottom: -30px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
#criteria-text {
|
|
margin-bottom: 20px;
|
|
font-size: 18px;
|
|
color: #333;
|
|
text-align: left;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#popup .popup-content {
|
|
width: 90%;
|
|
padding: 15px;
|
|
}
|
|
|
|
.bar-container {
|
|
flex-direction: column;
|
|
height: auto;
|
|
}
|
|
}
|