-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathcommon.less
144 lines (122 loc) · 2.22 KB
/
common.less
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
html,
body {
height: 100%;
}
body {
font-family: @font-family;
font-variant: tabular-nums;
line-height: 1.5;
color: @site-text-color;
font-size: 14px;
background: #fff;
transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
overflow-x: hidden;
}
a {
transition: color 0.3s ease;
&:focus {
text-decoration: underline;
text-decoration-skip-ink: auto;
}
}
.main-wrapper {
background: #fff;
padding: 40px 0 0;
position: relative;
}
.main-container {
padding: 0 170px 144px 64px;
background: #fff;
min-height: 500px;
overflow: hidden;
position: relative;
}
.main-menu {
z-index: 1;
&-inner {
overflow-x: hidden;
overflow-y: hidden;
max-height: 100vh;
}
&:hover &-inner {
overflow-y: auto;
}
}
.aside-container {
padding-bottom: 48px;
font-family: Avenir, @font-family;
&.ant-menu-inline .ant-menu-submenu-title h4,
&.ant-menu-inline > .ant-menu-item,
&.ant-menu-inline .ant-menu-item a {
font-size: 14px;
text-overflow: ellipsis;
overflow: hidden;
}
&.ant-menu-inline .ant-menu-item-group-title {
padding-left: 56px;
}
a[disabled] {
color: #ccc;
}
.menu-item-link-outside {
position: relative;
.anticon {
font-size: 12px;
color: @primary-color;
opacity: 0;
position: absolute;
right: -10px;
top: 16px;
transition: all 0.3s;
}
&:hover .anticon {
opacity: 1;
}
}
}
.aside-container .chinese {
font-size: 12px;
margin-left: 6px;
font-weight: normal;
opacity: 0.67;
}
.outside-link {
display: inline-block;
}
.outside-link-icon {
margin-left: 5px;
font-size: 12px;
color: #aaa;
}
.outside-link.internal {
display: none;
}
// reset menu text color
.menu-site .ant-menu-item > a {
color: @site-text-color;
}
.menu-site .ant-menu-item-selected > a,
.menu-site .ant-menu-item > a:hover {
color: @primary-color;
}
#react-content {
transition: transform 0.3s @ease-in-out-circ;
height: 100%;
}
.page-wrapper {
overflow: hidden;
padding: 0;
width: 100%;
a {
text-decoration: none;
}
}
.drawer-content {
padding: 40px 0;
}
.drawer {
z-index: 1029;
}
#_hj_feedback_container .path1:before {
color: @primary-color !important;
}