Add @badge-font-size and @tabs-title-font-size

This commit is contained in:
afc163 2017-07-12 17:32:31 +08:00
parent 46ffda9c93
commit 39207efa4d
3 changed files with 5 additions and 4 deletions

View File

@ -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;
}
}

View File

@ -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;

View File

@ -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;