This commit is contained in:
wrzesinski-hubert 2020-10-01 18:09:58 +02:00
parent 12d50c790b
commit b5c2d21057
2 changed files with 3 additions and 4 deletions

View File

@ -41,10 +41,9 @@ const ClassGroupStyled = styled.div<ClassGroupProps>`
padding-bottom: 1px; padding-bottom: 1px;
:hover { :hover {
cursor: pointer; cursor: pointer;
transition: 1s;
background-color: #8bc8fb;
} }
background-color:${({groupType})=>groupType === "CLASS" ? "purple" : "red"} outline-offset: -5px;
outline:${({groupType})=>groupType === "CLASS" ? "2px solid #5642AA" : "2px solid #866DF7"};
`; `;
const ClassExandIconStyled = styled.img<ClassExandIconProps>` const ClassExandIconStyled = styled.img<ClassExandIconProps>`

View File

@ -52,7 +52,7 @@ const Classes = styled.div<ClassesProps>`
height: ${({ cellHeight }) => (cellHeight * 2 * 3) / 4}px; height: ${({ cellHeight }) => (cellHeight * 2 * 3) / 4}px;
margin-right: 5px; margin-right: 5px;
text-align: center; text-align: center;
background-color:${({groupType})=>groupType === "CLASS" ? "purple" : "red"} background-color:${({groupType})=>groupType === "CLASS" ? "#5642AA" : "#866DF7"}
`; `;
interface SchedulerRowProps { interface SchedulerRowProps {