@diplodoc/transform 4.22.0 → 4.24.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/print.css.map +2 -2
- package/dist/css/yfm.css +102 -1
- package/dist/css/yfm.css.map +3 -3
- package/dist/css/yfm.min.css +1 -1
- package/dist/css/yfm.min.css.map +3 -3
- package/dist/js/yfm.js +184 -68
- package/dist/js/yfm.js.map +4 -4
- package/dist/js/yfm.min.js +1 -1
- package/dist/js/yfm.min.js.map +4 -4
- package/lib/plugins/table/utils.d.ts +8 -0
- package/lib/plugins/table/utils.js +40 -0
- package/lib/plugins/table/utils.js.map +1 -0
- package/package.json +1 -1
- package/src/js/index.ts +1 -0
- package/src/js/patch.ts +5 -0
- package/src/js/wide-mode/apply.ts +34 -0
- package/src/js/wide-mode/constants.ts +1 -0
- package/src/js/wide-mode/globals.d.ts +12 -0
- package/src/js/wide-mode/icons/close.ts +1 -0
- package/src/js/wide-mode/icons/expand.ts +1 -0
- package/src/js/wide-mode/index.ts +5 -0
- package/src/js/wide-mode/modal.ts +111 -0
- package/src/scss/_modal.scss +123 -0
- package/src/scss/yfm.scss +1 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
.wide-container {
|
|
2
|
+
position: fixed;
|
|
3
|
+
width: 100vw;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
top: 0px;
|
|
9
|
+
left: 0px;
|
|
10
|
+
z-index: 200;
|
|
11
|
+
|
|
12
|
+
&.dc-doc-page {
|
|
13
|
+
max-width: 100% !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.wide-content-viewer {
|
|
17
|
+
visibility: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.wide-content-wrapper {
|
|
21
|
+
z-index: 200;
|
|
22
|
+
background-color: var(--g-color-base-background);
|
|
23
|
+
height: 90vh;
|
|
24
|
+
width: 70vw;
|
|
25
|
+
border-radius: 10px;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
|
|
29
|
+
.wide-content {
|
|
30
|
+
height: 95%;
|
|
31
|
+
width: 100%;
|
|
32
|
+
|
|
33
|
+
.wide-inner-element {
|
|
34
|
+
max-width: 100%;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
table {
|
|
40
|
+
border-radius: 0px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.wide-thead-content {
|
|
44
|
+
display: table;
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.wide-toolbar {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: row;
|
|
52
|
+
width: 100%;
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
align-items: center;
|
|
55
|
+
padding: 10px 12px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.wide-entity-name {
|
|
59
|
+
margin: 0;
|
|
60
|
+
font-size: 18px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.wide-actions {
|
|
64
|
+
align-self: flex-end;
|
|
65
|
+
|
|
66
|
+
.close-action {
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
border-radius: 3px;
|
|
69
|
+
|
|
70
|
+
transition: background 300ms;
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
background: var(--g-color-base-simple-hover);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.wide-element-wrapper {
|
|
81
|
+
display: inline-block;
|
|
82
|
+
position: relative;
|
|
83
|
+
padding-right: 30px;
|
|
84
|
+
|
|
85
|
+
&:hover > .wide-content-viewer {
|
|
86
|
+
visibility: visible;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
.wide-inner-element {
|
|
91
|
+
max-width: 700px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.wide-content-viewer {
|
|
96
|
+
position: absolute;
|
|
97
|
+
visibility: hidden;
|
|
98
|
+
width: 30px;
|
|
99
|
+
height: 30px;
|
|
100
|
+
z-index: 100;
|
|
101
|
+
padding: 6px;
|
|
102
|
+
right: -20px;
|
|
103
|
+
box-sizing: content-box;
|
|
104
|
+
color: var(--g-color-text-primary);
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
|
|
107
|
+
& > svg {
|
|
108
|
+
width: 20px;
|
|
109
|
+
height: 20px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
.wide-content-overlay {
|
|
115
|
+
z-index: 100;
|
|
116
|
+
width: 100vw;
|
|
117
|
+
height: 100vh;
|
|
118
|
+
position: fixed;
|
|
119
|
+
top: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
background-color: black;
|
|
122
|
+
opacity: 0.6;
|
|
123
|
+
}
|