neo.mjs 5.1.9 → 5.1.11
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/apps/ServiceWorker.mjs +2 -2
- package/buildScripts/buildAll.mjs +26 -9
- package/buildScripts/createApp.mjs +2 -1
- package/buildScripts/webpack/buildMyApps.mjs +5 -2
- package/buildScripts/webpack/buildThreads.mjs +26 -6
- package/examples/ServiceWorker.mjs +2 -2
- package/package.json +3 -3
- package/resources/scss/src/button/Base.scss +74 -13
- package/resources/scss/src/dialog/Base.scss +1 -1
- package/resources/scss/src/form/field/CheckBox.scss +1 -1
- package/resources/scss/src/tab/header/Button.scss +40 -23
- package/resources/scss/src/tab/header/Toolbar.scss +50 -27
- package/resources/scss/src/table/Container.scss +8 -10
- package/resources/scss/theme-dark/button/Base.scss +93 -41
- package/resources/scss/theme-dark/tab/header/Button.scss +18 -2
- package/resources/scss/theme-dark/table/Container.scss +7 -1
- package/resources/scss/theme-light/button/Base.scss +99 -48
- package/resources/scss/theme-light/tab/header/Button.scss +22 -6
- package/resources/scss/theme-light/table/Container.scss +7 -1
- package/src/DefaultConfig.mjs +2 -2
- package/src/calendar/view/month/Component.mjs +9 -6
package/apps/ServiceWorker.mjs
CHANGED
@@ -119,28 +119,45 @@ if (programOpts.info) {
|
|
119
119
|
insideNeo = !!programOpts.framework || false,
|
120
120
|
cpArgs = ['-e', env],
|
121
121
|
startDate = new Date();
|
122
|
+
let childProcess;
|
122
123
|
|
123
124
|
programOpts.noquestions && cpArgs.push('-n');
|
124
125
|
insideNeo && cpArgs.push('-f');
|
125
126
|
|
126
|
-
npminstall === 'yes'
|
127
|
-
|
128
|
-
|
129
|
-
|
127
|
+
if (npminstall === 'yes') {
|
128
|
+
childProcess = spawnSync(npmCmd, ['i'], cpOpts);
|
129
|
+
childProcess.status && process.exit(childProcess.status);
|
130
|
+
}
|
131
|
+
if (themes === 'yes') {
|
132
|
+
childProcess = spawnSync('node', [`${neoPath}/buildScripts/buildThemes.mjs`].concat(cpArgs), cpOpts);
|
133
|
+
childProcess.status && process.exit(childProcess.status);
|
134
|
+
}
|
135
|
+
if (threads === 'yes') {
|
136
|
+
childProcess = spawnSync('node', [`${webpackPath}/buildThreads.mjs`].concat(cpArgs), cpOpts);
|
137
|
+
childProcess.status && process.exit(childProcess.status);
|
138
|
+
}
|
139
|
+
if (parsedocs === 'yes') {
|
140
|
+
childProcess = spawnSync(npmCmd, ['run', 'generate-docs-json'], cpOpts);
|
141
|
+
childProcess.status && process.exit(childProcess.status);
|
142
|
+
};
|
130
143
|
|
131
144
|
if (env === 'all' || env === 'dev') {
|
132
|
-
spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/output') } -t ${path.resolve(cwd, 'dist/development/docs/output')}`], cpOpts);
|
133
|
-
|
145
|
+
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/output') } -t ${path.resolve(cwd, 'dist/development/docs/output')}`], cpOpts);
|
146
|
+
childProcess.status && process.exit(childProcess.status);
|
147
|
+
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/resources')} -t ${path.resolve(cwd, 'dist/development/docs/resources')}`], cpOpts);
|
148
|
+
childProcess.status && process.exit(childProcess.status);
|
134
149
|
}
|
135
150
|
|
136
151
|
if (env === 'all' || env === 'prod') {
|
137
|
-
spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/output') } -t ${path.resolve(cwd, 'dist/production/docs/output')}`], cpOpts);
|
138
|
-
|
152
|
+
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/output') } -t ${path.resolve(cwd, 'dist/production/docs/output')}`], cpOpts);
|
153
|
+
childProcess.status && process.exit(childProcess.status);
|
154
|
+
childProcess = spawnSync('node', [`${neoPath}/buildScripts/copyFolder.mjs -s ${path.resolve(cwd, 'docs/resources')} -t ${path.resolve(cwd, 'dist/production/docs/resources')}`], cpOpts);
|
155
|
+
childProcess.status && process.exit(childProcess.status);
|
139
156
|
}
|
140
157
|
|
141
158
|
const processTime = (Math.round((new Date - startDate) * 100) / 100000).toFixed(2);
|
142
159
|
console.log(`\nTotal time for ${programName}: ${processTime}s`);
|
143
160
|
|
144
|
-
process.exit(
|
161
|
+
process.exit();
|
145
162
|
});
|
146
163
|
}
|
@@ -296,13 +296,14 @@ if (programOpts.info) {
|
|
296
296
|
fs.writeFileSync(appJsonPath, JSON.stringify(appJson, null, 4));
|
297
297
|
|
298
298
|
if (mainThreadAddons.includes('HighlightJS')) {
|
299
|
-
spawnSync('node', [
|
299
|
+
const childProcess = spawnSync('node', [
|
300
300
|
'./buildScripts/copyFolder.mjs',
|
301
301
|
'-s',
|
302
302
|
path.resolve(neoPath, 'docs/resources'),
|
303
303
|
'-t',
|
304
304
|
path.resolve(folder, 'resources'),
|
305
305
|
], { env: process.env, cwd: process.cwd(), stdio: 'inherit' });
|
306
|
+
childProcess.status && process.exit(childProcess.status);
|
306
307
|
}
|
307
308
|
|
308
309
|
const processTime = (Math.round((new Date - startDate) * 100) / 100000).toFixed(2);
|
@@ -100,6 +100,7 @@ if (programOpts.info) {
|
|
100
100
|
env = answers.env || programOpts.env || ['all'],
|
101
101
|
insideNeo = !!programOpts.framework || false,
|
102
102
|
startDate = new Date();
|
103
|
+
let childProcess;
|
103
104
|
|
104
105
|
if (os.platform().startsWith('win')) {
|
105
106
|
webpack = path.resolve(webpack).replace(/\\/g,'/');
|
@@ -108,13 +109,15 @@ if (programOpts.info) {
|
|
108
109
|
// dist/development
|
109
110
|
if (env === 'all' || env === 'dev') {
|
110
111
|
console.log(chalk.blue(`${programName} starting dist/development`));
|
111
|
-
spawnSync(webpack, ['--config', `${webpackPath}/development/webpack.config.myapps.mjs`, `--env apps=${apps}`, `--env insideNeo=${insideNeo}`], cpOpts);
|
112
|
+
childProcess = spawnSync(webpack, ['--config', `${webpackPath}/development/webpack.config.myapps.mjs`, `--env apps=${apps}`, `--env insideNeo=${insideNeo}`], cpOpts);
|
113
|
+
childProcess.status && process.exit(childProcess.status);
|
112
114
|
}
|
113
115
|
|
114
116
|
// dist/production
|
115
117
|
if (env === 'all' || env === 'prod') {
|
116
118
|
console.log(chalk.blue(`${programName} starting dist/production`));
|
117
|
-
spawnSync(webpack, ['--config', `${webpackPath}/production/webpack.config.myapps.mjs`, `--env apps=${apps}`, `--env insideNeo=${insideNeo}`], cpOpts);
|
119
|
+
childProcess = spawnSync(webpack, ['--config', `${webpackPath}/production/webpack.config.myapps.mjs`, `--env apps=${apps}`, `--env insideNeo=${insideNeo}`], cpOpts);
|
120
|
+
childProcess.status && process.exit(childProcess.status);
|
118
121
|
}
|
119
122
|
|
120
123
|
const processTime = (Math.round((new Date - startDate) * 100) / 100000).toFixed(2);
|
@@ -88,12 +88,32 @@ if (programOpts.info) {
|
|
88
88
|
}
|
89
89
|
|
90
90
|
function parseThreads(tPath) {
|
91
|
-
|
92
|
-
|
93
|
-
(threads === 'all' || threads === '
|
94
|
-
|
95
|
-
|
96
|
-
|
91
|
+
let childProcess;
|
92
|
+
|
93
|
+
if (threads === 'all' || threads === 'main') {
|
94
|
+
childProcess = spawnSync(webpack, ['--config', `${tPath}.main.mjs`], cpOpts);
|
95
|
+
childProcess.status && process.exit(childProcess.status);
|
96
|
+
}
|
97
|
+
if (threads === 'all' || threads === 'app') {
|
98
|
+
childProcess = spawnSync(webpack, ['--config', `${tPath}.appworker.mjs`, `--env insideNeo=${insideNeo}`], cpOpts);
|
99
|
+
childProcess.status && process.exit(childProcess.status);
|
100
|
+
}
|
101
|
+
if (threads === 'all' || threads === 'canvas') {
|
102
|
+
childProcess = spawnSync(webpack, ['--config', `${tPath}.worker.mjs`, `--env insideNeo=${insideNeo} worker=canvas`], cpOpts);
|
103
|
+
childProcess.status && process.exit(childProcess.status);
|
104
|
+
}
|
105
|
+
if (threads === 'all' || threads === 'data') {
|
106
|
+
childProcess = spawnSync(webpack, ['--config', `${tPath}.worker.mjs`, `--env insideNeo=${insideNeo} worker=data`], cpOpts);
|
107
|
+
childProcess.status && process.exit(childProcess.status);
|
108
|
+
}
|
109
|
+
if (threads === 'all' || threads === 'service') {
|
110
|
+
childProcess = spawnSync(webpack, ['--config', `${tPath}.worker.mjs`, `--env insideNeo=${insideNeo} worker=service`], cpOpts);
|
111
|
+
childProcess.status && process.exit(childProcess.status);
|
112
|
+
}
|
113
|
+
if (threads === 'all' || threads === 'vdom') {
|
114
|
+
childProcess = spawnSync(webpack, ['--config', `${tPath}.worker.mjs`, `--env insideNeo=${insideNeo} worker=vdom`], cpOpts);
|
115
|
+
childProcess.status && process.exit(childProcess.status);
|
116
|
+
}
|
97
117
|
}
|
98
118
|
|
99
119
|
// dist/development
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "neo.mjs",
|
3
|
-
"version": "5.1.
|
3
|
+
"version": "5.1.11",
|
4
4
|
"description": "The webworkers driven UI framework",
|
5
5
|
"type": "module",
|
6
6
|
"repository": {
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"chalk": "^5.2.0",
|
49
49
|
"clean-webpack-plugin": "^4.0.0",
|
50
50
|
"commander": "^10.0.0",
|
51
|
-
"cssnano": "^5.1.
|
51
|
+
"cssnano": "^5.1.15",
|
52
52
|
"envinfo": "^7.8.1",
|
53
53
|
"fs-extra": "^11.1.0",
|
54
54
|
"highlightjs-line-numbers.js": "^2.8.0",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"neo-jsdoc": "^1.0.1",
|
57
57
|
"neo-jsdoc-x": "^1.0.5",
|
58
58
|
"postcss": "^8.4.21",
|
59
|
-
"sass": "^1.58.
|
59
|
+
"sass": "^1.58.1",
|
60
60
|
"webpack": "^5.75.0",
|
61
61
|
"webpack-cli": "^5.0.1",
|
62
62
|
"webpack-dev-server": "4.11.1",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
align-items : center;
|
14
14
|
background-color : v(button-background-color);
|
15
15
|
background-image : v(button-background-image);
|
16
|
-
border : v(button-border
|
16
|
+
border : v(button-border);
|
17
17
|
border-radius : v(button-border-radius);
|
18
18
|
box-sizing : border-box;
|
19
19
|
cursor : pointer;
|
@@ -100,7 +100,7 @@
|
|
100
100
|
&:active {
|
101
101
|
background-color: v(button-background-color-active) !important;
|
102
102
|
background-image: none !important;
|
103
|
-
border
|
103
|
+
border : v(button-border-active);
|
104
104
|
|
105
105
|
.neo-button-glyph {
|
106
106
|
color: v(button-glyph-color-active);
|
@@ -118,7 +118,7 @@
|
|
118
118
|
&:hover {
|
119
119
|
background-color: v(button-background-color-hover);
|
120
120
|
background-image: none !important;
|
121
|
-
border
|
121
|
+
border : v(button-border-hover);
|
122
122
|
|
123
123
|
.neo-button-glyph {
|
124
124
|
color: v(button-glyph-color-hover);
|
@@ -153,10 +153,63 @@
|
|
153
153
|
}
|
154
154
|
}
|
155
155
|
|
156
|
+
&.neo-button-ghost {
|
157
|
+
background-color: v(button-ghost-background-color);
|
158
|
+
background-image: v(button-ghost-background-image);
|
159
|
+
border : v(button-ghost-border);
|
160
|
+
|
161
|
+
.neo-button-badge {
|
162
|
+
background-color: v(button-ghost-badge-background-color);
|
163
|
+
color : v(button-ghost-badge-color);
|
164
|
+
}
|
165
|
+
|
166
|
+
.neo-button-glyph {
|
167
|
+
color: v(button-ghost-glyph-color);
|
168
|
+
}
|
169
|
+
|
170
|
+
.neo-button-ripple {
|
171
|
+
background-color: v(button-ghost-ripple-background-color);
|
172
|
+
}
|
173
|
+
|
174
|
+
.neo-button-text {
|
175
|
+
color: v(button-ghost-text-color);
|
176
|
+
}
|
177
|
+
|
178
|
+
&:active {
|
179
|
+
background-color: v(button-ghost-background-color-active) !important;
|
180
|
+
border : v(button-ghost-border-active);
|
181
|
+
|
182
|
+
.neo-button-glyph {
|
183
|
+
color: v(button-ghost-glyph-color-active);
|
184
|
+
}
|
185
|
+
|
186
|
+
.neo-button-text {
|
187
|
+
color: v(button-ghost-text-color-active);
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
&:hover {
|
192
|
+
background-color: v(button-ghost-background-color-hover);
|
193
|
+
border : v(button-ghost-border-hover);
|
194
|
+
|
195
|
+
.neo-button-glyph {
|
196
|
+
color: v(button-ghost-glyph-color-hover);
|
197
|
+
}
|
198
|
+
|
199
|
+
.neo-button-text {
|
200
|
+
color: v(button-ghost-text-color-hover);
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
&.pressed {
|
205
|
+
border: v(button-ghost-border-pressed);
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
156
209
|
&.neo-button-secondary {
|
157
210
|
background-color: v(button-secondary-background-color);
|
158
211
|
background-image: v(button-secondary-background-image);
|
159
|
-
border : v(button-secondary-border
|
212
|
+
border : v(button-secondary-border);
|
160
213
|
|
161
214
|
.neo-button-badge {
|
162
215
|
background-color: v(button-secondary-badge-background-color);
|
@@ -177,7 +230,7 @@
|
|
177
230
|
|
178
231
|
&:active {
|
179
232
|
background-color: v(button-secondary-background-color-active) !important;
|
180
|
-
border
|
233
|
+
border : v(button-secondary-border-active);
|
181
234
|
|
182
235
|
.neo-button-glyph {
|
183
236
|
color: v(button-secondary-glyph-color-active);
|
@@ -190,7 +243,7 @@
|
|
190
243
|
|
191
244
|
&:hover {
|
192
245
|
background-color: v(button-secondary-background-color-hover);
|
193
|
-
border
|
246
|
+
border : v(button-secondary-border-hover);
|
194
247
|
|
195
248
|
.neo-button-glyph {
|
196
249
|
color: v(button-secondary-glyph-color-hover);
|
@@ -200,12 +253,16 @@
|
|
200
253
|
color: v(button-secondary-text-color-hover);
|
201
254
|
}
|
202
255
|
}
|
256
|
+
|
257
|
+
&.pressed {
|
258
|
+
border: v(button-secondary-border-pressed);
|
259
|
+
}
|
203
260
|
}
|
204
261
|
|
205
262
|
&.neo-button-tertiary {
|
206
263
|
background-color: v(button-tertiary-background-color);
|
207
264
|
background-image: v(button-tertiary-background-image);
|
208
|
-
border : v(button-tertiary-border
|
265
|
+
border : v(button-tertiary-border);
|
209
266
|
|
210
267
|
.neo-button-badge {
|
211
268
|
background-color: v(button-tertiary-badge-background-color);
|
@@ -226,7 +283,7 @@
|
|
226
283
|
|
227
284
|
&:active {
|
228
285
|
background-color: v(button-tertiary-background-color-active) !important;
|
229
|
-
border
|
286
|
+
border : v(button-tertiary-border-active);
|
230
287
|
|
231
288
|
.neo-button-glyph {
|
232
289
|
color: v(button-tertiary-glyph-color-active);
|
@@ -239,7 +296,7 @@
|
|
239
296
|
|
240
297
|
&:hover {
|
241
298
|
background-color: v(button-tertiary-background-color-hover);
|
242
|
-
border
|
299
|
+
border : v(button-tertiary-border-hover);
|
243
300
|
|
244
301
|
.neo-button-glyph {
|
245
302
|
color: v(button-tertiary-glyph-color-hover);
|
@@ -249,6 +306,10 @@
|
|
249
306
|
color: v(button-tertiary-text-color-hover);
|
250
307
|
}
|
251
308
|
}
|
309
|
+
|
310
|
+
&.pressed {
|
311
|
+
border: v(button-tertiary-border-pressed);
|
312
|
+
}
|
252
313
|
}
|
253
314
|
|
254
315
|
&.no-text {
|
@@ -258,7 +319,7 @@
|
|
258
319
|
}
|
259
320
|
|
260
321
|
&.pressed {
|
261
|
-
border
|
322
|
+
border: v(button-border-pressed);
|
262
323
|
}
|
263
324
|
}
|
264
325
|
|
@@ -266,7 +327,7 @@
|
|
266
327
|
.neo-button,
|
267
328
|
&.neo-button {
|
268
329
|
background-color: v(button-background-color-disabled);
|
269
|
-
border
|
330
|
+
border : v(button-border-disabled);
|
270
331
|
cursor : default;
|
271
332
|
opacity : v(button-opacity-disabled);
|
272
333
|
|
@@ -280,7 +341,7 @@
|
|
280
341
|
|
281
342
|
&.neo-button-secondary {
|
282
343
|
background-color: v(button-secondary-background-color-disabled);
|
283
|
-
border
|
344
|
+
border : v(button-secondary-border-disabled);
|
284
345
|
opacity : v(button-secondary-opacity-disabled);
|
285
346
|
|
286
347
|
.neo-button-glyph {
|
@@ -294,7 +355,7 @@
|
|
294
355
|
|
295
356
|
&.neo-button-tertiary {
|
296
357
|
background-color: v(button-tertiary-background-color-disabled);
|
297
|
-
border
|
358
|
+
border : v(button-tertiary-border-disabled);
|
298
359
|
opacity : v(button-tertiary-opacity-disabled);
|
299
360
|
|
300
361
|
.neo-button-glyph {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// default styling to match buttons, since this is the most common use case
|
3
3
|
background-color: v(button-background-color);
|
4
4
|
background-image: v(button-background-image);
|
5
|
-
border :
|
5
|
+
border : v(button-border-active);
|
6
6
|
|
7
7
|
position: fixed;
|
8
8
|
z-index : 1000;
|
@@ -4,32 +4,61 @@
|
|
4
4
|
100% {background-color: v(tab-indicator-background-color-active);}
|
5
5
|
}
|
6
6
|
|
7
|
-
.neo-tab-header-button {
|
7
|
+
.neo-tab-header-button.neo-button {
|
8
|
+
align-self : end;
|
9
|
+
background-color: v(tab-button-background-color);
|
8
10
|
background-image: v(tab-button-background-image);
|
9
11
|
border-radius : v(tab-button-border-radius);
|
10
12
|
border-width : 0;
|
11
|
-
height :
|
13
|
+
height : v(tab-button-height);
|
12
14
|
margin : 0;
|
13
|
-
padding :
|
15
|
+
padding : v(tab-button-padding);
|
14
16
|
text-transform : v(tab-button-text-transform);
|
15
17
|
|
18
|
+
.neo-button-badge {
|
19
|
+
font-size : 10px;
|
20
|
+
text-transform: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
.neo-button-glyph {
|
24
|
+
color: v(tab-button-glyph-color);
|
25
|
+
}
|
26
|
+
|
27
|
+
.neo-button-text {
|
28
|
+
color: v(tab-button-text-color);
|
29
|
+
}
|
30
|
+
|
31
|
+
.neo-tab-button-indicator {
|
32
|
+
background-color: transparent;
|
33
|
+
bottom : calcVar(tab-strip-height, '*', -1);
|
34
|
+
height : v(tab-strip-height);
|
35
|
+
pointer-events : none;
|
36
|
+
position : absolute;
|
37
|
+
width : 100%;
|
38
|
+
z-index : 2;
|
39
|
+
}
|
40
|
+
|
16
41
|
&:active {
|
42
|
+
background-color: v(tab-button-background-color-active) !important;
|
43
|
+
|
17
44
|
.neo-button-glyph {
|
18
45
|
color: v(tab-button-glyph-color-active);
|
19
46
|
}
|
20
47
|
}
|
21
48
|
|
22
49
|
&:hover {
|
50
|
+
background-color: v(tab-button-background-color-hover);
|
23
51
|
background-image: none;
|
24
52
|
|
25
53
|
.neo-button-glyph {
|
26
|
-
color: v(tab-button-glyph-color-
|
54
|
+
color: v(tab-button-glyph-color-hover);
|
27
55
|
}
|
28
56
|
}
|
29
57
|
|
30
58
|
&.pressed {
|
31
59
|
background-image: v(tab-button-background-image-pressed) !important;
|
32
60
|
cursor : default;
|
61
|
+
height : v(tab-button-height-pressed);
|
33
62
|
|
34
63
|
.neo-button-glyph {
|
35
64
|
color: v(tab-button-glyph-color-pressed);
|
@@ -42,26 +71,14 @@
|
|
42
71
|
}
|
43
72
|
}
|
44
73
|
|
45
|
-
|
46
|
-
|
47
|
-
text-transform: none;
|
48
|
-
}
|
49
|
-
|
50
|
-
.neo-button-glyph {
|
51
|
-
color: v(tab-button-glyph-color);
|
52
|
-
}
|
53
|
-
|
54
|
-
.neo-button-text {
|
55
|
-
color: v(tab-button-text-color);
|
74
|
+
&:not(:last-child) {
|
75
|
+
margin-right: v(tab-button-gap);
|
56
76
|
}
|
77
|
+
}
|
57
78
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
pointer-events : none;
|
63
|
-
position : absolute;
|
64
|
-
width : 100%;
|
65
|
-
z-index : 2;
|
79
|
+
.neo-disabled {
|
80
|
+
.neo-tab-header-button.neo-button,
|
81
|
+
&.neo-tab-header-button.neo-button {
|
82
|
+
background-color: v(tab-button-background-color-disabled);
|
66
83
|
}
|
67
84
|
}
|
@@ -1,65 +1,88 @@
|
|
1
1
|
.neo-tab-header-toolbar {
|
2
2
|
background-color: transparent;
|
3
|
+
height : v(tab-button-height-pressed);
|
3
4
|
padding : 0;
|
4
5
|
|
5
6
|
&.neo-dock-bottom {
|
6
|
-
.neo-tab-header-button {
|
7
|
+
.neo-tab-header-button.neo-button {
|
8
|
+
align-self : start;
|
7
9
|
background-image: v(tab-button-background-image-bottom);
|
8
10
|
|
11
|
+
.neo-tab-button-indicator {
|
12
|
+
bottom: unset;
|
13
|
+
height: v(tab-strip-height);
|
14
|
+
top : calcVar(tab-strip-height, '*', -1);
|
15
|
+
width : 100%;
|
16
|
+
}
|
17
|
+
|
9
18
|
&.pressed {
|
10
19
|
background-image: v(tab-button-background-image-pressed-bottom) !important;
|
11
20
|
}
|
12
21
|
}
|
13
|
-
|
14
|
-
.neo-tab-button-indicator {
|
15
|
-
bottom: unset;
|
16
|
-
height: v(tab-strip-height);
|
17
|
-
top : calcVar(tab-strip-height, '*', -1);
|
18
|
-
width : 100%;
|
19
|
-
}
|
20
22
|
}
|
21
23
|
|
22
24
|
&.neo-dock-left {
|
23
|
-
|
25
|
+
height: unset;
|
26
|
+
width : v(tab-button-height-pressed);
|
27
|
+
|
28
|
+
.neo-tab-header-button.neo-button {
|
24
29
|
background-image: v(tab-button-background-image-left);
|
25
30
|
height : unset;
|
26
|
-
width :
|
31
|
+
width : v(tab-button-height);
|
32
|
+
|
33
|
+
.neo-tab-button-indicator {
|
34
|
+
bottom: unset;
|
35
|
+
height: 100%;
|
36
|
+
right : calcVar(tab-strip-height, '*', -1);
|
37
|
+
width : v(tab-strip-height);
|
38
|
+
}
|
27
39
|
|
28
40
|
&.pressed {
|
29
41
|
background-image: v(tab-button-background-image-pressed-left) !important;
|
42
|
+
width : v(tab-button-height-pressed);
|
30
43
|
}
|
31
|
-
}
|
32
44
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
width : v(tab-strip-height);
|
45
|
+
&:not(:last-child) {
|
46
|
+
margin-right: unset;
|
47
|
+
margin-top : v(tab-button-gap);
|
48
|
+
}
|
38
49
|
}
|
39
50
|
}
|
40
51
|
|
41
52
|
&.neo-dock-right {
|
42
|
-
|
53
|
+
height: unset;
|
54
|
+
width : v(tab-button-height-pressed);
|
55
|
+
|
56
|
+
.neo-tab-header-button.neo-button {
|
57
|
+
align-self : start;
|
43
58
|
background-image: v(tab-button-background-image-right);
|
44
|
-
height: unset;
|
45
|
-
width
|
59
|
+
height : unset;
|
60
|
+
width : v(tab-button-height);
|
61
|
+
|
62
|
+
.neo-tab-button-indicator {
|
63
|
+
bottom: unset;
|
64
|
+
height: 100%;
|
65
|
+
left : calcVar(tab-strip-height, '*', -1);
|
66
|
+
width : v(tab-strip-height);
|
67
|
+
}
|
46
68
|
|
47
69
|
&.pressed {
|
48
70
|
background-image: v(tab-button-background-image-pressed-right) !important;
|
71
|
+
width : v(tab-button-height-pressed);
|
49
72
|
}
|
50
|
-
}
|
51
73
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
width : v(tab-strip-height);
|
74
|
+
&:not(:last-child) {
|
75
|
+
margin-bottom: v(tab-button-gap);
|
76
|
+
margin-right : unset;
|
77
|
+
}
|
57
78
|
}
|
58
79
|
}
|
59
80
|
|
60
81
|
&.neo-no-animation {
|
61
|
-
.neo-tab-button-
|
62
|
-
|
82
|
+
.neo-tab-header-button.neo-button {
|
83
|
+
.neo-tab-button-indicator {
|
84
|
+
animation-duration: 0ms !important;
|
85
|
+
}
|
63
86
|
}
|
64
87
|
}
|
65
88
|
}
|
@@ -16,8 +16,8 @@
|
|
16
16
|
position : absolute;
|
17
17
|
|
18
18
|
tr {
|
19
|
-
height :
|
20
|
-
max-height:
|
19
|
+
height : v(table-container-cell-height) !important;
|
20
|
+
max-height: v(table-container-cell-height) !important;
|
21
21
|
}
|
22
22
|
|
23
23
|
tr:last-child {
|
@@ -33,8 +33,8 @@
|
|
33
33
|
}
|
34
34
|
|
35
35
|
td, th {
|
36
|
-
min-width: 200px; // for testing
|
37
36
|
height : inherit;
|
37
|
+
min-width: 200px; // for testing
|
38
38
|
width : inherit;
|
39
39
|
|
40
40
|
&:last-child {
|
@@ -48,12 +48,12 @@
|
|
48
48
|
|
49
49
|
td {
|
50
50
|
background-color: v(table-container-cell-background-color);
|
51
|
-
border-bottom :
|
51
|
+
border-bottom : v(table-container-cell-border-bottom);
|
52
52
|
border-right : 1px solid v(table-container-border-color);
|
53
53
|
border-top : 1px solid transparent;
|
54
|
-
height :
|
55
|
-
max-height :
|
56
|
-
padding :
|
54
|
+
height : v(table-container-cell-height) !important;
|
55
|
+
max-height : v(table-container-cell-height) !important;
|
56
|
+
padding : v(table-container-cell-padding);
|
57
57
|
|
58
58
|
&.neo-locked {
|
59
59
|
z-index: 10;
|
@@ -96,7 +96,7 @@
|
|
96
96
|
background:rgba(0,0,0,0.1);
|
97
97
|
|
98
98
|
&:vertical {
|
99
|
-
margin-top:
|
99
|
+
margin-top: v(table-container-cell-height);
|
100
100
|
}
|
101
101
|
}
|
102
102
|
|
@@ -119,5 +119,3 @@
|
|
119
119
|
}
|
120
120
|
}
|
121
121
|
}
|
122
|
-
|
123
|
-
#myTableContainer ::-webkit-scrollbar-track:horizontal {margin-left: 400px;}
|