Skip to content

Commit 0ca84c8

Browse files
luoweiluowei
authored andcommitted
[build]v1.1.9
1 parent e039dac commit 0ca84c8

File tree

6 files changed

+967
-0
lines changed

6 files changed

+967
-0
lines changed

dist/demo/demo1.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html> <html lang=en> <head> <meta charset=UTF-8> <title>Document</title> <link href=https://cdnjs.cloudflare.com/ajax/libs/quill/2.0.0-dev.3/quill.snow.min.css rel=stylesheet> <script src=https://cdnjs.cloudflare.com/ajax/libs/quill/2.0.0-dev.3/quill.min.js></script> <link href="../quill-better-table.css" rel="stylesheet"><link href="../demo/demo1.js.css" rel="stylesheet"></head> <body> <h1>quill-better-table demo</h1> <div class=btn-group> <button id=insert-table>insert table</button> <button id=get-table>get table</button> <button id=get-contents>get contents</button> </div> <div id=editor-wrapper></div> <script type="text/javascript" src="../quill-better-table.js"></script><script type="text/javascript" src="../demo/demo1.js"></script></body> </html>

dist/demo/demo1.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/demo/demo1.js.css

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
.quill-better-table-wrapper {
2+
overflow-x: auto; }
3+
4+
table {
5+
table-layout: fixed;
6+
border-collapse: collapse; }
7+
table td {
8+
border: 1px solid #000;
9+
padding: 2px 5px; }
10+
11+
.qlbt-operation-menu {
12+
background-color: #fff;
13+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
14+
font-size: 14px;
15+
z-index: 100;
16+
overflow: hidden; }
17+
.qlbt-operation-menu .qlbt-operation-menu-item {
18+
display: flex;
19+
align-items: center;
20+
padding: 10px 16px;
21+
background-color: #fff;
22+
cursor: pointer;
23+
color: #595959;
24+
overflow: hidden;
25+
text-overflow: ellipsis; }
26+
.qlbt-operation-menu .qlbt-operation-menu-item:hover {
27+
background-color: #efefef; }
28+
29+
.qlbt-col-tool {
30+
position: absolute;
31+
display: flex;
32+
align-items: flex-end;
33+
overflow: hidden;
34+
z-index: 99;
35+
height: 16px; }
36+
.qlbt-col-tool .qlbt-col-tool-cell {
37+
position: relative;
38+
background-color: #fff;
39+
border-top: 1px solid #000;
40+
border-right: 1px solid #000;
41+
border-bottom: 1px solid #000; }
42+
.qlbt-col-tool .qlbt-col-tool-cell:first-child {
43+
border-left: 1px solid #000; }
44+
.qlbt-col-tool .qlbt-col-tool-cell-holder {
45+
position: absolute;
46+
right: -1px;
47+
top: 0;
48+
bottom: 0;
49+
z-index: 3;
50+
width: 1px;
51+
background-color: transparent;
52+
cursor: ew-resize; }
53+
.qlbt-col-tool .qlbt-col-tool-cell-holder:hover {
54+
background-color: #35A7ED; }
55+
.qlbt-col-tool .qlbt-col-tool-cell-holder::before {
56+
content: "";
57+
position: absolute;
58+
top: 0;
59+
left: -6px;
60+
display: block;
61+
width: 8px;
62+
height: 100%; }
63+
.qlbt-col-tool .qlbt-col-tool-cell-holder::after {
64+
content: "";
65+
position: absolute;
66+
top: 0;
67+
right: -6px;
68+
display: block;
69+
width: 8px;
70+
height: 100%; }
71+

0 commit comments

Comments
 (0)