forked from OtterMind/Chat2DB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathantd.less
More file actions
86 lines (72 loc) · 2.08 KB
/
Copy pathantd.less
File metadata and controls
86 lines (72 loc) · 2.08 KB
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
:root {
:global {
// 覆盖antd 的一些样式
button {
box-shadow: none !important;
}
// There is some animation when switching the theme color causing a delay in switching background
.ant-input,
.ant-input-password {
transition: all 0.2s, background-color 0s;
}
.ant-btn {
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s;
}
.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s;
}
.ant-modal-header {
border-bottom: 0px;
}
// .ant-modal-content {
// background-color: var(--color-bg-elevated) !important;
// .ant-modal-confirm-title {
// color: var(--color-text) !important;
// }
// .ant-modal-confirm-content {
// color: var(--color-text) !important;
// }
// }
.ant-modal-footer {
border-top: 0px;
padding: 8px;
padding-top: 0px;
}
// .ant-notification-notice {
// background-color: var(--color-bg-elevated) !important;
// padding: 8px 8px 8px 16px !important;
// width: 280px !important;
// .ant-notification-notice-icon {
// font-size: 16px !important;
// top: 12px !important;
// }
// .ant-notification-notice-message {
// font-size: 14px !important;
// color: var(--color-text) !important;
// }
// .ant-notification-notice-close {
// font-size: 12px !important;
// color: var(--color-text) !important;
// width: 16px !important;
// height: 16px !important;
// top: 10px !important;
// }
// }
.ant-dropdown{
.ant-dropdown-menu {
height: auto;
max-height: 50vh;
// overflow: hidden ;
// &:hover {
// }
overflow: auto;
}
}
.ant-btn-link {
color: var(--color-primary);
}
.ant-btn-link:not(:disabled):not(.ant-btn-disabled):hover {
color: var(--color-primary-hover);
}
}
}