ManagementSystem/FRONTEND/src/pages/StaffEvaluation/StaffEvaluation.module.css

246 lines
4.3 KiB
CSS

:root {
--primary-color: rgb(9, 132, 132);
--secondary-color: #ff9100;
--hover-background: rgba(203, 203, 203, 0.809);
}
.title {
background-color: light-dark(var(white), var(--mantine-color-dark-7));
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--mantine-spacing-sm) var(--mantine-spacing-lg)
var(--mantine-spacing-sm);
border-bottom: solid rgba(201, 201, 201, 0.377) 1px;
}
.optionIcon {
display: flex;
justify-content: space-evenly;
}
.deleteIcon,
.editIcon {
cursor: pointer;
padding: 2px;
border-radius: 25%;
}
.deleteIcon {
color: red;
}
.editIcon {
color: var(--primary-color);
}
.editIcon:hover,
.deleteIcon:hover {
background-color: var(--hover-background);
}
.dialog {
background-color: light-dark(white, #2d353c);
text-align: center;
border: solid 1px var(--secondary-color);
}
.dialogText {
color: light-dark(#2d353c, white);
}
/* Wrapper for the entire user info and project section */
.userInfoSection {
display: flex;
margin-top: 20px;
gap: 10px;
}
.titleSidebar {
text-align: center;
}
/* Sidebar section for user information */
.sidebar {
flex-grow: 1;
padding: 15px;
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Main section for projects and sprints */
.projectInvolvement {
width: 60%;
padding: 0 15px 15px 15px;
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Responsive Styles */
@media (max-width: 768px) {
.userInfoSection {
flex-direction: column;
}
.sidebar,
.projectInvolvement {
width: 100%;
padding: 10px;
}
}
.sprintContainer {
display: flex;
align-items: center;
}
.iconWrapper {
margin-right: 10px;
flex-shrink: 0;
display: flex;
align-items: center;
}
.projectHeader {
display: flex;
align-items: center;
cursor: pointer;
padding: 5px;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 4px;
margin-top: 10px;
background-color: #457bad;
color: white;
transition: background-color 0.3s;
}
.projectHeader:hover {
background-color: var(--hover-background);
color: #2d353c;
}
.sprintList {
padding-left: 20px; /* Indentation for sprints under the project */
}
.sprintHeader2 {
border-radius: 4px;
border: 1px solid rgba(0, 0, 0, 0.1);
width: 100%;
padding-left: 5px;
padding-top: 5px;
padding-bottom: 5px;
margin-left: 20px;
align-items: center;
cursor: pointer;
background-color: rgba(162, 162, 162, 0.1);
}
.sprintHeader {
margin-top: 5px;
display: flex;
align-items: center;
cursor: pointer;
padding-left: 5px;
padding-top: 5px;
padding-bottom: 5px;
/* margin-left: 20px; */
transition: background-color 0.3s;
}
.sprintHeader2:hover {
background-color: var(--hover-background);
}
.criteriaTable {
padding-left: 35px; /* Further indentation for the criteria table */
}
.link {
display: flex;
align-items: center;
text-decoration: none;
font-size: var(--mantine-font-size-sm);
color: rgb(255, 255, 255);
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
margin: var(--mantine-spacing-xs);
border-radius: var(--mantine-radius-sm);
font-weight: 500;
cursor: pointer;
background-color: #00a164;
@mixin hover {
/* background-color: #035737; */
color: var(--mantine-color-white);
.linkIcon {
color: var(--mantine-color-white);
}
}
&[data-active] {
&,
&:hover {
box-shadow: var(--mantine-shadow-sm);
background-color: #6089afb7;
color: var(--mantine-color-white);
.linkIcon {
color: var(--mantine-color-white);
}
}
}
}
.linkIcon {
color: rgb(255, 255, 255);
width: rem(20px);
height: rem(22px);
}
.chartContainer {
display: flex;
justify-content: center;
margin-top: 20px;
}
.boxContainer {
display: flex;
justify-content: center;
align-items: center;
}
.pjParticipatingContainer {
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.boxColorLime {
width: 12px;
height: 12px;
background-color: #82c91e;
}
.boxColorRed {
width: 12px;
height: 12px;
background-color: #fa5252;
}
.boxColorOrange {
width: 12px;
height: 12px;
background-color: #fd7e14;
}
.boxColorTeal {
width: 12px;
height: 12px;
background-color: #12b886;
}