|
@@ -0,0 +1,132 @@
|
|
|
|
|
+.app-table-v2 {
|
|
|
|
|
+ --el-mask-color: rgba(0, 0, 0, .25);
|
|
|
|
|
+
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+
|
|
|
|
|
+ &__header {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+
|
|
|
|
|
+ >.block {
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ padding: 6px;
|
|
|
|
|
+
|
|
|
|
|
+ &:empty {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &--right {
|
|
|
|
|
+ margin-left: auto;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &__container {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &__footer {
|
|
|
|
|
+ &:empty {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-table-v2 {
|
|
|
|
|
+ --el-bg-color: transparent; //表格背景颜色
|
|
|
|
|
+ --el-table-row-hover-bg-color: #172b56; // 表格行鼠标经过背景色
|
|
|
|
|
+ --el-table-border-color: #161a1c; // 表格边框颜色
|
|
|
|
|
+ --el-table-border: 1px solid var(--el-table-border-color); // 表格边框
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-table {
|
|
|
|
|
+ --el-table-bg-color: transparent; //表格背景颜色
|
|
|
|
|
+ --el-table-text-color: #e5e5e5; //表格文字颜色
|
|
|
|
|
+ --el-table-border-color: #161a1c; // 表格边框颜色
|
|
|
|
|
+ --el-table-border: 1px solid var(--el-table-border-color); // 表格边框
|
|
|
|
|
+ --el-table-header-bg-color: #212629; // 表头背景颜色
|
|
|
|
|
+ --el-table-header-text-color: #556772; // 表头文字颜色
|
|
|
|
|
+ --el-table-tr-bg-color: var(--el-table-bg-color); // 表格行背景颜色
|
|
|
|
|
+ --el-table-row-hover-bg-color: #172b56; // 表格行鼠标经过背景色
|
|
|
|
|
+ --el-table-expanded-cell-bg-color: var(--el-table-bg-color); // 展开行背景颜色
|
|
|
|
|
+ --el-table-current-row-bg-color: #172b56; // 当前行高亮颜色
|
|
|
|
|
+
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+
|
|
|
|
|
+ th.el-table__cell {
|
|
|
|
|
+ height: 30px;
|
|
|
|
|
+ font-weight: normal;
|
|
|
|
|
+ padding: 4px 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ td.el-table__cell {
|
|
|
|
|
+ padding: 4px 0;
|
|
|
|
|
+
|
|
|
|
|
+ .el-table__placeholder:empty {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ td.el-table-fixed-column {
|
|
|
|
|
+
|
|
|
|
|
+ &--left,
|
|
|
|
|
+ &--right {
|
|
|
|
|
+ --el-bg-color: #181e22; // 非全局待处理
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &__expanded-cell {
|
|
|
|
|
+ padding: 4px !important;
|
|
|
|
|
+
|
|
|
|
|
+ &:empty {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .buttonbar,
|
|
|
|
|
+ .app-auth {
|
|
|
|
|
+ position: sticky;
|
|
|
|
|
+ right: 5px;
|
|
|
|
|
+ display: table;
|
|
|
|
|
+ margin-left: auto;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-table {
|
|
|
|
|
+
|
|
|
|
|
+ &.buy,
|
|
|
|
|
+ &.sell {
|
|
|
|
|
+ --el-table-row-hover-bg-color: var(--el-table-bg-color); // 表格行鼠标经过背景色
|
|
|
|
|
+ --el-table-current-row-bg-color: var(--el-table-bg-color); // 当前行高亮颜色
|
|
|
|
|
+
|
|
|
|
|
+ td.el-table {
|
|
|
|
|
+
|
|
|
|
|
+ // &__cell:not(&__expanded-cell):first-child,
|
|
|
|
|
+ // &__cell:is(&__expand-column)+td {
|
|
|
|
|
+ // background-color: var(--el-table-header-bg-color);
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ &__cell:not(&__expanded-cell):first-child {
|
|
|
|
|
+ background-color: var(--el-table-header-bg-color);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &__expanded-cell,
|
|
|
|
|
+ &__expanded-cell:hover {
|
|
|
|
|
+ background-color: #000 !important;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &.buy {
|
|
|
|
|
+ --el-table-bg-color: #271112; //表格背景颜色
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &.sell {
|
|
|
|
|
+ --el-table-bg-color: #10251d; //表格背景颜色
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|