mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
Add @badge-font-size and @tabs-title-font-size
This commit is contained in:
parent
46ffda9c93
commit
39207efa4d
@ -21,11 +21,10 @@
|
||||
line-height: @badge-height;
|
||||
text-align: center;
|
||||
padding: 0 6px;
|
||||
font-size: @font-size-base;
|
||||
font-size: @badge-font-size;
|
||||
white-space: nowrap;
|
||||
transform-origin: -10% center;
|
||||
font-family: tahoma;
|
||||
box-shadow: 0 0 0 1px #fff;
|
||||
a,
|
||||
a:hover {
|
||||
color: #fff;
|
||||
@ -84,7 +83,7 @@
|
||||
}
|
||||
&-text {
|
||||
color: @text-color;
|
||||
font-size: @font-size-base;
|
||||
font-size: @badge-font-size;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
@ -317,6 +317,7 @@
|
||||
// ---
|
||||
@badge-height: 20px;
|
||||
@badge-dot-size: 8px;
|
||||
@badge-font-size: @font-size-base;
|
||||
|
||||
// Rate
|
||||
// ---
|
||||
@ -332,6 +333,7 @@
|
||||
// Tabs
|
||||
// ---
|
||||
@tabs-card-head-background: #f9f9f9;
|
||||
@tabs-title-font-size: @font-size-lg;
|
||||
|
||||
// BackTop
|
||||
@back-top-color: #fff;
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
&-nav-container {
|
||||
overflow: hidden;
|
||||
font-size: @font-size-lg;
|
||||
font-size: @tabs-title-font-size;
|
||||
line-height: @line-height-base;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
|
Loading…
Reference in New Issue
Block a user