forked from Gitlink/forgeplus-react
349 lines
7.0 KiB
CSS
349 lines
7.0 KiB
CSS
body {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.ant-spin-nested-loading > div > .ant-spin.opacitySpin {
|
|
max-height: 100vh;
|
|
background: white;
|
|
}
|
|
|
|
.wiki-main {
|
|
width: 1200px;
|
|
min-height: 400px;
|
|
margin: 20px auto;
|
|
}
|
|
.wiki-main .ant-btn-primary {
|
|
background-color: #466aff;
|
|
border-color: #466aff;
|
|
}
|
|
.wiki-main .ant-btn-primary:hover, .wiki-main .ant-btn-primary:focus, .wiki-main .ant-btn-primary:active {
|
|
background-color: #6482ff;
|
|
}
|
|
.wiki-main .ant-btn-default:hover,
|
|
.wiki-main .ant-btn-default:active,
|
|
.wiki-main .ant-btn-default:focus {
|
|
background: #f3f4f6;
|
|
color: #333;
|
|
border-color: #d0d0d0;
|
|
}
|
|
.wiki-main .wiki-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
height: 64px;
|
|
background: #fafcff;
|
|
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.13);
|
|
border-radius: 4px;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
.wiki-main .wiki-head .ant-btn .anticon {
|
|
margin: 0 -3px 0 0;
|
|
}
|
|
.wiki-main .head-title {
|
|
font-size: 20px;
|
|
color: #05101a;
|
|
line-height: 30px;
|
|
font-weight: 500;
|
|
}
|
|
.wiki-main .head-title .anticon-right {
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
}
|
|
.wiki-main .back-wiki {
|
|
color: #466aff;
|
|
cursor: pointer;
|
|
}
|
|
.wiki-main .back-wiki:hover {
|
|
color: #6482ff;
|
|
}
|
|
.wiki-main .head-log-middle {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
margin-right: 0.35rem;
|
|
border-radius: 50%;
|
|
}
|
|
.wiki-main .head-log-small {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
margin-right: 0.35rem;
|
|
border-radius: 50%;
|
|
}
|
|
.wiki-main .user-box {
|
|
font-size: 12px;
|
|
font-family: "PingFangSC-Medium";
|
|
color: #466aff;
|
|
cursor: pointer;
|
|
}
|
|
.wiki-main .user-box:hover {
|
|
color: #6482ff;
|
|
}
|
|
.wiki-main .user-box .head-log-small {
|
|
position: relative;
|
|
top: -2px;
|
|
}
|
|
.wiki-main .time-ago {
|
|
font-size: 12px;
|
|
color: #333;
|
|
letter-spacing: 0;
|
|
line-height: 17px;
|
|
font-weight: 400;
|
|
font-family: "PingFangSC-Regular";
|
|
}
|
|
.wiki-main .has-error .ant-form-explain,
|
|
.wiki-main .has-error .ant-form-split {
|
|
position: absolute;
|
|
}
|
|
.wiki-main .wiki-nav {
|
|
max-height: 60vh;
|
|
}
|
|
.wiki-main .wiki-nav .wiki-search {
|
|
padding: 0 14px;
|
|
}
|
|
.wiki-main .wiki-nav .wiki-search .ant-input {
|
|
padding-left: 30px;
|
|
}
|
|
.wiki-main .wiki-nav .wiki-search .ant-input-suffix {
|
|
left: 26px;
|
|
right: auto;
|
|
}
|
|
.wiki-main .wiki-nav .wiki-search:hover .ant-input, .wiki-main .wiki-nav .wiki-search:focus .ant-input {
|
|
border-color: #466aff !important;
|
|
}
|
|
.wiki-main .wiki-nav-parent {
|
|
width: 260px;
|
|
flex: none;
|
|
}
|
|
.wiki-main .ant-form-item-children .ant-input:hover {
|
|
border-color: #466aff !important;
|
|
}
|
|
.wiki-main .ant-checkbox-checked .ant-checkbox-inner {
|
|
background-color: #466aff;
|
|
border-color: #466aff;
|
|
}
|
|
.wiki-main .ant-radio-checked .ant-radio-inner,
|
|
.wiki-main .ant-radio-checked::after {
|
|
border-color: #466aff;
|
|
}
|
|
.wiki-main .ant-radio-inner::after {
|
|
background-color: #466aff;
|
|
}
|
|
.wiki-main .ant-radio-group {
|
|
display: block;
|
|
margin: 10px 0 0 30px;
|
|
}
|
|
.wiki-main .ant-radio-wrapper:hover .ant-radio,
|
|
.wiki-main .ant-radio:hover .ant-radio-inner,
|
|
.wiki-main .ant-radio-input:focus + .ant-radio-inner {
|
|
border-color: #466aff;
|
|
}
|
|
|
|
#wikiUrl:focus {
|
|
border-right: 1px solid #d9d9d9 !important;
|
|
}
|
|
|
|
.wiki-body {
|
|
display: flex;
|
|
}
|
|
|
|
.wiki-content {
|
|
flex: auto;
|
|
width: 75%;
|
|
}
|
|
|
|
.wiki-content-detail {
|
|
padding: 0 20px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.ant-input-group.ant-input-group-compact.copy-url {
|
|
display: flex;
|
|
margin-top: 20px;
|
|
}
|
|
.ant-input-group.ant-input-group-compact.copy-url .ant-select-selection__rendered {
|
|
margin: 0 14px 0 5px;
|
|
width: 3rem;
|
|
font-size: 12px;
|
|
}
|
|
.ant-input-group.ant-input-group-compact.copy-url .ant-select-arrow {
|
|
right: 4px;
|
|
}
|
|
.ant-input-group.ant-input-group-compact.copy-url .ant-input {
|
|
font-size: 12px;
|
|
font-family: "PingFangSC-Regular";
|
|
color: #666;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
word-break: break-all;
|
|
}
|
|
.ant-input-group.ant-input-group-compact.copy-url .copy-svg {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 5px;
|
|
background: #fff;
|
|
font-size: 1rem !important;
|
|
border: 1px solid #d9d9d9;
|
|
border-left: 0;
|
|
color: #466aff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wiki-url-type .ant-select-dropdown-menu-item {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.wiki-nav {
|
|
min-height: 300px;
|
|
padding: 20px 0;
|
|
background: #ffffff;
|
|
border: 1px solid rgba(153, 153, 153, 0.22);
|
|
overflow-y: scroll;
|
|
flex: none;
|
|
color: #333;
|
|
}
|
|
|
|
.wiki-nav-title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 50px;
|
|
padding: 0 10px 0 10px;
|
|
font-size: 14px;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
font-family: "PingFangSC-Regular";
|
|
border-bottom: 1px solid #eee;
|
|
line-height: 16px;
|
|
cursor: pointer;
|
|
}
|
|
.wiki-nav-title .delete-title-icon {
|
|
display: none;
|
|
}
|
|
.wiki-nav-title:hover {
|
|
background-color: #fbfbfb;
|
|
}
|
|
.wiki-nav-title:hover .delete-title-icon {
|
|
display: inline-block;
|
|
}
|
|
|
|
.wiki-nav-title-parent {
|
|
padding: 0 14px;
|
|
}
|
|
.wiki-nav-title-parent:hover {
|
|
background: #fbfbfb;
|
|
}
|
|
|
|
.wiki-nav-title.active {
|
|
color: #466aff;
|
|
}
|
|
|
|
.wiki-content-head {
|
|
margin: 20px 0 20px 20px;
|
|
padding: 0 20px 20px 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.wiki-content-head-left {
|
|
width: 90%;
|
|
}
|
|
|
|
.nav-title-left {
|
|
display: inline-flex;
|
|
max-width: 90%;
|
|
}
|
|
.nav-title-left svg {
|
|
margin-right: 0.5rem;
|
|
flex: none;
|
|
}
|
|
.nav-title-left .nav-title-left-text {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.wiki-detail-title {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.wiki-preview {
|
|
overflow-y: scroll;
|
|
height: 100%;
|
|
}
|
|
.wiki-preview .wiki-body {
|
|
width: 90%;
|
|
}
|
|
.wiki-preview .ant-btn-primary {
|
|
background-color: #466aff;
|
|
border-color: #466aff;
|
|
}
|
|
.wiki-preview .ant-btn-primary:hover, .wiki-preview .ant-btn-primary:focus, .wiki-preview .ant-btn-primary:active {
|
|
background-color: #6482ff;
|
|
}
|
|
.wiki-preview .preview-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 12rem 0 2rem;
|
|
width: 100%;
|
|
height: 80px;
|
|
background: #272f4c;
|
|
color: #fff;
|
|
}
|
|
.wiki-preview .preview-head-left {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
}
|
|
.wiki-preview .preview-head-left .icon-wendangyulan_icon {
|
|
font-size: 24px !important;
|
|
font-weight: 700;
|
|
}
|
|
.wiki-preview .preview-head-right {
|
|
display: flex;
|
|
}
|
|
.wiki-preview .preview-head-right .copy-url {
|
|
margin-top: 0;
|
|
}
|
|
.wiki-preview .preview-head-right .copy-desc {
|
|
width: 6rem;
|
|
padding-top: 1px;
|
|
}
|
|
.wiki-preview .wiki-nav-title {
|
|
padding: 0 10px 0 40px;
|
|
}
|
|
.wiki-preview .wiki-nav-title.active {
|
|
background-color: #f3f4f6;
|
|
}
|
|
.wiki-preview .wiki-content-head {
|
|
padding: 10px 20px 10px 20px;
|
|
}
|
|
.wiki-preview .wiki-nav {
|
|
padding: 20px 0;
|
|
width: 20vw;
|
|
border-bottom: 0;
|
|
height: 80vh;
|
|
}
|
|
.wiki-preview .wiki-content-detail {
|
|
padding: 0 40px;
|
|
}
|
|
.wiki-preview .wiki-content-detail img {
|
|
max-width: 100%;
|
|
}
|
|
.wiki-preview .ant-btn:hover {
|
|
background: #f3f4f6;
|
|
color: #333;
|
|
border-color: #d0d0d0;
|
|
}
|
|
|
|
/*# sourceMappingURL=Index.css.map */
|