mirror of https://github.com/fantasticit/think.git
fix css
This commit is contained in:
parent
c6abfab7c8
commit
b0e32f0c94
|
@ -1,12 +1,14 @@
|
||||||
/* stylelint-disable */
|
/* stylelint-disable */
|
||||||
$tableBorderColor: var(--semi-color-border);
|
|
||||||
$tableHeaderBgColor: var(--semi-color-fill-0);
|
|
||||||
$tableSelectedBorderColor: rgb(0 101 255);
|
|
||||||
$tableSelectedCellBgColor: transparent;
|
|
||||||
$tableSelectedControlBgColor: #2584ff;
|
|
||||||
$tableResizeHandleBgColor: #adf;
|
|
||||||
|
|
||||||
.tableWrapper {
|
.ProseMirror {
|
||||||
|
$tableBorderColor: var(--semi-color-border);
|
||||||
|
$tableHeaderBgColor: var(--semi-color-fill-0);
|
||||||
|
$tableSelectedBorderColor: rgb(0 101 255);
|
||||||
|
$tableSelectedCellBgColor: transparent;
|
||||||
|
$tableSelectedControlBgColor: #2584ff;
|
||||||
|
$tableResizeHandleBgColor: #adf;
|
||||||
|
|
||||||
|
.tableWrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0.5em 0px;
|
margin: 0.5em 0px;
|
||||||
|
|
||||||
|
@ -15,9 +17,9 @@ $tableResizeHandleBgColor: #adf;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollWrapper {
|
.scrollWrapper {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
padding-left: 28px;
|
padding-left: 28px;
|
||||||
|
@ -30,9 +32,9 @@ $tableResizeHandleBgColor: #adf;
|
||||||
border-right: 1px solid transparent;
|
border-right: 1px solid transparent;
|
||||||
-webkit-transition: border 250ms ease-in-out 0s;
|
-webkit-transition: border 250ms ease-in-out 0s;
|
||||||
transition: border 250ms ease-in-out 0s;
|
transition: border 250ms ease-in-out 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -267,9 +269,9 @@ table {
|
||||||
border-color: $tableSelectedBorderColor;
|
border-color: $tableSelectedBorderColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-resize-handle {
|
.column-resize-handle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: -2px;
|
right: -2px;
|
||||||
|
@ -277,9 +279,10 @@ table {
|
||||||
width: 4px;
|
width: 4px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background-color: $tableResizeHandleBgColor;
|
background-color: $tableResizeHandleBgColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.resize-cursor {
|
.resize-cursor {
|
||||||
cursor: ew-resize;
|
cursor: ew-resize;
|
||||||
cursor: col-resize; /* stylelint-disable declaration-block-no-duplicate-properties */
|
cursor: col-resize; /* stylelint-disable declaration-block-no-duplicate-properties */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue