forked from amyasmith/quill-table-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
widget.css
93 lines (79 loc) · 1.37 KB
/
widget.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.wi-tooltip {
position: absolute;
transform: translateY(20px);
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
border: 1px solid #ccc;
background: #fff;
z-index: 100;
visibility: hidden;
padding: 4px;
}
.wi-tooltip:hover {
visibility: inherit;
}
.wi-toolbar-button:focus~.wi-tooltip {
visibility: inherit;
}
.wi-tooltip p {
grid-column: 1/6;
grid-row: 1;
text-align: center;
margin: 0.25rem 0;
font-size: 13px;
}
.wi-addtable {
border: 2px solid #ccc;
outline: 1px solid #fff;
outline-offset: -1px;
height: 1.25rem;
width: 1.25rem;
background: #eee;
}
.wi-addtable:hover {
background: #45bce5;
border: 2px solid #d9eeff;
}
.wi-menu-button {
height: 1.375rem;
width: 1.375rem;
border: 1px solid #ccc;
border-radius: 2px;
background: #fff;
}
.wi-menu-button:hover {
background: #d9eeff;
}
.wi-menu {
width: 6.25rem;
transform: translateX(-4.875rem);
display: block;
position: absolute;
visibility: hidden;
}
.wi-menu-button:focus~.wi-menu {
visibility: inherit;
}
.wi-menu:hover {
visibility: inherit;
}
.wi-menu div {
font-size: 13px !important;
width: 6.25rem;
user-select: none;
padding: 2px;
border: 1px solid #ccc;
color: #444;
border-bottom: none;
background: #fff;
}
.wi-menu div:last-of-type {
border-bottom: 1px solid #ccc;
}
.wi-menu div:hover {
background: #d9eeff;
}
.ql-tablewidget {
position: absolute;
z-index: 100;
}