summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/styles.less
blob: 23b954c855c2a70bfc754a77651d5e7138985065 (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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/* 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:rgba(60,79,140,0.5); //标题字体颜色
        background-color: #F7F8FC;
        border-bottom: 0px solid #e8e8e8;
    }
    .ant-table-tbody>tr>td{
        background-color:#fff;
        border-bottom: 8px solid #F7F8FC;
    }
    .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;
    }
}

// D版本更改背景颜色修改
nz-layout {
    .ant-layout {
        background:#F7F8FC;
    }
    .list[_ngcontent-c3]{
        background-color: #F7F8FC;
        padding: 0px !important; 
    }
}
// onboard-vnf-vm页面调整
// 頭部導航
.ant-tabs-bar {
    box-shadow: 0 2px 23px 0 rgba(0, 0, 0, 0.1), 0 2px 49px 0 rgba(0, 0, 0, 0.06);
    border-bottom:none !important;
    background-color: #fff;
}
.ant-tabs-nav {
    padding-left: 15px !important;
    padding-top: 14px !important; 
}
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
    background-color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 2px !important;
    margin-right: 0px !important;
    padding: 0 35px !important;
}
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active {
    background: #fff !important;
    border-color: #7BC7F3 !important;
    color: #7BC7F3 !important;
}
.ant-tabs:not(.ant-tabs-vertical) > .ant-tabs-content {
    padding: 20px;
}
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-nav-container {
    height: 55px !important;
}
.ant-upload.ant-upload-drag {
    border: 2px dashed #d9d9d9 !important;
}
.ant-upload.ant-upload-drag p.ant-upload-text {
    color:#42548F !important;
    font-family:"ArialMT" !important;
    font-size: 13px !important;
}
// 時間框
.ant-calendar-picker .ant-input {
    background-color: #fff;
    border-color: #EEEEEE;
}
.ant-calendar-picker:hover {
    border-color: #58B7F9;
}
.ant-calendar-picker {
    width: 234px !important;
}