mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +08:00
afedb4127f
* patch route * use data for promise * rename Article file * Article in TS * clean up * use collect * adjust css * card it * listing * res * hiring * add footer * english it * rm others * fix lint * fix navigation * add dropdown button * Header with TS * split input & logo * navigation out * use flex * flex everything * stretch * hide search when narrow * init category * global rules * more cat * pages * level 2 width * level 3 * level 4 * skip before ready * clean up * unqiue shadow variable * update eslintignore * update ignore * fix ssr * fix location param * replace images * shake more * fix top of navigation * remove home * reorder nav & adjust padding style * narrow res style * Update research-form-page.zh-CN.md (#21426) Co-authored-by: Golevka <huangsamfisher@163.com> * rm skip * narrow merge in * reset p style * update svg * fix lint * update ignore * update lint ignore * Update research-result-page.zh-CN.md (#21432) Co-authored-by: mihaideyu <zxy1010414746@163.com> * Update research-result-page.zh-CN.md * Update research-workbench.zh-CN.md (#21438) Co-authored-by: yingxirz <inseeing@gmail.com> * Update research-workbench.zh-CN.md * Update research-list-page.zh-CN.md (#21441) Co-authored-by: yingxirz <inseeing@gmail.com> * Update research-list-page.zh-CN.md * padding use 40px * add responsive of ref * fix p margin * Update research-workbench.zh-CN.md * Update buttons.md (#21456) Co-authored-by: yingxirz <inseeing@gmail.com> * Update resources.en-US.md (#21457) * Update research-navigation.zh-CN.md (#21453) * Update research-navigation.zh-CN.md * Update research-navigation.zh-CN.md * Update research-navigation.zh-CN.md * Update research-empty.zh-CN.md (#21451) * Update research-empty.zh-CN.md * Update research-empty.zh-CN.md * Update research-empty.zh-CN.md * Update research-empty.zh-CN.md Co-authored-by: 二货机器人 <smith3816@gmail.com> * Update research-exception-page.zh-CN.md (#21452) * Update research-exception-page.zh-CN.md * Update research-exception-page.zh-CN.md * Update research-message-and-feedback.zh-CN.md (#21463) * Update research-message-and-feedback.zh-CN.md (#21467) * Update research-message-and-feedback.zh-CN.md * Update research-message-and-feedback.zh-CN.md * Update research-message-and-feedback.zh-CN.md * Update research-message-and-feedback.zh-CN.md * replace background * fix lines margin * home padding * patch minTilda doc * Update resources.zh-CN.md (#21503) * clean up * Update research-workbench.zh-CN.md (#21512) Co-authored-by: yingxirz <inseeing@gmail.com> * Update research-overview.zh-CN.md (#21513) Co-authored-by: yingxirz <inseeing@gmail.com> * Update research-result-page.zh-CN.md (#21514) Co-authored-by: mihaideyu <zxy1010414746@163.com> * Update research-list-page.zh-CN.md (#21515) Co-authored-by: yingxirz <inseeing@gmail.com> * fix doc * Update research-message-and-feedback.zh-CN.md (#21516) * adjust home nav width * Update research-message-and-feedback.zh-CN.md (#21535) * Update research-form-page.zh-CN.md (#21554) Co-authored-by: Golevka <huangsamfisher@163.com> * patch file * clean up * update shadow.zh-CN update shadow.zh-CN * add shadow table * Update visual.zh-CN.md (#21577) Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com> * Update docs/spec/shadow.zh-CN.md Co-Authored-By: 偏右 <afc163@gmail.com> * Update docs/spec/shadow.zh-CN.md Co-Authored-By: 偏右 <afc163@gmail.com> * Update docs/spec/shadow.zh-CN.md Co-Authored-By: 偏右 <afc163@gmail.com> * Update docs/spec/shadow.zh-CN.md Co-Authored-By: 偏右 <afc163@gmail.com> * Update docs/spec/shadow.zh-CN.md Co-Authored-By: 偏右 <afc163@gmail.com> * patch docs * fix doc * rm page suffix * fix style * mobile it * Update resources.en-US.md (#21561) * chart res * add qr code * adjust qr * Update visual.zh-CN.md (#21603) Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com> * fix site qr * mobile height of it * book update * 3.x site link * isMobile is new cnotext * Update research-form.zh-CN.md (#21604) Co-authored-by: Golevka <huangsamfisher@163.com> * adjust form doc * mobile use link * adjust order * flush * fix ts * Update research-navigation.zh-CN.md (#21606) * Update research-navigation.zh-CN.md (#21609) * rm useless lines * add mobile icon * Update research-exception.zh-CN.md (#21612) * Update research-empty.zh-CN.md (#21610) * Update research-workbench.zh-CN.md * Update visual.zh-CN.md * adjust mobile icon * Update research-message-and-feedback.zh-CN.md (#21613) * Update research-list.zh-CN.md (#21617) Co-authored-by: yingxirz <inseeing@gmail.com> * Update research-workbench.zh-CN.md (#21618) Co-authored-by: yingxirz <inseeing@gmail.com> * Update visual.zh-CN.md (#21619) Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com> * Update research-result.zh-CN.md (#21620) Co-authored-by: mihaideyu <zxy1010414746@163.com> * Update research-form.zh-CN.md (#21615) * Update research-message-and-feedback.zh-CN.md (#21616) * Update research-list.zh-CN.md (#21621) Co-authored-by: yingxirz <inseeing@gmail.com> * Update research-result.zh-CN.md (#21624) Co-authored-by: mihaideyu <zxy1010414746@163.com> * update ref color * update zip file * fix mobile icon * rm skip dark * fix cat * update zip link * update zip link Co-authored-by: Golevka <huangsamfisher@163.com> Co-authored-by: mihaideyu <zxy1010414746@163.com> Co-authored-by: yingxirz <inseeing@gmail.com> Co-authored-by: 偏右 <afc163@gmail.com> Co-authored-by: myeunhyuk <39618466+myeunhyuk@users.noreply.github.com> Co-authored-by: minTilda <31951290+minTilda@users.noreply.github.com> Co-authored-by: ziyuan-174774 <61226089+ziyuan-174774@users.noreply.github.com> Co-authored-by: 竹尔 <54707870+AntDesigners@users.noreply.github.com> Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
209 lines
3.5 KiB
Plaintext
209 lines
3.5 KiB
Plaintext
body {
|
|
color: @site-text-color;
|
|
font-size: 14px;
|
|
font-family: @font-family;
|
|
background: @body-background;
|
|
transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
}
|
|
|
|
a {
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.main-wrapper {
|
|
position: relative;
|
|
padding: 40px 0 0;
|
|
background: @component-background;
|
|
}
|
|
|
|
.main-container {
|
|
position: relative;
|
|
min-height: 500px;
|
|
padding: 0 170px 32px 64px;
|
|
overflow: hidden;
|
|
background: @component-background;
|
|
|
|
.ant-row-rtl & {
|
|
padding: 0 64px 144px 170px;
|
|
}
|
|
}
|
|
|
|
.main-menu {
|
|
z-index: 1;
|
|
|
|
&-inner {
|
|
height: 100%;
|
|
max-height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
&:hover &-inner {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
> div,
|
|
> div > div {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.aside-container {
|
|
min-height: 100%;
|
|
padding-bottom: 48px;
|
|
font-family: Avenir, @font-family, sans-serif;
|
|
|
|
&.ant-menu-inline {
|
|
.ant-menu-submenu-title h4,
|
|
> .ant-menu-item,
|
|
.ant-menu-item a {
|
|
overflow: hidden;
|
|
font-size: 14px;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
> .ant-menu-item-group > .ant-menu-item-group-title {
|
|
margin-top: 16px;
|
|
margin-bottom: 16px;
|
|
font-size: 13px;
|
|
|
|
&::after {
|
|
position: relative;
|
|
top: 12px;
|
|
display: block;
|
|
width: calc(100% - 20px);
|
|
height: 1px;
|
|
background: @border-color-split;
|
|
content: '';
|
|
}
|
|
}
|
|
|
|
> .ant-menu-item,
|
|
> .ant-menu-submenu > .ant-menu-submenu-title,
|
|
> .ant-menu-item-group > .ant-menu-item-group-title,
|
|
> .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item,
|
|
&.ant-menu-inline > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item {
|
|
padding-left: 40px !important;
|
|
}
|
|
|
|
// Nest Category > Type > Article
|
|
&.ant-menu-inline {
|
|
.ant-menu-item-group-title {
|
|
padding-left: 56px;
|
|
}
|
|
|
|
.ant-menu-item-group-list > .ant-menu-item {
|
|
padding-left: 80px !important;
|
|
}
|
|
}
|
|
|
|
.ant-menu-item-group:first-child {
|
|
.ant-menu-item-group-title {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
a[disabled] {
|
|
color: #ccc;
|
|
}
|
|
|
|
.menu-item-link-outside {
|
|
position: relative;
|
|
.anticon {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: -10px;
|
|
color: @primary-color;
|
|
font-size: 12px;
|
|
opacity: 0;
|
|
transition: all 0.3s;
|
|
}
|
|
&:hover .anticon {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.aside-container .chinese {
|
|
margin-left: 6px;
|
|
font-weight: normal;
|
|
font-size: 12px;
|
|
opacity: 0.67;
|
|
}
|
|
|
|
.outside-link {
|
|
display: inline-block;
|
|
}
|
|
|
|
.outside-link-icon {
|
|
margin-left: 5px;
|
|
color: #aaa;
|
|
font-size: 12px;
|
|
}
|
|
|
|
// reset menu text color
|
|
.menu-site {
|
|
.ant-menu-item > a {
|
|
color: @site-text-color;
|
|
}
|
|
|
|
.ant-menu-item-selected > a,
|
|
.ant-menu-item > a:hover {
|
|
color: @primary-color;
|
|
}
|
|
}
|
|
|
|
#react-content {
|
|
height: 100%;
|
|
transition: transform 0.3s @ease-in-out-circ;
|
|
}
|
|
.page-wrapper {
|
|
width: 100%;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
}
|
|
|
|
.drawer-content {
|
|
padding: 40px 0;
|
|
&-wrapper {
|
|
background-color: @component-background;
|
|
}
|
|
}
|
|
|
|
.drawer {
|
|
z-index: 1029;
|
|
}
|
|
|
|
#_hj_feedback_container {
|
|
.path1::before {
|
|
color: @primary-color !important;
|
|
}
|
|
.path2::before {
|
|
color: @body-background !important;
|
|
}
|
|
}
|
|
|
|
.fixed-widgets {
|
|
position: fixed;
|
|
right: 32px;
|
|
bottom: 102px;
|
|
z-index: 2147483640;
|
|
cursor: pointer;
|
|
&-tooltip {
|
|
.ant-tooltip-inner {
|
|
min-width: 100px;
|
|
}
|
|
}
|
|
& > div {
|
|
display: block;
|
|
}
|
|
& &-avatar {
|
|
background-color: #fff;
|
|
box-shadow: @shadow-2;
|
|
}
|
|
}
|