testio-tailwind 3.3.0 → 3.5.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/package.json +1 -1
- package/src/assets/scripts/app.js +23 -17
- package/src/assets/scripts/modules/colors.js +10 -2
- package/src/assets/scripts/modules/echarts_area.js +10 -6
- package/src/assets/scripts/modules/echarts_donut.js +20 -4
- package/src/assets/scripts/modules/echarts_exampledata.js +2 -2
- package/src/assets/scripts/modules/echarts_gauge.js +5 -5
- package/src/assets/scripts/modules/echarts_horizontal.js +18 -3
- package/src/assets/scripts/modules/echarts_line.js +84 -0
- package/src/assets/scripts/modules/echarts_vertical.js +5 -3
- package/src/assets/stylesheets/app.css +48 -59
- package/src/assets/stylesheets/components/customer/customer_productcards.css +2 -2
- package/src/assets/stylesheets/components/list_item.css +4 -0
- package/src/assets/stylesheets/components/uploads.css +0 -107
- package/src/assets/stylesheets/plugin_themes/dropzone.css +107 -0
- package/src/assets/stylesheets/{components → plugin_themes}/tom_select.css +49 -15
- package/src/assets/stylesheets/{components → plugin_themes}/trix_editor.css +1 -1
- package/src/assets/stylesheets/tailwind_config.css +3 -4
- package/src/assets/stylesheets/tailwind_custom_utilities.css +25 -1
- package/src/assets/stylesheets/tailwind_theme_dark.css +2 -1
- package/src/pages/charts/area.haml +21 -17
- package/src/pages/charts/bar_horizontal.haml +369 -220
- package/src/pages/charts/bar_vertical.haml +373 -367
- package/src/pages/charts/colors.haml +28 -0
- package/src/pages/charts/donut.haml +81 -16
- package/src/pages/charts/gauge.haml +40 -1
- package/src/pages/charts/legend.haml +22 -0
- package/src/pages/charts/line.haml +205 -0
- package/src/pages/colors.pug +2 -2
- package/src/static/app.bundled.js +19 -8
- /package/src/assets/stylesheets/{components → plugin_themes}/markdown_trix_styles.css +0 -0
- /package/src/assets/stylesheets/{components → plugin_themes}/select2.css +0 -0
package/package.json
CHANGED
|
@@ -121,30 +121,36 @@ document.addEventListener("trix-before-initialize", () => {
|
|
|
121
121
|
|
|
122
122
|
////// ECharts //////
|
|
123
123
|
|
|
124
|
-
import { colorBlueLight, colorInfo } from './modules/colors';
|
|
124
|
+
import { colorBlueLight, colorInfo, colorSuccess, colorLabelBright, colorTealLight, colorLabelDark, colorValueBright, colorValueDark, colorBorderBright, colorBorderDark, colorNeutralBright, colorNeutralDark } from './modules/colors';
|
|
125
125
|
import { createChartHorizontal } from './modules/echarts_horizontal';
|
|
126
126
|
import { createChartDonut } from './modules/echarts_donut';
|
|
127
127
|
import { createChartGauge } from './modules/echarts_gauge';
|
|
128
128
|
import { createChartArea } from './modules/echarts_area';
|
|
129
129
|
import { createChartVertical } from './modules/echarts_vertical';
|
|
130
|
+
import { createChartLine } from './modules/echarts_line';
|
|
130
131
|
|
|
131
132
|
import { echartsSeriesFew, echartsSeriesMany } from './modules/echarts_exampleseries';
|
|
132
133
|
|
|
133
134
|
import { dataFeaturesFew, dataFeaturesMany, dataBugs, dataBugsFew, dataBugsCategories, dataBugsCategoriesFew, dataTestCases, dataGaugeSuccess, dataGaugeDanger, dataGaugeInfo, dataAreaValues, dataAreaMonths, dataFeaturesManyNumbers } from './modules/echarts_exampledata';
|
|
134
135
|
|
|
135
|
-
createChartVertical("echarts-bar-vertical-1", dataBugs, dataBugsCategories);
|
|
136
|
-
createChartVertical("echarts-bar-vertical-
|
|
137
|
-
createChartVertical("echarts-bar-vertical-
|
|
138
|
-
createChartVertical("echarts-bar-vertical-
|
|
139
|
-
createChartVertical("echarts-bar-vertical-2-fixed", dataBugsFew, dataBugsCategoriesFew, 10);
|
|
140
|
-
createChartVertical("echarts-bar-vertical-3-fixed", dataFeaturesManyNumbers, dataFeaturesMany, 10);
|
|
141
|
-
createChartHorizontal("echarts-bar-horizontal-1", dataFeaturesFew, echartsSeriesFew, false);
|
|
142
|
-
createChartHorizontal("echarts-bar-horizontal-2", dataFeaturesMany, echartsSeriesMany, true);
|
|
143
|
-
|
|
144
|
-
createChartDonut("echarts-donut-
|
|
145
|
-
createChartDonut("echarts-donut-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
createChartGauge("echarts-gauge-
|
|
149
|
-
|
|
150
|
-
|
|
136
|
+
createChartVertical("echarts-bar-vertical-1", dataBugs, dataBugsCategories, colorLabelBright, colorValueBright);
|
|
137
|
+
createChartVertical("echarts-bar-vertical-1-dark", dataBugs, dataBugsCategories, colorLabelDark, colorValueDark);
|
|
138
|
+
createChartVertical("echarts-bar-vertical-2", dataBugsFew, dataBugsCategoriesFew, colorLabelBright, colorValueBright);
|
|
139
|
+
createChartVertical("echarts-bar-vertical-3", dataFeaturesManyNumbers, dataFeaturesMany, colorLabelBright, colorValueBright);
|
|
140
|
+
createChartVertical("echarts-bar-vertical-2-fixed", dataBugsFew, dataBugsCategoriesFew, colorLabelBright, colorValueBright, 10);
|
|
141
|
+
createChartVertical("echarts-bar-vertical-3-fixed", dataFeaturesManyNumbers, dataFeaturesMany, colorLabelBright, colorValueBright,10);
|
|
142
|
+
createChartHorizontal("echarts-bar-horizontal-1", dataFeaturesFew, echartsSeriesFew, false, colorLabelBright, colorValueBright);
|
|
143
|
+
createChartHorizontal("echarts-bar-horizontal-2", dataFeaturesMany, echartsSeriesMany, true, colorLabelBright, colorValueBright);
|
|
144
|
+
createChartHorizontal("echarts-bar-horizontal-2-dark", dataFeaturesMany, echartsSeriesMany, true, colorLabelDark, colorValueDark);
|
|
145
|
+
createChartDonut("echarts-donut-1", dataBugs, "340", "Bugs", false, colorLabelBright, colorValueBright);
|
|
146
|
+
createChartDonut("echarts-donut-2", dataBugs, "9999", "label with a lot of text to show how things break", true, colorLabelBright, colorValueBright);
|
|
147
|
+
createChartDonut("echarts-donut-2-dark", dataBugs, "9999", "label with a lot of text to show how things break", true, colorLabelDark, colorValueDark);
|
|
148
|
+
createChartDonut("echarts-donut-testcases", dataTestCases, "100", "Test Cases", false, colorLabelBright, colorValueBright);
|
|
149
|
+
createChartGauge("echarts-gauge-1", dataGaugeSuccess, colorLabelBright, colorValueBright, colorNeutralBright);
|
|
150
|
+
createChartGauge("echarts-gauge-1-dark", dataGaugeSuccess, colorLabelDark, colorValueDark, colorNeutralDark);
|
|
151
|
+
createChartGauge("echarts-gauge-2", dataGaugeDanger, colorLabelBright, colorValueBright, colorNeutralBright);
|
|
152
|
+
createChartGauge("echarts-gauge-3", dataGaugeInfo, colorLabelBright, colorValueBright, colorNeutralBright);
|
|
153
|
+
createChartArea("echarts-area-1", dataAreaMonths, dataAreaValues, colorBlueLight, colorLabelBright, colorValueBright, colorBorderBright);
|
|
154
|
+
createChartArea("echarts-area-2", dataAreaMonths, dataAreaValues, colorTealLight, colorLabelDark, colorValueDark, colorBorderDark);
|
|
155
|
+
createChartLine("echarts-line-1", dataAreaMonths, dataAreaValues, colorBlueLight, colorLabelBright, colorValueBright, colorBorderBright);
|
|
156
|
+
createChartLine("echarts-line-2", dataAreaMonths, dataAreaValues, colorTealLight, colorLabelDark, colorValueDark, colorBorderDark);
|
|
@@ -6,6 +6,14 @@ export const colorContent = '#326dd1';
|
|
|
6
6
|
export const colorUX = '#263340';
|
|
7
7
|
export const colorSuccess = '#8cbd24';
|
|
8
8
|
export const colorDanger = '#FF3131';
|
|
9
|
-
export const
|
|
9
|
+
export const colorNeutralBright = '#bfc1c5';
|
|
10
|
+
export const colorNeutralDark = '#343A40';
|
|
10
11
|
export const colorInfo = '#326dd1';
|
|
11
|
-
export const colorBlueLight = '#21bef4';
|
|
12
|
+
export const colorBlueLight = '#21bef4';
|
|
13
|
+
export const colorBorderBright = '#e6e6e6';
|
|
14
|
+
export const colorBorderDark = '#262626';
|
|
15
|
+
export const colorLabelBright = '#5f656d';
|
|
16
|
+
export const colorLabelDark = '#bfc1c5';
|
|
17
|
+
export const colorValueBright = '#1d1d1d';
|
|
18
|
+
export const colorValueDark = '#ffffff';
|
|
19
|
+
export const colorTealLight = '#6ddeba';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as echarts from 'echarts';
|
|
4
4
|
|
|
5
|
-
export function createChartArea (target, targetDataX, targetDataY, chartColor) {
|
|
5
|
+
export function createChartArea (target, targetDataX, targetDataY, chartColor, labelColor, valueColor, borderColor) {
|
|
6
6
|
var chartHeight = 190;
|
|
7
7
|
var dom = document.getElementById(target);
|
|
8
8
|
var myChartArea = echarts.init(dom, null, {
|
|
@@ -29,7 +29,8 @@ export function createChartArea (target, targetDataX, targetDataY, chartColor) {
|
|
|
29
29
|
},
|
|
30
30
|
axisLabel: {
|
|
31
31
|
show: true,
|
|
32
|
-
margin: 15
|
|
32
|
+
margin: 15,
|
|
33
|
+
color: labelColor,
|
|
33
34
|
},
|
|
34
35
|
axisTick: {
|
|
35
36
|
show: false
|
|
@@ -37,7 +38,8 @@ export function createChartArea (target, targetDataX, targetDataY, chartColor) {
|
|
|
37
38
|
splitLine: {
|
|
38
39
|
show: true,
|
|
39
40
|
lineStyle: {
|
|
40
|
-
type: 'dashed'
|
|
41
|
+
type: 'dashed',
|
|
42
|
+
color: borderColor
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
},
|
|
@@ -52,7 +54,8 @@ export function createChartArea (target, targetDataX, targetDataY, chartColor) {
|
|
|
52
54
|
type: 'line',
|
|
53
55
|
lineStyle: {
|
|
54
56
|
width: 1,
|
|
55
|
-
color: chartColor
|
|
57
|
+
color: chartColor,
|
|
58
|
+
borderColor: borderColor
|
|
56
59
|
},
|
|
57
60
|
areaStyle: {
|
|
58
61
|
opacity: 1,
|
|
@@ -71,10 +74,11 @@ export function createChartArea (target, targetDataX, targetDataY, chartColor) {
|
|
|
71
74
|
itemStyle: {
|
|
72
75
|
borderWidth: 2,
|
|
73
76
|
color: chartColor,
|
|
74
|
-
borderColor:
|
|
77
|
+
borderColor: borderColor
|
|
75
78
|
},
|
|
76
79
|
label: {
|
|
77
|
-
show: true
|
|
80
|
+
show: true,
|
|
81
|
+
color: valueColor,
|
|
78
82
|
},
|
|
79
83
|
areaStyle: {
|
|
80
84
|
opacity: 0
|
|
@@ -4,12 +4,26 @@ import * as echarts from 'echarts';
|
|
|
4
4
|
import { echartsLegend, legendHeight } from './echarts_legend';
|
|
5
5
|
|
|
6
6
|
var legendOptions;
|
|
7
|
-
export function createChartDonut (target, targetData, valueText, labelText, showLegend) {
|
|
7
|
+
export function createChartDonut (target, targetData, valueText, labelText, showLegend, labelColor, valueColor) {
|
|
8
8
|
var chartHeight = 190;
|
|
9
9
|
var chartPlusLegendHeight;
|
|
10
10
|
if (showLegend) {
|
|
11
11
|
chartPlusLegendHeight = chartHeight + legendHeight,
|
|
12
|
-
legendOptions =
|
|
12
|
+
legendOptions = {
|
|
13
|
+
type: echartsLegend.type,
|
|
14
|
+
orient: echartsLegend.orient,
|
|
15
|
+
padding: echartsLegend.padding,
|
|
16
|
+
icon: echartsLegend.icon,
|
|
17
|
+
itemGap: echartsLegend.itemGap,
|
|
18
|
+
itemHeight: echartsLegend.itemHeight,
|
|
19
|
+
itemWidth: echartsLegend.itemWidth,
|
|
20
|
+
height: echartsLegend.height,
|
|
21
|
+
left: echartsLegend.left,
|
|
22
|
+
bottom: echartsLegend.bottom,
|
|
23
|
+
textStyle:{
|
|
24
|
+
color:labelColor
|
|
25
|
+
},
|
|
26
|
+
}
|
|
13
27
|
} else {
|
|
14
28
|
chartPlusLegendHeight = chartHeight,
|
|
15
29
|
legendOptions = null
|
|
@@ -37,14 +51,16 @@ export function createChartDonut (target, targetData, valueText, labelText, show
|
|
|
37
51
|
textStyle: {
|
|
38
52
|
fontSize: 60,
|
|
39
53
|
lineHeight: 60,
|
|
40
|
-
fontWeight: "lighter"
|
|
54
|
+
fontWeight: "lighter",
|
|
55
|
+
color: valueColor
|
|
41
56
|
},
|
|
42
57
|
subtextStyle: {
|
|
43
58
|
overflow: "break",
|
|
44
59
|
width: 100,
|
|
45
60
|
top: 50,
|
|
46
61
|
fontSize: 11,
|
|
47
|
-
lineHeight: 12
|
|
62
|
+
lineHeight: 12,
|
|
63
|
+
color: labelColor
|
|
48
64
|
}
|
|
49
65
|
},
|
|
50
66
|
tooltips: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { colorCritical, colorHigh, colorLow, colorContent, colorVisual, colorUX, colorSuccess, colorDanger, colorInfo,
|
|
1
|
+
import { colorCritical, colorHigh, colorLow, colorContent, colorVisual, colorUX, colorSuccess, colorDanger, colorInfo, colorNeutralBright } from './colors';
|
|
2
2
|
|
|
3
3
|
export let dataAreaValues = [
|
|
4
4
|
{ value: 79, name: 'Critical'},
|
|
@@ -102,5 +102,5 @@ export let dataGaugeInfo = [
|
|
|
102
102
|
export let dataTestCases = [
|
|
103
103
|
{ value: 50, name: 'Passed', itemStyle: {color: colorSuccess}},
|
|
104
104
|
{ value: 23, name: 'Failed', itemStyle: {color: colorDanger}},
|
|
105
|
-
{ value: 27, name: 'Open', itemStyle: {color:
|
|
105
|
+
{ value: 27, name: 'Open', itemStyle: {color: colorNeutralBright}},
|
|
106
106
|
];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
////// Gauge chart
|
|
2
2
|
|
|
3
3
|
import * as echarts from 'echarts';
|
|
4
|
-
import { colorSuccess, colorDanger, colorNeutral } from './colors';
|
|
5
4
|
|
|
6
|
-
export function createChartGauge (target, targetData) {
|
|
5
|
+
export function createChartGauge (target, targetData, labelColor, valueColor, neutralColor) {
|
|
7
6
|
var chartHeight = 190;
|
|
8
7
|
var dom = document.getElementById(target);
|
|
9
8
|
var myChartGauge = echarts.init(dom, null, {
|
|
@@ -33,7 +32,7 @@ export function createChartGauge (target, targetData) {
|
|
|
33
32
|
lineStyle: {
|
|
34
33
|
width: 10,
|
|
35
34
|
color: [
|
|
36
|
-
[1,
|
|
35
|
+
[1, neutralColor ]
|
|
37
36
|
]
|
|
38
37
|
}
|
|
39
38
|
},
|
|
@@ -53,7 +52,7 @@ export function createChartGauge (target, targetData) {
|
|
|
53
52
|
offsetCenter: [0, 35],
|
|
54
53
|
fontSize: 11,
|
|
55
54
|
lineHeight: 12,
|
|
56
|
-
color:
|
|
55
|
+
color: labelColor,
|
|
57
56
|
},
|
|
58
57
|
detail: {
|
|
59
58
|
top: 10,
|
|
@@ -61,7 +60,8 @@ export function createChartGauge (target, targetData) {
|
|
|
61
60
|
formatter: '{value}%',
|
|
62
61
|
fontSize: 60,
|
|
63
62
|
lineHeight: 60,
|
|
64
|
-
fontWeight: "lighter"
|
|
63
|
+
fontWeight: "lighter",
|
|
64
|
+
color: valueColor,
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
]
|
|
@@ -4,12 +4,26 @@ import * as echarts from 'echarts';
|
|
|
4
4
|
import { echartsLegend, legendHeight } from './echarts_legend';
|
|
5
5
|
|
|
6
6
|
var legendOptions;
|
|
7
|
-
export function createChartHorizontal (target, targetData, targetSeries, showLegend) {
|
|
7
|
+
export function createChartHorizontal (target, targetData, targetSeries, showLegend, labelColor, valueColor) {
|
|
8
8
|
var chartHeight = targetData.length * 20;
|
|
9
9
|
var chartPlusLegendHeight;
|
|
10
10
|
if (showLegend) {
|
|
11
11
|
chartPlusLegendHeight = chartHeight + legendHeight,
|
|
12
|
-
legendOptions =
|
|
12
|
+
legendOptions = {
|
|
13
|
+
type: echartsLegend.type,
|
|
14
|
+
orient: echartsLegend.orient,
|
|
15
|
+
padding: echartsLegend.padding,
|
|
16
|
+
icon: echartsLegend.icon,
|
|
17
|
+
itemGap: echartsLegend.itemGap,
|
|
18
|
+
itemHeight: echartsLegend.itemHeight,
|
|
19
|
+
itemWidth: echartsLegend.itemWidth,
|
|
20
|
+
height: echartsLegend.height,
|
|
21
|
+
left: echartsLegend.left,
|
|
22
|
+
bottom: echartsLegend.bottom,
|
|
23
|
+
textStyle:{
|
|
24
|
+
color:labelColor
|
|
25
|
+
},
|
|
26
|
+
}
|
|
13
27
|
} else {
|
|
14
28
|
chartPlusLegendHeight = chartHeight + 0,
|
|
15
29
|
legendOptions = null
|
|
@@ -67,7 +81,8 @@ export function createChartHorizontal (target, targetData, targetSeries, showLeg
|
|
|
67
81
|
overflow: "truncate",
|
|
68
82
|
ellipsis: '…',
|
|
69
83
|
hideOverlap: false,
|
|
70
|
-
interval: 0
|
|
84
|
+
interval: 0,
|
|
85
|
+
color: labelColor,
|
|
71
86
|
}
|
|
72
87
|
},
|
|
73
88
|
series: targetSeries
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
////// Line chart
|
|
2
|
+
|
|
3
|
+
import * as echarts from 'echarts';
|
|
4
|
+
|
|
5
|
+
export function createChartLine (target, targetDataX, targetDataY, chartColor, labelColor, valueColor, borderColor) {
|
|
6
|
+
var chartHeight = 190;
|
|
7
|
+
var dom = document.getElementById(target);
|
|
8
|
+
var myChartLine = echarts.init(dom, null, {
|
|
9
|
+
renderer: 'canvas',
|
|
10
|
+
useDirtyRect: false,
|
|
11
|
+
height: chartHeight
|
|
12
|
+
});
|
|
13
|
+
var optionLine;
|
|
14
|
+
var optionLine = {
|
|
15
|
+
grid: {
|
|
16
|
+
show: false,
|
|
17
|
+
zlevel: 0,
|
|
18
|
+
top: 30,
|
|
19
|
+
right: 20,
|
|
20
|
+
left: 20,
|
|
21
|
+
bottom: 30
|
|
22
|
+
},
|
|
23
|
+
xAxis: {
|
|
24
|
+
boundaryGap: false,
|
|
25
|
+
zlevel: 2,
|
|
26
|
+
data: targetDataX,
|
|
27
|
+
axisLine: {
|
|
28
|
+
show: false
|
|
29
|
+
},
|
|
30
|
+
axisLabel: {
|
|
31
|
+
show: true,
|
|
32
|
+
margin: 15,
|
|
33
|
+
color: labelColor,
|
|
34
|
+
},
|
|
35
|
+
axisTick: {
|
|
36
|
+
show: false
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
yAxis: {
|
|
40
|
+
show: false,
|
|
41
|
+
min: 0,
|
|
42
|
+
max: targetDataY
|
|
43
|
+
},
|
|
44
|
+
series: [
|
|
45
|
+
{
|
|
46
|
+
data: targetDataY,
|
|
47
|
+
type: 'line',
|
|
48
|
+
lineStyle: {
|
|
49
|
+
width: 1,
|
|
50
|
+
color: chartColor,
|
|
51
|
+
borderColor: borderColor
|
|
52
|
+
},
|
|
53
|
+
zlevel: 1
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
data: targetDataY,
|
|
57
|
+
type: 'line',
|
|
58
|
+
lineStyle: {
|
|
59
|
+
width: 1
|
|
60
|
+
},
|
|
61
|
+
symbol: 'circle',
|
|
62
|
+
symbolSize: 10,
|
|
63
|
+
itemStyle: {
|
|
64
|
+
borderWidth: 2,
|
|
65
|
+
color: chartColor,
|
|
66
|
+
borderColor: borderColor
|
|
67
|
+
},
|
|
68
|
+
label: {
|
|
69
|
+
show: true,
|
|
70
|
+
color: valueColor,
|
|
71
|
+
},
|
|
72
|
+
zlevel: 3
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
if (optionLine && typeof optionLine === 'object') {
|
|
78
|
+
myChartLine.setOption(optionLine);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
window.addEventListener('resize', myChartLine.resize);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as echarts from 'echarts';
|
|
4
4
|
|
|
5
|
-
export function createChartVertical (target, targetDataY, targetDataX, itemWidth) {
|
|
5
|
+
export function createChartVertical (target, targetDataY, targetDataX, labelColor, valueColor, itemWidth) {
|
|
6
6
|
var chartHeight = 200;
|
|
7
7
|
var labelHeight = 20;
|
|
8
8
|
var dom = document.getElementById(target);
|
|
@@ -50,7 +50,8 @@ export function createChartVertical (target, targetDataY, targetDataX, itemWidth
|
|
|
50
50
|
overflow: "truncate",
|
|
51
51
|
ellipsis: '…',
|
|
52
52
|
hideOverlap: true,
|
|
53
|
-
interval: 0
|
|
53
|
+
interval: 0,
|
|
54
|
+
color: labelColor,
|
|
54
55
|
}
|
|
55
56
|
},
|
|
56
57
|
yAxis: {
|
|
@@ -66,7 +67,8 @@ export function createChartVertical (target, targetDataY, targetDataX, itemWidth
|
|
|
66
67
|
show: true,
|
|
67
68
|
position: 'center',
|
|
68
69
|
verticalAlign: 'top',
|
|
69
|
-
offset: [0, -15]
|
|
70
|
+
offset: [0, -15],
|
|
71
|
+
color: valueColor,
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
]
|
|
@@ -9,93 +9,82 @@
|
|
|
9
9
|
|
|
10
10
|
@import './components/reset.css' layer(base);
|
|
11
11
|
|
|
12
|
+
|
|
13
|
+
/*//// Plugin themes ////*/
|
|
12
14
|
@import 'tom-select/dist/css/tom-select.css' layer(components);
|
|
13
15
|
@import 'select2/dist/css/select2.css' layer(components);
|
|
14
16
|
@import 'trix/dist/trix.css' layer(components);
|
|
17
|
+
@import './plugin_themes/tom_select.css' layer(components);
|
|
18
|
+
@import './plugin_themes/trix_editor.css' layer(components);
|
|
19
|
+
@import './plugin_themes/select2.css' layer(components);
|
|
20
|
+
@import './plugin_themes/markdown_trix_styles.css' layer(components);
|
|
15
21
|
|
|
16
|
-
|
|
22
|
+
/*//// Components ////*/
|
|
17
23
|
@import './components/actionbar.css' layer(components);
|
|
18
|
-
@import './components/
|
|
24
|
+
@import './components/alerts.css' layer(components);
|
|
19
25
|
@import './components/badges.css' layer(components);
|
|
20
|
-
@import './components/cards.css' layer(components);
|
|
21
|
-
@import './components/header.css' layer(components);
|
|
22
|
-
@import './components/layout.css' layer(components);
|
|
23
|
-
@import './components/sidebar.css' layer(components);
|
|
24
|
-
@import './components/icons.css' layer(components);
|
|
25
|
-
@import './components/iconfont.css' layer(components);
|
|
26
|
-
@import './components/popover.css' layer(components);
|
|
27
|
-
@import './components/typography.css' layer(components);
|
|
28
|
-
@import './components/lists.css' layer(components);
|
|
29
|
-
@import './components/sections.css' layer(components);
|
|
30
|
-
@import './components/dropdown.css' layer(components);
|
|
31
|
-
@import './components/list_item.css' layer(components);
|
|
32
|
-
@import './components/task_issue_item.css' layer(components);
|
|
33
|
-
@import './components/devices.css' layer(components);
|
|
34
|
-
@import './components/images.css' layer(components);
|
|
35
26
|
@import './components/banner_card.css' layer(components);
|
|
36
|
-
@import './components/
|
|
37
|
-
@import './components/
|
|
27
|
+
@import './components/buttons.css' layer(components);
|
|
28
|
+
@import './components/cards.css' layer(components);
|
|
29
|
+
@import './components/chat.css' layer(components);
|
|
38
30
|
@import './components/checkboxes_radiobuttons.css' layer(components);
|
|
39
|
-
@import './components/
|
|
31
|
+
@import './components/devices.css' layer(components);
|
|
32
|
+
@import './components/drawer.css' layer(components);
|
|
33
|
+
@import './components/dropdown.css' layer(components);
|
|
34
|
+
@import './components/emptystate_message.css' layer(components);
|
|
40
35
|
@import './components/form_card.css' layer(components);
|
|
36
|
+
@import './components/form_grid.css' layer(components);
|
|
41
37
|
@import './components/forms.css' layer(components);
|
|
42
38
|
@import './components/gallery.css' layer(components);
|
|
43
|
-
@import './components/
|
|
44
|
-
@import './components/
|
|
45
|
-
@import './components/
|
|
46
|
-
@import './components/
|
|
47
|
-
@import './components/
|
|
48
|
-
@import './components/
|
|
49
|
-
@import './components/
|
|
50
|
-
@import './components/tags.css' layer(components);
|
|
51
|
-
@import './components/markdown_trix_styles.css' layer(components);
|
|
52
|
-
@import './components/tabs.css' layer(components);
|
|
53
|
-
@import './components/drawer.css' layer(components);
|
|
54
|
-
@import './components/modals.css' layer(components);
|
|
55
|
-
@import './components/progress.css' layer(components);
|
|
39
|
+
@import './components/header.css' layer(components);
|
|
40
|
+
@import './components/iconfont.css' layer(components);
|
|
41
|
+
@import './components/icons.css' layer(components);
|
|
42
|
+
@import './components/images.css' layer(components);
|
|
43
|
+
@import './components/layout.css' layer(components);
|
|
44
|
+
@import './components/list_item.css' layer(components);
|
|
45
|
+
@import './components/lists.css' layer(components);
|
|
56
46
|
@import './components/loading_spinner.css' layer(components);
|
|
57
|
-
@import './components/
|
|
47
|
+
@import './components/metasidebar.css' layer(components);
|
|
58
48
|
@import './components/metrics.css' layer(components);
|
|
49
|
+
@import './components/modals.css' layer(components);
|
|
50
|
+
@import './components/notifications.css' layer(components);
|
|
51
|
+
@import './components/popover.css' layer(components);
|
|
52
|
+
@import './components/progress.css' layer(components);
|
|
53
|
+
@import './components/radio_tabs.css' layer(components);
|
|
54
|
+
@import './components/ratingscale.css' layer(components);
|
|
59
55
|
@import './components/resultmodule.css' layer(components);
|
|
60
|
-
@import './components/
|
|
61
|
-
@import './components/
|
|
56
|
+
@import './components/scrollbars.css' layer(components);
|
|
57
|
+
@import './components/search.css' layer(components);
|
|
58
|
+
@import './components/sections.css' layer(components);
|
|
59
|
+
@import './components/select.css' layer(components);
|
|
60
|
+
@import './components/selectable_token.css' layer(components);
|
|
61
|
+
@import './components/sidebar.css' layer(components);
|
|
62
62
|
@import './components/splitview.css' layer(components);
|
|
63
63
|
@import './components/tables.css' layer(components);
|
|
64
|
-
@import './components/
|
|
65
|
-
@import './components/
|
|
66
|
-
@import './components/
|
|
67
|
-
@import './components/select.css' layer(components);
|
|
64
|
+
@import './components/tabs.css' layer(components);
|
|
65
|
+
@import './components/tags.css' layer(components);
|
|
66
|
+
@import './components/task_issue_item.css' layer(components);
|
|
68
67
|
@import './components/test_header.css' layer(components);
|
|
69
|
-
@import './components/
|
|
70
|
-
@import './components/
|
|
68
|
+
@import './components/test_item.css' layer(components);
|
|
69
|
+
@import './components/toggleswitch.css' layer(components);
|
|
70
|
+
@import './components/typography.css' layer(components);
|
|
71
|
+
@import './components/uploads.css' layer(components);
|
|
72
|
+
@import './components/user_item.css' layer(components);
|
|
71
73
|
|
|
74
|
+
/*//// Customer components ////*/
|
|
72
75
|
@import './components/customer/customer_header.css' layer(components);
|
|
73
76
|
@import './components/customer/customer_sidebar.css' layer(components);
|
|
74
77
|
@import './components/customer/customer_productcards.css' layer(components);
|
|
75
78
|
|
|
79
|
+
/*//// Tester components ////*/
|
|
76
80
|
@import './components/tester/tester_header.css' layer(components);
|
|
77
81
|
@import './components/tester/tester_sidebar.css' layer(components);
|
|
78
82
|
@import './components/tester/tester_cards.css' layer(components);
|
|
79
83
|
|
|
84
|
+
/*//// Manager components ////*/
|
|
80
85
|
@import './components/manager/manager_header.css' layer(components);
|
|
81
86
|
@import './components/manager/manager_sidebar.css' layer(components);
|
|
82
87
|
|
|
88
|
+
/*//// Design system styles ////*/
|
|
83
89
|
@import './components/designsystem/designsystem-styles.css' layer(components);
|
|
84
90
|
|
|
85
|
-
/*
|
|
86
|
-
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
|
87
|
-
so we've added these compatibility styles to make sure everything still
|
|
88
|
-
looks the same as it did with Tailwind CSS v3.
|
|
89
|
-
|
|
90
|
-
If we ever want to remove these styles, we need to add an explicit border
|
|
91
|
-
color utility to any element that depends on these defaults.
|
|
92
|
-
*/
|
|
93
|
-
@layer base {
|
|
94
|
-
*,
|
|
95
|
-
::after,
|
|
96
|
-
::before,
|
|
97
|
-
::backdrop,
|
|
98
|
-
::file-selector-button {
|
|
99
|
-
border-color: var(--color-gray-200, currentcolor);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -165,12 +165,12 @@
|
|
|
165
165
|
@apply inline-block h-icon bg-primary;
|
|
166
166
|
content: "";
|
|
167
167
|
width: 14px;
|
|
168
|
-
mask-image: url("/assets/images/arrow-down.svg");
|
|
168
|
+
mask-image: url("/assets/images/icons/arrow-down.svg");
|
|
169
169
|
mask-repeat: no-repeat;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
details.card-section[open] .btn-collapse::before {
|
|
173
|
-
mask-image: url("/assets/images/arrow-up.svg");
|
|
173
|
+
mask-image: url("/assets/images/icons/arrow-up.svg");
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
details.card-section[open] .card-section-header {
|
|
@@ -86,110 +86,3 @@
|
|
|
86
86
|
.attachment.selectable input:checked + label .attachment-thumb {
|
|
87
87
|
@apply text-white bg-info border border-info hover:border-link-hover hover:bg-link-hover;
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
/* Dropzone plugin */
|
|
91
|
-
|
|
92
|
-
.dropzone {
|
|
93
|
-
@apply relative flex justify-center items-start flex-wrap min-h-xxl p-md border border-dashed border-primary rounded text-black hover:border-link-hover hover:text-link-hover cursor-pointer;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.dz-preview {
|
|
97
|
-
@apply relative inline-flex flex-col h-auto w-xxl mr-0 border-0 bg-transparent overflow-hidden shadow-none;
|
|
98
|
-
|
|
99
|
-
& .dz-details {
|
|
100
|
-
@apply mt-xxs text-center text-xs text-black;
|
|
101
|
-
font-weight: normal;
|
|
102
|
-
white-space: normal;
|
|
103
|
-
word-break: break-all;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
& .dz-remove {
|
|
107
|
-
@apply absolute flex justify-center items-center top-0 right-0 w-btn-sm h-btn-sm bg-danger rounded-tr hover:bg-link-hover;
|
|
108
|
-
z-index: 2;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
& .dz-remove::after {
|
|
112
|
-
@apply inline-block h-icon-sm bg-white;
|
|
113
|
-
content: "";
|
|
114
|
-
width: 14px;
|
|
115
|
-
mask-image: url("/assets/images/icons/remove.svg");
|
|
116
|
-
mask-repeat: no-repeat;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.dz-preview .dz-image {
|
|
121
|
-
@apply relative flex justify-center items-center w-xxl h-xxl text-white bg-primary rounded overflow-hidden;
|
|
122
|
-
border-image-width: 0;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
/*/// Fallback image ///*/
|
|
127
|
-
|
|
128
|
-
.dz-image::after {
|
|
129
|
-
@apply absolute block top-0 left-0 w-full h-full;
|
|
130
|
-
content: "";
|
|
131
|
-
background-image: url("/assets/images/icons/attachment-fallbackimage.svg");
|
|
132
|
-
background-size: cover;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.dz-preview .dz-image .icon {
|
|
136
|
-
@apply text-icon-lg;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.dz-preview .dz-image img {
|
|
140
|
-
@apply h-xxl min-w-full;
|
|
141
|
-
z-index: 1;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.dz-filename {
|
|
145
|
-
line-height: 1.1;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.dz-success-mark {
|
|
149
|
-
display: none;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.dz-error-mark {
|
|
153
|
-
display: none;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.dz-started {
|
|
157
|
-
justify-content: start;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.dz-message {
|
|
161
|
-
align-self: center;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.dz-started .dz-message {
|
|
165
|
-
display: none;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.dz-error-message {
|
|
169
|
-
@apply mt-xxs text-danger text-xs;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.dropzone-msg-title {
|
|
173
|
-
@apply text-center;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.dropzone-msg-desc {
|
|
177
|
-
@apply text-xs text-center;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.dz-size, .dz-size strong {
|
|
181
|
-
@apply text-xs;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.dropzone.inverted {
|
|
185
|
-
@apply text-white hover:text-link-hover;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.dropzone.inverted .dz-preview,
|
|
189
|
-
.dropzone.inverted .dz-preview .dz-image {
|
|
190
|
-
@apply text-white;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.dropzone.inverted .dz-details {
|
|
194
|
-
@apply text-white;
|
|
195
|
-
}
|