Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/components/Header/Header.module.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
.header {
padding-top: 0.6rem;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
padding-top: 0.625rem;
align-items: center;
border-bottom: 1px solid var(--toastify-text-color-light);
}

.link {
padding: 0.625rem;
padding: 0.6rem;
text-decoration: none;
font-weight: bold;
font-weight: 700;
color: #041484;
cursor: pointer;
background: none;
Expand Down
29 changes: 21 additions & 8 deletions src/components/Tabs/Tabs.module.scss
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
$theme-grey: #d4d4d5;
$theme-grey-light: #f1f1f5;
$gray-shade-color: #808080;
$gray-shade-color2: #5c5b5b;

.tabButton {
background: white;
border: none;
padding: 12px 8px 8px;
font-size: 0.8em;
border-radius: 5px 5px 0 0;
border-bottom: 1px solid $theme-grey;
border-bottom: 1.8px solid $theme-grey;
font-size: 0.85rem;
font-weight: bold;
color: $gray-shade-color;
background: var(--toastify-color-light);
padding: 0.45rem 0.8rem;
border-radius: 0.2rem 0.2rem 0 0;
cursor: pointer;
}

.tabButton:hover {
color: $gray-shade-color2;
}

.tabButton:active {
background-color: $theme-grey-light;
}

.active {
font-weight: bold;
border: 1px solid $theme-grey;
color: var(--toastify-color-dark);
border: 1.8px solid $theme-grey;
border-bottom: none;
background: white;
background: var(--toastify-color-light);
}
4 changes: 2 additions & 2 deletions src/components/tasks/TaskList/TaskList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function TaskList({
}

return (
<>
<div className={styles.taskCardsContainer}>
{filteredTasks.map((item: task) => (
<Card
content={item}
Expand All @@ -72,6 +72,6 @@ export default function TaskList({
{SEE_MORE}
</button>
)}
</>
</div>
);
}
10 changes: 9 additions & 1 deletion src/components/tasks/card/card.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ $seeMoreTasksShadow: #595959cc;
}

.card {
text-align: left;
display: flex;
flex-direction: column;
padding: 1rem;
Expand All @@ -35,7 +36,7 @@ $seeMoreTasksShadow: #595959cc;
justify-content: space-between;
border: 1px solid #d9d9d9;
position: relative;
max-width: 720px;
width: 50rem;

@media (max-width: 48rem) {
width: 100%;
Expand Down Expand Up @@ -303,3 +304,10 @@ $seeMoreTasksShadow: #595959cc;
transform: rotate(360deg);
}
}

.taskCardsContainer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
6 changes: 6 additions & 0 deletions src/styles/tasks.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.container {
text-align: center;
display: flex;
flex-direction: column;
margin: 0 auto;
Expand All @@ -25,5 +26,10 @@
}

.tabsContainer {
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}