Quill 2.0 dev 3 + better tables
This commit is contained in:
117
style/quill/quill.better-table.scss
Normal file
117
style/quill/quill.better-table.scss
Normal file
@@ -0,0 +1,117 @@
|
||||
.ql-container .qlbt-selection-line.qlbt-selection-line-left::before {
|
||||
position: absolute;
|
||||
left: -2px;
|
||||
top: -2px;
|
||||
content: '';
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background-color: #0589f3;
|
||||
border-radius: 5px; }
|
||||
|
||||
.ql-container .qlbt-selection-line.qlbt-selection-line-right::before {
|
||||
position: absolute;
|
||||
right: -2px;
|
||||
bottom: -3px;
|
||||
content: '';
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background-color: #0589f3;
|
||||
border-radius: 5px; }
|
||||
|
||||
.quill-better-table-wrapper {
|
||||
overflow-x: auto; }
|
||||
|
||||
.ql-container table {
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse; }
|
||||
.ql-container table td {
|
||||
border: 1px solid #000;
|
||||
padding: 2px 5px; }
|
||||
|
||||
.qlbt-operation-menu {
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
font-size: 14px;
|
||||
z-index: 100;
|
||||
overflow: hidden; }
|
||||
.qlbt-operation-menu .qlbt-operation-menu-dividing {
|
||||
height: 1px;
|
||||
background-color: #efefef; }
|
||||
.qlbt-operation-menu .qlbt-operation-menu-subtitle {
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
padding: 5px 16px; }
|
||||
.qlbt-operation-menu .qlbt-operation-color-picker {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
padding: 0 16px 10px;
|
||||
background-color: #fff;
|
||||
overflow: hidden; }
|
||||
.qlbt-operation-menu .qlbt-operation-color-picker .qlbt-operation-color-picker-item {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 1px solid #595959;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
cursor: pointer; }
|
||||
.qlbt-operation-menu .qlbt-operation-menu-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px 16px;
|
||||
background-color: #fff;
|
||||
cursor: pointer;
|
||||
color: #595959;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis; }
|
||||
.qlbt-operation-menu .qlbt-operation-menu-item:hover {
|
||||
background-color: #efefef; }
|
||||
.qlbt-operation-menu .qlbt-operation-menu-item .qlbt-operation-menu-icon {
|
||||
margin-right: 8px;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
font-size: 0; }
|
||||
|
||||
.qlbt-col-tool {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
overflow: hidden;
|
||||
z-index: 99;
|
||||
height: 16px; }
|
||||
.qlbt-col-tool .qlbt-col-tool-cell {
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
border-top: 1px solid #000;
|
||||
border-right: 1px solid #000;
|
||||
border-bottom: 1px solid #000; }
|
||||
.qlbt-col-tool .qlbt-col-tool-cell:first-child {
|
||||
border-left: 1px solid #000; }
|
||||
.qlbt-col-tool .qlbt-col-tool-cell-holder {
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
z-index: 3;
|
||||
width: 1px;
|
||||
background-color: transparent;
|
||||
cursor: ew-resize; }
|
||||
.qlbt-col-tool .qlbt-col-tool-cell-holder:hover {
|
||||
background-color: #0589f3; }
|
||||
.qlbt-col-tool .qlbt-col-tool-cell-holder::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -6px;
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 100%; }
|
||||
.qlbt-col-tool .qlbt-col-tool-cell-holder::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -6px;
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 100%; }
|
||||
|
||||
Reference in New Issue
Block a user