feat: playground add submenu

This commit is contained in:
jialin
2024-11-22 10:00:34 +08:00
parent 22f90a505c
commit e05ec3d2d5
22 changed files with 1141 additions and 207 deletions
@@ -33,6 +33,7 @@
.title {
display: flex;
align-items: center;
max-width: 300px;
}
}
}
+30 -2
View File
@@ -4,8 +4,7 @@
.rank {
margin-right: 10px;
max-width: 75px;
min-width: 55px;
min-width: 20px;
display: flex;
align-items: center;
justify-content: space-between;
@@ -14,6 +13,15 @@
margin-left: 5px;
color: var(--ant-rate-star-color);
}
.doc-index {
border: 1px solid var(--ant-color-border);
padding: 0 12px;
font-size: 12px;
border-radius: 12px;
line-height: 1.4em;
color: var(--ant-color-text-secondary);
}
}
.result {
@@ -26,6 +34,7 @@
margin-bottom: 0;
display: flex;
align-items: center;
line-height: 2;
}
.text {
@@ -42,4 +51,23 @@
font-weight: var(--font-weight-bold);
font-style: italic;
}
.content-item-content {
padding: 14px;
border-radius: 0 0 var(--border-radius-base) var(--border-radius-base);
}
.result-header {
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 4px 4px 0 0;
background: var(--ant-color-fill-tertiary);
padding: 0 14px;
border-bottom: 1px solid var(--ant-color-split);
.title {
font-weight: var(--font-weight-medium);
}
}
}