mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
feat: 分组头信息样式微调
This commit is contained in:
parent
cbda588296
commit
906a977df2
@ -8,14 +8,18 @@
|
||||
.curr-group {
|
||||
background: $color-bg-dark;
|
||||
border-radius: 4px 4px 0 0;
|
||||
padding: 32px 24px;
|
||||
padding: 24px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
||||
"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
||||
SimSun, sans-serif;
|
||||
.curr-group-name {
|
||||
.text {
|
||||
display: inline-block;
|
||||
overflow:hidden;
|
||||
white-space:nowrap;
|
||||
text-overflow:ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 150px;
|
||||
font-weight: 200;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
@ -26,6 +30,8 @@
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
max-height: 54px;
|
||||
margin-top: .16rem;
|
||||
color: #ccc;
|
||||
text-overflow:ellipsis;
|
||||
overflow:hidden;
|
||||
-webkit-line-clamp: 3;
|
||||
|
@ -37,9 +37,6 @@
|
||||
@body-background : #ececec;
|
||||
// Base background color for most components
|
||||
@component-background : #fff;
|
||||
@font-family-no-number : -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
@font-family : "Helvetica Neue For Number", @font-family-no-number;
|
||||
@code-family : Consolas, Menlo, Courier, monospace;
|
||||
@heading-color : fade(#273848, 85%);
|
||||
@text-color : fade(#0d1b3e, 65%);
|
||||
@text-color-secondary : fade(#0d1b3e, 43%);
|
||||
|
Loading…
Reference in New Issue
Block a user