Blame view

src/pages/Order/OrderWarning/index.less 2.48 KB
1
// 嵌套表格去掉左方多余部分
zhongnanhuang authored
2
.order-page-container .ant-table .ant-table-middle {
zhongnanhuang authored
3
  margin-inline: 0 !important;
zhongnanhuang authored
4
5
}
zhongnanhuang authored
6
.order-page-container td {
zhongnanhuang authored
7
8
9
10
11
  font-family: 'San Francisco', 'Helvetica Neue', Helvetica, Arial,
    'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC',
    'WenQuanYi Micro Hei', sans-serif;
  font-size: 13px;
}
zhongnanhuang authored
12
13
14
15
16
17

//订单编辑抽屉中,订单总额addonAfter的padding去除
#total-payment .ant-input-number-group-addon {
  padding: 0 !important;
}
zhongnanhuang authored
18
19
20
.order-page-container table:hover,
.order-page-container tr:hover,
.order-page-container thead:hover {
zhongnanhuang authored
21
22
23
24
25
26
27
  background: none !important;
}

#main-table .ant-table-tbody > tr.ant-table-row:hover > td {
  background: none !important;
}
zhongnanhuang authored
28
.order-page-container .ant-pro-card {
zhongnanhuang authored
29
30
31
32
33
34
35
  background-color: transparent;
}

#main-table .ant-table-tbody .ant-table-cell {
  padding: 10px 0 0;
}
zhongnanhuang authored
36
37
38
39
40
41
42
43
44
45
46
.order-page-container .ant-pagination {
  background-color: #fff !important;
  padding: 10px;
  border-radius: 8px;
}

.order-page-container .ant-pro-table .ant-form {
  background-color: #fff;
  border-radius: 8px;
}
zhongnanhuang authored
47
48
49
50
#main-table .ant-table-tbody {
  background-color: #f5f5f5;
}
zhongnanhuang authored
51
.order-page-container .ant-pro-card-body {
zhongnanhuang authored
52
53
54
  padding: 0 !important;
}
zhongnanhuang authored
55
.order-page-container .ant-table-thead .ant-table-cell {
zhongnanhuang authored
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
  background-color: #fff !important;
  border-radius: 8px !important;
}

#sub-table tbody td {
  padding: 10px 0 !important;
}

// 子订单第一行的上边两个角为圆角
#sub-table tbody tr:first-child td:first-child {
  border-top-left-radius: 8px;
}

#sub-table tbody tr:first-child td:nth-child(2) {
  border-top-right-radius: 8px;
}

//子订单最后一行的下边两个角为圆角
#sub-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

#sub-table tbody tr:last-child td:nth-child(2) {
  border-bottom-right-radius: 8px;
}

//子订单边线颜色
#sub-table tbody tr td:first-child {
  border-top: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
  border-bottom: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
  border-left: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
}

#sub-table tbody tr td:nth-child(2) {
  border-top: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
  border-bottom: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
  border-right: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
}
zhongnanhuang authored
94
95
96
97
98

//tooltip字体颜色自定义
// .order-tooltip .ant-tooltip-inner{
//   color: black !important;
// }