2019-07-09 19:45:38 +08:00
|
|
|
@import "./mixins/mixins.scss";
|
|
|
|
@import "./theme/default.scss";
|
|
|
|
// TODO: 滚动条
|
|
|
|
.n-advance-tabel__wrapper {
|
|
|
|
width: 100%;
|
2019-07-16 13:03:02 +08:00
|
|
|
overflow: hidden;
|
2019-07-09 19:45:38 +08:00
|
|
|
.n-table {
|
2019-07-16 10:39:02 +08:00
|
|
|
// background-color: #2b3147;
|
|
|
|
table {
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-all;
|
|
|
|
table-layout: fixed;
|
2019-07-16 13:03:02 +08:00
|
|
|
// width: auto;
|
2019-07-16 10:39:02 +08:00
|
|
|
}
|
2019-07-09 19:45:38 +08:00
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 5px;
|
|
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
2019-07-25 11:14:36 +08:00
|
|
|
background: rgba(255, 255, 255, 0.2);
|
2019-07-09 19:45:38 +08:00
|
|
|
border-radius: 2.5px;
|
|
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb:hover {
|
2019-07-25 11:14:36 +08:00
|
|
|
background: rgba(255, 255, 255, 0.3);
|
2019-07-09 19:45:38 +08:00
|
|
|
}
|
2019-07-25 11:14:36 +08:00
|
|
|
&::-webkit-scrollbar-corner {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
&::-webkit-scrollbar:horizontal {
|
|
|
|
height: 5px;
|
2019-07-22 18:57:58 +08:00
|
|
|
}
|
2019-07-09 19:45:38 +08:00
|
|
|
table thead tr th:last-of-type {
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
2019-08-05 11:53:18 +08:00
|
|
|
.n-advanced-table__td-text-ellipsis{
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.n-advanced-table__td-text-ellipsis>*{
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.n-advanced-table__td-text{
|
|
|
|
&-center{
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
&-left{
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
&-right{
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
2019-07-11 13:54:40 +08:00
|
|
|
.n-advanced-table__pagination {
|
|
|
|
margin-top: 27px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2019-07-25 11:14:36 +08:00
|
|
|
.n-advance-table__operation {
|
2019-07-11 14:17:35 +08:00
|
|
|
display: flex;
|
2019-08-07 19:26:43 +08:00
|
|
|
justify-content:space-between;
|
|
|
|
}
|
|
|
|
.n-advance-table__operation__right {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-07-11 14:17:35 +08:00
|
|
|
}
|
2019-07-25 11:14:36 +08:00
|
|
|
.n-no-data-tip {
|
2019-07-15 18:56:08 +08:00
|
|
|
padding: 5px;
|
|
|
|
text-align: center;
|
2019-07-19 19:40:01 +08:00
|
|
|
width: 100%;
|
|
|
|
display: table-cell;
|
2019-07-15 18:56:08 +08:00
|
|
|
}
|
2019-07-25 11:14:36 +08:00
|
|
|
}
|