summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/styles.less
blob: 5429a9c1207168f6f0a8db311ea51d30382d1dad (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
116
117
/* You can add global styles to this file, and also import other style files */
// 下拉框背景hover状态颜色
.ant-dropdown-menu {
    .ant-dropdown-menu-item:hover, .ant-dropdown-menu-submenu-title:hover {
        background-color: #3fa8eb;
    }
}
// 表格每页条数选项单位置
nz-table {
    .ant-table-thead>tr>th {
        color: #3fa8eb; //标题字体颜色
    }
    .ant-spin-container {
        nz-pagination {
            ul {
                .ant-pagination-options {
                    .ant-pagination-options-size-changer.ant-select{
                        position: absolute;
                        left: 0;
                    }
                }
            }
        }
    }
}

// 详情页迷你表格样式
.detailInformatioin {
    nz-table {
        .ant-table-small {
            border-color: #dfdfe0;
            border-right: 0;
            .ant-table-content {
                border-color:  #dfdfe0;
                .ant-table-body > table { 
                    padding: 0;
                    .ant-table-thead > tr > th {
                        background-color: #f0f2f5;
                        font-weight: 700;
                        font-size: 14px;
                        padding: 2px 15px;
                        border-color: #dfdfe0;
                    }
                    .ant-table-tbody > tr > td {
                        background-color: #f0f2f5;
                        font-size: 14px;
                        padding: 2px 15px;
                        color: #323437;
                        border-color: #dfdfe0;
                    }
                }
            }
        }
    }
}

// 日期选择插件背景颜色
.ant-calendar-picker {
    .ant-input {
        background-color: #eceff4;
        border-color: #9fa9ab;
    }           
}
// 分页每页条数选项单位置
nz-pagination {
    ul {
        .ant-pagination-options {
            .ant-pagination-options-size-changer.ant-select{
                position: absolute;
                left: 0;
            }
        }
    }
}

html,body,div,h1,h2,h3,h4,h5,h6,p,ul,li,a,span {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
body {
    padding: 0 !important;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.clearfix:after{
    content:"";
    height:0;
    line-height:0;
    display:block;
    visibility:hidden;
    clear:both
}
.deleteModelContent {
    color: red;
}

/* WAN Port */
.wanPortModalList li {
    height: 35px;
    >span{
        display: inline-block;
        width: 165px;
        font: 700 14px "Arial";
        color: #3fa8eb;
        vertical-align: middle;
    }
    input {
        width: 165px;
    }
}