aboutsummaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/performance/performance-vnf/performance-vnf.component.less
blob: 977ef5c0b20de8fa6e15440675c11fee3d105fdd (plain)
1
2
3
4
5
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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
110
111
112
113
114
115
.title {
    font: 700 18px/18px "思源黑体";
    color: #4c5e70;
    margin-bottom: 18px; 
}
hr {
    border: none;
    height: 2px;
    background-color: #dce1e7;
    margin-bottom: 20px;
}
.select {
    margin-bottom: 20px;
    span {
        display: inline-block;
        font: 700 14px "Arial";
        color: #4c5e70;
    }
    nz-dropdown {
        vertical-align: middle;
        :hover{
            border-color: #147dc2;
        }
        button {
            width: 165px;
            height: 30px;
            background-color: #eceff4;
            text-align: left;
            border-color: #9fa9ab;
            span {
                font-weight: 400;
                display: inline-block;
                width: 120px;
                overflow: hidden;
                text-overflow: ellipsis;
                padding-top: 2px;
            }
            i {
                position: absolute;
                top: 10px;
                right: 10px;
            }
        }
        //下拉框中的样式在style.less中,下拉框是在body中额外临时生成的
    }
    .submit {
        margin-left: 20px;
        vertical-align: middle;       
        height: 30px;
        padding: 0 10px;
        span {
            color: #fff;
            font-weight: 400;
        }
    }
}

.content {
    background-color: #fff;
    border-radius: 5px;
    padding: 12px;
    .vnfs {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        .vnf {
            // width: 180px;
            width: 18%;
            height: 200px;
            margin: 5px;
            padding: 20px;
            border-radius: 2px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s linear;
            &:hover {
                background-color: #f5f5f5; 
                transform: scale(1.02);       
            }
            h3 {
                font-size: 14px;
                color: #3fa8eb;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                margin-bottom: 0;
            }
            .intro {
                text-align: left;
                font-size: 12px;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                word-wrap:break-word;
                word-break:break-all;
            }
        }
        .empty {
            // width: 180px;
            width: 18%;
            height: 200px;
            margin: 5px;
            border-radius: 2px;
        }
    }
    .pages {
        height: 25px;
        margin: 20px 10px;
        position: relative;
        nz-pagination {
            float: right;
        }
    }
}