@antv/gatsby-theme-antv
Version:
Ant Visualization solution home page
165 lines (144 loc) • 2.77 kB
text/less
.require {
font-style: italic;
font-weight: 500;
font-size: 12px;
line-height: 14px;
color: rgba(0, 0, 0, 0.85);
opacity: 0.35;
}
.default {
margin-left: 12px;
font-style: italic;
font-weight: 500;
font-size: 12px;
line-height: 14px;
color: #939393;
}
.type {
margin-left: 12px;
font-size: 10px;
line-height: 12px;
color: #939393;
display: inline-block;
background-color: #e7e7e7;
padding: 4px;
border-radius: 4px;
}
.rootCollapse {
background: rgba(0, 0, 0, 0.04) ;
border: none ;
.hidden {
display: none;
}
.rootItem {
display: block;
border-bottom: none ;
border-top: 1px solid #d9d9d94f;
padding: 0 16px;
:global {
.ant-collapse-header {
padding-left: 16px;
.ant-collapse-arrow {
font-size: 9px;
color: #8b99a7;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
}
.ant-collapse-content {
border: none;
padding-bottom: 8px;
margin: 0 -16px;
.ant-collapse-content-box {
padding: 0px 32px;
p {
color: rgba(0, 0, 0, 0.65);
}
img {
min-width: 400px;
}
.ant-collapse {
background-color: #fff;
.ant-collapse-item {
border-bottom: 1px solid #d9d9d96e;
}
&:last-child {
.ant-collapse-item {
border-bottom: none;
}
}
}
ul {
margin-left: 24px;
}
}
}
mark {
background-color: #d6bffbb3;
padding: 0 3px;
border-radius: 3px;
}
}
}
}
.docContent {
overflow: auto;
height: calc(100vh - 104px);
background-color: #fff;
// 兼容 Firfox
@-moz-document url-prefix() {
margin-top: -5px;
}
img {
min-width: 400px;
}
description {
display: none;
}
}
.designContent {
padding: 16px;
box-sizing: border-box;
overflow: auto;
height: calc(100vh - 108px);
background-color: #fff;
}
tag {
display: inline-block;
box-sizing: border-box;
color: #0d1a26;
font-size: 14px;
margin-right: 8px;
padding: 0 7px;
font-size: 12px;
line-height: 20px;
background: #fafafa;
border: 1px solid #d9d9d9;
border-radius: 2px;
cursor: default;
&[color='green'] {
color: #52c41a;
background: #f6ffed;
border-color: #b7eb8f;
}
}
.skeleton {
padding: 16px;
}
.emptyContainer {
width: 100%;
height: 100%;
display: flex;
.empty {
margin: auto;
}
span {
font-size: 80px;
}
div {
color: rgba(0, 0, 0, 0.65);
margin: 16px 0;
}
}