Skip to content

Commit

Permalink
๐Ÿ“ feat. style module ์ ์šฉ (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-pine committed Oct 20, 2022
1 parent 8af7992 commit 174baf5
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/components/prodReport/prodContainer/prodContainer.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@import "../../../styles/colors";

.tableContainer {
width: 87vw;
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 175px;
.salesSummary {
width: 83vw;
display: flex;
justify-content: flex-end;
align-items: center;
margin-top: 40px;
span {
font-weight: 700;
margin-left: 5px;
}
}
}
11 changes: 11 additions & 0 deletions src/components/prodReport/prodFilter/prodFilter.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@import "../../../styles/colors";

.filterWrapper {
margin-top: 16px;
width: 83vw;
background: $bg_white;
border-radius: 5px;
padding: 20px 24px;
display: flex;
gap: 32px;
}
42 changes: 42 additions & 0 deletions src/components/tables/prodReportTable/prodReportTable.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
@import "../../../styles/colors";

.tableContainer {
width: 83vw;
margin-top: 16px;
border-radius: 5px;
border-collapse: collapse;
background: $bg_white;
}
.tHead {
width: 83vw;
font-weight: 700;
background: $bg_gray300;

.th {
font-size: 12px;
height: 50px;
&:first-child {
border-radius: 5px 0px 0px 0px;
}
&:last-child {
border-radius: 0px 5px 0px 0px;
}
}
}
.tBody {
.tr {
border-bottom: 1px solid $lc_gray300;
&:last-child {
border-radius: 0px 0px 5px 5px;
border-bottom: none;
}
.td {
height: 50px;
font-size: 12px;
text-align: center;
&.hidden {
color: $fc_white;
}
}
}
}
10 changes: 10 additions & 0 deletions src/pages/styles/prodReport.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@import "../../styles/colors";

.title {
display: inline-block;
padding: 24px 32px;
font: {
weight: 700;
size: 30px;
}
}

0 comments on commit 174baf5

Please sign in to comment.