compare.scss 1.06 KB
Newer Older
1
.compare-modal {
2
    /* decide modal size */
3
    .ms-Dialog-main {
Lijiaoa's avatar
Lijiaoa committed
4
        width: 50%;
5
6
        min-width: 450px;
    }
7
8

    .ms-Modal-scrollableContent {
9
        overflow-x: hidden;
10
    }
11

12
    /* compare-md: table style */
13
    .flex {
14
15
        display: flex;
    }
16
17

    &-table {
18
19
        width: 92%;
        margin: 0 auto;
Lijiaoa's avatar
Lijiaoa committed
20
21
        margin-bottom: 20px;
        border: 1px solid transparent;
22
        overflow: auto hidden;
23
24

        tr {
25
26
            line-height: 30px;
        }
27
28

        tr:nth-of-type(even) {
29
30
            background-color: gainsboro;
        }
31
32

        .column {
33
34
35
36
            max-width: 124px;
            padding-left: 18px;
            font-weight: 600;
        }
37
38

        .value {
39
40
41
42
            max-width: 152px;
            padding-right: 18px;
            text-align: left;
        }
43
44

        .idList {
45
46
47
            font-weight: 600;
        }
    }
48

49
    /* compare-md: intermediate graph style */
50
    &-intermediate {
51
        position: relative;
52
53

        .compare-yAxis {
54
55
56
57
            position: absolute;
            top: 87%;
            left: 45%;
        }
58
    }
59
}