@sis-cc/dotstatsuite-visions 12.52.0 → 12.54.0
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/es/Contact/Contact.js +10 -4
- package/es/Contact/Mode.js +1 -1
- package/es/DataEdit/DataEdit.js +11 -2
- package/es/Share/Mode.js +1 -1
- package/es/TableHtml5/TableHtml5.js +2 -2
- package/es/TableHtml5/cell.js +4 -3
- package/es/TableHtml5/section.js +7 -5
- package/es/TableHtml5/sectionHeader.js +3 -2
- package/es/TableHtml5/subHeader.js +28 -8
- package/es/UserRightForm/PermsissionsTabs.js +5 -5
- package/es/theme.js +3 -1
- package/lib/Contact/Contact.js +10 -4
- package/lib/Contact/Mode.js +1 -1
- package/lib/DataEdit/DataEdit.js +14 -2
- package/lib/Share/Mode.js +1 -1
- package/lib/TableHtml5/TableHtml5.js +2 -2
- package/lib/TableHtml5/cell.js +4 -3
- package/lib/TableHtml5/section.js +7 -5
- package/lib/TableHtml5/sectionHeader.js +3 -2
- package/lib/TableHtml5/subHeader.js +28 -8
- package/lib/UserRightForm/PermsissionsTabs.js +5 -5
- package/lib/theme.js +3 -1
- package/package.json +1 -1
- package/umd/@sis-cc/dotstatsuite-visions.js +77 -36
- package/umd/@sis-cc/dotstatsuite-visions.min.js +7 -7
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
package/es/Contact/Contact.js
CHANGED
|
@@ -25,8 +25,14 @@ var useStyles = makeStyles(function (theme) {
|
|
|
25
25
|
padding: theme.spacing(2),
|
|
26
26
|
margin: theme.spacing(2, 0)
|
|
27
27
|
},
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
agreement: {
|
|
29
|
+
fontSize: '1.0625rem',
|
|
30
|
+
lineHeight: '1.6'
|
|
31
|
+
},
|
|
32
|
+
policy: {
|
|
33
|
+
color: theme.palette.primary.main,
|
|
34
|
+
fontSize: '1.0625rem',
|
|
35
|
+
lineHeight: '1.6'
|
|
30
36
|
},
|
|
31
37
|
textarea: {
|
|
32
38
|
width: '100%',
|
|
@@ -279,7 +285,7 @@ var Contact = function Contact(_ref) {
|
|
|
279
285
|
control: React.createElement(Checkbox, { name: 'checkedB', color: 'primary' }),
|
|
280
286
|
label: React.createElement(
|
|
281
287
|
Typography,
|
|
282
|
-
{
|
|
288
|
+
{ className: classes.agreement },
|
|
283
289
|
R.prop('checkbox')(labels)
|
|
284
290
|
),
|
|
285
291
|
checked: checked,
|
|
@@ -293,7 +299,7 @@ var Contact = function Contact(_ref) {
|
|
|
293
299
|
{ item: true },
|
|
294
300
|
React.createElement(
|
|
295
301
|
Typography,
|
|
296
|
-
{
|
|
302
|
+
{ className: classes.policy, style: { paddingTop: 8 } },
|
|
297
303
|
R.prop('organisationPrivacyPolicy')(labels)
|
|
298
304
|
)
|
|
299
305
|
)
|
package/es/Contact/Mode.js
CHANGED
|
@@ -89,7 +89,7 @@ var Mode = function Mode(_ref2) {
|
|
|
89
89
|
{ className: classes.content },
|
|
90
90
|
React.createElement(
|
|
91
91
|
Typography,
|
|
92
|
-
{
|
|
92
|
+
{ className: classes.title, 'aria-label': title, tabIndex: 0 },
|
|
93
93
|
title
|
|
94
94
|
),
|
|
95
95
|
React.createElement(
|
package/es/DataEdit/DataEdit.js
CHANGED
|
@@ -9,10 +9,19 @@ import Checkbox from '@mui/material/Checkbox';
|
|
|
9
9
|
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
10
10
|
import Input from './Input';
|
|
11
11
|
import { withBlank } from '../utils';
|
|
12
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
13
|
+
|
|
14
|
+
var useStyles = makeStyles(function (theme) {
|
|
15
|
+
return {
|
|
16
|
+
title: R.pathOr({}, ['mixins', 'chartsConfig', 'title'], theme)
|
|
17
|
+
};
|
|
18
|
+
});
|
|
12
19
|
|
|
13
20
|
var DataEdit = function DataEdit(_ref) {
|
|
14
21
|
var labels = _ref.labels,
|
|
15
22
|
properties = _ref.properties;
|
|
23
|
+
|
|
24
|
+
var classes = useStyles();
|
|
16
25
|
var _properties$title = properties.title,
|
|
17
26
|
title = _properties$title === undefined ? {} : _properties$title,
|
|
18
27
|
_properties$subtitle = properties.subtitle,
|
|
@@ -34,8 +43,8 @@ var DataEdit = function DataEdit(_ref) {
|
|
|
34
43
|
{ item: true, xs: 12 },
|
|
35
44
|
React.createElement(
|
|
36
45
|
Typography,
|
|
37
|
-
{
|
|
38
|
-
'
|
|
46
|
+
{ className: classes.title },
|
|
47
|
+
R.prop('information', labels)
|
|
39
48
|
)
|
|
40
49
|
),
|
|
41
50
|
R.prop('isActive', title) && React.createElement(
|
package/es/Share/Mode.js
CHANGED
|
@@ -25,8 +25,8 @@ var useStyles = makeStyles(function (theme) {
|
|
|
25
25
|
outline: '1px solid transparent',
|
|
26
26
|
transform: 'translateZ(0)',
|
|
27
27
|
borderCollapse: 'separate',
|
|
28
|
-
borderLeft: '
|
|
29
|
-
borderTop: '
|
|
28
|
+
borderLeft: '1px solid ' + theme.palette.grey[500],
|
|
29
|
+
borderTop: '1px solid ' + theme.palette.grey[500],
|
|
30
30
|
padding: '0px 0px'
|
|
31
31
|
},
|
|
32
32
|
stickyHeader: {
|
package/es/TableHtml5/cell.js
CHANGED
|
@@ -12,15 +12,16 @@ import { getIsRtl } from '../utils';
|
|
|
12
12
|
var useStyles = makeStyles(function (theme) {
|
|
13
13
|
return {
|
|
14
14
|
cell: {
|
|
15
|
-
borderBottom: '
|
|
16
|
-
borderRight: '
|
|
15
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
16
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
17
17
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
18
18
|
verticalAlign: 'baseline',
|
|
19
19
|
color: theme.palette.grey['A700'],
|
|
20
20
|
'&:hover': {
|
|
21
21
|
boxShadow: 'inset 0 0 0 2px ' + theme.palette.primary.main
|
|
22
22
|
},
|
|
23
|
-
whiteSpace: 'pre-wrap'
|
|
23
|
+
whiteSpace: 'pre-wrap',
|
|
24
|
+
borderCollapse: 'collapse'
|
|
24
25
|
},
|
|
25
26
|
active: {
|
|
26
27
|
boxShadow: 'inset 0 0 0 2px ' + theme.palette.primary.main
|
package/es/TableHtml5/section.js
CHANGED
|
@@ -22,12 +22,14 @@ var useStyles = makeStyles(function (theme) {
|
|
|
22
22
|
rowTitle: {
|
|
23
23
|
backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
24
24
|
border: 'inherit',
|
|
25
|
-
borderBottom: '
|
|
26
|
-
borderRight: '
|
|
25
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
26
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
27
27
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
28
28
|
color: theme.palette.grey['A700'],
|
|
29
29
|
verticalAlign: 'top',
|
|
30
|
-
align: 'left'
|
|
30
|
+
align: 'left',
|
|
31
|
+
borderCollapse: 'collapse',
|
|
32
|
+
borderSpacing: 0
|
|
31
33
|
},
|
|
32
34
|
timePeriodCells: {
|
|
33
35
|
whiteSpace: 'nowrap'
|
|
@@ -37,8 +39,8 @@ var useStyles = makeStyles(function (theme) {
|
|
|
37
39
|
backgroundColor: theme.palette.grey[200],
|
|
38
40
|
verticalAlign: 'top',
|
|
39
41
|
border: 'inherit',
|
|
40
|
-
borderBottom: '
|
|
41
|
-
borderRight: '
|
|
42
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
43
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
42
44
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
43
45
|
position: 'sticky',
|
|
44
46
|
zIndex: 1
|
|
@@ -15,10 +15,11 @@ import { getValue } from './utils';
|
|
|
15
15
|
var useStyles = makeStyles(function (theme) {
|
|
16
16
|
return {
|
|
17
17
|
section: {
|
|
18
|
+
borderCollapse: 'collapse',
|
|
18
19
|
backgroundColor: getDark(theme) || theme.palette.secondary.dark,
|
|
19
20
|
border: 'inherit',
|
|
20
|
-
borderBottom: '
|
|
21
|
-
borderRight: '
|
|
21
|
+
borderBottom: '1px solid ' + theme.palette.grey[500],
|
|
22
|
+
borderRight: '1px solid ' + theme.palette.grey[500],
|
|
22
23
|
padding: theme.spacing(0, 1),
|
|
23
24
|
color: theme.palette.grey['A700'],
|
|
24
25
|
verticalAlign: 'middle',
|
|
@@ -13,21 +13,41 @@ import Flags from './flags';
|
|
|
13
13
|
var useStyles = makeStyles(function (theme) {
|
|
14
14
|
return {
|
|
15
15
|
columnsTitle: {
|
|
16
|
+
position: 'sticky',
|
|
17
|
+
zIndex: 1,
|
|
18
|
+
boxSizing: 'border-box',
|
|
16
19
|
backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
17
|
-
border: '
|
|
18
|
-
borderBottom: '
|
|
19
|
-
borderRight: 'thin solid ' + theme.palette.grey[500],
|
|
20
|
-
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
20
|
+
border: 'none',
|
|
21
|
+
borderBottom: '1px solid ' + theme.palette.grey[500],
|
|
21
22
|
color: theme.palette.grey['A700'],
|
|
22
23
|
verticalAlign: 'middle',
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
'&::after': {
|
|
25
|
+
content: '""',
|
|
26
|
+
position: 'absolute',
|
|
27
|
+
top: 0,
|
|
28
|
+
right: 0,
|
|
29
|
+
width: '1px',
|
|
30
|
+
height: '100%',
|
|
31
|
+
backgroundColor: theme.palette.grey[500]
|
|
32
|
+
}
|
|
33
|
+
// backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
34
|
+
// border: 'inherit',
|
|
35
|
+
// borderBottom: `1.5px solid ${theme.palette.grey[500]}`,
|
|
36
|
+
// borderRight: `1.5px solid ${theme.palette.grey[500]}`,
|
|
37
|
+
// padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,
|
|
38
|
+
// color: theme.palette.grey['A700'],
|
|
39
|
+
// verticalAlign: 'middle',
|
|
40
|
+
// position: 'sticky',
|
|
41
|
+
// zIndex: 1,
|
|
42
|
+
// outline: `1px solid ${theme.palette.grey[500]}`,
|
|
43
|
+
// borderCollapse: 'collapse',
|
|
44
|
+
// borderSpacing: 0
|
|
25
45
|
},
|
|
26
46
|
fillerCell: {
|
|
27
47
|
backgroundColor: theme.palette.grey[200],
|
|
28
48
|
border: 'inherit',
|
|
29
|
-
borderBottom: '
|
|
30
|
-
borderRight: '
|
|
49
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
50
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
31
51
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
32
52
|
verticalAlign: 'middle',
|
|
33
53
|
textAlign: 'center',
|
|
@@ -24,6 +24,10 @@ var useStyles = makeStyles(function (theme) {
|
|
|
24
24
|
'& .Mui-selected': {
|
|
25
25
|
fontWeight: 'bold'
|
|
26
26
|
}
|
|
27
|
+
},
|
|
28
|
+
label: {
|
|
29
|
+
fontSize: '1.0625rem',
|
|
30
|
+
lineHeight: '1.6'
|
|
27
31
|
}
|
|
28
32
|
};
|
|
29
33
|
});
|
|
@@ -65,11 +69,7 @@ var PermissionsTabs = function PermissionsTabs(_ref) {
|
|
|
65
69
|
null,
|
|
66
70
|
React.createElement(
|
|
67
71
|
Typography,
|
|
68
|
-
{
|
|
69
|
-
variant: 'h6',
|
|
70
|
-
className: classes.label,
|
|
71
|
-
style: { marginTop: 10, marginBottom: 10 }
|
|
72
|
-
},
|
|
72
|
+
{ className: classes.label, style: { marginTop: 10, marginBottom: 10 } },
|
|
73
73
|
R.prop('title')(labels)
|
|
74
74
|
),
|
|
75
75
|
React.createElement(
|
package/es/theme.js
CHANGED
|
@@ -350,7 +350,9 @@ export var sisccTheme = function sisccTheme(_ref) {
|
|
|
350
350
|
share: {
|
|
351
351
|
title: {
|
|
352
352
|
fontWeight: 400,
|
|
353
|
-
fontFamily: "'Roboto Slab', serif"
|
|
353
|
+
fontFamily: "'Roboto Slab', serif",
|
|
354
|
+
fontSize: '1.0625rem',
|
|
355
|
+
lineHeight: '1.6'
|
|
354
356
|
}
|
|
355
357
|
},
|
|
356
358
|
spotlight: {
|
package/lib/Contact/Contact.js
CHANGED
|
@@ -73,8 +73,14 @@ var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
|
73
73
|
padding: theme.spacing(2),
|
|
74
74
|
margin: theme.spacing(2, 0)
|
|
75
75
|
},
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
agreement: {
|
|
77
|
+
fontSize: '1.0625rem',
|
|
78
|
+
lineHeight: '1.6'
|
|
79
|
+
},
|
|
80
|
+
policy: {
|
|
81
|
+
color: theme.palette.primary.main,
|
|
82
|
+
fontSize: '1.0625rem',
|
|
83
|
+
lineHeight: '1.6'
|
|
78
84
|
},
|
|
79
85
|
textarea: {
|
|
80
86
|
width: '100%',
|
|
@@ -327,7 +333,7 @@ var Contact = function Contact(_ref) {
|
|
|
327
333
|
control: _react2.default.createElement(_Checkbox2.default, { name: 'checkedB', color: 'primary' }),
|
|
328
334
|
label: _react2.default.createElement(
|
|
329
335
|
_Typography2.default,
|
|
330
|
-
{
|
|
336
|
+
{ className: classes.agreement },
|
|
331
337
|
R.prop('checkbox')(labels)
|
|
332
338
|
),
|
|
333
339
|
checked: checked,
|
|
@@ -341,7 +347,7 @@ var Contact = function Contact(_ref) {
|
|
|
341
347
|
{ item: true },
|
|
342
348
|
_react2.default.createElement(
|
|
343
349
|
_Typography2.default,
|
|
344
|
-
{
|
|
350
|
+
{ className: classes.policy, style: { paddingTop: 8 } },
|
|
345
351
|
R.prop('organisationPrivacyPolicy')(labels)
|
|
346
352
|
)
|
|
347
353
|
)
|
package/lib/Contact/Mode.js
CHANGED
|
@@ -128,7 +128,7 @@ var Mode = function Mode(_ref2) {
|
|
|
128
128
|
{ className: classes.content },
|
|
129
129
|
_react2.default.createElement(
|
|
130
130
|
_Typography2.default,
|
|
131
|
-
{
|
|
131
|
+
{ className: classes.title, 'aria-label': title, tabIndex: 0 },
|
|
132
132
|
title
|
|
133
133
|
),
|
|
134
134
|
_react2.default.createElement(
|
package/lib/DataEdit/DataEdit.js
CHANGED
|
@@ -38,13 +38,25 @@ var _Input2 = _interopRequireDefault(_Input);
|
|
|
38
38
|
|
|
39
39
|
var _utils = require('../utils');
|
|
40
40
|
|
|
41
|
+
var _makeStyles = require('@mui/styles/makeStyles');
|
|
42
|
+
|
|
43
|
+
var _makeStyles2 = _interopRequireDefault(_makeStyles);
|
|
44
|
+
|
|
41
45
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
|
42
46
|
|
|
43
47
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
44
48
|
|
|
49
|
+
var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
50
|
+
return {
|
|
51
|
+
title: R.pathOr({}, ['mixins', 'chartsConfig', 'title'], theme)
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
|
|
45
55
|
var DataEdit = function DataEdit(_ref) {
|
|
46
56
|
var labels = _ref.labels,
|
|
47
57
|
properties = _ref.properties;
|
|
58
|
+
|
|
59
|
+
var classes = useStyles();
|
|
48
60
|
var _properties$title = properties.title,
|
|
49
61
|
title = _properties$title === undefined ? {} : _properties$title,
|
|
50
62
|
_properties$subtitle = properties.subtitle,
|
|
@@ -66,8 +78,8 @@ var DataEdit = function DataEdit(_ref) {
|
|
|
66
78
|
{ item: true, xs: 12 },
|
|
67
79
|
_react2.default.createElement(
|
|
68
80
|
_Typography2.default,
|
|
69
|
-
{
|
|
70
|
-
'
|
|
81
|
+
{ className: classes.title },
|
|
82
|
+
R.prop('information', labels)
|
|
71
83
|
)
|
|
72
84
|
),
|
|
73
85
|
R.prop('isActive', title) && _react2.default.createElement(
|
package/lib/Share/Mode.js
CHANGED
|
@@ -127,7 +127,7 @@ var Mode = function Mode(_ref2) {
|
|
|
127
127
|
{ className: classes.content },
|
|
128
128
|
_react2.default.createElement(
|
|
129
129
|
_Typography2.default,
|
|
130
|
-
{
|
|
130
|
+
{ className: classes.title },
|
|
131
131
|
title
|
|
132
132
|
),
|
|
133
133
|
_react2.default.createElement(
|
|
@@ -61,8 +61,8 @@ var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
|
61
61
|
outline: '1px solid transparent',
|
|
62
62
|
transform: 'translateZ(0)',
|
|
63
63
|
borderCollapse: 'separate',
|
|
64
|
-
borderLeft: '
|
|
65
|
-
borderTop: '
|
|
64
|
+
borderLeft: '1px solid ' + theme.palette.grey[500],
|
|
65
|
+
borderTop: '1px solid ' + theme.palette.grey[500],
|
|
66
66
|
padding: '0px 0px'
|
|
67
67
|
},
|
|
68
68
|
stickyHeader: {
|
package/lib/TableHtml5/cell.js
CHANGED
|
@@ -45,15 +45,16 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
45
45
|
var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
46
46
|
return {
|
|
47
47
|
cell: {
|
|
48
|
-
borderBottom: '
|
|
49
|
-
borderRight: '
|
|
48
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
49
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
50
50
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
51
51
|
verticalAlign: 'baseline',
|
|
52
52
|
color: theme.palette.grey['A700'],
|
|
53
53
|
'&:hover': {
|
|
54
54
|
boxShadow: 'inset 0 0 0 2px ' + theme.palette.primary.main
|
|
55
55
|
},
|
|
56
|
-
whiteSpace: 'pre-wrap'
|
|
56
|
+
whiteSpace: 'pre-wrap',
|
|
57
|
+
borderCollapse: 'collapse'
|
|
57
58
|
},
|
|
58
59
|
active: {
|
|
59
60
|
boxShadow: 'inset 0 0 0 2px ' + theme.palette.primary.main
|
|
@@ -67,12 +67,14 @@ var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
|
67
67
|
rowTitle: {
|
|
68
68
|
backgroundColor: (0, _utils.getLight)(theme) || theme.palette.secondary.light,
|
|
69
69
|
border: 'inherit',
|
|
70
|
-
borderBottom: '
|
|
71
|
-
borderRight: '
|
|
70
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
71
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
72
72
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
73
73
|
color: theme.palette.grey['A700'],
|
|
74
74
|
verticalAlign: 'top',
|
|
75
|
-
align: 'left'
|
|
75
|
+
align: 'left',
|
|
76
|
+
borderCollapse: 'collapse',
|
|
77
|
+
borderSpacing: 0
|
|
76
78
|
},
|
|
77
79
|
timePeriodCells: {
|
|
78
80
|
whiteSpace: 'nowrap'
|
|
@@ -82,8 +84,8 @@ var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
|
82
84
|
backgroundColor: theme.palette.grey[200],
|
|
83
85
|
verticalAlign: 'top',
|
|
84
86
|
border: 'inherit',
|
|
85
|
-
borderBottom: '
|
|
86
|
-
borderRight: '
|
|
87
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
88
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
87
89
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
88
90
|
position: 'sticky',
|
|
89
91
|
zIndex: 1
|
|
@@ -55,10 +55,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
55
55
|
var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
56
56
|
return {
|
|
57
57
|
section: {
|
|
58
|
+
borderCollapse: 'collapse',
|
|
58
59
|
backgroundColor: (0, _utils.getDark)(theme) || theme.palette.secondary.dark,
|
|
59
60
|
border: 'inherit',
|
|
60
|
-
borderBottom: '
|
|
61
|
-
borderRight: '
|
|
61
|
+
borderBottom: '1px solid ' + theme.palette.grey[500],
|
|
62
|
+
borderRight: '1px solid ' + theme.palette.grey[500],
|
|
62
63
|
padding: theme.spacing(0, 1),
|
|
63
64
|
color: theme.palette.grey['A700'],
|
|
64
65
|
verticalAlign: 'middle',
|
|
@@ -49,21 +49,41 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
49
49
|
var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
50
50
|
return {
|
|
51
51
|
columnsTitle: {
|
|
52
|
+
position: 'sticky',
|
|
53
|
+
zIndex: 1,
|
|
54
|
+
boxSizing: 'border-box',
|
|
52
55
|
backgroundColor: (0, _utils.getLight)(theme) || theme.palette.secondary.light,
|
|
53
|
-
border: '
|
|
54
|
-
borderBottom: '
|
|
55
|
-
borderRight: 'thin solid ' + theme.palette.grey[500],
|
|
56
|
-
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
56
|
+
border: 'none',
|
|
57
|
+
borderBottom: '1px solid ' + theme.palette.grey[500],
|
|
57
58
|
color: theme.palette.grey['A700'],
|
|
58
59
|
verticalAlign: 'middle',
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
'&::after': {
|
|
61
|
+
content: '""',
|
|
62
|
+
position: 'absolute',
|
|
63
|
+
top: 0,
|
|
64
|
+
right: 0,
|
|
65
|
+
width: '1px',
|
|
66
|
+
height: '100%',
|
|
67
|
+
backgroundColor: theme.palette.grey[500]
|
|
68
|
+
}
|
|
69
|
+
// backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
70
|
+
// border: 'inherit',
|
|
71
|
+
// borderBottom: `1.5px solid ${theme.palette.grey[500]}`,
|
|
72
|
+
// borderRight: `1.5px solid ${theme.palette.grey[500]}`,
|
|
73
|
+
// padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,
|
|
74
|
+
// color: theme.palette.grey['A700'],
|
|
75
|
+
// verticalAlign: 'middle',
|
|
76
|
+
// position: 'sticky',
|
|
77
|
+
// zIndex: 1,
|
|
78
|
+
// outline: `1px solid ${theme.palette.grey[500]}`,
|
|
79
|
+
// borderCollapse: 'collapse',
|
|
80
|
+
// borderSpacing: 0
|
|
61
81
|
},
|
|
62
82
|
fillerCell: {
|
|
63
83
|
backgroundColor: theme.palette.grey[200],
|
|
64
84
|
border: 'inherit',
|
|
65
|
-
borderBottom: '
|
|
66
|
-
borderRight: '
|
|
85
|
+
borderBottom: '1.5px solid ' + theme.palette.grey[500],
|
|
86
|
+
borderRight: '1.5px solid ' + theme.palette.grey[500],
|
|
67
87
|
padding: theme.spacing(0.5) + ' ' + theme.spacing(1),
|
|
68
88
|
verticalAlign: 'middle',
|
|
69
89
|
textAlign: 'center',
|
|
@@ -61,6 +61,10 @@ var useStyles = (0, _makeStyles2.default)(function (theme) {
|
|
|
61
61
|
'& .Mui-selected': {
|
|
62
62
|
fontWeight: 'bold'
|
|
63
63
|
}
|
|
64
|
+
},
|
|
65
|
+
label: {
|
|
66
|
+
fontSize: '1.0625rem',
|
|
67
|
+
lineHeight: '1.6'
|
|
64
68
|
}
|
|
65
69
|
};
|
|
66
70
|
});
|
|
@@ -102,11 +106,7 @@ var PermissionsTabs = function PermissionsTabs(_ref) {
|
|
|
102
106
|
null,
|
|
103
107
|
_react2.default.createElement(
|
|
104
108
|
_Typography2.default,
|
|
105
|
-
{
|
|
106
|
-
variant: 'h6',
|
|
107
|
-
className: classes.label,
|
|
108
|
-
style: { marginTop: 10, marginBottom: 10 }
|
|
109
|
-
},
|
|
109
|
+
{ className: classes.label, style: { marginTop: 10, marginBottom: 10 } },
|
|
110
110
|
R.prop('title')(labels)
|
|
111
111
|
),
|
|
112
112
|
_react2.default.createElement(
|
package/lib/theme.js
CHANGED
|
@@ -354,7 +354,9 @@ var sisccTheme = exports.sisccTheme = function sisccTheme(_ref) {
|
|
|
354
354
|
share: {
|
|
355
355
|
title: {
|
|
356
356
|
fontWeight: 400,
|
|
357
|
-
fontFamily: "'Roboto Slab', serif"
|
|
357
|
+
fontFamily: "'Roboto Slab', serif",
|
|
358
|
+
fontSize: '1.0625rem',
|
|
359
|
+
lineHeight: '1.6'
|
|
358
360
|
}
|
|
359
361
|
},
|
|
360
362
|
spotlight: {
|