-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(table): Design layout first table | JIRA: PT-87
- Loading branch information
LeThanhPhongLTV
committed
May 30, 2022
1 parent
aa62fd3
commit 8450a09
Showing
8 changed files
with
350 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.el-pagination.is-background .number { | ||
@apply h-9 w-9 text-gray-500 font-normal rounded-full bg-transparent border border-slate-200 #{!important}; | ||
&:hover { | ||
@apply bg-slate-200 #{!important}; | ||
} | ||
} | ||
|
||
.el-pagination.is-background button { | ||
@apply w-9 h-9 text-gray-500 rounded-full font-bold bg-transparent border border-red-200 text-center #{!important}; | ||
&:hover { | ||
@apply bg-slate-200 #{!important}; | ||
} | ||
} | ||
|
||
.el-pagination.is-background button .el-icon { | ||
@apply font-extrabold border border-slate-200 rounded-full w-9 h-9 #{!important}; | ||
} | ||
|
||
.el-pagination.is-background button .el-icon .icon { | ||
@apply m-auto mt-2.75 #{!important}; | ||
} | ||
|
||
|
||
.el-pagination.is-background .el-pager .active { | ||
@apply bg-primary-blue text-white drop-shadow-md #{!important}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
// .el-table__header { | ||
// background-color: rgba(17, 24, 39, var(--tw-bg-opacity)) !important; | ||
// } | ||
|
||
.el-table__header thead tr { | ||
@apply h-10; | ||
} | ||
|
||
.el-table__header thead tr > th { | ||
@apply bg-slate-50 font-semibold px-4 py-2 whitespace-nowrap text-0.65 text-[#8898aa] #{!important}; | ||
} | ||
|
||
.el-table__body-wrapper tr td:first-child { | ||
@apply pl-4 #{!important}; | ||
} | ||
|
||
.el-table__body .el-table__row { | ||
@apply text-[#525f7f] #{!important}; | ||
} | ||
|
||
// .el-table { | ||
// color: #909399 !important; | ||
// } | ||
|
||
// .el-table th, | ||
// .el-table tr { | ||
// background-color: rgba(17, 24, 39, var(--tw-bg-opacity)) !important; | ||
// } | ||
|
||
// .el-table__row:hover, | ||
// .el-table__row.hover-row { | ||
// background-color: rgba(31, 41, 55, 0.1) !important; | ||
// color: #ffffff !important; | ||
// } | ||
|
||
// .el-table__body tr.hover-row.current-row > td, | ||
// .el-table__body tr.hover-row.el-table__row--striped.current-row > td, | ||
// .el-table__body tr.hover-row.el-table__row--striped > td, | ||
// .el-table__body tr.hover-row > td { | ||
// background-color: rgba(31, 41, 55, 0.1) !important; | ||
// color: #ffffff !important; | ||
// } | ||
|
||
// .el-table--enable-row-hover .el-table__body tr:hover > td { | ||
// background-color: rgba(31, 41, 55, 0.1) !important; | ||
// color: #ffffff !important; | ||
// } | ||
|
||
// .el-table td { | ||
// padding: 0 0 !important; | ||
// } | ||
|
||
// .el-table__row td { | ||
// height: 57px; | ||
// } | ||
|
||
// .el-table td, | ||
// .el-table th, | ||
// .el-table th.is-leaf { | ||
// border-bottom: 1px solid rgba(31, 41, 55, var(--tw-bg-opacity)) !important; | ||
// } | ||
|
||
// .el-table--border::after, | ||
// .el-table--group::after, | ||
// .el-table::before { | ||
// background-color: rgba(31, 41, 55, var(--tw-bg-opacity)) !important; | ||
// } | ||
// .el-table__fixed-right::before, | ||
// .el-table__fixed::before { | ||
// background-color: rgba(31, 41, 55, var(--tw-bg-opacity)) !important; | ||
// } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.