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

5
.overviewWrapper {
6
7
8
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: 102px;
9
    margin-bottom: 24px;
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

    > 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;
46
        height: 152px;
47
48
49
        margin-right: $boxGapPadding;
        border-radius: $boxBorderRadius;
    }
50
51
52
}

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

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

64
.basic {
65
66
67
68
    line-height: 21px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

    p {
69
70
        font-size: 14px;
        font-weight: normal;
71
72
73
74
75
76
77
78
79
80
81
82
        color: #8f8f8f;

        span {
            color: #484848;
        }
    }

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

Lijiaoa's avatar
Lijiaoa committed
85
.overviewBestMetric {
86
    grid-column: 5 / 9;
87
    grid-row: 1 / 9;
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
    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;
    }
111
112
}

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

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