@voplus/morpho-document 5.0.68 → 5.0.69

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.
@@ -5,33 +5,41 @@
5
5
  /** fix tag font size issue when e.g. under ant uploader. */
6
6
  font-size: unset !important;
7
7
  }
8
+
8
9
  .document-header-default {
9
10
  display: flex;
10
11
  justify-content: space-between;
11
12
  padding: 10px 20px;
12
13
  font-size: 14px;
13
14
  background-color: @component-background;
15
+
14
16
  .document-header-content {
15
17
  flex: 1;
18
+ overflow: auto;
19
+
16
20
  .quick-data-bar {
17
21
  color: @cancel-color;
18
22
  }
19
23
  }
24
+
20
25
  .document-name-content {
21
26
  display: flex;
22
27
 
23
28
  > div {
24
29
  display: inline-block;
25
30
  }
31
+
26
32
  .document-pre,
27
33
  .document-name {
28
34
  font-size: @font-size-lg;
29
35
  }
36
+
30
37
  .document-name {
31
38
  color: @tabs-default-color;
32
39
  font-weight: 500;
33
40
  word-break: break-all;
34
41
  }
42
+
35
43
  .document-pre {
36
44
  margin-right: 6px;
37
45
  }
@@ -47,10 +55,12 @@
47
55
  //vertical-align: text-top;
48
56
  //}
49
57
  }
58
+
50
59
  .file-subtitle {
51
60
  margin-left: 8px;
52
61
  color: #999;
53
62
  }
63
+
54
64
  .file-draft,
55
65
  .file-lock {
56
66
  margin-left: 8px;
@@ -62,12 +72,14 @@
62
72
  margin-left: 3px;
63
73
  vertical-align: text-bottom;
64
74
  }
75
+
65
76
  &.document-header-h1 {
66
77
  .document-name,
67
78
  .document-pre {
68
79
  font-size: @heading-1-size;
69
80
  line-height: @heading-1-size;
70
81
  }
82
+
71
83
  .document-pre {
72
84
  margin-right: ceil((@heading-1-size / @heading-1-size) * 10);
73
85
  }
@@ -78,12 +90,14 @@
78
90
  line-height: floor(@heading-1-size * 1.4);
79
91
  }
80
92
  }
93
+
81
94
  &.bar-align-left {
82
95
  .document-pre {
83
96
  font-size: floor(@heading-1-size * 0.85);
84
97
  }
85
98
  }
86
99
  }
100
+
87
101
  &.document-header-h2 {
88
102
  .document-name,
89
103
  .document-pre {
@@ -101,12 +115,14 @@
101
115
  line-height: floor(@heading-2-size * 1.4);
102
116
  }
103
117
  }
118
+
104
119
  &.bar-align-left {
105
120
  .document-pre {
106
121
  font-size: floor(@heading-2-size * 0.85);
107
122
  }
108
123
  }
109
124
  }
125
+
110
126
  &.document-header-h3 {
111
127
  .document-name,
112
128
  .document-pre {
@@ -117,11 +133,13 @@
117
133
  .document-pre {
118
134
  font-size: ceil(@heading-3-size * 0.8);
119
135
  margin-right: ceil((@heading-3-size / @heading-1-size) * 10);
136
+
120
137
  > svg {
121
138
  //vertical-align: bottom;
122
139
  }
123
140
  }
124
141
  }
142
+
125
143
  &.document-header-h4 {
126
144
  .document-name,
127
145
  .document-pre {
@@ -132,20 +150,25 @@
132
150
  .document-pre {
133
151
  font-size: ceil(@heading-4-size * 0.8);
134
152
  margin-right: ceil((@heading-4-size / @heading-1-size) * 10);
153
+
135
154
  > svg {
136
155
  vertical-align: bottom;
137
156
  }
138
157
  }
139
158
  }
159
+
140
160
  &.document-header-hover {
141
161
  align-items: center;
142
162
  cursor: pointer;
163
+
143
164
  .tools-bar {
144
165
  display: none;
145
166
  }
167
+
146
168
  .tools-bar.show {
147
169
  display: block;
148
170
  }
171
+
149
172
  &:hover {
150
173
  .document-name,
151
174
  .quick-data-bar {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-document",
3
- "version": "5.0.68",
3
+ "version": "5.0.69",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"