overview.scss 2.73 KB
Newer Older
1
2
3
$boxPadding: 20px;
$boxBorderRadius: 5px;
$boxGapPadding: 10px;
4
5
6

.wrapper {
    display: grid;
7
8
    grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: 97px;
9

10
    > div {
11
12
        background: #fff;
        padding: $boxPadding;
13
        border-radius: $boxBorderRadius;
14
15
16
17
        box-sizing: border-box;
    }

    .overviewProgress {
18
        grid-column: 2 / 6;
19
20
21
        grid-row: 1 / 5;
        display: grid;
        grid-auto-rows: 70px;
22
        margin: 0 $boxGapPadding;
23
24
25
26
27
28
29
        padding: 0;
        background: transparent;

        .duration,
        .trialCount {
            background: #fff;
            padding: $boxPadding;
30
            border-radius: $boxBorderRadius;
31
32
33
34
35
36
37
38
            box-sizing: border-box;

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

        .duration {
            // grid-row: 1 / 3;
39
            height: 139px;
40
41
42
        }

        .trialCount {
43
44
            margin-top: 79px;
            height: 239px;
45
46
        }
    }
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

    .overviewCommand1,
    .overviewCommand2 {
        border-radius: 0;
    }

    .overviewCommand1 {
        grid-column-start: 1;
        border-radius: $boxBorderRadius 0 0 $boxBorderRadius;
    }

    .overviewCommand2 {
        grid-column: 2 / 6;
        margin-right: 10px;
        padding-left: 30px;
        border-radius: 0 $boxBorderRadius $boxBorderRadius 0;
    }
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
}

.overviewBasicInfo {
    grid-column-start: 1;
    grid-row: 1 / 5;
    z-index: 2;
}

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

    p {
        font-size: 14px;
        color: #8f8f8f;
        margin-top: 20px;
80
81
82
83

        span {
            color: #484848;
        }
84
85
86
87
    }

    div {
        font-size: 16px;
88
        font-weight: 500;
89
90
91
92
93
94
95
96
97
98
99
        color: #484848;
    }

    .nowrap {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

.overviewTable {
100
101
    grid-column: 6 / 10;
    grid-row: 1 / 11;
102
103
104
105
106
107
108
    overflow: hidden;

    .topTrialTitle {
        width: 72%;
    }

    .active {
109
        background: #d2d0ce;
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
    }

    .max {
        margin-left: 7px;
    }

    .mincenter {
        margin: 0 13px 0 10px;
    }

    .chooseEntry {
        margin-right: 10px;
        line-height: 30px;
    }
}

126
127
.overviewCommand1,
.overviewCommand2 {
128
129
    height: 144px;
    overflow: hidden;
130
    margin-top: 10px;
131
}
132

133
134
135
136
$circle: 10px;
$bgblue: #0071bc;

.overviewChart {
137
    grid-column: 1 / 6;
138
    grid-row: 7 / 11;
139
140
    margin-right: $boxGapPadding;
    margin-top: -29px;
141
142
143
144
145
146
147
148
149
150

    .circle {
        width: $circle;
        height: $circle;
        border-radius: 50%;
        background-color: $bgblue;
        margin-top: 6px;
        margin-right: 18px;
    }
}
151
152
153
154
155
156

.showMess {
    position: absolute;
    top: 42%;
    left: 48%;
}