naive-ui/styles/AdvancedTable.scss
2019-07-16 13:03:02 +08:00

45 lines
971 B
SCSS

@import "./mixins/mixins.scss";
@import "./theme/default.scss";
// TODO: 滚动条
.n-advance-tabel__wrapper {
width: 100%;
overflow: hidden;
.n-table {
// background-color: #2b3147;
table {
word-wrap: break-word;
word-break: break-all;
table-layout: fixed;
// width: auto;
}
&::-webkit-scrollbar {
width: 5px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.2);
border-radius: 2.5px;
}
&::-webkit-scrollbar-thumb:hover {
background: rgba(255,255,255,0.3);
}
table thead tr th:last-of-type {
padding-left: 32px;
}
}
.n-advanced-table__pagination {
margin-top: 27px;
display: flex;
justify-content: flex-end;
}
.n-advance-table__operation{
display: flex;
justify-content: space-between;
}
.n-no-data-tip{
padding: 5px;
text-align: center;
}
}