overview.scss 1.87 KB
Newer Older
1
$boxPadding: 24px;
2
3
$boxBorderRadius: 5px;
$boxGapPadding: 10px;
4
5

.wrapper {
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-auto-rows: 102px;

	> div {
		background: #fff;
		padding: $boxPadding;
		border-radius: $boxBorderRadius;
		box-sizing: border-box;
	}

	.duration,
	.trialCount {
		grid-column: 1 / 5;
		background: #fff;
		padding: $boxPadding;
		border-radius: $boxBorderRadius;
		box-sizing: border-box;
		margin-top: $boxGapPadding;

		/* for alert message tooltip position */
		position: relative;
	}

	.duration {
		grid-row: 3 / 5;
		height: 158px;
	}

	.trialCount {
		grid-row: 5 / 8;
		margin-top: -26px;
		height: 273px;
	}

	.overviewCommand {
		grid-column: 1 / 5;
		grid-row-start: 8;
		margin-top: -50px;
		height: 158px;
		margin-right: $boxGapPadding;
		border-radius: $boxBorderRadius;
	}
49
50
51
}

.overviewBasicInfo {
52
53
54
	grid-column: 1 / 5;
	grid-row: 1 / 3;
	z-index: 2;
55
56
}

Lijiaoa's avatar
Lijiaoa committed
57
58
59
.overviewBasicInfo,
.duration,
.trialCount {
60
	margin-right: $boxGapPadding;
Lijiaoa's avatar
Lijiaoa committed
61
62
}

63
.basic {
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
    line-height: 21px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

    p {
        font-size: 14px;
        color: #8f8f8f;

        span {
            color: #484848;
        }
    }

    div {
        font-size: 16px;
        font-weight: 500;
        color: #484848;
    }
    
82
83
}

Lijiaoa's avatar
Lijiaoa committed
84
.overviewBestMetric {
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
	grid-column: 5 / 9;
	grid-row: 1 / 10;
	max-height: 822px;
	overflow: hidden;

	.topTrialTitle {
		width: 72%;
	}

	.active {
		background: #d2d0ce;
	}

	.max {
		margin-left: 7px;
	}

	.mincenter {
		margin: 0 13px 0 $boxGapPadding;
	}

	.chooseEntry {
		margin-right: $boxGapPadding;
		line-height: 30px;
	}
110
111
}

112
113
.overviewCommand1,
.overviewCommand2 {
114
115
116
117
	grid-row: 7 / 9;
	height: 144px;
	overflow: hidden;
	margin-top: $boxGapPadding;
118
}
119

120
.overviewChart {
121
	margin-top: 20px;
122
}
123

Lijiaoa's avatar
Lijiaoa committed
124
.defaultMetricContainer {
125
	position: relative;
Lijiaoa's avatar
Lijiaoa committed
126

127
128
129
130
131
	.showMess {
		position: absolute;
		top: 42%;
		left: 48%;
	}
132
}