Skip to content
Snippets Groups Projects
Commit e9c9637e authored by danieldeng2's avatar danieldeng2
Browse files

Add calendar group template

parent 0d401cc6
No related branches found
No related tags found
No related merge requests found
import React from "react";
import Button from "react-bootstrap/Button";
import styles from "./style.module.scss";
import Card from "react-bootstrap/Card";
const CalendarGroup: React.FC = () => {
return (
<>
<h1 className={styles.moduleOutlineHeading}>Today</h1>
<div
className={"btn-group-vertical " + styles.moduleOutlineButtonGroup}
role="group"
>
{/* <Button className={styles.moduleOutlineButton}>Progress</Button>
<Button className={"active " + styles.moduleOutlineButton}>
Module Title
</Button> */}
</div>
</>
);
};
export default CalendarGroup;
@import "assets/scss/custom";
.moduleOutlineButton {
margin-bottom: 10px;
color: #000;
background: #f6f8fa;
font-size: 17px;
letter-spacing: 0;
border-width: 0px;
height: 40px;
border-radius: 5px !important;
text-align: left;
}
.moduleOutlineButton:global(.active),
.moduleOutlineButton:active{
color: #fff;
background-color: #000 !important;
font-weight: 500;
text-align: left;
border-width: 0px;
height: 40px;
}
.moduleOutlineButton:hover {
background-color: #e5e5e5;
border-color: #fff;
color: #000;
}
@media (max-width: 992px) {
.moduleOutlineButtonGroup {
margin-top: 102px;
margin-left: 16px;
margin-right: 16px;
width: 218px !important;
}
.moduleOutlineHeading {
font-size: 24px;
color: #000000;
text-align: left;
margin-top: 64px;
margin-left: 16px;
margin-right: 16px;
position: absolute;
width: max-content;
margin-bottom: 0px;
}
}
@media (min-width: 992px) {
.moduleOutlineButtonGroup {
margin-top: 102px;
margin-left: 32px;
margin-right: 32px;
width: 186px !important;
}
.moduleOutlineHeading {
font-size: 24px;
color: #000000;
text-align: left;
margin-top: 64px;
margin-left: 32px;
margin-right: 32px;
position: absolute;
width: max-content;
margin-bottom: 0px;
}
}
\ No newline at end of file
import React from "react";
import styles from "./style.module.scss"
import styles from "./style.module.scss";
import CalendarGroup from "components/molecules/CalendarGroup";
const RightBar: React.FC = () => {
return (
<div id={styles.rightbarWrapper}>
<p className={styles.rightbarStatus}>2020-08-05 15:08</p>
<CalendarGroup/>
</div>
);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment